mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-01-13 05:44:40 +00:00
More descriptive comment on timestamp
This commit is contained in:
parent
4e1755a0bf
commit
59b28cd1b2
@ -16,7 +16,9 @@ proc coinbase*(computation) =
|
||||
stack.push(vmState.coinbase)
|
||||
|
||||
proc timestamp*(computation) =
|
||||
stack.push(vmState.timestamp.uint64.u256) # TODO: EthTime (from Time) is distinct
|
||||
# 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)
|
||||
|
||||
proc number*(computation) =
|
||||
stack.push(vmState.blockNumber)
|
||||
|
Loading…
x
Reference in New Issue
Block a user