mirror of
https://github.com/logos-blockchain/logos-execution-zone.git
synced 2026-03-25 19:53:07 +00:00
revert some changes
This commit is contained in:
parent
c7a2e78df1
commit
c71a87f603
@ -1,4 +1,5 @@
|
|||||||
#![expect(
|
#![expect(
|
||||||
|
clippy::shadow_unrelated,
|
||||||
clippy::tests_outside_test_module,
|
clippy::tests_outside_test_module,
|
||||||
reason = "We don't care about these in tests"
|
reason = "We don't care about these in tests"
|
||||||
)]
|
)]
|
||||||
|
|||||||
@ -4,9 +4,9 @@
|
|||||||
reason = "We don't care about these in tests"
|
reason = "We don't care about these in tests"
|
||||||
)]
|
)]
|
||||||
|
|
||||||
use std::{str::FromStr, time::Duration};
|
use std::{str::FromStr as _, time::Duration};
|
||||||
|
|
||||||
use anyhow::{Context, Result};
|
use anyhow::{Context as _, Result};
|
||||||
use integration_tests::{
|
use integration_tests::{
|
||||||
TIME_TO_WAIT_FOR_BLOCK_SECONDS, TestContext, fetch_privacy_preserving_tx,
|
TIME_TO_WAIT_FOR_BLOCK_SECONDS, TestContext, fetch_privacy_preserving_tx,
|
||||||
format_private_account_id, format_public_account_id, verify_commitment_is_in_state,
|
format_private_account_id, format_public_account_id, verify_commitment_is_in_state,
|
||||||
@ -96,7 +96,7 @@ async fn sync_private_account_with_non_zero_chain_index() -> Result<()> {
|
|||||||
assert_eq!(tx.message.new_commitments[0], new_commitment1);
|
assert_eq!(tx.message.new_commitments[0], new_commitment1);
|
||||||
|
|
||||||
assert_eq!(tx.message.new_commitments.len(), 2);
|
assert_eq!(tx.message.new_commitments.len(), 2);
|
||||||
for commitment in tx.message.new_commitments.into_iter() {
|
for commitment in tx.message.new_commitments {
|
||||||
assert!(verify_commitment_is_in_state(commitment, ctx.sequencer_client()).await);
|
assert!(verify_commitment_is_in_state(commitment, ctx.sequencer_client()).await);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user