-
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.
* Refactor MetadataFeature * Fix no_std * Fix IRC27/30 * Address some TODOs * Some fixes * Address comments * Use is_ascii_graphic * Handle potential > u8 type * Add explicit is_empty() check * Update packable * Accept IntoIterator in MetadataFeature::new() * Simply Metadata::new usage in more places * Update comment * Add TryFrom<Vec<(Vec<u8>, Vec<u8>)>> for MetadataFeature, uncomment test * One more place * Update sdk/src/types/block/rand/output/feature.rs Co-authored-by: Thibault Martinez <[email protected]> * Update cli/src/wallet_cli/mod.rs Co-authored-by: Thibault Martinez <[email protected]> * Update error name * Change foundry_metadata, add TODOs * Update test * Update example * Update example * Return error for duplicated keys * Remove duplicated validation * Update cli commands * Temporarily allow broken doc links * Address review comments * Apply suggestions from code review * sorry * Refactor try from impls * Update sdk/src/types/block/output/feature/metadata.rs * Update sdk/src/types/block/output/feature/metadata.rs * Add MetadataFeature tests * Allow setting foundry metadata key * Manual packable impl for MetadataFeature for length verification * Add MetadataBTreeMap types * Derive packable again * Add +1 for type byte * Update tests * fmt * Improve error message * Add import * Use CounterUnpacker, fix rand_metadata_feature(), fix entry count type, fix rand_mana_allotment() * Align key * improvements * Small fixes, improvements, clippy * no_std * Fix doc comment * Review suggestions * Consistentency * Remove unwrap --------- Co-authored-by: Thibault Martinez <[email protected]> Co-authored-by: Thibault Martinez <[email protected]> Co-authored-by: Alex Coats <[email protected]>
- Loading branch information
1 parent
60d7eb2
commit b809589
Showing
40 changed files
with
1,108 additions
and
703 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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.