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

Add CosmWasm smart contract support with the wasmd module #531

Merged
merged 45 commits into from
Feb 22, 2022

Conversation

jhernandezb
Copy link
Member

@jhernandezb jhernandezb commented Jan 27, 2022

  • Adds the wasmd module and wires it up with the app and governance
  • Script to upload Stargaze contracts
  • Adds custom messages to interface with minter and marketplace contracts such as distribution to community pool and claim messages

@codecov-commenter
Copy link

codecov-commenter commented Jan 30, 2022

Codecov Report

Merging #531 (ec962c9) into main (7240d6b) will increase coverage by 0.87%.
The diff coverage is 22.67%.

❗ Current head ec962c9 differs from pull request most recent head d68aa1b. Consider uploading reports for the commit d68aa1b to get more accurate results

Impacted file tree graph

@@            Coverage Diff            @@
##            main     #531      +/-   ##
=========================================
+ Coverage   9.41%   10.29%   +0.87%     
=========================================
  Files         52       55       +3     
  Lines       7283     7769     +486     
=========================================
+ Hits         686      800     +114     
- Misses      6549     6912     +363     
- Partials      48       57       +9     
Impacted Files Coverage Δ
app/genesis.go 0.00% <0.00%> (ø)
app/upgrades.go 12.50% <0.00%> (+6.43%) ⬆️
x/alloc/types/codec.go 0.00% <ø> (ø)
x/alloc/types/genesis.pb.go 2.07% <ø> (ø)
x/alloc/types/params.pb.go 1.11% <ø> (ø)
x/alloc/types/query.pb.go 1.67% <ø> (ø)
x/alloc/types/tx.pb.go 0.82% <ø> (ø)
x/claim/types/claim_record.pb.go 1.62% <ø> (ø)
x/claim/types/genesis.pb.go 1.47% <ø> (ø)
x/claim/types/params.pb.go 0.96% <ø> (ø)
... and 12 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7240d6b...d68aa1b. Read the comment docs.

@jhernandezb jhernandezb marked this pull request as ready for review February 18, 2022 15:58
@jhernandezb jhernandezb requested a review from a team February 18, 2022 15:58
@shanev shanev changed the title add wasmd Add CosmWasm smart contract support with the wasmd module Feb 20, 2022
app/ante.go Show resolved Hide resolved
app/app.go Show resolved Hide resolved
app/upgrades.go Outdated Show resolved Hide resolved
internal/ante/min_commission.go Show resolved Hide resolved
internal/ante/min_commission_test.go Outdated Show resolved Hide resolved
internal/wasm/encoder.go Outdated Show resolved Hide resolved
x/claim/wasm/encoder.go Outdated Show resolved Hide resolved
Copy link
Member

@shanev shanev left a comment

Choose a reason for hiding this comment

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

Just a handful of comments. Looks very complete to me and so far haven't had any issues on devnet or the testnet.

@jhernandezb jhernandezb merged commit 096897c into main Feb 22, 2022
@jhernandezb jhernandezb deleted the jhernandez/add-wasmd branch February 22, 2022 04:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants