Skip to content

Commit

Permalink
Fix staking pallet benchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
ameba23 committed Jan 22, 2025
1 parent 9991f6d commit c4c7e42
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions pallets/staking/src/benchmarking.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@
use super::*;
#[allow(unused_imports)]
use crate::Pallet as Staking;
use entropy_shared::{AttestationHandler, QuoteContext, MAX_SIGNERS};
use entropy_shared::{
attestation::{AttestationHandler, QuoteContext},
MAX_SIGNERS,
};
use frame_benchmarking::{account, benchmarks, impl_benchmark_test_suite, whitelisted_caller};
use frame_support::{
assert_ok, ensure,
Expand Down Expand Up @@ -107,7 +110,7 @@ fn prepare_attestation_for_validate<T: Config>(

let attestation_key = tdx_quote::SigningKey::from_bytes(&ATTESTATION_KEY.into()).unwrap();

let input_data = entropy_shared::QuoteInputData::new(
let input_data = entropy_shared::attestation::QuoteInputData::new(
&threshold,
x25519_public_key,
nonce,
Expand Down

0 comments on commit c4c7e42

Please sign in to comment.