-
Notifications
You must be signed in to change notification settings - Fork 20.8k
JSON-RPC EthereumApi.Transact crashes #64
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Milestone
Comments
Seems to be related to the new NameReg code. Assigning to Jeff. |
Has been fixed on develop. |
This was referenced May 7, 2016
ngtuna
added a commit
to ngtuna/tomochain
that referenced
this issue
Jun 29, 2018
update smart contract, hard-code first 3-masternodes
whilei
pushed a commit
to whilei/go-ethereum-1
that referenced
this issue
Apr 22, 2019
…lator-sanity consensus,params: refactor difficulty calculator
AusIV
pushed a commit
to NoteGio/go-ethereum
that referenced
this issue
Feb 24, 2020
…s-and-tests Chainspecs and cross-client,cross-chain tests
recmo
pushed a commit
to recmo/go-ethereum
that referenced
this issue
Feb 17, 2021
maoueh
pushed a commit
to streamingfast/go-ethereum
that referenced
this issue
Aug 13, 2021
new: New fetch State sync logic
Inphi
pushed a commit
to Inphi/go-ethereum
that referenced
this issue
Dec 2, 2022
update header sanity check & storage size estimates to consider new fields
joshuacolvin0
pushed a commit
to joshuacolvin0/go-ethereum
that referenced
this issue
Jan 4, 2023
…support Preliminary Tracing Support
weiihann
pushed a commit
to weiihann/go-ethereum
that referenced
this issue
Feb 23, 2023
luanxu-mxc
pushed a commit
to MXCzkEVM/mxc-geth
that referenced
this issue
May 27, 2023
marioevz
added a commit
to marioevz/go-ethereum
that referenced
this issue
Jul 12, 2024
s1na
pushed a commit
to s1na/go-ethereum
that referenced
this issue
Dec 2, 2024
…etExtraField function (ethereum#64) * refactor initial and introduce getExtraField function * add test for initial * refactor snapshot * initial first snapshot only
lochjin
pushed a commit
to lochjin/go-ethereum
that referenced
this issue
Dec 16, 2024
feat:optimize p2p server for QNG
darioush
pushed a commit
to darioush/go-ethereum
that referenced
this issue
Feb 5, 2025
…ereum#64) ## Why this should be merged Fixes tracing when a stateful precompile calls another contract that itself accesses storage. ## How this works The pre-state tracer from `eth/tracers/native` doesn't implement `CaptureEnter()` (entry of a new context), instead relying on `CaptureState()` (per-opcode tracing) to detect that a new contract has been entered. In doing so, it [maintains an invariant](https://github.com/ava-labs/libevm/blob/cb7eb89341132f301680848d8faea6a5568dc326/eth/tracers/native/prestate.go#L160) that is expected when `CaptureState(vm.SLOAD, ...)` is called—breaking the invariant results in a panic due to a nil map. The fix involves (a) maintaining the invariant as part of `CaptureEnter()` (previously a no-op); and (b) calling said method inside `vm.PrecompileEnvironment.Call()`. The latter has the added benefit of properly handling all tracing involving an outbound call from precompiles. ## How this was tested New integration test demonstrates that the tracer can log the retrieved storage value. --------- Co-authored-by: Darioush Jalali <darioush.jalali@avalabs.org>
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Crash sending a transaction on JSON-RPC
Stack trace
The text was updated successfully, but these errors were encountered: