ethereum: Set impl initialised during setup (fixes #1930)
This commit is contained in:
parent
395bb0f73c
commit
648b361623
|
@ -35,5 +35,9 @@ contract Setup is Setters, ERC1967Upgrade {
|
|||
setEvmChainId(evmChainId);
|
||||
|
||||
_upgradeTo(implementation);
|
||||
|
||||
// See https://github.com/wormhole-foundation/wormhole/issues/1930 for
|
||||
// why we set this here
|
||||
setInitialized(implementation);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -36,5 +36,9 @@ contract BridgeSetup is BridgeSetters, ERC1967Upgrade {
|
|||
setEvmChainId(evmChainId);
|
||||
|
||||
_upgradeTo(implementation);
|
||||
|
||||
// See https://github.com/wormhole-foundation/wormhole/issues/1930 for
|
||||
// why we set this here
|
||||
setInitialized(implementation);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -33,5 +33,9 @@ contract NFTBridgeSetup is NFTBridgeSetters, ERC1967Upgrade {
|
|||
setEvmChainId(evmChainId);
|
||||
|
||||
_upgradeTo(implementation);
|
||||
|
||||
// See https://github.com/wormhole-foundation/wormhole/issues/1930 for
|
||||
// why we set this here
|
||||
setInitialized(implementation);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue