-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Closed
Labels
Milestone
Description
Component
Anvil
Describe the feature you would like
Currently, when submitting an eip4844 transaction without sidecar, it gets discarded with the message
{"code":-32003,"message":"eip4844 tx variant without sidecar being used for verification."}
Due to the checks here
foundry/crates/anvil/src/eth/api.rs
Line 2924 in 1091634
| // It is not valid to receive a TxEip4844 without a sidecar, therefore |
// It is not valid to receive a TxEip4844 without a sidecar, therefore
// we must reject it.
TxEip4844Variant::TxEip4844(_) => {
return Err(BlockchainError::FailedToDecodeTransaction)
}
Sometimes, it is desirable to skip this check in the spirit of the --auto-impersonate flag, for example when simulating the execution of old blocks with no access to the blob data.
Would it be possible to add a flag for disabling the sidecar checks on submitting a raw eip4844 transaction?
Additional context
No response
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Completed