Skip to content

Commit

Permalink
integrate with tenderly
Browse files Browse the repository at this point in the history
  • Loading branch information
profMagija committed Aug 14, 2024
1 parent 4563c25 commit 3c55f2c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions execution/nodeInterface/virtual-contracts.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ func init() {
core.InterceptRPCMessage = func(
msg *core.Message,
ctx context.Context,
statedb *state.StateDB,
statedb vm.StateDB,
header *types.Header,
backend core.NodeInterfaceBackendAPI,
blockCtx *vm.BlockContext,
Expand Down Expand Up @@ -115,7 +115,7 @@ func init() {
return msg, nil, nil
}

core.InterceptRPCGasCap = func(gascap *uint64, msg *core.Message, header *types.Header, statedb *state.StateDB) {
core.InterceptRPCGasCap = func(gascap *uint64, msg *core.Message, header *types.Header, statedb vm.StateDB) {
if *gascap == 0 {
// It's already unlimited
return
Expand Down

0 comments on commit 3c55f2c

Please sign in to comment.