@@ -27,16 +27,16 @@ import
2727export json_serialization, base
2828
2929const
30- # https://github.com/ethereum/consensus-specs/blob/v1.3.0-rc.2 /specs/eip4844 /polynomial-commitments.md#constants
30+ # https://github.com/ethereum/consensus-specs/blob/v1.3.0-rc.3 /specs/deneb /polynomial-commitments.md#constants
3131 BYTES_PER_FIELD_ELEMENT = 32
3232
33- # https://github.com/ethereum/consensus-specs/blob/v1.3.0-rc.2 /specs/eip4844 /beacon-chain.md#blob
33+ # https://github.com/ethereum/consensus-specs/blob/v1.3.0-rc.3 /specs/deneb /beacon-chain.md#blob
3434 BLOB_TX_TYPE * = 0x 05 'u8
3535
36- # https://github.com/ethereum/consensus-specs/blob/v1.3.0-rc.2 /specs/eip4844 /polynomial-commitments.md#constants
36+ # https://github.com/ethereum/consensus-specs/blob/v1.3.0-rc.3 /specs/deneb /polynomial-commitments.md#constants
3737 BLS_MODULUS * = " 52435875175126190479447740508185965837690552500527637822603658699938581184513" .u256
38- # https://github.com/ethereum/consensus-specs/blob/v1.3.0-rc.0 /specs/eip4844 /p2p-interface.md#configuration
39- MIN_EPOCHS_FOR_BLOBS_SIDECARS_REQUESTS * = 4096 'u64
38+ # https://github.com/ethereum/consensus-specs/blob/v1.3.0-rc.3 /specs/deneb /p2p-interface.md#configuration
39+ MIN_EPOCHS_FOR_BLOB_SIDECARS_REQUESTS * = 4096 'u64
4040
4141type
4242 # this block belongs elsewhere - will figure out after implementing c-kzg bindings
366366 state_root* : Eth2Digest
367367 body* : TrustedBeaconBlockBody
368368
369- # https://github.com/ethereum/consensus-specs/blob/v1.3.0-rc.2 /specs/eip4844 /beacon-chain.md#beaconblockbody
369+ # https://github.com/ethereum/consensus-specs/blob/v1.3.0-rc.3 /specs/deneb /beacon-chain.md#beaconblockbody
370370 BeaconBlockBody * = object
371371 randao_reveal* : ValidatorSig
372372 eth1_data* : Eth1Data
385385 sync_aggregate* : SyncAggregate
386386
387387 # Execution
388- execution_payload* : ExecutionPayload
388+ execution_payload* : ExecutionPayload # [Modified in Deneb]
389389 bls_to_execution_changes* : SignedBLSToExecutionChangeList
390- blob_kzg_commitments* : KZGCommitments # [New in EIP-4844 ]
390+ blob_kzg_commitments* : KZGCommitments # [New in Deneb ]
391391
392392 SigVerifiedBeaconBlockBody * = object
393393 # # A BeaconBlock body with signatures verified
420420 sync_aggregate* : TrustedSyncAggregate
421421
422422 # Execution
423- execution_payload* : ExecutionPayload
423+ execution_payload* : ExecutionPayload # [Modified in Deneb]
424424 bls_to_execution_changes* : SignedBLSToExecutionChangeList
425- blob_kzg_commitments* : List [KZGCommitment , Limit MAX_BLOBS_PER_BLOCK ] # [New in EIP-4844 ]
425+ blob_kzg_commitments* : List [KZGCommitment , Limit MAX_BLOBS_PER_BLOCK ] # [New in Deneb ]
426426
427427 TrustedBeaconBlockBody * = object
428428 # # A full verified block
443443 sync_aggregate* : TrustedSyncAggregate
444444
445445 # Execution
446- execution_payload* : ExecutionPayload
446+ execution_payload* : ExecutionPayload # [Modified in Deneb]
447447 bls_to_execution_changes* : SignedBLSToExecutionChangeList
448- blob_kzg_commitments* : List [KZGCommitment , Limit MAX_BLOBS_PER_BLOCK ] # [New in EIP-4844 ]
448+ blob_kzg_commitments* : List [KZGCommitment , Limit MAX_BLOBS_PER_BLOCK ] # [New in Deneb ]
449449
450450 # https://github.com/ethereum/consensus-specs/blob/v1.3.0-rc.3/specs/phase0/beacon-chain.md#signedbeaconblock
451451 SignedBeaconBlock * = object
0 commit comments