Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion rpc/transactions/tracing.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,10 @@
func ComputeTxContext(statedb *state.IntraBlockState, engine rules.EngineReader, rules *chain.Rules, signer *types.Signer, block *types.Block, cfg *chain.Config, txIndex int) (protocol.Message, evmtypes.TxContext, error) {
txn := block.Transactions()[txIndex]
statedb.SetTxContext(block.NumberU64(), txIndex)
msg, _ := txn.AsMessage(*signer, block.BaseFee(), rules)
msg, err := txn.AsMessage(*signer, block.BaseFee(), rules)
if err != nil {
return protocol.Message{}, evmtypes.TxContext{}, err

Check failure on line 84 in rpc/transactions/tracing.go

View workflow job for this annotation

GitHub Actions / win (windows-2025)

invalid composite literal type "github.com/erigontech/erigon/execution/protocol".Message

Check failure on line 84 in rpc/transactions/tracing.go

View workflow job for this annotation

GitHub Actions / lint

invalid composite literal type "github.com/erigontech/erigon/execution/protocol".Message (typecheck)

Check failure on line 84 in rpc/transactions/tracing.go

View workflow job for this annotation

GitHub Actions / tests-windows (windows-2025)

invalid composite literal type "github.com/erigontech/erigon/execution/protocol".Message

Check failure on line 84 in rpc/transactions/tracing.go

View workflow job for this annotation

GitHub Actions / tests-windows (windows-2025)

invalid composite literal type "github.com/erigontech/erigon/execution/protocol".Message

Check failure on line 84 in rpc/transactions/tracing.go

View workflow job for this annotation

GitHub Actions / tests-windows (windows-2025)

invalid composite literal type "github.com/erigontech/erigon/execution/protocol".Message

Check failure on line 84 in rpc/transactions/tracing.go

View workflow job for this annotation

GitHub Actions / tests-windows (windows-2025)

invalid composite literal type "github.com/erigontech/erigon/execution/protocol".Message

Check failure on line 84 in rpc/transactions/tracing.go

View workflow job for this annotation

GitHub Actions / tests-windows (windows-2025)

invalid composite literal type "github.com/erigontech/erigon/execution/protocol".Message

Check failure on line 84 in rpc/transactions/tracing.go

View workflow job for this annotation

GitHub Actions / tests-mac-linux (ubuntu-24.04)

invalid composite literal type "github.com/erigontech/erigon/execution/protocol".Message

Check failure on line 84 in rpc/transactions/tracing.go

View workflow job for this annotation

GitHub Actions / tests-mac-linux (ubuntu-24.04)

invalid composite literal type "github.com/erigontech/erigon/execution/protocol".Message

Check failure on line 84 in rpc/transactions/tracing.go

View workflow job for this annotation

GitHub Actions / tests-mac-linux (ubuntu-24.04)

invalid composite literal type "github.com/erigontech/erigon/execution/protocol".Message

Check failure on line 84 in rpc/transactions/tracing.go

View workflow job for this annotation

GitHub Actions / tests-mac-linux (ubuntu-24.04)

invalid composite literal type "github.com/erigontech/erigon/execution/protocol".Message

Check failure on line 84 in rpc/transactions/tracing.go

View workflow job for this annotation

GitHub Actions / tests-mac-linux (macos-15)

invalid composite literal type "github.com/erigontech/erigon/execution/protocol".Message

Check failure on line 84 in rpc/transactions/tracing.go

View workflow job for this annotation

GitHub Actions / tests-mac-linux (macos-15)

invalid composite literal type "github.com/erigontech/erigon/execution/protocol".Message

Check failure on line 84 in rpc/transactions/tracing.go

View workflow job for this annotation

GitHub Actions / tests-mac-linux (macos-15)

invalid composite literal type "github.com/erigontech/erigon/execution/protocol".Message

Check failure on line 84 in rpc/transactions/tracing.go

View workflow job for this annotation

GitHub Actions / tests-mac-linux (macos-15)

invalid composite literal type "github.com/erigontech/erigon/execution/protocol".Message

Check failure on line 84 in rpc/transactions/tracing.go

View workflow job for this annotation

GitHub Actions / tests-mac-linux (macos-15)

invalid composite literal type "github.com/erigontech/erigon/execution/protocol".Message

Check failure on line 84 in rpc/transactions/tracing.go

View workflow job for this annotation

GitHub Actions / tests-mac-linux (macos-15)

invalid composite literal type "github.com/erigontech/erigon/execution/protocol".Message

Check failure on line 84 in rpc/transactions/tracing.go

View workflow job for this annotation

GitHub Actions / tests-mac-linux (macos-15)

invalid composite literal type "github.com/erigontech/erigon/execution/protocol".Message

Check failure on line 84 in rpc/transactions/tracing.go

View workflow job for this annotation

GitHub Actions / tests-mac-linux (macos-15)

invalid composite literal type "github.com/erigontech/erigon/execution/protocol".Message
}
txContext := protocol.NewEVMTxContext(msg)
return msg, txContext, nil
}
Expand Down
Loading