Skip to content

Commit

Permalink
cherry-pick from ethereum@d8ada03 (ethereum#255)
Browse files Browse the repository at this point in the history
  • Loading branch information
wgr523 authored May 25, 2023
1 parent 2f10aac commit 3e0505a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/vm/contracts.go
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ func (c *dataCopy) RequiredGas(input []byte) uint64 {
return uint64(len(input)+31)/32*params.IdentityPerWordGas + params.IdentityBaseGas
}
func (c *dataCopy) Run(in []byte) ([]byte, error) {
return in, nil
return common.CopyBytes(in), nil
}

// bigModExp implements a native big integer exponential modular operation.
Expand Down

0 comments on commit 3e0505a

Please sign in to comment.