ethereum-optimism/optimism-tutorial

[cross-dom-bridge] invalid BigNumber value

zzq0826 opened this issue · 0 comments

when run
crossChainMessenger = new optimismSDK.CrossChainMessenger({ l1ChainId: 42, // For Kovan, it's 1 for Mainnet l1SignerOrProvider: l1Signer, l2SignerOrProvider: l2Signer, });

throw
Error: invalid BigNumber value (argument="value", value=undefined, code=INVALID_ARGUMENT, version=bignumber/5.6.2)