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
At web3zksync.ts, the method estimateGasL1ToL2 needs the sent data to be formatted similar to the formatting you did inside estimateGas. Actually all the rpc method calls should have something similar (that is how it is done in zksync-ethers).
Reproduce
Check the error by running yarn test:prepare after checking out this branch: #39
The text was updated successfully, but these errors were encountered:
When calling
estimateGasL1ToL2
the following error come:And when trying the log the internal error, it is:
Diagnosis
At web3zksync.ts, the method
estimateGasL1ToL2
needs the sent data to be formatted similar to the formatting you did insideestimateGas
. Actually all the rpc method calls should have something similar (that is how it is done in zksync-ethers).Reproduce
Check the error by running
yarn test:prepare
after checking out this branch: #39The text was updated successfully, but these errors were encountered: