use v1.1.0-beta.5 test vectors (#2900)
This commit is contained in:
parent
6f391691d9
commit
edad6e5e83
|
@ -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
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue