-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add parents to block * Add burned mana to rust block (#926) * merge imports * Split block into basic and validation types * udep * Comment out more tests that will change * oop * no_std * impl more of BlockWrapper * fix client block builder * Update sdk/src/types/block/protocol.rs Co-authored-by: Thibault Martinez <[email protected]> * PR suggestion * no_std * Update sdk/src/types/block/validation.rs Co-authored-by: Thoralf-M <[email protected]> * invalid block kind * Refactor types so that `Block` is the highest level enum * small improvements * Pr suggestions * Allow warnings and stub in missing values * clippy * properly pack kind and disable clippy CI for now * Implement new block ID * Rework BlockId into struct * serde with string * align dto to spec * PR suggestions * PR suggs * remove pub(crate) protocol params fields * cleanup * comments * fix tests * Use Signature for serialized layouts * more signature fixes * Refactor block signature * Fix block id computation, fix return type, reexport BlockHash, clippy (#998) * no_std * fix block ID slot index on big endian systems and clippy * fix with_slot_index too * PR suggestion * oof Co-authored-by: Abdulrahim Al Methiab <[email protected]> * add memory layout test * no_std * Merge branch 2.0 * Add ext trait to help block builder signing * Update sdk/src/types/block/core.rs * Fix merge breakage and clippy * fix nostd * fix tests * remove generics * Nits * simplify name * rename trait * use header more * move it move it * PR suggestions * no_std * Nit --------- Co-authored-by: Thibault Martinez <[email protected]> Co-authored-by: Thoralf-M <[email protected]> Co-authored-by: Abdulrahim Al Methiab <[email protected]>
- Loading branch information
1 parent
d480f57
commit 60efd78
Showing
45 changed files
with
359 additions
and
121 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.