Skip to content

Commit ba84523

Browse files
eth/tracers: fix tracers
1 parent 5a82df8 commit ba84523

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

eth/tracers/js/tracer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -697,7 +697,7 @@ func (jst *jsTracer) CaptureStart(env *vm.EVM, from common.Address, to common.Ad
697697
jst.ctx["block"] = env.Context.BlockNumber.Uint64()
698698
jst.dbWrapper.db = env.StateDB
699699
// Update list of precompiles based on current block
700-
rules := env.ChainConfig().Rules(env.Context.BlockNumber)
700+
rules := env.ChainConfig().Rules(env.Context.BlockNumber, false)
701701
jst.activePrecompiles = vm.ActivePrecompiles(rules)
702702

703703
// Compute intrinsic gas

eth/tracers/native/4byte.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ func (t *fourByteTracer) CaptureStart(env *vm.EVM, from common.Address, to commo
8383
t.env = env
8484

8585
// Update list of precompiles based on current block
86-
rules := env.ChainConfig().Rules(env.Context.BlockNumber)
86+
rules := env.ChainConfig().Rules(env.Context.BlockNumber, false)
8787
t.activePrecompiles = vm.ActivePrecompiles(rules)
8888

8989
// Save the outer calldata also

0 commit comments

Comments
 (0)