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

Include Instantiate2 message #39

Closed
mikedotexe opened this issue Jun 4, 2023 · 4 comments
Closed

Include Instantiate2 message #39

mikedotexe opened this issue Jun 4, 2023 · 4 comments
Assignees

Comments

@mikedotexe
Copy link

There's a very interesting message, Instantiate2 that was introduced.

https://github.com/CosmWasm/wasmd/blob/5537735e00a3f96893a27294a992a65415e49dce/x/wasm/keeper/contract_keeper.go#L71

This is super handy and you can see it in action in Simon's virus contract:
https://github.com/CosmWasm/cosmwasm/tree/v1.2.1/contracts/virus

When I was trying to write tests I got:

    1: Unsupported wasm message: Instantiate2 { admin: Some("juno18smcd7hmzj4pt04vmt693u6lcvtxr44e20kz3w"), code_id: 1, label: "Confirming the first instantiation", msg: {}, funds: [], salt: Binary(5b39312c35302c35322c35372c34342c35302c35322c35335d) })
test tests::core_tests::call_create_simple ... ok

I'm not super familiar with this repo to dive in and help, but wanted to create this issue. Perhaps someday I can contribute

@0xFable
Copy link

0xFable commented Aug 7, 2023

Also have ran into this.
Looking for both CodeIdData and Instantiate2 support. Looking into seeing if I can do it

@whalelephant
Copy link

hey! this is going to to be helpful for us too, let me know @0xFable @mikedotexe if you guys have made progress / need help?

@DariuszDepta
Copy link
Member

See also: CosmWasm/cosmwasm#1648

@DariuszDepta
Copy link
Member

Handling Instantiate2 is implemented on main PR #65

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

No branches or pull requests

5 participants