In our previous release this function was an entry function by mistake.
Now in order to keep our abi backward compatible, we need to keep it as entry function.
In order to allow the newer aptos cli to ignore this issue, we decorate it with `legacy_entry_fun`
* Better errors
* Better variable typing
* Upgrade cli with more straightforward flow
* Remove unnecessary configs and distinguish between deployer contract and signer
* Convert the named-addresses argument to 3 separate options with default values
* Add README
* Add stable testnet contracts
* Fix bug in creating InjectiveExecutor from mnemonic
* Import only from root library
* Code verification on proposals for cosmwasm
* Minimal script to upload wasm codes
* Use the netwrok parameter for InjectiveChain executor instead of endpoints
- Remove Storage trait and LocalStorage and implement everything on Storage struct
- Remove update_accumulator_state and break it down to accumulator_messages and
wormhole_merkle_state
* 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.