Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

failed to estimate gas needed, with requestWithdrawal. #111

Open
sifnoc opened this issue Apr 7, 2020 · 5 comments
Open

failed to estimate gas needed, with requestWithdrawal. #111

sifnoc opened this issue Apr 7, 2020 · 5 comments
Assignees

Comments

@sifnoc
Copy link
Contributor

sifnoc commented Apr 7, 2020

Failed to send Tx via requestWithdrawal command.

Tried on rinkeby testnet with infura node. (also same issue with onther rinkeby node)

System information

Geth version: 1.9.10-stable - v0.0.0-rc6.0
OS & Version: Ubuntu
Commit hash : 16e9e03

Expected behaviour

Well sent requestWithdrawal transaction

Actual behaviour

gas required exceeds allowance (10000000)

Steps to reproduce the behaviour

Run this script.
https://gist.github.com/sifnoc/ca062a7c2c91fceb67fbd1ebdd021c96

~/plasma-evm$ build/bin/geth --nousb staking requestWithdrawal 100.0 \
               --datadir ./operator \
               --rootchain.url wss://rinkeby.infura.io/ws/v3/ \
               --unlock 0x226b9CD9D1E91eBEd907A80dB73aF58B5AfCf7bF \
               --password pwd.pass \
               --rootchain.sender 0x226b9CD9D1E91eBEd907A80dB73aF58B5AfCf7bF

Backtrace

Result -

INFO [04-07|09:08:02.626] Maximum peer count                       ETH=50 LES=0 total=50
INFO [04-07|09:08:02.626] Smartcard socket not found, disabling    err="stat /run/pcscd/pcscd.comm: no such file or directory"
INFO [04-07|09:08:03.935] Set options for submitting a block       mingaspirce=1000000000 maxgasprice=100000000000 resubmit=0s
INFO [04-07|09:08:04.860] Unlocked account                         address=0x226b9CD9D1E91eBEd907A80dB73aF58B5AfCf7bF
INFO [04-07|09:08:04.860] Root chain transaction sender found      address=0x226b9CD9D1E91eBEd907A80dB73aF58B5AfCf7bF
INFO [04-07|09:08:05.632] Allocated cache and file handles         database=/home/ubuntu/plasma-evm/operator/geth/stakingdata cache=16.00MiB handles=16
INFO [04-07|09:08:05.648] Using manager contracts                  TON=0xBe41233606E135f17DE0865790e94fC26338afD3 WTON=0xAd7CF0421998e6223B0C55Ed251607D8c3d2f319 DepositManager=0x425835cfedcc2e634cC742628Fb94E8Ad5485464 RootChainRegistry=0x2B7F58b8ba55d22e29B6aA638018E9BB7A038986 SeigManager=0x6f00c47BbB6266942f2FCb0605400E02E42d65B7 PowerTON=0x5278A437b8c53c9019f5887ab6ac8F2E458F7cB9
failed to estimate gas needed: gas required exceeds allowance (10000000) or always failing transaction
@sifnoc sifnoc assigned sifnoc and 4000D and unassigned sifnoc Apr 7, 2020
@4000D
Copy link
Contributor

4000D commented Apr 7, 2020

plz specify the transactions (from user and operators) before the reverted transaction

@4000D
Copy link
Contributor

4000D commented Apr 7, 2020

how can I simulate this?

@sifnoc
Copy link
Contributor Author

sifnoc commented Apr 7, 2020

Uploaded reproduced script https://gist.github.com/sifnoc/ca062a7c2c91fceb67fbd1ebdd021c96

@4000D
Copy link
Contributor

4000D commented Apr 13, 2020

Fixed at tokamak-network/plasma-evm-contracts#23, not applied yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants