Open tab00 opened 1 year ago
deployCreate3Upgradable
calls deployCreate3Contract
:
https://github.com/axelarnetwork/axelar-gmp-sdk-solidity/blob/main/scripts/upgradable.js#L70
However the proxy should be init
ed, so it should instead call deployCreate3AndInitContract
maybe like this:
const proxy = await deployCreate3AndInitContract(
create3DeployerAddress,
wallet,
proxyJson,
key,
additionalProxyConstructorArgs,
[
implementation.address,
wallet.address,
setupParams,
],
gasLimit,
);
@re1ro what do you think?
There seems to be a problem with init
in Create3Deployer
:
https://github.com/axelarnetwork/axelar-gmp-sdk-solidity/blob/main/contracts/deploy/Create3Deployer.sol#L53
I get "processing response error" when I attempt deployment, and then transaction reverts.
Deployment works if I comment out that (and next) line, but it's not usable because it hasn't been init
ed.
There is no such problem when deploying with CREATE2 - init
works.
I replaced
deployUpgradable
withdeployCreate3Upgradable
in the cross-chain-token example (and deployedCreate3Deployer
and passed its address in place ofConstAddressDeployer
address): https://github.com/axelarnetwork/axelar-examples/blob/main/examples/evm/cross-chain-token/index.js#L21Deployment using
npm run deploy evm/cross-chain-token local
causes this error output:Please fix this so that we can deploy using CREATE3. Thank you.