remove cruft

This commit is contained in:
jangko 2022-03-09 21:43:51 +07:00
parent d41a3dedf0
commit e461248e86
No known key found for this signature in database
GPG Key ID: 31702AE10541E6B9
3 changed files with 0 additions and 15 deletions

View File

@ -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

View File

@ -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

View File

@ -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