Skip to content
Snippets Groups Projects
Unverified Commit c75fa5bb authored by bgallois's avatar bgallois
Browse files

fix live-tests

parent 8c1e2a8d
No related branches found
No related tags found
No related merge requests found
Pipeline #36308 canceled
......@@ -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
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment