* Add evm contract infos + minor improvements
* Throw error if chainId is invalid instead of using 0 silently
* Add wormholeChainName property for chains to use in governance actions
* Return all signatures upon proposal execution
* Unify privateKey schema for contract manager
* Implement getLastExecutedGovernanceSequence for all contract types
* Unify getPriceFeed interface between contracts
* Add update price feed for evm
* Adjust gasPrice on evm
* Add setter for datasources + add global chain for universal governance instructions
* Add utility function to execute arbitrary governance Vaa
* Remove redundant contract
* Better error message when gas is not enough on deployment
* Add aptos mainnet config
* Restore sui override of setFee governance message generation
* Export executeVaa function
* Address PR feedbacks
* More documentation and cleanup
* Remove INFURA_KEY logic and replace RPC endpoints with public ones
* EVMContract -> EvmContract, EVMChain -> EvmChain
* Make executeUpdatePriceFeed interface on cosmos similar to evm
* Better error message and more comment regarding gas
* Remove fetching proposal internals on page load
Without the internals we can not show the verified/voted icons in the proposals page,
therefore we have to remove them
* Refactor squads creation based on wallet
Previously there was a logic to use a separate wallet for proposeSquads
but now it is removed and we can unify vote/propose squads
* Disable propose button if no action and show hint
* Expose refresh functionality on multisig proposals
* Fetch instructions within proposal and calculate voted/verified properties inside
* Extract WormholeInstructionView as a separate component
Moved some name mappings to pythContext so we don't need prop drilling
* Add support for parsing governance instructions + minor refactors
* Add ability to show / approve upgrade proposals
* fix buttons overflow
* Use the actual targetChainId instead of relying on the cluster context for instruction visualization
* Do not fetch the data again if the multisigCluster remains the same
---------
Co-authored-by: Daniel Chew <cctdaniel@outlook.com>
* Replace xc-governance-sdk with xc_admin_common package
xc_admin_package was not using the CHAIN overrides declared in the governance-sdk so it was moved
to that package as well
* Replace xc-governance-sdk with xc_admin_common in other packages
* Remove the package and all of its references
* Fix tests
* Fix bug in GovernanceDataSourceTransfer encoding
* Rename all references to the old package
* Redeploy neutron_testnet contract with new chain id
* Move SetWormholeAddress to separate file
* Reuse xc_governance logic as much as possible in contract manager
Some functions in xc_governance were moved and refactored in order to become usable in
contract manager
* Add getBaseUpdateFee function for contract manager
* Add method for executeGovernanceInstructions
* Move up SetFee method to base class
* Add governance upgrade instruction
* Move governance payload generators out of contract classes into chain classes
* Switch from json to yaml for storage
* Remove test script for ci
* Add minimal aptos implementation
* Remove global Chains and Contracts variable and put them in DefaultStore
* Move aptos getClient function to Chain class
* Make denom field in baseUpdateFee optional and remove it from non-cosmwasm chains
* More documentation and minor fixes
* Add vaults storage
Although the set of vaults used in testing/production is just 2 it's a good idea to
not set them as predefined constants. So that for development purposes, we can create
new vaults and test them on the fly without changing too many places.
* Initial version of governance sdk
* Add more functionality to Sui contract manager and migrate variable naming to camelCase
* Refactor sui functions
* Add prettier
* Add SuiAuthorizeUpgradeContractInstruction for governance
* Update cosmwasm deploy tools entry point and expose some classes
* Remove console.logs from CosmWasm
* Refactor storage logic and add sui docs
* Use relative path for default path of store
* More documentation and minor fixes
* Rename package
* Add EVM classes
* Implement getters for data sources
* Use Google naming convention for abbreviations
More info here:
https://google.github.io/styleguide/tsguide.html#identifiers-abbreviations
* Change package license
* More comments and documentation
* Store code proxy function in CosmWasm
* Point to another wormhole sdk
* Works
* Reset this dir
* Refresh cargo lock
* Bump solana
* Pin git packages
* Allow large errors
* Update to the right wormhole-solana
* Fix cli
* Add cargo lock
* Remove print statement