From 225830e4d1e99d39ac69a3c61c584f364a0f45fd Mon Sep 17 00:00:00 2001 From: linning Date: Thu, 18 Apr 2024 21:13:09 +0800 Subject: [PATCH] Add TODO, enable test_cross_domains_messages_should_work Signed-off-by: linning --- crates/pallet-subspace-mmr/src/lib.rs | 2 ++ domains/client/domain-operator/src/tests.rs | 3 --- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/crates/pallet-subspace-mmr/src/lib.rs b/crates/pallet-subspace-mmr/src/lib.rs index 428338dc7bc..035dadde6c1 100644 --- a/crates/pallet-subspace-mmr/src/lib.rs +++ b/crates/pallet-subspace-mmr/src/lib.rs @@ -57,6 +57,8 @@ mod pallet { impl OnNewRoot for Pallet { fn on_new_root(root: &T::MmrRootHash) { + // TODO: this digest is not used remove it before next network reset but keep it + // as is for now to keep compatible with gemini-3h. let digest = DigestItem::new_mmr_root(*root); >::deposit_log(digest); diff --git a/domains/client/domain-operator/src/tests.rs b/domains/client/domain-operator/src/tests.rs index e5fc20faae7..7c832ef496d 100644 --- a/domains/client/domain-operator/src/tests.rs +++ b/domains/client/domain-operator/src/tests.rs @@ -3344,10 +3344,7 @@ async fn existing_bundle_can_be_resubmitted_to_new_fork() { assert_eq!(alice.client.info().best_number, pre_alice_best_number + 2); } -// TODO: this test is flaky and may hang forever in CI, able it after the root cause is -// located and fixed. #[tokio::test(flavor = "multi_thread")] -#[ignore] async fn test_cross_domains_messages_should_work() { let directory = TempDir::new().expect("Must be able to create temporary directory");