Skip to content
Snippets Groups Projects
Commit 384ed36b authored by bgallois's avatar bgallois Committed by Hugo Trentesaux
Browse files

fix live-tests

parent af601c21
No related branches found
No related tags found
1 merge request!248Fix live tests
Pipeline #36352 skipped
...@@ -22,7 +22,6 @@ ...@@ -22,7 +22,6 @@
pub mod gdev {} pub mod gdev {}
use countmap::CountMap; use countmap::CountMap;
//use hex_literal::hex;
use sp_core::crypto::AccountId32; use sp_core::crypto::AccountId32;
use sp_core::{blake2_128, ByteArray, H256}; use sp_core::{blake2_128, ByteArray, H256};
use std::collections::{HashMap, HashSet}; use std::collections::{HashMap, HashSet};
...@@ -37,6 +36,7 @@ use subxt::ext::sp_core; ...@@ -37,6 +36,7 @@ use subxt::ext::sp_core;
const DEFAULT_ENDPOINT: &str = "ws://localhost:9944"; const DEFAULT_ENDPOINT: &str = "ws://localhost:9944";
const EXISTENTIAL_DEPOSIT: u64 = 100; const EXISTENTIAL_DEPOSIT: u64 = 100;
//use hex_literal::hex;
//const TREASURY_ACCOUNT_ID: [u8; 32] = //const TREASURY_ACCOUNT_ID: [u8; 32] =
// hex!("6d6f646c70792f74727372790000000000000000000000000000000000000000"); // hex!("6d6f646c70792f74727372790000000000000000000000000000000000000000");
...@@ -278,15 +278,6 @@ mod verifier { ...@@ -278,15 +278,6 @@ mod verifier {
format!("Account {} has no providers nor sufficients.", account_id), 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