monorepo
monorepo copied to clipboard
Not able to deploy into Kovan Optimism
When trying to deploy into Kovan Op, I did deploy the following contracts successfully:
deployer.address: 0x03C6464805102E497EA695e8b0423Ae36e5Df240
maciFactory.address: 0xcFd3554E566d358860A1a8db9aCF1818FBc89300
fundingRoundFactory.address: 0x9e2754F4406C259554a5BD63E3Bda174E29596cB
userRegistry.address: 0x090Dc26B4FDBF3Ca61Ac48fab1c6b8A8d720305D
recipientRegistry.address: 0x27262A37f882BE7A2f782E2498874eD9b3eB2359
# Coordinator keys
serializedCoordinatorPrivKey: macisk.21071c24aad793bb5caf777b9d65cd6baf616f908dc1f96894f3e9ca7d770a7b
serializedCoordinatorPubKey: macipk.b5a926154ce06669ad14d8f4e373f713c904aa0d3330159b7ca55d3bf931b988
But when I try to deploy a new round I get the following failed transaction.
Failed Tx: https://kovan-optimistic.etherscan.io/tx/0xf07125aa6e607670cc78166fe6bc11b3eea8bdc43f95845c384e5e01808a4915
If you navigate to the "Internal Txns" tab (in etherscan), you can see that what seems to be failing is the creation of a new MACI contract from the MACIFactory contract.
Here is the CLI output:
Error: transaction failed (transactionHash="0xf07125aa6e607670cc78166fe6bc11b3eea8bdc43f95845c384e5e01808a4915", transaction={"hash":"0xf07125aa6e607670cc78166fe6bc11b3eea8bdc43f95845c384e5e01808a4915","blockHash":"0x6a0ca28efe752fc95f8a953cb4b1b3e0af53a3a563cf6bb8e7b71c52be9ac60b","blockNumber":132871,"transactionIndex":0,"confirmations":1,"from":"0x03C6464805102E497EA695e8b0423Ae36e5Df240","gasPrice":{"type":"BigNumber","hex":"0x2710"},"gasLimit":{"type":"BigNumber","hex":"0x89a758"},"to":"0x9e2754F4406C259554a5BD63E3Bda174E29596cB","value":{"type":"BigNumber","hex":"0x00"},"nonce":71,"data":"0xc633e428","r":"0xb1b0e8a3d7751e079bebc5aa4c1b4106936b3542b5ce2422946ffc5560f7b359","s":"0x591e7318970a1518a1921347a8df2cfbee6e3979a770413eefafd66ffa2a0a30","v":173,"creates":null,"chainId":69}, receipt={"to":"0x9e2754F4406C259554a5BD63E3Bda174E29596cB","from":"0x03C6464805102E497EA695e8b0423Ae36e5Df240","contractAddress":null,"transactionIndex":0,"gasUsed":{"type":"BigNumber","hex":"0x86424c"},"logsBloom":"0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","blockHash":"0x6a0ca28efe752fc95f8a953cb4b1b3e0af53a3a563cf6bb8e7b71c52be9ac60b","transactionHash":"0xf07125aa6e607670cc78166fe6bc11b3eea8bdc43f95845c384e5e01808a4915","logs":[],"blockNumber":132871,"confirmations":1,"cumulativeGasUsed":{"type":"BigNumber","hex":"0x86424c"},"status":0,"byzantium":true}, code=CALL_EXCEPTION, version=providers/5.0.17)
at Logger.makeError (/home/petty/eth/clrfund/contracts/node_modules/@ethersproject/logger/src.ts/index.ts:205:28)
at Logger.throwError (/home/petty/eth/clrfund/contracts/node_modules/@ethersproject/logger/src.ts/index.ts:217:20)
at EthersProviderWrapper.<anonymous> (/home/petty/eth/clrfund/contracts/node_modules/@ethersproject/providers/src.ts/base-provider.ts:1004:24)
at step (/home/petty/eth/clrfund/contracts/node_modules/@ethersproject/providers/lib/base-provider.js:46:23)
at Object.next (/home/petty/eth/clrfund/contracts/node_modules/@ethersproject/providers/lib/base-provider.js:27:53)
at fulfilled (/home/petty/eth/clrfund/contracts/node_modules/@ethersproject/providers/lib/base-provider.js:18:58)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:95:5) {
reason: 'transaction failed',
code: 'CALL_EXCEPTION',
transactionHash: '0xf07125aa6e607670cc78166fe6bc11b3eea8bdc43f95845c384e5e01808a4915',
transaction: {
hash: '0xf07125aa6e607670cc78166fe6bc11b3eea8bdc43f95845c384e5e01808a4915',
blockHash: '0x6a0ca28efe752fc95f8a953cb4b1b3e0af53a3a563cf6bb8e7b71c52be9ac60b',
blockNumber: 132871,
transactionIndex: 0,
confirmations: 1,
from: '0x03C6464805102E497EA695e8b0423Ae36e5Df240',
gasPrice: BigNumber { _hex: '0x2710', _isBigNumber: true },
gasLimit: BigNumber { _hex: '0x89a758', _isBigNumber: true },
to: '0x9e2754F4406C259554a5BD63E3Bda174E29596cB',
value: BigNumber { _hex: '0x00', _isBigNumber: true },
nonce: 71,
data: '0xc633e428',
r: '0xb1b0e8a3d7751e079bebc5aa4c1b4106936b3542b5ce2422946ffc5560f7b359',
s: '0x591e7318970a1518a1921347a8df2cfbee6e3979a770413eefafd66ffa2a0a30',
v: 173,
creates: null,
chainId: 69,
wait: [Function (anonymous)]
},
receipt: {
to: '0x9e2754F4406C259554a5BD63E3Bda174E29596cB',
from: '0x03C6464805102E497EA695e8b0423Ae36e5Df240',
contractAddress: null,
transactionIndex: 0,
gasUsed: BigNumber { _hex: '0x86424c', _isBigNumber: true },
logsBloom: '0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000',
blockHash: '0x6a0ca28efe752fc95f8a953cb4b1b3e0af53a3a563cf6bb8e7b71c52be9ac60b',
transactionHash: '0xf07125aa6e607670cc78166fe6bc11b3eea8bdc43f95845c384e5e01808a4915',
logs: [],
blockNumber: 132871,
confirmations: 1,
cumulativeGasUsed: BigNumber { _hex: '0x86424c', _isBigNumber: true },
status: 0,
byzantium: true
}
}