Skip to content

Commit

Permalink
Merge pull request #151 from eosnetworkfoundation/tokenomics-2-add-ze…
Browse files Browse the repository at this point in the history
…ro-day-rex-mature-test

validate zero day maturity fails
  • Loading branch information
ericpassmore authored Jun 18, 2024
2 parents 8b02be0 + e392b51 commit 04350f5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/eosio.system_rex_matured_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@ BOOST_FIXTURE_TEST_CASE( buy_sell_matured_rex, eosio_system_tester ) try {
BOOST_REQUIRE_EQUAL( core_sym::from_string("0.0000"), get_rex_vote_stake( david ) );
BOOST_REQUIRE_EQUAL( init_balance, get_rex_fund( david ) );

// 5.0 Instant maturation
BOOST_REQUIRE_EQUAL( wasm_assert_msg("num_of_maturity_buckets must be positive"), setrexmature( 0, true, true ) );


} FC_LOG_AND_RETHROW()
Expand Down

0 comments on commit 04350f5

Please sign in to comment.