bump nim eth

better method not implemented message of AbstractChainDB
This commit is contained in:
jangko 2022-08-22 18:36:08 +07:00
parent 88263e664b
commit fe54f93ab6
No known key found for this signature in database
GPG Key ID: 31702AE10541E6B9
4 changed files with 4 additions and 6 deletions

View File

@ -161,7 +161,7 @@ proc slotsToSafe*(t: TestEnv, x: int) =
proc slotsToFinalized*(t: TestEnv, x: int) = proc slotsToFinalized*(t: TestEnv, x: int) =
t.clMock.slotsToFinalized = x t.clMock.slotsToFinalized = x
func gwei(n: int): GasInt {.compileTime.} = func gwei(n: int64): GasInt {.compileTime.} =
GasInt(n * (10 ^ 9)) GasInt(n * (10 ^ 9))
proc makeNextTransaction*(t: TestEnv, recipient: EthAddress, amount: UInt256, payload: openArray[byte] = []): Transaction = proc makeNextTransaction*(t: TestEnv, recipient: EthAddress, amount: UInt256, payload: openArray[byte] = []): Transaction =

View File

@ -60,9 +60,6 @@ proc toBlockBody*(payload: ExecutionPayloadV1): BlockBody =
for i, tx in payload.transactions: for i, tx in payload.transactions:
result.transactions[i] = rlp.decode(distinctBase tx, Transaction) result.transactions[i] = rlp.decode(distinctBase tx, Transaction)
proc `$`*(x: Hash256): string =
toHex(x.data)
proc `$`*(x: BlockHash): string = proc `$`*(x: BlockHash): string =
toHex(x) toHex(x)

View File

@ -22,4 +22,5 @@ import
./persistBlockTestGen, ./persistBlockTestGen,
../hive_integration/nodocker/consensus/extract_consensus_data, ../hive_integration/nodocker/consensus/extract_consensus_data,
../hive_integration/nodocker/consensus/consensus_sim, ../hive_integration/nodocker/consensus/consensus_sim,
../hive_integration/nodocker/graphql/graphql_sim ../hive_integration/nodocker/graphql/graphql_sim,
../hive_integration/nodocker/engine/engine_sim

2
vendor/nim-eth vendored

@ -1 +1 @@
Subproject commit 4c702938834d492a96593ea97ec2c813b4a80044 Subproject commit 9f1d5ef1a06d5ba3294d2e751dea8297b76b4a14