Skip to content
This repository has been archived by the owner on Dec 12, 2023. It is now read-only.

tests fail #28

Closed
AndreiD opened this issue May 9, 2021 · 6 comments · Fixed by #29
Closed

tests fail #28

AndreiD opened this issue May 9, 2021 · 6 comments · Fixed by #29
Assignees
Labels
bug Something isn't working

Comments

@AndreiD
Copy link

AndreiD commented May 9, 2021

following the tutorial, on testing you get

should revert when the sender does not have enough balance:
     Error: cannot estimate gas; transaction may fail or may require manual gas limit (error={"reason":"cannot estimate gas; transaction may fail or may require manual gas limit","code":"UNPREDICTABLE_GAS_LIMIT","error":{"reason":"processing response error","code":"SERVER_ERROR","body":"{\"jsonrpc\":\"2.0\",\"id\":104,\"error\":{\"code\":-32000,\"message\":\"gas required exceeds allowance (9000000) or always failing transaction\"}}\n","error":{"code":-32000},"requestBody":"{\"method\":\"eth_estimateGas\",\"params\":[{\"gasPrice\":\"0x0\",\"from\":\"0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266\",\"to\":\"0xcf7ed3acca5a467e9e704c703e8d87f634fb0fc9\",\"data\":\"0xa9059cbb00000000000000000000000070997970c51812dc3a010c7d01b50e0d17dc79c800000000000000000000000000000000000000000000000000000000000f4241\"}],\"id\":104,\"jsonrpc\":\"2.0\"}","requestMethod":"POST","url":"http://localhost:8545"},"method":"estimateGas","transaction":{"from":"0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266","gasPrice":{"type":"BigNumber","hex":"0x00"},"to":"0xCf7Ed3AccA5a467e9e704C703E8D87F634fB0Fc9","data":"0xa9059cbb00000000000000000000000070997970c51812dc3a010c7d01b50e0d17dc79c800000000000000000000000000000000000000000000000000000000000f4241","accessList":null}}, tx={"data":"0xa9059cbb00000000000000000000000070997970c51812dc3a010c7d01b50e0d17dc79c800000000000000000000000000000000000000000000000000000000000f4241","to":{},"from":"0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266","gasPrice":{},"nonce":{},"gasLimit":{},"chainId":{}}, code=UNPREDICTABLE_GAS_LIMIT, version=abstract-signer/5.1.0)
@AndreiD
Copy link
Author

AndreiD commented May 10, 2021

bump

@platocrat
Copy link
Contributor

I've raised this issue in our monorepo here.
I'd suggest subscribing to it for updates to be alerted once this issue is resolved.

@ethereum-optimism ethereum-optimism deleted a comment from AndreiD May 10, 2021
@smartcontracts
Copy link
Contributor

Deleted an unproductive comment. Looking into this now.

@smartcontracts smartcontracts self-assigned this May 10, 2021
@smartcontracts smartcontracts added the bug Something isn't working label May 10, 2021
@smartcontracts
Copy link
Contributor

Ok the bug is relatively minor. We have a fix in v0.3.0-rc (ethereum-optimism/optimism#603) that, alongside the PR I just opened, will close this issue.

@smartcontracts
Copy link
Contributor

Should be fixed when using the latest version of https://github.com/ethereum-optimism/optimism. Make sure to take the following steps to rebuild everything before testing again:

cd optimism
yarn clean
yarn build
cd ops
docker-compose down -v
docker-compose build --parallel
docker-compose up

@AndreiD
Copy link
Author

AndreiD commented May 11, 2021

well Hallelujah...Jesus be praised. The developers got off their ass and worked on it in record time. you don't see that everyday

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants