From 384ed36ba807d85f53251a9359033199c89f6c69 Mon Sep 17 00:00:00 2001
From: bgallois <benjamin@gallois.cc>
Date: Wed, 21 Feb 2024 15:45:39 +0100
Subject: [PATCH] fix live-tests

---
 live-tests/tests/sanity_gdev.rs | 11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)

diff --git a/live-tests/tests/sanity_gdev.rs b/live-tests/tests/sanity_gdev.rs
index d94cc95be..d2f8f0915 100644
--- a/live-tests/tests/sanity_gdev.rs
+++ b/live-tests/tests/sanity_gdev.rs
@@ -22,7 +22,6 @@
 pub mod gdev {}
 
 use countmap::CountMap;
-//use hex_literal::hex;
 use sp_core::crypto::AccountId32;
 use sp_core::{blake2_128, ByteArray, H256};
 use std::collections::{HashMap, HashSet};
@@ -37,6 +36,7 @@ use subxt::ext::sp_core;
 const DEFAULT_ENDPOINT: &str = "ws://localhost:9944";
 
 const EXISTENTIAL_DEPOSIT: u64 = 100;
+//use hex_literal::hex;
 //const TREASURY_ACCOUNT_ID: [u8; 32] =
 //    hex!("6d6f646c70792f74727372790000000000000000000000000000000000000000");
 
@@ -278,15 +278,6 @@ mod verifier {
                         format!("Account {} has no providers nor sufficients.", account_id),
                     );
                 }
-
-                /*if account_id.as_slice() != TREASURY_ACCOUNT_ID {
-                    // Rule 4: If the account is not a "special account",
-                    // it should have a consumer
-                    self.assert(
-                        account_info.consumers > 0,
-                        format!("Account {} has no consumer.", account_id),
-                    );
-                }*/ //TODO check that is not true anymore
             }
         }
 
-- 
GitLab