You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add example usage of WasmMsg::Instantiate2 in some contract (together with instantiate2_address) (Add Virus contract #1564)
Add checksum field to ContractInfoResponse. This one might be tricky since it adds a required field to ContractInfoResponse::new(code_id, creator). As long as we don't have that, the contract doing Instantiate2 needs to know both code ID and checksum. (#1546)
Interesting use case brought up by @assafmo: with this a contract A can instantiate and immediately execute a contract B. That would be cool to showcase with WasmMsg::Instantiate2 and instantiate2_address.
The goal here is to allow contracts to use instantiate2 to instantiate other contracts (not be instantiated, which works already).
This consists of 3 parts:
MsgInstantiateContract2
which is implemented as follows:
cosmwasm
WasmMsg::Instantiate2
(Add support for MsgInstantiateContract2 #1436)instantiate2_address
(Implement new predicable address calculation #1437)WasmMsg::Instantiate2
in some contract (together with instantiate2_address) (Add Virus contract #1564)Addchecksum
field toContractInfoResponse
. This one might be tricky since it adds a required field toContractInfoResponse::new(code_id, creator)
. As long as we don't have that, the contract doing Instantiate2 needs to know both code ID and checksum. (#1546)wasmvm
Add ContractInfoResponse.Checksum (CosmWasm/wasmvm#376)The text was updated successfully, but these errors were encountered: