Skip to content
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

Schema generation #1765

Merged
merged 12 commits into from
Apr 27, 2023
Merged

Schema generation #1765

merged 12 commits into from
Apr 27, 2023

Conversation

SkymanOne
Copy link
Contributor

Related to #1695

This PR allows us to automate the schema generation process for the ink! smart contracts.

@codecov-commenter
Copy link

codecov-commenter commented Apr 26, 2023

Codecov Report

Merging #1765 (024ca88) into master (4ad0b7e) will decrease coverage by 0.04%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1765      +/-   ##
==========================================
- Coverage   52.11%   52.08%   -0.04%     
==========================================
  Files         207      207              
  Lines        6652     6652              
==========================================
- Hits         3467     3465       -2     
- Misses       3185     3187       +2     
Impacted Files Coverage Δ
crates/metadata/src/layout/mod.rs 80.83% <ø> (ø)
crates/metadata/src/lib.rs 55.00% <ø> (ø)
crates/metadata/src/specs.rs 93.92% <ø> (ø)

... and 2 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@@ -21,7 +21,8 @@ ink_primitives = { version = "4.2.0", path = "../primitives/", default-features
serde = { version = "1.0", default-features = false, features = ["derive", "alloc"] }
impl-serde = "0.4.0"
derive_more = { version = "0.99", default-features = false, features = ["from"] }
scale-info = { version = "2.5", default-features = false, features = ["derive", "serde", "decode"] }
scale-info = { version = "2.6", default-features = false, features = ["derive", "serde", "decode", "schema"] }
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps in the future we can add a full feature that gives you everything!

@SkymanOne SkymanOne merged commit ab825a4 into master Apr 27, 2023
@SkymanOne SkymanOne deleted the gn/json-metadata branch April 27, 2023 12:44
@SkymanOne SkymanOne mentioned this pull request Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants