Skip to content

Commit

Permalink
Update BN code after v1.14.10 merge.
Browse files Browse the repository at this point in the history
  • Loading branch information
tyler-smith committed Sep 30, 2024
1 parent 734e397 commit 4968bb0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion eth/filters/trace_api.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,8 @@ func (api *FilterAPI) NewPendingTransactionsWithTrace(ctx context.Context) (*rpc
log.Error("failed to create tx message", "err", err, "tx", tx.Hash)
continue
}
msg.SkipAccountChecks = true
msg.SkipNonceChecks = true
msg.SkipFromEOACheck = true
msg.BlobGasFeeCap = common.Big0 // skip the check of ErrBlobFeeCapTooLow
msg.GasFeeCap = common.Big0 // skip the check of ErrFeeCapTooLow
msg.GasTipCap = common.Big0 // skip the check of ErrFeeCapTooLow
Expand Down
2 changes: 1 addition & 1 deletion eth/tracers/api_blocknative.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ func (api *API) BNMultiSim(ctx context.Context, args BNMultiSimArgs) (map[string
// TODO: figure out what base fee to use here. Probably need to calc next baseFee
// from the two args
//msg := tx.ToMessage(globalGasCap, header.BaseFee)
msg := tx.ToMessage(header.BaseFee)
msg := tx.ToMessage(header.BaseFee, true, true)

api.chainContext(ctx)
// Apply transaction to state and collect traceResult
Expand Down

0 comments on commit 4968bb0

Please sign in to comment.