-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
impl_wasm_map/list macro rewrite + clippy fixes + CI
impl_wasm_map is now aware of whether the keys/values are WASM-exposable and copy or not. There is now a away to specify the backing map e.g. BTreeMap for preserve-encodings=false i.e. Byron, CIP25 Use of this macro now replaces hard-generated WASM Map (and list) types to reduce boilerplate + allow a single common place to fix linting errors (one of the main reasons for this change to be done in this PR - but it was planned at some point anyway) Fixes #234 The rest of clippy linting errors were also fixed and a check in the CI for fmt + linting.
- Loading branch information
1 parent
9279d1d
commit 38a82c3
Showing
74 changed files
with
1,195 additions
and
3,368 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -193,3 +193,9 @@ impl AuxiliaryData { | |
} | ||
} | ||
} | ||
|
||
impl Default for AuxiliaryData { | ||
fn default() -> Self { | ||
Self::new() | ||
} | ||
} |
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.