Skip to content

Commit 6b97e92

Browse files
committed
replica: don't set sender balance to maxuint, aligns to geth # ethereum#20783
1 parent 8c3132c commit 6b97e92

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

replica/backend.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,6 @@ func (backend *ReplicaBackend) GetTd(ctx context.Context, blockHash common.Hash)
157157
}
158158
// Use core.NewEVMContext and vm.NewEVM - Will need custom ChainContext implementation
159159
func (backend *ReplicaBackend) GetEVM(ctx context.Context, msg core.Message, state *state.StateDB, header *types.Header) (*vm.EVM, func() error, error) {
160-
state.SetBalance(msg.From(), math.MaxBig256)
161160
vmError := func() error {
162161
if backend.evmSemaphore != nil {
163162
<-backend.evmSemaphore

0 commit comments

Comments
 (0)