devnet: fix generation of deterministic contract addresses
We previously had an extra contract that was deleted, which changed the contract addresses. As a workaround, deploy Wormhole twice to fix the tests.
This commit is contained in:
parent
6ec5ffb1ce
commit
dc7a2147b7
|
@ -46,7 +46,9 @@ spec:
|
|||
- -ethRPC
|
||||
- ws://eth-devnet:8545
|
||||
- -ethContract
|
||||
- 0x5b1869D9A4C187F2EAa108f3062412ecf0526b24
|
||||
- 0xCfEB869F69431e42cdB54A4F4f105C19C080A601
|
||||
- -ethConfirmations
|
||||
- '1'
|
||||
ports:
|
||||
- containerPort: 8999
|
||||
name: p2p
|
||||
|
|
|
@ -2,6 +2,8 @@ const WrappedAsset = artifacts.require("WrappedAsset");
|
|||
const Wormhole = artifacts.require("Wormhole");
|
||||
|
||||
module.exports = async function (deployer) {
|
||||
await deployer.deploy(WrappedAsset);
|
||||
// FIXME: this offsets the deleted Schnorr contract to keep the previous deterministic addresses
|
||||
await deployer.deploy(WrappedAsset);
|
||||
await deployer.deploy(Wormhole, {
|
||||
keys: ["0x7E5F4552091A69125d5DfCb7b8C2659029395Bdf"],
|
||||
|
|
Loading…
Reference in New Issue