6c6661f621 | ||
---|---|---|
.. | ||
README.md | ||
package-lock.json | ||
package.json | ||
test.js |
README.md
- stand up a minimal devnet
- manually run
cd ethereum/ && npx truffle exec scripts/deploy_test_token.js
to get a second WETH - update the BridgeImplementation.sol with the address
- remove all migrations except
3_deploy_bridge
and 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.js
and run it withnode test.js
- do some transfers in the ui to ensure that everything works as expected