mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-11 17:35:43 +00:00
5d9826c262
This PR includes the following 2 improvements: ## Ethereum Client Author: @yrong ### Original Upstream PRs - https://github.com/Snowfork/polkadot-sdk/pull/123 - https://github.com/Snowfork/polkadot-sdk/pull/125 ### Description The Ethereum client syncs beacon headers as they are finalized, and imports every execution header. When a message is received, it is verified against the import execution header. This is unnecessary, since the execution header can be sent with the message as proof. The recent Deneb Ethereum upgrade made it easier to locate the relevant beacon header from an execution header, and so this improvement was made possible. This resolves a concern @svyatonik had in our initial Rococo PR: https://github.com/paritytech/polkadot-sdk/pull/2522#discussion_r1431270691 ## Inbound Queue Author: @yrong ### Original Upstream PR - https://github.com/Snowfork/polkadot-sdk/pull/118 ### Description When the AH sovereign account (who pays relayer rewards) is depleted, the inbound message will not fail. The relayer just will not receive rewards. Both these changes were done by @yrong, many thanks. ❤️ --------- Co-authored-by: claravanstaden <Cats 4 life!> Co-authored-by: Ron <yrong1997@gmail.com> Co-authored-by: Vincent Geddes <vincent@snowfork.com> Co-authored-by: Svyatoslav Nikolsky <svyatonik@gmail.com>
33 lines
1.0 KiB
Rust
33 lines
1.0 KiB
Rust
// SPDX-License-Identifier: Apache-2.0
|
|
// SPDX-FileCopyrightText: 2023 Snowfork <hello@snowfork.com>
|
|
#![cfg_attr(not(feature = "std"), no_std)]
|
|
|
|
pub mod bits;
|
|
pub mod bls;
|
|
pub mod config;
|
|
pub mod merkle_proof;
|
|
pub mod receipt;
|
|
pub mod ssz;
|
|
pub mod types;
|
|
pub mod updates;
|
|
|
|
#[cfg(feature = "std")]
|
|
mod serde_utils;
|
|
|
|
pub use types::{
|
|
AncestryProof, BeaconHeader, CompactBeaconState, ExecutionPayloadHeader, ExecutionProof,
|
|
FinalizedHeaderState, Fork, ForkData, ForkVersion, ForkVersions, Mode, PublicKey, Signature,
|
|
SigningData, SyncAggregate, SyncCommittee, SyncCommitteePrepared,
|
|
VersionedExecutionPayloadHeader,
|
|
};
|
|
pub use updates::{CheckpointUpdate, NextSyncCommitteeUpdate, Update};
|
|
|
|
pub use bits::decompress_sync_committee_bits;
|
|
pub use bls::{
|
|
fast_aggregate_verify, prepare_aggregate_pubkey, prepare_aggregate_pubkey_from_absent,
|
|
prepare_aggregate_signature, prepare_g1_pubkeys, AggregatePublicKey, AggregateSignature,
|
|
BlsError, PublicKeyPrepared, SignaturePrepared,
|
|
};
|
|
pub use merkle_proof::verify_merkle_branch;
|
|
pub use receipt::verify_receipt_proof;
|