- stand up a minimal devnet
- manually run
cd ethereum/ && npx truffle exec scripts/deploy_test_token.jsto get a second WETH - update the BridgeImplementation.sol with the address
- remove all migrations except
3_deploy_bridgeand comment out everything except the implementation and runcd ethereum/ && npx truffle migrate - create and sign a governance to upgrade the TokenBridge to the new implementation contract address - e.g.
cd clients/token_bridge/ && npm start -- generate_upgrade_chain_vaa 2 0x000000000000000000000000dAA71FBBA28C946258DD3d5FcC9001401f72270F - update
test.jsand run it withnode test.js - do some transfers in the ui to ensure that everything works as expected
Repository navigation
weth-switch
Directory actions
More options
Directory actions
More options
weth-switch
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||