-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* start removing minimal spec * remove minimal spec * remove minimal spec * update test modules * heap allocate test structs * fmt * fix tests * remove fast runtime test run * rename fixtures * fmt * adds generating test data for inbound message and refresh test data * adds generating fixture data for inbound message and clippy * fixes for inbound queue benchmarks * update test fixture * format and update polkadot-sdk * cleanup and update fork versions * update fixtures * fixes after merge * more fixes * fix lodestar setup in nix, update fixtures with deneb fork * use fast runtime, default fast mode * fix fixtures * fix fixtures * update fixtures * fix fork versions * update polkadot-sdk --------- Co-authored-by: claravanstaden <Cats 4 life!>
- Loading branch information
1 parent
d65afb4
commit 53a5522
Showing
66 changed files
with
4,384 additions
and
9,217 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
parachain/pallets/ethereum-client/fuzz/fuzz_targets/fuzz_submit.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1,217 changes: 1,217 additions & 0 deletions
1,217
parachain/pallets/ethereum-client/src/benchmarking/fixtures.rs
Large diffs are not rendered by default.
Oops, something went wrong.
1,215 changes: 0 additions & 1,215 deletions
1,215
parachain/pallets/ethereum-client/src/benchmarking/fixtures_mainnet.rs
This file was deleted.
Oops, something went wrong.
248 changes: 0 additions & 248 deletions
248
parachain/pallets/ethereum-client/src/benchmarking/fixtures_minimal.rs
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,14 @@ | ||
// SPDX-License-Identifier: Apache-2.0 | ||
// SPDX-FileCopyrightText: 2023 Snowfork <[email protected]> | ||
use super::*; | ||
mod fixtures; | ||
mod util; | ||
|
||
use crate::Pallet as EthereumBeaconClient; | ||
use frame_benchmarking::v2::*; | ||
use frame_system::RawOrigin; | ||
|
||
#[cfg(feature = "beacon-spec-minimal")] | ||
mod fixtures_minimal; | ||
#[cfg(feature = "beacon-spec-minimal")] | ||
use fixtures_minimal::*; | ||
|
||
#[cfg(not(feature = "beacon-spec-minimal"))] | ||
mod fixtures_mainnet; | ||
#[cfg(not(feature = "beacon-spec-minimal"))] | ||
use fixtures_mainnet::*; | ||
use fixtures::*; | ||
|
||
use primitives::{ | ||
fast_aggregate_verify, prepare_aggregate_pubkey, prepare_aggregate_signature, | ||
|
@@ -151,16 +144,5 @@ mod benchmarks { | |
Ok(()) | ||
} | ||
|
||
#[cfg(feature = "beacon-spec-minimal")] | ||
impl_benchmark_test_suite!( | ||
EthereumBeaconClient, | ||
crate::mock::minimal::new_tester(), | ||
crate::mock::minimal::Test | ||
); | ||
#[cfg(not(feature = "beacon-spec-minimal"))] | ||
impl_benchmark_test_suite!( | ||
EthereumBeaconClient, | ||
crate::mock::mainnet::new_tester(), | ||
crate::mock::mainnet::Test | ||
); | ||
impl_benchmark_test_suite!(EthereumBeaconClient, crate::mock::new_tester(), crate::mock::Test); | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.