1
0
Fork 0
forked from lthn/blockchain

coretests: edit the test "asset_current_and_total_supplies_comparative constraints" (#469)

* Coretests: implement the test "asset_current_and_total_supplies_comparative_constraints"

* Core tests: correct the test "asset_current_and_total_supplies_comparative_constraints"

* Add a return statement to the body end of the "asset_current_and_total_supplies_comparative_constraints::assert_asset_beta_registered" function
This commit is contained in:
Stёpa Dolgorukov 2024-10-17 20:58:48 +05:00 committed by GitHub
parent 5d429e1e76
commit 40539c1f9d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2264,6 +2264,8 @@ bool asset_current_and_total_supplies_comparative_constraints::assert_asset_beta
CHECK_AND_ASSERT_MES(alice_wallet->balance(beta_asset_id) == current_supply, false, "Alice has got not exactly " + std::to_string(current_supply) + ' ' + register_ado.descriptor.ticker);
}
return true;
}
bool asset_current_and_total_supplies_comparative_constraints::public_burn_asset_beta_with_incorrect_supply(currency::core& c, size_t ev_index, const std::vector<test_event_entry>& events) const