Skip to content

Commit

Permalink
Merge pull request #107 from AntelopeIO/rename_instant_finality_exten…
Browse files Browse the repository at this point in the history
…sion

instant_finality_extension renamed to finality_extension
  • Loading branch information
heifner authored Jul 15, 2024
2 parents c30e89e + 759f801 commit 88f2eed
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,8 +55,8 @@ 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"));
std::string output_json = fc::json::to_pretty_string(pretty_output);
BOOST_TEST(output_json.find("finality_extension") != std::string::npos);
BOOST_TEST(output_json.find("\"generation\": 1") != std::string::npos);
BOOST_TEST(output_json.find("\"threshold\": 2") != std::string::npos);
BOOST_TEST(output_json.find("set_1_finalizer") != std::string::npos);
Expand Down Expand Up @@ -86,8 +86,8 @@ 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"));
std::string output_json = fc::json::to_pretty_string(pretty_output);
BOOST_TEST(output_json.find("finality_extension") != std::string::npos);
BOOST_TEST(output_json.find("\"generation\": 1") != std::string::npos);
BOOST_TEST(output_json.find("\"threshold\": 5") != std::string::npos);
BOOST_TEST(output_json.find("set_2_finalizer_2") != std::string::npos);
Expand Down

0 comments on commit 88f2eed

Please sign in to comment.