Skip to content

Commit

Permalink
instant_finality_extension renamed to finality_extension
Browse files Browse the repository at this point in the history
  • Loading branch information
heifner committed Jul 15, 2024
1 parent c30e89e commit 0218cbe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/eosio.bios_inst_fin_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ BOOST_FIXTURE_TEST_CASE( set_1_finalizer, eosio_bios_if_tester ) try {
fc::variant pretty_output;
abi_serializer::to_variant( *cur_block, pretty_output, get_resolver(), fc::microseconds::maximum() );

BOOST_REQUIRE(pretty_output.get_object().contains("instant_finality_extension"));
BOOST_REQUIRE(pretty_output.get_object().contains("finality_extension"));
std::string output_json = fc::json::to_pretty_string(pretty_output);
BOOST_TEST(output_json.find("\"generation\": 1") != std::string::npos);
BOOST_TEST(output_json.find("\"threshold\": 2") != std::string::npos);
Expand Down Expand Up @@ -86,7 +86,7 @@ BOOST_FIXTURE_TEST_CASE( set_2_finalizers, eosio_bios_if_tester ) try {
fc::variant pretty_output;
abi_serializer::to_variant( *cur_block, pretty_output, get_resolver(), fc::microseconds::maximum() );

BOOST_REQUIRE(pretty_output.get_object().contains("instant_finality_extension"));
BOOST_REQUIRE(pretty_output.get_object().contains("finality_extension"));
std::string output_json = fc::json::to_pretty_string(pretty_output);
BOOST_TEST(output_json.find("\"generation\": 1") != std::string::npos);
BOOST_TEST(output_json.find("\"threshold\": 5") != std::string::npos);
Expand Down

0 comments on commit 0218cbe

Please sign in to comment.