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

[Bump] CosmWasm to v0.15.0 #508

Closed
wants to merge 61 commits into from
Closed

[Bump] CosmWasm to v0.15.0 #508

wants to merge 61 commits into from

Conversation

yun-yeo
Copy link
Contributor

@yun-yeo yun-yeo commented Jun 30, 2021

Summary of changes

Keep follow wasmd updates.

CheckList

  • Messages and submessages are merged; the replyOn type now got a new "never" case for the fire and forget messages
  • replyOn is not an integer but supports the Stringer interface (i.e. .String())
  • The interface version was bumped from interface_version_5 to interface_version_6 such that CosmWasm 0.15.0 contracts need to be used
  • In some Wasm messages "send" was renamed to "funds" for consistency
  • The IBC acknowledgement type was changed slightly
  • There is a new Gov message (MsgVote) that needs to be connected
  • Deserializing contract results now cost gas. This needs to be configured in a new argument of vm.Execute and friends. We messed up storing the value in the vm instance, such that it needs to be passed to every call. Sorry for that! The deserialization cost is in gas per byte. It is a fraction, so you can use 20/1, 10/1, 1/1, 1/2, 1/30, ... in there.
  • Contract responses now contain events. The exiting Attributes should go into a main wasm event as before. All other events should be added with a wasm- prefix on the event type.
  • Set correct release version in go.mod
  • Upgrade Dockerfile with proper version checksum

Report of required housekeeping

  • Github issue OR spec proposal link
  • Wrote tests
  • Updated API documentation (client/lcd/swagger-ui/swagger.yaml)
  • Added a relevant changelog entry: clog add [section] [stanza] [message]

(FOR ADMIN) Before merging

  • Added appropriate labels to PR
  • Squashed all commits, uses message "Merge pull request #XYZ: [title]" (coding standards)
  • Confirm added tests are consistent with the intended behavior of changes
  • Ensure all tests pass

alessio and others added 30 commits December 1, 2020 14:26
* upgrade to Cosmos SDK v0.39.2-rc1

* update to cosmos-sdk v0.39.2 RC2

* update to rc3

* update to v0.39.2
* register wasm query failed error code
* fix description for querier
… flag on LCD (#437)

* block querying genesis txs from public node
* update txs query blocking condition for public node
* add tax_caps querier
* add client interface & swagger update

Co-authored-by: Paul Kim <[email protected]>
* prevent division by zero, even though no epoch data is stored

* add test case for empty epoch data
* Bump cosmwasm to v0.14.x

* fix lint

* Bump CosmWasm to v0.14.0-beta3

* update swagger-docs

* simulation update

* fix simulation

* fix test binary name

* fix test

* add MigrateMsg parsing & change test contract binary

* fix simulation

* fix msg validation

* fix test

* Update binding interface to reject IBC and Burn message

* implement wasm module migration script
* sperate mint and burn swap pool

* fix lint

* add market migration script
* MsgAuth migration
* Market migration test
* Revert vesting rounding error
* Implement migrate cmd from v0.4 to v0.5
* Fix wrong bank import key to evidence
* bump cosmos-sdk v0.43.0-beta1 & migrate msgauth to cosmos-sdk's authz module

* add address verifier

* revert gitflow

* fix address verifier condition

* remove not used TODO comments

* fix migration script

* fix test

* pass proto codec for wasm simulation
yun-yeo and others added 29 commits May 19, 2021 10:47
* remove treasury proposals

* update swagger docs
#477)

* update RewardWeight migration script to burn all seigniorage

* update swagger-docs
* org name update to terra-money

* remove circleci
* update migration params for col5

* fix test

* increase wasm code size
* fix to return BASE/QUOTE exchange rate

* fix test

* return error when failed to parse msg

* change error comment
…#499)

* add amino support to authz module with tax computing custom cli

* fix to use custom transactino factory
* limit wasm gas usage with param

* update comment

* use explicit subCtx
@yun-yeo yun-yeo closed this Jun 30, 2021
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