-
Notifications
You must be signed in to change notification settings - Fork 48
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
feat: CosmWasm 1.0.0-beta implementation #720
Conversation
…on testnet when wasm got updated to cosmos v0.44
…ed the compilation errors
…wasm-1.0.0-beta � Conflicts: � go.mod � go.sum
- added a missing wasmvm dependency
wasm keeper and perform some checks against end blocker events
Cleaned the wasm-1.0.0-beta from the experimental implementations of contracts logic and moved that logic in another branch
…wasm-1.0.0-beta � Conflicts: � app/app.go � go.sum � x/staging/fees/ante/common_test.go
…n it - updated ibc to fix wasm implementation errors - removed wasm parameters from app constructor - updated wasmd with the cosmos v0.44.5 official branch
…wasm-1.0.0-beta � Conflicts: � app/ante.go � app/app.go � go.mod � go.sum
finished integrating cosmwasm module in the desmos app
fixed tests errors added missing go.sum file
Codecov Report
@@ Coverage Diff @@
## master #720 +/- ##
==========================================
- Coverage 78.81% 78.77% -0.05%
==========================================
Files 53 53
Lines 4320 4387 +67
==========================================
+ Hits 3405 3456 +51
- Misses 737 749 +12
- Partials 178 182 +4
Continue to review full report at Codecov.
|
in Dockerfile
added missing build_tags lines in Makefile
reverted unwanted changes
Build errors on ARM and ARM-64 fails due to an incompatibility of one of the wasmVM depedencies, wasmer. |
.changeset/entries/2a0f58483ba1a78a98c387a7b1f77456761346794551aa9e2a2cb5b287b82bd6.yaml
Outdated
Show resolved
Hide resolved
.changeset/entries/2a0f58483ba1a78a98c387a7b1f77456761346794551aa9e2a2cb5b287b82bd6.yaml
Outdated
Show resolved
Hide resolved
Makefile
Outdated
build_tags += $(BUILD_TAGS) | ||
build_tags := $(strip $(build_tags)) | ||
|
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.
Why is this necessary?
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.
To make the muslc library for static linking of libraries (which is needed for the wasmvm one) available during the build. Without it, the build will fail.
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.
@bragaz Can we then add a comment to the Makefile just to remember why those are there in the future please?
removed arm, arm64 builds from github test action
it can lead to 0 and break the tests
Great job! 💯 As soon as @dadamu accepts it as well it should be auto merged |
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.
Ready to go
Description
Closes: #115.
This PR integrate the CosmWasm module into Desmos.
At the current stage, no rules are applied to the smart contracts store/instantiate flow and any kind of contract can
be deployed on the network if we will update the testnet as it is.
I think that for testing purposes this is the best choice, however, I will work on an ADR for permissioned contracts and contracts limitations soon. Since Desmos is a social network related project, contracts deployment should be limited to contracts that are social-related.
Author Checklist
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.
I have...
!
to the type prefix if API or client breaking changeCHANGELOG.md
Reviewers Checklist
All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.
I have...
!
in the type prefix if API or client breaking change