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
Now it's time to verify the hash with the source repos. All contracts should provide a repository with a hash for their contracts the same way that cw-plus does on their checksum as shown below:
With this approach, verification is happening after the fact that it's deployed, which could be useful for reassuring but as for the part of the store-code process, should we gate the proposal by the verification? I have elaborated more about this on #59 .
Inspecting contract
First, create new contract
https://docs.osmosis.zone/developing/dapps/get_started/cosmwasm-testnet.html
Once the contract is created we can check query the contract information. Assuming you are connected to the testnet.
contract_info
Output:
contract version
What in the world is
636F6E74726163745F696E666F
? 😕ContractInfo is must be stored under "contract_info" key which translates to "636F6E74726163745F696E666F" in hex format. As documented here.
Output:
Downloading the Contract from the network
Output:
Getting the hash
Output :
0b662785042cd938d0f0e8142f69d2d23fdf0addec965d1fbeacf44080330016
Verify hash
Now it's time to verify the hash with the source repos. All contracts should provide a repository with a hash for their contracts the same way that cw-plus does on their checksum as shown below:
The text was updated successfully, but these errors were encountered: