vaa/governance: Document other ActionIds

This commit is contained in:
tbjump 2023-03-17 18:38:44 +00:00 committed by tbjump
parent 18e8e14402
commit 24f3893b49
1 changed files with 10 additions and 5 deletions

View File

@ -26,9 +26,13 @@ var CircleIntegrationModuleStr = string(CircleIntegrationModule[:])
type GovernanceAction uint8 type GovernanceAction uint8
var ( var (
// Wormhole governance actions // Wormhole core governance actions
ActionContractUpgrade GovernanceAction = 1 // See e.g. GovernanceStructs.sol for semantic meaning of these
ActionGuardianSetUpdate GovernanceAction = 2 ActionContractUpgrade GovernanceAction = 1
ActionGuardianSetUpdate GovernanceAction = 2
ActionCoreSetMessageFee GovernanceAction = 3
ActionCoreTransferFees GovernanceAction = 4
ActionCoreRecoverChainId GovernanceAction = 5
// Wormchain cosmwasm governance actions // Wormchain cosmwasm governance actions
ActionStoreCode GovernanceAction = 1 ActionStoreCode GovernanceAction = 1
@ -39,8 +43,9 @@ var (
ActionModifyBalance GovernanceAction = 1 ActionModifyBalance GovernanceAction = 1
// Wormhole tokenbridge governance actions // Wormhole tokenbridge governance actions
ActionRegisterChain GovernanceAction = 1 ActionRegisterChain GovernanceAction = 1
ActionUpgradeTokenBridge GovernanceAction = 2 ActionUpgradeTokenBridge GovernanceAction = 2
ActionTokenBridgeRecoverChainId GovernanceAction = 3
// Circle Integration governance actions // Circle Integration governance actions
CircleIntegrationActionUpdateWormholeFinality GovernanceAction = 1 CircleIntegrationActionUpdateWormholeFinality GovernanceAction = 1