You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<!--
Please read and fill out this form before submitting your PR.
Please make sure you have reviewed our contributors guide before
submitting your
first PR.
NOTE: PR titles should follow semantic commits:
https://www.conventionalcommits.org/en/v1.0.0/
-->
## Overview
Resolves#783Resolves#1050
<!--
Please provide an explanation of the PR, including the appropriate
context,
background, goal, and rationale. If there is an issue with this
information,
please provide a tl;dr and link the issue.
Ex: Closes #<issue number>
-->
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **Refactor**
- Replaced the usage of `Commit` with `Signature` across various
components, affecting block creation, saving, and retrieval processes.
- Renamed functions and variables to reflect the change from `Commit` to
`Signature`.
- **Bug Fixes**
- Updated serialization and deserialization methods to ensure
compatibility with the new `Signature` structure.
- **Documentation**
- Revised documentation to reflect the changes from `Commit` to
`Signature` in block and header handling.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
Copy file name to clipboardExpand all lines: state/block-executor.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ The `BlockExecutor` is initialized with a proposer address, `namespace ID`, `cha
22
22
- Initial Validator Set using genesis validators
23
23
- Initial Height
24
24
25
-
-`CreateBlock`: This method reaps transactions from the mempool and builds a block. It takes the state, the height of the block, last header hash, and the commit as parameters.
25
+
-`CreateBlock`: This method reaps transactions from the mempool and builds a block. It takes the state, the height of the block, last header hash, and the signature as parameters.
26
26
27
27
-`ApplyBlock`: This method applies the block to the state. Given the current state and block to be applied, it:
28
28
- Validates the block, as described in `Validate`.
0 commit comments