You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Rollup-fullnode fails to deploy the execution manager using mnemonic with error:
(node:34) UnhandledPromiseRejectionWarning: Error: missing provider
at Wallet.sendTransaction (/mnt/full-node/node_modules/ethers/wallet.js:107:19)
at ContractFactory.deploy (/mnt/full-node/node_modules/ethers/contract.js:683:28)
at Object.deployContract (/mnt/full-node/packages/rollup-full-node/src/app/util/utils.ts:120:34)
at deployExecutionManager (/mnt/full-node/packages/rollup-full-node/src/app/util/l2-node.ts:203:44)
at getExecutionManagerContract (/mnt/full-node/packages/rollup-full-node/src/app/util/l2-node.ts:183:30)
at processTicksAndRejections (internal/process/task_queues.js:86:5)
Steps to reproduce
Steps to reproduce the behavior:
yarn build
add L2_WALLET_MNEMONIC env variable to the rollup-full-node service in the docker-compose.yml
docker-compose up
Expected behavior
Everything starts up as exptected
Additional context
I've actually found the bug in the code: packages/rollup-full-node/src/app/util/l2-node.ts
...
elseif(!!Environment.l2WalletMnemonic()){wallet=Wallet.fromMnemonic(Environment.l2WalletMnemonic())wallet.connect(provider)log.info(`Initialized wallet from mnemonic. Address: ${wallet.address}`)}
...
at line 111 wallet.connect(provider) should be wallet = wallet.connect(provider)
The text was updated successfully, but these errors were encountered:
Describe the bug
Rollup-fullnode fails to deploy the execution manager using mnemonic with error:
Steps to reproduce
Steps to reproduce the behavior:
Expected behavior
Everything starts up as exptected
Additional context
I've actually found the bug in the code:
packages/rollup-full-node/src/app/util/l2-node.ts
at line 111
wallet.connect(provider)
should bewallet = wallet.connect(provider)
The text was updated successfully, but these errors were encountered: