Skip to content

Commit

Permalink
commit
Browse files Browse the repository at this point in the history
  • Loading branch information
JkLondon committed Sep 10, 2024
1 parent 4594038 commit 2e0a7a8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
1 change: 0 additions & 1 deletion core/vm/evm.go
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,6 @@ func (evm *EVM) call(typ OpCode, caller ContractRef, addr libcommon.Address, inp
// Fail if we're trying to transfer more than the available balance
if !value.IsZero() && !evm.Context.CanTransfer(evm.intraBlockState, caller.Address(), value) {
if !bailout {
println("no balance")
return nil, gas, ErrInsufficientBalance
}
}
Expand Down
8 changes: 0 additions & 8 deletions turbo/jsonrpc/trace_adhoc.go
Original file line number Diff line number Diff line change
Expand Up @@ -1289,8 +1289,6 @@ func (api *TraceAPIImpl) doCallMany(ctx context.Context, dbtx kv.Tx, msgs []type
finalizeTxStateWriter = noop
}

//ibs.Reset()

var txFinalized bool
var execResult *evmtypes.ExecutionResult
if args.isBorStateSyncTxn {
Expand Down Expand Up @@ -1359,12 +1357,6 @@ func (api *TraceAPIImpl) doCallMany(ctx context.Context, dbtx kv.Tx, msgs []type
}
}

//chainRules := chainConfig.Rules(blockCtx.BlockNumber, blockCtx.Time)

//if err = ibs.CommitBlock(chainRules, cachedWriter); err != nil {
// return nil, nil, err
//}
//
ibs.Reset()

return results, ibs, nil
Expand Down

0 comments on commit 2e0a7a8

Please sign in to comment.