use v1.1.0-beta.5 test vectors (#2900)

This commit is contained in:
tersec 2021-09-25 03:07:07 +00:00 committed by GitHub
parent 6f391691d9
commit edad6e5e83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 2 deletions

View File

@ -24,6 +24,7 @@ const
BYTES_PER_LOGS_BLOOM = 256
GAS_LIMIT_DENOMINATOR = 1024
MIN_GAS_LIMIT = 5000
MAX_EXTRA_DATA_BYTES = 32
type
# https://github.com/ethereum/consensus-specs/blob/v1.1.0-beta.4/specs/merge/beacon-chain.md#custom-types
@ -48,6 +49,7 @@ type
gas_limit*: uint64
gas_used*: uint64
timestamp*: uint64
extra_data*: List[byte, MAX_EXTRA_DATA_BYTES]
base_fee_per_gas*: Eth2Digest # base fee introduced in EIP-1559, little-endian serialized
# Extra payload fields
@ -66,6 +68,7 @@ type
gas_limit*: uint64
gas_used*: uint64
timestamp*: uint64
extra_data*: List[byte, MAX_EXTRA_DATA_BYTES]
base_fee_per_gas*: Eth2Digest # base fee introduced in EIP-1559, little-endian serialized
# Extra payload fields

View File

@ -39,7 +39,7 @@ type
const
FixturesDir* =
currentSourcePath.rsplit(DirSep, 1)[0] / ".." / ".." / "vendor" / "nim-eth2-scenarios"
SszTestsDir* = FixturesDir / "tests-v1.1.0-beta.4"
SszTestsDir* = FixturesDir / "tests-v1.1.0-beta.5"
MaxObjectSize* = 3_000_000
proc parseTest*(path: string, Format: typedesc[Json], T: typedesc): T =

@ -1 +1 @@
Subproject commit 927811da3ecb3f7c5ca0c74533e78ee4aec147e9
Subproject commit 9317581ea9efce38da0b3023dccb21b23c2178e5