Skip to content

Conversation

@chiphamskymavis
Copy link
Contributor

This is quite a significant feature, including PRs from go-ethereum as bellow:

s1na and others added 7 commits April 2, 2025 14:08
This is a successor PR to #25743. This PR is based on a new iteration of
the spec: ethereum/execution-apis#484.

`eth_multicall` takes in a list of blocks, each optionally overriding
fields like number, timestamp, etc. of a base block. Each block can
include calls. At each block users can override the state. There are
extra features, such as:

- Include ether transfers as part of the logs
- Overriding precompile codes with evm bytecode
- Redirecting accounts to another address

## Breaking changes

This PR includes the following breaking changes:

- Block override fields of eth_call and debug_traceCall have had the
following fields renamed
  - `coinbase` -> `feeRecipient`
  - `random` -> `prevRandao`
  - `baseFee` -> `baseFeePerGas`

---------

Co-authored-by: Gary Rong <[email protected]>
Co-authored-by: Martin Holst Swende <[email protected]>
# Conflicts:
#	core/state_processor.go
#	core/state_transition.go
#	core/vm/contracts.go
#	core/vm/evm.go
#	eth/tracers/api.go
#	ethclient/ethclient_test.go
#	ethclient/gethclient/gethclient_test.go
#	graphql/graphql_test.go
#	internal/ethapi/api.go
#	internal/ethapi/api_test.go
#	internal/ethapi/errors.go
#	internal/ethapi/transaction_args.go
rm error when marshal block to rpc type allen
* core/vm: set basefee to 0 internally on eth_call

* core: nicer 0-basefee, make it work for blob fees too

* internal/ethapi: make tests a bit more complex

* core: fix blob fee checker

* core: make code a bit more readable

* core: fix some test error strings

* core/vm: Get rid of weird comment

* core: dict wrong typo
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

Successfully merging this pull request may close these issues.

5 participants