-
Notifications
You must be signed in to change notification settings - Fork 4
Post deployment checklist
Aalavandhan edited this page Nov 5, 2021
·
11 revisions
# live
prodBscSatChain
prodAvaxSatChain
# staging
prodMeterSatChain
prodMaticSatChain
Verify smart contract code on the chain's etherscan explorer. Check if the contract implementations match the desired versions. Addresses can be found in the sdk folder.
Satellite chain:
- XCAmple
- XCAmpleController
- ProxyAdmin
- Gateway contracts
Base chain:
- Token vault
- Gateway contracts
Examine the contract state variables through the script
# clone the repo
nvm use
yarn install
yarn compile
# check hardhat.config.js for network names
yarn hardhat info:ampl:setup \
--networks "[\"prodEthereumBaseChain\", \"INSERT_NETWORK_NAME_HERE\"]"
- Verify the "owner" of the
ProxyAdmin,XCAmpleController,XCAmplepoints to the Bridge DAO. - Verify the whitelisted gateways on
XCAmpleControllerpoint to the appropriate gateway contracts (and no in correct addresses are whitelisted) - Verify the gateway contracts on the satellite chain point to the correct
XCAmpleControllerandXCAmpleaddresses. - Examine the
RebaseRelayertransactions to check if the liquidity pools have beensynced - Verify the whitelisted gateways on
TokenVaulton the base chain point to the appropriate gateway contracts (and no in correct addresses are whitelisted) - Verify the gateway contracts on the base chain point to the correct Monetary policy and AMPL ERC-20 addresses.
- Proxy admin owner can upgrade the
XCAmpleControllerandXCAmplecontracts. (will be relinquished when safe) - XCAmpleController owner can add/remove gateways and update reference to RebaseRelayer (orchestrator)
- RebaseRelayer owner can add remove transactions to/from the batch
- XCAmple owner can update to a new XCAmpleController