mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-01-13 13:55:45 +00:00
Remove double line and use ttmath for generating u256
This commit is contained in:
parent
c66afe18dd
commit
79e74f3da3
@ -1,5 +1,5 @@
|
||||
import
|
||||
../constants, ../errors, ../computation, ../vm_state, ../types, .. / vm / [stack]
|
||||
../constants, ../errors, ../computation, ../vm_state, ../types, .. / vm / [stack], ttmath
|
||||
|
||||
{.this: computation.}
|
||||
{.experimental.}
|
||||
@ -19,7 +19,6 @@ proc timestamp*(computation) =
|
||||
# TODO: EthTime is an alias of Time, which is a distinct int64 so can't use u256(int64)
|
||||
# This may have implications for different platforms.
|
||||
stack.push(vmState.timestamp.uint64.u256)
|
||||
stack.push(vmState.timestamp.u256)
|
||||
|
||||
proc number*(computation) =
|
||||
stack.push(vmState.blockNumber)
|
||||
|
Loading…
x
Reference in New Issue
Block a user