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

Node: Add wormchain deploy admin commands #2964

Merged
merged 3 commits into from
Jun 2, 2023

Conversation

bruce-riley
Copy link
Contributor

@bruce-riley bruce-riley commented May 22, 2023

This PR adds guardiand commands to generate prototxt for the Wormchain deploy commands:

$ build/bin/guardiand template wormchain-store-code --wasm-hash c9262d14fd2f5fe7ca2c272be609be2b25a22f10afe79b4726941da51eb27489
current_set_index:  3
messages:  {
  sequence:  21314180802357929
  nonce:  456824973
  wormchain_store_code:  {
    wasm_hash:  "c9262d14fd2f5fe7ca2c272be609be2b25a22f10afe79b4726941da51eb27489"
  }
}
$ build/bin/guardiand template wormchain-instantiate-contract --code-id 5 --label ibcReceiver --instantiation-msg "{}"
current_set_index:  3
messages:  {
  sequence:  13300675307875321402
  nonce:  3949257006
  wormchain_instantiate_contract:  {
    code_id:  5
    label:  "ibcReceiver"
    instantiation_msg:  "{}"
  }
}
$ build/bin/guardiand template wormchain-migrate-contract --code-id 5 --contract-address wormhole1nc5tatafv6eyq7llkr2gv50ff9e22mnf70qgjlv737ktmt4eswrq0kdhcj --instantiation
-msg "{}"
current_set_index:  3
messages:  {
  sequence:  3161097595250295933
  nonce:  1174708629
  wormchain_migrate_contract:  {
    code_id:  5
    contract:  "wormhole1nc5tatafv6eyq7llkr2gv50ff9e22mnf70qgjlv737ktmt4eswrq0kdhcj"
    instantiation_msg:  "{}"
  }
}
$

@bruce-riley bruce-riley marked this pull request as ready for review May 22, 2023 20:21
@bruce-riley bruce-riley requested a review from panoel as a code owner May 22, 2023 20:21
panoel
panoel previously approved these changes May 24, 2023
node/cmd/guardiand/admintemplate.go Outdated Show resolved Hide resolved
Change-Id: Id9c7fa75acf545ba8bb5be5184690f14b66bbe49
Change-Id: If44badaecf96df8aed2625a99cecdcb4a09ef6ce
Change-Id: Ic4822034b66724203f021883e583dec61244cbd7
@bruce-riley bruce-riley force-pushed the node_add_wormchain_deploy_admin_cmds branch from 2bed068 to dff00c7 Compare May 26, 2023 14:31
@bruce-riley bruce-riley requested a review from panoel May 31, 2023 17:25
@bruce-riley bruce-riley merged commit 07a01b6 into main Jun 2, 2023
@bruce-riley bruce-riley deleted the node_add_wormchain_deploy_admin_cmds branch June 2, 2023 15:06
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.

3 participants