remove cruft
This commit is contained in:
parent
d41a3dedf0
commit
e461248e86
|
@ -1,7 +0,0 @@
|
|||
import eth/common
|
||||
|
||||
template prevRandao*(h: BlockHeader | BlockHeaderRef): Hash256 =
|
||||
h.mixDigest
|
||||
|
||||
template `prevRandao=`*(h: BlockHeader | BlockHeaderRef, hash: Hash256) =
|
||||
h.mixDigest = hash
|
|
@ -22,10 +22,6 @@ import
|
|||
./types,
|
||||
eth/[common, keys]
|
||||
|
||||
# a temporary solution until nim-eth bumped
|
||||
when not compiles(common.prevRandao):
|
||||
import ../merge/eth_common_overload
|
||||
|
||||
{.push raises: [Defect].}
|
||||
|
||||
const
|
||||
|
|
|
@ -21,10 +21,6 @@ import
|
|||
./types,
|
||||
eth/[common, keys]
|
||||
|
||||
# a temporary solution until nim-eth bumped
|
||||
when not compiles(common.prevRandao):
|
||||
import ../merge/eth_common_overload
|
||||
|
||||
{.push raises: [Defect].}
|
||||
|
||||
const
|
||||
|
|
Loading…
Reference in New Issue