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

Update to wasmvm / cosmwasm 0.16 #557

Closed
ethanfrey opened this issue Jul 15, 2021 · 1 comment · Fixed by #559 or #582
Closed

Update to wasmvm / cosmwasm 0.16 #557

ethanfrey opened this issue Jul 15, 2021 · 1 comment · Fixed by #559 or #582
Assignees
Milestone

Comments

@ethanfrey
Copy link
Member

ethanfrey commented Jul 15, 2021

There will be one more update before

Key Changes:

  • Lots of changes to the IbcChannel*Msg types
  • CounterPartyVersion is no longer in IbcChannel but in some of those messages
  • Change standard contract_address event attribute (for wasm type) to _contract_address.
  • Enforce the contract cannot return any _* attributes and thus conflict with any special "trusted" attributes from the runtime.
  • Handle custom events from IbcBasicResponse and IbcReceiveResponse (not just attributes)
@ethanfrey ethanfrey added this to the v0.18.0 milestone Jul 15, 2021
@webmaster128
Copy link
Member

webmaster128 commented Jul 19, 2021

contract_address event attribute (for wasm type) to _contract_address.

This affects custom events as well. Alex started injecting wasmd attributes into those as well to make it possible to trust the origin of those events (see contractSDKEventAttributes in #548). This makes reserving all _* more important and powerful. You then get the guarantee that all _* attributes are written by wasmd, not the contract.

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 a pull request may close this issue.

2 participants