diff --git a/pallets/fund-admin-records/src/tests.rs b/pallets/fund-admin-records/src/tests.rs index 39f0b886..00589ed7 100644 --- a/pallets/fund-admin-records/src/tests.rs +++ b/pallets/fund-admin-records/src/tests.rs @@ -25,28 +25,6 @@ fn make_record_collection( record_collection } -// fn make_default_record_collection() -> RecordCollection { -// make_record_collection( -// make_project_id("project_id"), -// make_hashed_info("hashed_info"), -// TableType::Drawdown, -// RecordType::Creation, -// ) -// } - -// fn make_array_record_collection(num: u16) -> RecordCollection { -// let mut record_collection: RecordCollection = bounded_vec![]; -// for i in 0..num { -// record_collection.try_push(( -// make_project_id(&format!("project_id_{}", i)), -// make_hashed_info(&format!("hashed_info_{}", i)), -// TableType::Drawdown, -// RecordType::Creation, -// )).unwrap_or_default(); -// } -// record_collection -// } - #[test] fn set_signer_account_works() { new_test_ext().execute_with(|| { diff --git a/pallets/fund-admin-records/src/types.rs b/pallets/fund-admin-records/src/types.rs index 5335e9be..1a494c8e 100644 --- a/pallets/fund-admin-records/src/types.rs +++ b/pallets/fund-admin-records/src/types.rs @@ -27,6 +27,8 @@ pub enum TableType { RecoveryDrawdown, Revenue, RecoveryRevenue, + Rebalance, + DrawdownSources } #[derive( @@ -39,5 +41,5 @@ pub enum RecordType { Reject, Recovery, Cancel, - Confirm, + Confirm }