bump `nim-eth` to `c482b4c5b658a77cc96b49d4a397aa6d98472ac7` (#6281)

- Introduce wrapper type for EIP-4844 transactions
This commit is contained in:
Etan Kissling 2024-05-13 18:58:47 +03:00 committed by GitHub
parent 8ca537c8b9
commit 87605d08a7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -477,7 +477,7 @@ func asConsensusType*(payload: engine_api.GetPayloadV3Response):
# The `mapIt` calls below are necessary only because we use different distinct # The `mapIt` calls below are necessary only because we use different distinct
# types for KZG commitments and Blobs in the `web3` and the `deneb` spec types. # types for KZG commitments and Blobs in the `web3` and the `deneb` spec types.
# Both are defined as `array[N, byte]` under the hood. # Both are defined as `array[N, byte]` under the hood.
blobsBundle: BlobsBundle( blobsBundle: deneb.BlobsBundle(
commitments: KzgCommitments.init( commitments: KzgCommitments.init(
payload.blobsBundle.commitments.mapIt(it.bytes)), payload.blobsBundle.commitments.mapIt(it.bytes)),
proofs: KzgProofs.init( proofs: KzgProofs.init(
@ -543,7 +543,7 @@ func asConsensusType*(payload: engine_api.GetPayloadV4Response):
# The `mapIt` calls below are necessary only because we use different distinct # The `mapIt` calls below are necessary only because we use different distinct
# types for KZG commitments and Blobs in the `web3` and the `deneb` spec types. # types for KZG commitments and Blobs in the `web3` and the `deneb` spec types.
# Both are defined as `array[N, byte]` under the hood. # Both are defined as `array[N, byte]` under the hood.
blobsBundle: BlobsBundle( blobsBundle: deneb.BlobsBundle(
commitments: KzgCommitments.init( commitments: KzgCommitments.init(
payload.blobsBundle.commitments.mapIt(it.bytes)), payload.blobsBundle.commitments.mapIt(it.bytes)),
proofs: KzgProofs.init( proofs: KzgProofs.init(

2
vendor/nim-eth vendored

@ -1 +1 @@
Subproject commit 4cd9e27c09117b284b91978fe6cdd76a181925f7 Subproject commit c482b4c5b658a77cc96b49d4a397aa6d98472ac7