Closed sgerbino closed 1 year ago
Resolves #87.
When checking if an account has available resources for a transaction, check all possible forks.
Test project /Users/sgerbino/Projects/koinos-mempool/build/tests Start 1: koinos_mempool_tests-mempool_tests/mempool_basic_test Start 2: koinos_mempool_tests-mempool_tests/pending_transaction_pagination Start 3: koinos_mempool_tests-mempool_tests/pending_transaction_pruning Start 4: koinos_mempool_tests-mempool_tests/pending_transaction_dynamic_max_resources Start 5: koinos_mempool_tests-mempool_tests/fork_test 1/5 Test #1: koinos_mempool_tests-mempool_tests/mempool_basic_test .......................... Passed 0.04 sec 2/5 Test #3: koinos_mempool_tests-mempool_tests/pending_transaction_pruning ................. Passed 0.04 sec 3/5 Test #4: koinos_mempool_tests-mempool_tests/pending_transaction_dynamic_max_resources ... Passed 0.04 sec 4/5 Test #5: koinos_mempool_tests-mempool_tests/fork_test ................................... Passed 0.05 sec 5/5 Test #2: koinos_mempool_tests-mempool_tests/pending_transaction_pagination .............. Passed 0.63 sec 100% tests passed, 0 tests failed out of 5 Total Test time (real) = 0.64 sec
Resolves #87.
Brief description
When checking if an account has available resources for a transaction, check all possible forks.
Checklist
Demonstration