-
Notifications
You must be signed in to change notification settings - Fork 3
Post deployment checklist
Aalavandhan edited this page Nov 5, 2021
·
11 revisions
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
,XCAmple
points to the Bridge DAO. - Verify the whitelisted gateways on
XCAmpleController
point to the appropriate gateway contracts (and no in correct addresses are whitelisted) - Verify the gateway contracts on the satellite chain point to the correct
XCAmpleController
andXCAmple
addresses. - Examine the
RebaseRelayer
transactions to check if the liquidity pools have beensynced
- Verify the whitelisted gateways on
TokenVault
on 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.