-
Notifications
You must be signed in to change notification settings - Fork 42
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
checkOutExternalGas()
check used for the historic blocks and leads to the failed request
#1856
Comments
oleksandrSydorenkoJ
changed the title
'debug_traceTransaction' call returns an error for reverted transaction.
'debug_traceTransaction' call returns an error for all transction in non-Latest block.
Apr 2, 2024
oleksandrSydorenkoJ
changed the title
'debug_traceTransaction' call returns an error for all transction in non-Latest block.
Apr 2, 2024
checkOutExternalGas()
check used for the historic blocks and leads to the failed request
github-project-automation
bot
moved this from Ready For Pickup
to Ready For Release Candidate
in SKALE Engineering 🚀
Apr 11, 2024
Verified on Legacy network
|
3.18.1-beta.0 |
PolinaKiporenko
moved this from Ready For Release Candidate
to Merged To Release Candidate
in SKALE Engineering 🚀
May 2, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Note:
debug_traceTransaction
,debug_traceBlockByNumber
anddebug_traceBlockByHash
methods return the error for the non-latest block number.checkOutExternalGas()
check inside these methods works only for the latest block number, but not for the specificdebug.traceBlockByNumber("latest", {'tracer':'callTracer'})
call returns the object and skaled caches it, so some of the transaction may be used with {'tracer':'callTracer'} but returns the error on another gethTracers.Version:
skalenetwork/schain:3.18.1-develop.0-historic
Preconditions:
Active schain medium type
Archival node connected to schain
Address with whitelisted deployer role (schain owner is preferable)
Test token contract link
To Reproduce:
debug_traceBlockByNumber("latest", {'tracer':'callTracer'})
and check one of the transaction from thelatest
blockdebug_traceTransaction
ordebug_traceBlockByNumber
call for the previous non-cached blocks or transactions.Expected Behavior:
debug_traceTransaction
,debug_traceBlockByNumber
anddebug_traceBlockByHash
should not usecheckOutExternalGas()
for the historic blocksActual State:
The
debug_traceTransaction
call returns andebug_traceTransaction:206:Could not trace block:83894:Internal error: checkOutExternalGas() has invalid block number
error for all transactions in the non-latest block.Logs:
geth attach
JSON-RPC example:
debug_traceBlockByNumber ('latest')
cached transaction from the latest block
not cached transaction from the historic block
The text was updated successfully, but these errors were encountered: