Skip to content

Commit

Permalink
Updated modules recursively
Browse files Browse the repository at this point in the history
  • Loading branch information
systemzax committed Apr 29, 2024
1 parent dcd88fc commit f47bef6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions unittests/svnn_ibc_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -101,12 +101,14 @@ BOOST_AUTO_TEST_SUITE(svnn_ibc)

eosio::chain::finalizer_policy active_finalizer_policy = maybe_active_finalizer_policy.value();

// verify number of finalizers and generation of initial policy
BOOST_CHECK(active_finalizer_policy.finalizers.size() == 3);
BOOST_CHECK(active_finalizer_policy.generation == 1);

// compute the digest of the finalizer policy
auto active_finalizer_policy_digest = fc::sha256::hash(active_finalizer_policy);

// get finality data for genesis block
auto genesis_block_fd = cluster.node0.node.control->head_finality_data();

// verify we have finality data for the IF genesis block
Expand Down Expand Up @@ -340,9 +342,8 @@ BOOST_AUTO_TEST_SUITE(svnn_ibc)

cluster.produce_blocks(1); //advance 1 block to avoid duplicate transaction

bool failed = false;

// Since garbage collection was previously triggered for the merkle root of block #2 which this proof attempts to link to, action will now fail
bool failed = false;
try {
cluster.node0.node.push_action("ibc"_n, "checkproof"_n, "ibc"_n, light_proof_1);
}
Expand Down

0 comments on commit f47bef6

Please sign in to comment.