-
Notifications
You must be signed in to change notification settings - Fork 430
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[metadata] update to scale-info 0.3, removes string interning #467
Conversation
# Conflicts: # lang/macro/src/codegen/metadata.rs
Allows converting an instance into code that can construct that instance. For use from `cargo-contract`.
Codecov Report
@@ Coverage Diff @@
## master #467 +/- ##
==========================================
- Coverage 86.83% 84.97% -1.86%
==========================================
Files 135 125 -10
Lines 5877 5392 -485
==========================================
- Hits 5103 4582 -521
- Misses 774 810 +36
Continue to review full report at Codecov.
|
@@ -255,7 +255,7 @@ publish-docs: | |||
- git fetch origin gh-pages | |||
# Generating Docs | |||
- time cargo doc --no-deps --all-features | |||
-p scale-info -p ink_metadata -p ink_metadata_derive -p ink_core -p ink_core_derive | |||
-p scale-info -p ink_metadata -p ink_core -p ink_core_derive |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should fix the master branch CI
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tiny nits, LGTM overall
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Rel #299.
scale-info
0.3 which removes the string interning, making all strings inline.Adds struct name to the layout.Removed because this is anink!
specific concept and not currently required by 3rd party toolsNote: Previously this PR contained additional metadata data structures, which have now been moved over to
cargo-contract
. See use-ink/cargo-contract#62