-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add bucketlist size to history_ledgers (#275)
* Boiler plate * Make the tests run * Truncate output file/dir before the export * Make export transactions test run * Update the golden files * prettier * omit long running tests * Make all the tests work * prettier * update * Make all the test run * Add workflow to run integration tests * revert me * Fix docker compose in workflow * use secret add secret as env variable in github workflow remove env from docker compose * pass env directly in docker compose run mount file and pass env remove extra env temp cat temp empty printf rearrange validate json workaround cleanup verbose * Fail the test intentionally * Revert "Fail the test intentionally" This reverts commit 1d39d47. * find test coverage * test overrides * Revert "test overrides" This reverts commit b797bdf. * add coverage report and readme Fix coverage report coverage fix * lower our test coverage standard * Remove duplicate functions * Add make command for lint * Cancel the previous runs if new commit is pushed * rename the job * Update cmd/export_ledger_entry_changes_test.go * Update cmd/export_ledgers_test.go * Rename contract event golden file * Add bucketlist size to history_ledgers * lint * update golden file
- Loading branch information
1 parent
c7991a5
commit cb48295
Showing
9 changed files
with
436 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{"base_fee":100,"base_reserve":5000000,"closed_at":"2020-07-28T00:10:40Z","failed_transaction_count":11,"fee_pool":18168300436601,"id":132379546421821440,"ledger_hash":"a6b49d468a1ed1a9e40aa9f66e512b188b14800a4f012f6223970c89f35244d1","ledger_header":"AAAADSVSz8T4LdagJI+NS6jHBXTkj2TOoMtYe3H7JIrwKN8Jx5LACNwYeOrCC6PLJf0Cbt7A13iayScWvAAbSbLr7PIAAAAAXx9tAAAAAAAAAAAApl2NTuOXVG5m16eJu+HJati8mqyNkz18uqgeVaJVxi3PCVRaM/M+g38ivkrSMc46FHr3ZDUX+HKkABvVwWR+TAHWTn8Ooh6z7HlbYQAAEIYjF/x5AAABFgAAAAAP18frAAAAZABMS0AAAAPoygSPaVwh6x1Yuqaf/sz62Z5e7XK3U2nhIAyKiZ2UCTxv0sACOy+vLW1E0sntAZSw2Zkl1VS81mNw4gq2BmdjFfxhq/5m96kt/s+OGPoXKQg5oqs4mty+vCYdIUP2QWt9eBTzHRcYFBKkzYgNmed535NYefx2iBzvXOUuhydcWEwAAAAA","max_tx_set_size":1000,"node_id":"","operation_count":159,"previous_ledger_hash":"2552cfc4f82dd6a0248f8d4ba8c70574e48f64cea0cb587b71fb248af028df09","protocol_version":13,"sequence":30822015,"signature":"","soroban_fee_write_1kb":0,"successful_transaction_count":46,"total_coins":1054439020873472865,"transaction_count":46,"tx_set_operation_count":"175"} | ||
{"base_fee":100,"base_reserve":5000000,"closed_at":"2020-07-28T00:10:46Z","failed_transaction_count":20,"fee_pool":18168300458901,"id":132379550716788736,"ledger_hash":"b23ba966204586e64ae138649a45038a983b4a826cead4e87f71dbb7d9b73be7","ledger_header":"AAAADaa0nUaKHtGp5Aqp9m5RKxiLFIAKTwEvYiOXDInzUkTRuM/cyDVp8FqpHTZw5bBdQ1GgWs90gfIq6MiKcePSGfYAAAAAXx9tBgAAAAAAAAAAsMJbljHGw5xk941QecX/ulqkU9zOzqx3FLMcCLjlZvbNQi8YaFBE+/nJXhFubeb5a1IgKURn8DhAJTGDCY5omQHWToAOoh6z7HlbYQAAEIYjGFOVAAABFgAAAAAP18gwAAAAZABMS0AAAAPoygSPaVwh6x1Yuqaf/sz62Z5e7XK3U2nhIAyKiZ2UCTxv0sACOy+vLW1E0sntAZSw2Zkl1VS81mNw4gq2BmdjFfxhq/5m96kt/s+OGPoXKQg5oqs4mty+vCYdIUP2QWt9eBTzHRcYFBKkzYgNmed535NYefx2iBzvXOUuhydcWEwAAAAA","max_tx_set_size":1000,"node_id":"","operation_count":168,"previous_ledger_hash":"a6b49d468a1ed1a9e40aa9f66e512b188b14800a4f012f6223970c89f35244d1","protocol_version":13,"sequence":30822016,"signature":"","soroban_fee_write_1kb":0,"successful_transaction_count":45,"total_coins":1054439020873472865,"transaction_count":45,"tx_set_operation_count":"223"} | ||
{"base_fee":100,"base_reserve":5000000,"closed_at":"2020-07-28T00:10:51Z","failed_transaction_count":11,"fee_pool":18168300483301,"id":132379555011756032,"ledger_hash":"9584557b81c1cb7cdfa26f4cc7e1e722db868b1480d1bb252e1c00ec5cf25e8b","ledger_header":"AAAADbI7qWYgRYbmSuE4ZJpFA4qYO0qCbOrU6H9x27fZtzvnvu5kmYG5LVtr4x/xDPB4esuDahwOBFaTmlWHsBMCH/AAAAAAXx9tCwAAAAAAAAAAGBJhHWO+yffoA1DEfdnEVLMb5zej5Mavn145ehfZ+dGXSLIzYGAg0wNlnFozYKdqdgcPtcHY9NW1TU4mRCKlnQHWToEOoh6z7HlbYQAAEIYjGLLlAAABFgAAAAAP18iCAAAAZABMS0AAAAPoygSPaVwh6x1Yuqaf/sz62Z5e7XK3U2nhIAyKiZ2UCTxv0sACOy+vLW1E0sntAZSw2Zkl1VS81mNw4gq2BmdjFfxhq/5m96kt/s+OGPoXKQg5oqs4mty+vCYdIUP2QWt9eBTzHRcYFBKkzYgNmed535NYefx2iBzvXOUuhydcWEwAAAAA","max_tx_set_size":1000,"node_id":"","operation_count":226,"previous_ledger_hash":"b23ba966204586e64ae138649a45038a983b4a826cead4e87f71dbb7d9b73be7","protocol_version":13,"sequence":30822017,"signature":"","soroban_fee_write_1kb":0,"successful_transaction_count":45,"total_coins":1054439020873472865,"transaction_count":45,"tx_set_operation_count":"244"} | ||
{"base_fee":100,"base_reserve":5000000,"closed_at":"2020-07-28T00:10:56Z","failed_transaction_count":8,"fee_pool":18168300490801,"id":132379559306723328,"ledger_hash":"78ecc8f16352a215dcf9d09e55c97c15962cd866f6515d3e816f1f6246d08fa3","ledger_header":"AAAADZWEVXuBwct836JvTMfh5yLbhosUgNG7JS4cAOxc8l6LE1b+5CHkOqFUZ+rn2kSkp1hYoRUOfj9EOiMntzYrZKQAAAAAXx9tEAAAAAAAAAAAcWBl80NtkLvn/W/oAEHIGR0fDyCzALbwKf9fyUlkrDNZ+1UTJ21DNv09MW/Uvi/4PwgH03SIJsARs57SyU//ygHWToIOoh6z7HlbYQAAEIYjGNAxAAABFgAAAAAP18iaAAAAZABMS0AAAAPoygSPaVwh6x1Yuqaf/sz62Z5e7XK3U2nhIAyKiZ2UCTxv0sACOy+vLW1E0sntAZSw2Zkl1VS81mNw4gq2BmdjFfxhq/5m96kt/s+OGPoXKQg5oqs4mty+vCYdIUP2QWt9eBTzHRcYFBKkzYgNmed535NYefx2iBzvXOUuhydcWEwAAAAA","max_tx_set_size":1000,"node_id":"","operation_count":67,"previous_ledger_hash":"9584557b81c1cb7cdfa26f4cc7e1e722db868b1480d1bb252e1c00ec5cf25e8b","protocol_version":13,"sequence":30822018,"signature":"","soroban_fee_write_1kb":0,"successful_transaction_count":19,"total_coins":1054439020873472865,"transaction_count":19,"tx_set_operation_count":"75"} | ||
{"base_fee":100,"base_reserve":5000000,"closed_at":"2020-07-28T00:11:01Z","failed_transaction_count":10,"fee_pool":18168300512501,"id":132379563601690624,"ledger_hash":"d37967baa8cc1f16b060d6226eed38cca7042a7735078f14f4162571baf9209c","ledger_header":"AAAADXjsyPFjUqIV3PnQnlXJfBWWLNhm9lFdPoFvH2JG0I+jx7QN54Dwp+7IkUMltI+RWYybKIGme8cM2WhcziMlZhMAAAAAXx9tFQAAAAAAAAAA4A6TjXaRzWwE2VMDD3fl6qz04FKVtUQmPDevxfWanB+7D+fY27Td/qzkcfAf7baCjCmgnRb7Wwg/DRKQMnk4PAHWToMOoh6z7HlbYQAAEIYjGST1AAABFgAAAAAP18jvAAAAZABMS0AAAAPoygSPaVwh6x1Yuqaf/sz62Z5e7XK3U2nhIAyKiZ2UCTxv0sACOy+vLW1E0sntAZSw2Zkl1VS81mNw4gq2BmdjFfxhq/5m96kt/s+OGPoXKQg5oqs4mty+vCYdIUP2QWt9eBTzHRcYFBKkzYgNmed535NYefx2iBzvXOUuhydcWEwAAAAA","max_tx_set_size":1000,"node_id":"","operation_count":207,"previous_ledger_hash":"78ecc8f16352a215dcf9d09e55c97c15962cd866f6515d3e816f1f6246d08fa3","protocol_version":13,"sequence":30822019,"signature":"","soroban_fee_write_1kb":0,"successful_transaction_count":67,"total_coins":1054439020873472865,"transaction_count":67,"tx_set_operation_count":"217"} | ||
{"base_fee":100,"base_reserve":5000000,"closed_at":"2020-07-28T00:10:40Z","failed_transaction_count":11,"fee_pool":18168300436601,"id":132379546421821440,"ledger_hash":"a6b49d468a1ed1a9e40aa9f66e512b188b14800a4f012f6223970c89f35244d1","ledger_header":"AAAADSVSz8T4LdagJI+NS6jHBXTkj2TOoMtYe3H7JIrwKN8Jx5LACNwYeOrCC6PLJf0Cbt7A13iayScWvAAbSbLr7PIAAAAAXx9tAAAAAAAAAAAApl2NTuOXVG5m16eJu+HJati8mqyNkz18uqgeVaJVxi3PCVRaM/M+g38ivkrSMc46FHr3ZDUX+HKkABvVwWR+TAHWTn8Ooh6z7HlbYQAAEIYjF/x5AAABFgAAAAAP18frAAAAZABMS0AAAAPoygSPaVwh6x1Yuqaf/sz62Z5e7XK3U2nhIAyKiZ2UCTxv0sACOy+vLW1E0sntAZSw2Zkl1VS81mNw4gq2BmdjFfxhq/5m96kt/s+OGPoXKQg5oqs4mty+vCYdIUP2QWt9eBTzHRcYFBKkzYgNmed535NYefx2iBzvXOUuhydcWEwAAAAA","max_tx_set_size":1000,"node_id":"","operation_count":159,"previous_ledger_hash":"2552cfc4f82dd6a0248f8d4ba8c70574e48f64cea0cb587b71fb248af028df09","protocol_version":13,"sequence":30822015,"signature":"","soroban_fee_write_1kb":0,"successful_transaction_count":46,"total_byte_size_of_bucket_list":0,"total_coins":1054439020873472865,"transaction_count":46,"tx_set_operation_count":"175"} | ||
{"base_fee":100,"base_reserve":5000000,"closed_at":"2020-07-28T00:10:46Z","failed_transaction_count":20,"fee_pool":18168300458901,"id":132379550716788736,"ledger_hash":"b23ba966204586e64ae138649a45038a983b4a826cead4e87f71dbb7d9b73be7","ledger_header":"AAAADaa0nUaKHtGp5Aqp9m5RKxiLFIAKTwEvYiOXDInzUkTRuM/cyDVp8FqpHTZw5bBdQ1GgWs90gfIq6MiKcePSGfYAAAAAXx9tBgAAAAAAAAAAsMJbljHGw5xk941QecX/ulqkU9zOzqx3FLMcCLjlZvbNQi8YaFBE+/nJXhFubeb5a1IgKURn8DhAJTGDCY5omQHWToAOoh6z7HlbYQAAEIYjGFOVAAABFgAAAAAP18gwAAAAZABMS0AAAAPoygSPaVwh6x1Yuqaf/sz62Z5e7XK3U2nhIAyKiZ2UCTxv0sACOy+vLW1E0sntAZSw2Zkl1VS81mNw4gq2BmdjFfxhq/5m96kt/s+OGPoXKQg5oqs4mty+vCYdIUP2QWt9eBTzHRcYFBKkzYgNmed535NYefx2iBzvXOUuhydcWEwAAAAA","max_tx_set_size":1000,"node_id":"","operation_count":168,"previous_ledger_hash":"a6b49d468a1ed1a9e40aa9f66e512b188b14800a4f012f6223970c89f35244d1","protocol_version":13,"sequence":30822016,"signature":"","soroban_fee_write_1kb":0,"successful_transaction_count":45,"total_byte_size_of_bucket_list":0,"total_coins":1054439020873472865,"transaction_count":45,"tx_set_operation_count":"223"} | ||
{"base_fee":100,"base_reserve":5000000,"closed_at":"2020-07-28T00:10:51Z","failed_transaction_count":11,"fee_pool":18168300483301,"id":132379555011756032,"ledger_hash":"9584557b81c1cb7cdfa26f4cc7e1e722db868b1480d1bb252e1c00ec5cf25e8b","ledger_header":"AAAADbI7qWYgRYbmSuE4ZJpFA4qYO0qCbOrU6H9x27fZtzvnvu5kmYG5LVtr4x/xDPB4esuDahwOBFaTmlWHsBMCH/AAAAAAXx9tCwAAAAAAAAAAGBJhHWO+yffoA1DEfdnEVLMb5zej5Mavn145ehfZ+dGXSLIzYGAg0wNlnFozYKdqdgcPtcHY9NW1TU4mRCKlnQHWToEOoh6z7HlbYQAAEIYjGLLlAAABFgAAAAAP18iCAAAAZABMS0AAAAPoygSPaVwh6x1Yuqaf/sz62Z5e7XK3U2nhIAyKiZ2UCTxv0sACOy+vLW1E0sntAZSw2Zkl1VS81mNw4gq2BmdjFfxhq/5m96kt/s+OGPoXKQg5oqs4mty+vCYdIUP2QWt9eBTzHRcYFBKkzYgNmed535NYefx2iBzvXOUuhydcWEwAAAAA","max_tx_set_size":1000,"node_id":"","operation_count":226,"previous_ledger_hash":"b23ba966204586e64ae138649a45038a983b4a826cead4e87f71dbb7d9b73be7","protocol_version":13,"sequence":30822017,"signature":"","soroban_fee_write_1kb":0,"successful_transaction_count":45,"total_byte_size_of_bucket_list":0,"total_coins":1054439020873472865,"transaction_count":45,"tx_set_operation_count":"244"} | ||
{"base_fee":100,"base_reserve":5000000,"closed_at":"2020-07-28T00:10:56Z","failed_transaction_count":8,"fee_pool":18168300490801,"id":132379559306723328,"ledger_hash":"78ecc8f16352a215dcf9d09e55c97c15962cd866f6515d3e816f1f6246d08fa3","ledger_header":"AAAADZWEVXuBwct836JvTMfh5yLbhosUgNG7JS4cAOxc8l6LE1b+5CHkOqFUZ+rn2kSkp1hYoRUOfj9EOiMntzYrZKQAAAAAXx9tEAAAAAAAAAAAcWBl80NtkLvn/W/oAEHIGR0fDyCzALbwKf9fyUlkrDNZ+1UTJ21DNv09MW/Uvi/4PwgH03SIJsARs57SyU//ygHWToIOoh6z7HlbYQAAEIYjGNAxAAABFgAAAAAP18iaAAAAZABMS0AAAAPoygSPaVwh6x1Yuqaf/sz62Z5e7XK3U2nhIAyKiZ2UCTxv0sACOy+vLW1E0sntAZSw2Zkl1VS81mNw4gq2BmdjFfxhq/5m96kt/s+OGPoXKQg5oqs4mty+vCYdIUP2QWt9eBTzHRcYFBKkzYgNmed535NYefx2iBzvXOUuhydcWEwAAAAA","max_tx_set_size":1000,"node_id":"","operation_count":67,"previous_ledger_hash":"9584557b81c1cb7cdfa26f4cc7e1e722db868b1480d1bb252e1c00ec5cf25e8b","protocol_version":13,"sequence":30822018,"signature":"","soroban_fee_write_1kb":0,"successful_transaction_count":19,"total_byte_size_of_bucket_list":0,"total_coins":1054439020873472865,"transaction_count":19,"tx_set_operation_count":"75"} | ||
{"base_fee":100,"base_reserve":5000000,"closed_at":"2020-07-28T00:11:01Z","failed_transaction_count":10,"fee_pool":18168300512501,"id":132379563601690624,"ledger_hash":"d37967baa8cc1f16b060d6226eed38cca7042a7735078f14f4162571baf9209c","ledger_header":"AAAADXjsyPFjUqIV3PnQnlXJfBWWLNhm9lFdPoFvH2JG0I+jx7QN54Dwp+7IkUMltI+RWYybKIGme8cM2WhcziMlZhMAAAAAXx9tFQAAAAAAAAAA4A6TjXaRzWwE2VMDD3fl6qz04FKVtUQmPDevxfWanB+7D+fY27Td/qzkcfAf7baCjCmgnRb7Wwg/DRKQMnk4PAHWToMOoh6z7HlbYQAAEIYjGST1AAABFgAAAAAP18jvAAAAZABMS0AAAAPoygSPaVwh6x1Yuqaf/sz62Z5e7XK3U2nhIAyKiZ2UCTxv0sACOy+vLW1E0sntAZSw2Zkl1VS81mNw4gq2BmdjFfxhq/5m96kt/s+OGPoXKQg5oqs4mty+vCYdIUP2QWt9eBTzHRcYFBKkzYgNmed535NYefx2iBzvXOUuhydcWEwAAAAA","max_tx_set_size":1000,"node_id":"","operation_count":207,"previous_ledger_hash":"78ecc8f16352a215dcf9d09e55c97c15962cd866f6515d3e816f1f6246d08fa3","protocol_version":13,"sequence":30822019,"signature":"","soroban_fee_write_1kb":0,"successful_transaction_count":67,"total_byte_size_of_bucket_list":0,"total_coins":1054439020873472865,"transaction_count":67,"tx_set_operation_count":"217"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{"base_fee":100,"base_reserve":5000000,"closed_at":"2020-07-28T00:10:40Z","failed_transaction_count":11,"fee_pool":18168300436601,"id":132379546421821440,"ledger_hash":"a6b49d468a1ed1a9e40aa9f66e512b188b14800a4f012f6223970c89f35244d1","ledger_header":"AAAADSVSz8T4LdagJI+NS6jHBXTkj2TOoMtYe3H7JIrwKN8Jx5LACNwYeOrCC6PLJf0Cbt7A13iayScWvAAbSbLr7PIAAAAAXx9tAAAAAAAAAAAApl2NTuOXVG5m16eJu+HJati8mqyNkz18uqgeVaJVxi3PCVRaM/M+g38ivkrSMc46FHr3ZDUX+HKkABvVwWR+TAHWTn8Ooh6z7HlbYQAAEIYjF/x5AAABFgAAAAAP18frAAAAZABMS0AAAAPoygSPaVwh6x1Yuqaf/sz62Z5e7XK3U2nhIAyKiZ2UCTxv0sACOy+vLW1E0sntAZSw2Zkl1VS81mNw4gq2BmdjFfxhq/5m96kt/s+OGPoXKQg5oqs4mty+vCYdIUP2QWt9eBTzHRcYFBKkzYgNmed535NYefx2iBzvXOUuhydcWEwAAAAA","max_tx_set_size":1000,"node_id":"","operation_count":159,"previous_ledger_hash":"2552cfc4f82dd6a0248f8d4ba8c70574e48f64cea0cb587b71fb248af028df09","protocol_version":13,"sequence":30822015,"signature":"","soroban_fee_write_1kb":0,"successful_transaction_count":46,"total_coins":1054439020873472865,"transaction_count":46,"tx_set_operation_count":"175"} | ||
{"base_fee":100,"base_reserve":5000000,"closed_at":"2020-07-28T00:10:40Z","failed_transaction_count":11,"fee_pool":18168300436601,"id":132379546421821440,"ledger_hash":"a6b49d468a1ed1a9e40aa9f66e512b188b14800a4f012f6223970c89f35244d1","ledger_header":"AAAADSVSz8T4LdagJI+NS6jHBXTkj2TOoMtYe3H7JIrwKN8Jx5LACNwYeOrCC6PLJf0Cbt7A13iayScWvAAbSbLr7PIAAAAAXx9tAAAAAAAAAAAApl2NTuOXVG5m16eJu+HJati8mqyNkz18uqgeVaJVxi3PCVRaM/M+g38ivkrSMc46FHr3ZDUX+HKkABvVwWR+TAHWTn8Ooh6z7HlbYQAAEIYjF/x5AAABFgAAAAAP18frAAAAZABMS0AAAAPoygSPaVwh6x1Yuqaf/sz62Z5e7XK3U2nhIAyKiZ2UCTxv0sACOy+vLW1E0sntAZSw2Zkl1VS81mNw4gq2BmdjFfxhq/5m96kt/s+OGPoXKQg5oqs4mty+vCYdIUP2QWt9eBTzHRcYFBKkzYgNmed535NYefx2iBzvXOUuhydcWEwAAAAA","max_tx_set_size":1000,"node_id":"","operation_count":159,"previous_ledger_hash":"2552cfc4f82dd6a0248f8d4ba8c70574e48f64cea0cb587b71fb248af028df09","protocol_version":13,"sequence":30822015,"signature":"","soroban_fee_write_1kb":0,"successful_transaction_count":46,"total_byte_size_of_bucket_list":0,"total_coins":1054439020873472865,"transaction_count":46,"tx_set_operation_count":"175"} |