diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/308783012/ans_lookup_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/308783012/ans_lookup_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/308783012/ans_lookup_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/308783012/ans_primary_name_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/308783012/ans_primary_name_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/308783012/ans_primary_name_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/308783012/current_ans_lookup_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/308783012/current_ans_lookup_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/308783012/current_ans_lookup_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/308783012/current_ans_primary_name_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/308783012/current_ans_primary_name_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/308783012/current_ans_primary_name_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/308783012/block_metadata_transactions.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/308783012/block_metadata_transactions.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/308783012/block_metadata_transactions.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/308783012/current_table_items.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/308783012/current_table_items.json new file mode 100644 index 000000000..d80f9bdd8 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/308783012/current_table_items.json @@ -0,0 +1,11 @@ +[ + { + "table_handle": "0x1b854694ae746cdbd8d44186ca4929b2b337df21d1c74633be19b2710552fdca", + "key_hash": "61ff6dde49d23af0395c534ca7bee92391910cd0ac4e4ba3d35a2619e49a1775", + "key": "0x0619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", + "decoded_key": "0x619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", + "decoded_value": "106177548228160480", + "is_deleted": false, + "last_transaction_version": 308783012 + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/308783012/table_items.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/308783012/table_items.json new file mode 100644 index 000000000..2519ca3a6 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/308783012/table_items.json @@ -0,0 +1,12 @@ +[ + { + "transaction_version": 308783012, + "write_set_change_index": 8, + "transaction_block_height": 106350614, + "key": "0x0619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", + "table_handle": "0x1b854694ae746cdbd8d44186ca4929b2b337df21d1c74633be19b2710552fdca", + "decoded_key": "0x619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", + "decoded_value": "106177548228160480", + "is_deleted": false + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/308783012/table_metadatas.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/308783012/table_metadatas.json new file mode 100644 index 000000000..7e2e1fab8 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/308783012/table_metadatas.json @@ -0,0 +1,7 @@ +[ + { + "handle": "0x1b854694ae746cdbd8d44186ca4929b2b337df21d1c74633be19b2710552fdca", + "key_type": "address", + "value_type": "u128" + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/308783012/block_metadata_transactions.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/308783012/block_metadata_transactions.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/308783012/block_metadata_transactions.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/308783012/current_objects.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/308783012/current_objects.json new file mode 100644 index 000000000..301b9f4eb --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/308783012/current_objects.json @@ -0,0 +1,22 @@ +[ + { + "object_address": "0x6fd8ee875fb55e03b1f9643d3f229f0b077a71cfe7ffc8ba7e09ff4392950e5c", + "owner_address": "0x9dbbb06745c8f0242199bf5ce60ace04ff3bad41a9c697440009c9689587e694", + "state_key_hash": "0xf45d26a295db9ee2d220932bfa9c535fba8fb2a1364dd834b31bec750088289f", + "allow_ungated_transfer": true, + "last_guid_creation_num": "1125899906842626", + "last_transaction_version": 308783012, + "is_deleted": false, + "untransferrable": false + }, + { + "object_address": "0xc791df699189a8fdfb4faaacf834f036d37670d6fd1ef06d3efb2d14c081512a", + "owner_address": "0x7efbc33cf69ad534412eab0ccd0f5fbec7793bdebf08a3620afe8e5f89ef13a0", + "state_key_hash": "0x89831c962a6d8ef922a58688dd7b949b1b83557241b0de2b1daf874f590b5667", + "allow_ungated_transfer": false, + "last_guid_creation_num": "1125899906842628", + "last_transaction_version": 308783012, + "is_deleted": false, + "untransferrable": true + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/308783012/current_table_items.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/308783012/current_table_items.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/308783012/current_table_items.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/308783012/objects.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/308783012/objects.json new file mode 100644 index 000000000..d6b887427 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/308783012/objects.json @@ -0,0 +1,57 @@ +[ + { + "transaction_version": 308783012, + "write_set_change_index": 2, + "object_address": "0x6fd8ee875fb55e03b1f9643d3f229f0b077a71cfe7ffc8ba7e09ff4392950e5c", + "owner_address": "0x9dbbb06745c8f0242199bf5ce60ace04ff3bad41a9c697440009c9689587e694", + "state_key_hash": "0xf45d26a295db9ee2d220932bfa9c535fba8fb2a1364dd834b31bec750088289f", + "guid_creation_num": "1125899906842626", + "allow_ungated_transfer": true, + "is_deleted": false, + "untransferrable": false + }, + { + "transaction_version": 308783012, + "write_set_change_index": 3, + "object_address": "0x6fd8ee875fb55e03b1f9643d3f229f0b077a71cfe7ffc8ba7e09ff4392950e5c", + "owner_address": "0x9dbbb06745c8f0242199bf5ce60ace04ff3bad41a9c697440009c9689587e694", + "state_key_hash": "0xf45d26a295db9ee2d220932bfa9c535fba8fb2a1364dd834b31bec750088289f", + "guid_creation_num": "1125899906842626", + "allow_ungated_transfer": true, + "is_deleted": false, + "untransferrable": false + }, + { + "transaction_version": 308783012, + "write_set_change_index": 5, + "object_address": "0xc791df699189a8fdfb4faaacf834f036d37670d6fd1ef06d3efb2d14c081512a", + "owner_address": "0x7efbc33cf69ad534412eab0ccd0f5fbec7793bdebf08a3620afe8e5f89ef13a0", + "state_key_hash": "0x89831c962a6d8ef922a58688dd7b949b1b83557241b0de2b1daf874f590b5667", + "guid_creation_num": "1125899906842628", + "allow_ungated_transfer": false, + "is_deleted": false, + "untransferrable": true + }, + { + "transaction_version": 308783012, + "write_set_change_index": 6, + "object_address": "0xc791df699189a8fdfb4faaacf834f036d37670d6fd1ef06d3efb2d14c081512a", + "owner_address": "0x7efbc33cf69ad534412eab0ccd0f5fbec7793bdebf08a3620afe8e5f89ef13a0", + "state_key_hash": "0x89831c962a6d8ef922a58688dd7b949b1b83557241b0de2b1daf874f590b5667", + "guid_creation_num": "1125899906842628", + "allow_ungated_transfer": false, + "is_deleted": false, + "untransferrable": true + }, + { + "transaction_version": 308783012, + "write_set_change_index": 7, + "object_address": "0xc791df699189a8fdfb4faaacf834f036d37670d6fd1ef06d3efb2d14c081512a", + "owner_address": "0x7efbc33cf69ad534412eab0ccd0f5fbec7793bdebf08a3620afe8e5f89ef13a0", + "state_key_hash": "0x89831c962a6d8ef922a58688dd7b949b1b83557241b0de2b1daf874f590b5667", + "guid_creation_num": "1125899906842628", + "allow_ungated_transfer": false, + "is_deleted": false, + "untransferrable": true + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/308783012/table_items.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/308783012/table_items.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/308783012/table_items.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/308783012/current_delegated_staking_pool_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/308783012/current_delegated_staking_pool_balances.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/308783012/current_delegated_staking_pool_balances.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/308783012/current_delegated_voter.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/308783012/current_delegated_voter.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/308783012/current_delegated_voter.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/308783012/current_delegator_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/308783012/current_delegator_balances.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/308783012/current_delegator_balances.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/308783012/current_staking_pool_voter.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/308783012/current_staking_pool_voter.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/308783012/current_staking_pool_voter.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/308783012/delegated_staking_activities.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/308783012/delegated_staking_activities.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/308783012/delegated_staking_activities.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/308783012/delegated_staking_pool_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/308783012/delegated_staking_pool_balances.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/308783012/delegated_staking_pool_balances.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/308783012/delegated_staking_pools.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/308783012/delegated_staking_pools.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/308783012/delegated_staking_pools.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/308783012/delegator_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/308783012/delegator_balances.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/308783012/delegator_balances.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/308783012/proposal_votes.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/308783012/proposal_votes.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/308783012/proposal_votes.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/308783012/signatures.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/308783012/signatures.json new file mode 100644 index 000000000..99e277d23 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/308783012/signatures.json @@ -0,0 +1,15 @@ +[ + { + "transaction_version": 308783012, + "multi_agent_index": 0, + "multi_sig_index": 0, + "transaction_block_height": 106350614, + "signer": "0x28f87126ce5c2ead81ec4fef494c73d545757a9a634eb54d36ae5a9737f4f287", + "is_sender_primary": true, + "type_": "ed25519_signature", + "public_key": "0x28259cd61970d3ef1e620df6a33cb5c95b9a09b7ae43415f55679691c3af1630", + "signature": "0x833798fac881cbc33887e3fd57e9d38e59e51d04e2fde293e48c9f1e642269a0edc403fdfc64a0bf39584368900b490c80d366c631261aedd42e3121ad364f01", + "threshold": 1, + "public_key_indices": [] + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/308783012/user_transactions.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/308783012/user_transactions.json new file mode 100644 index 000000000..14c953fdf --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/308783012/user_transactions.json @@ -0,0 +1,15 @@ +[ + { + "version": 308783012, + "block_height": 106350614, + "parent_signature_type": "ed25519_signature", + "sender": "0x28f87126ce5c2ead81ec4fef494c73d545757a9a634eb54d36ae5a9737f4f287", + "sequence_number": 15108, + "max_gas_amount": "900", + "expiration_timestamp_secs": "2023-10-24T09:48:02", + "gas_unit_price": "100", + "timestamp": "2023-10-24T09:08:03.606880", + "entry_function_id_str": "0x8d2d7bcde13b2513617df3f98cdd5d0e4b9f714c6308b9204fe18ad900d92609::mint::resource_mint_token_memo", + "epoch": 4534 + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/1/ans_lookup_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/1/ans_lookup_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/1/ans_lookup_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/1/ans_primary_name_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/1/ans_primary_name_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/1/ans_primary_name_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/1/current_ans_lookup_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/1/current_ans_lookup_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/1/current_ans_lookup_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/1/current_ans_primary_name_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/1/current_ans_primary_name_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/1/current_ans_primary_name_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/1255836496/ans_lookup_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/1255836496/ans_lookup_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/1255836496/ans_lookup_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/1255836496/ans_primary_name_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/1255836496/ans_primary_name_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/1255836496/ans_primary_name_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/1255836496/current_ans_lookup_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/1255836496/current_ans_lookup_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/1255836496/current_ans_lookup_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/1255836496/current_ans_primary_name_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/1255836496/current_ans_primary_name_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/1255836496/current_ans_primary_name_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/2/ans_lookup_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/2/ans_lookup_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/2/ans_lookup_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/2/ans_primary_name_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/2/ans_primary_name_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/2/ans_primary_name_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/2/current_ans_lookup_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/2/current_ans_lookup_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/2/current_ans_lookup_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/2/current_ans_primary_name_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/2/current_ans_primary_name_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/2/current_ans_primary_name_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/278556781/ans_lookup_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/278556781/ans_lookup_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/278556781/ans_lookup_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/278556781/ans_primary_name_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/278556781/ans_primary_name_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/278556781/ans_primary_name_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/278556781/current_ans_lookup_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/278556781/current_ans_lookup_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/278556781/current_ans_lookup_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/278556781/current_ans_primary_name_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/278556781/current_ans_primary_name_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/278556781/current_ans_primary_name_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/3/ans_lookup_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/3/ans_lookup_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/3/ans_lookup_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/3/ans_primary_name_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/3/ans_primary_name_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/3/ans_primary_name_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/3/current_ans_lookup_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/3/current_ans_lookup_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/3/current_ans_lookup_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/3/current_ans_primary_name_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/3/current_ans_primary_name_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/3/current_ans_primary_name_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/5523474016/ans_lookup_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/5523474016/ans_lookup_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/5523474016/ans_lookup_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/5523474016/ans_primary_name_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/5523474016/ans_primary_name_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/5523474016/ans_primary_name_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/5523474016/current_ans_lookup_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/5523474016/current_ans_lookup_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/5523474016/current_ans_lookup_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/5523474016/current_ans_primary_name_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/5523474016/current_ans_primary_name_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/5523474016/current_ans_primary_name_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/5979639459/ans_lookup_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/5979639459/ans_lookup_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/5979639459/ans_lookup_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/5979639459/ans_primary_name_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/5979639459/ans_primary_name_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/5979639459/ans_primary_name_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/5979639459/current_ans_lookup_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/5979639459/current_ans_lookup_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/5979639459/current_ans_lookup_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/5979639459/current_ans_primary_name_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/5979639459/current_ans_primary_name_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/5979639459/current_ans_primary_name_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/5992795934/ans_lookup_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/5992795934/ans_lookup_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/5992795934/ans_lookup_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/5992795934/ans_primary_name_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/5992795934/ans_primary_name_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/5992795934/ans_primary_name_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/5992795934/current_ans_lookup_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/5992795934/current_ans_lookup_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/5992795934/current_ans_lookup_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/5992795934/current_ans_primary_name_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/5992795934/current_ans_primary_name_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/5992795934/current_ans_primary_name_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/1/block_metadata_transactions.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/1/block_metadata_transactions.json new file mode 100644 index 000000000..3c7e83448 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/1/block_metadata_transactions.json @@ -0,0 +1,18 @@ +[ + { + "version": 1, + "block_height": 1, + "id": "0x01f4392dc07a74b39eaea58b912855cbbd1ab67e5089ae6166329e883c2085f0", + "round": 3, + "epoch": 1, + "previous_block_votes_bitvec": [ + 0 + ], + "proposer": "0xdffe3c93b756bf6fec59b052d6fe71b40c3f9b7899d69ab06ba385b1c6728d16", + "failed_proposer_indices": [ + 2, + 1 + ], + "timestamp": "2022-09-09T01:24:17.227425" + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/1/current_table_items.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/1/current_table_items.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/1/current_table_items.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/1/table_items.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/1/table_items.json new file mode 100644 index 000000000..31edf1928 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/1/table_items.json @@ -0,0 +1,12 @@ +[ + { + "transaction_version": 1, + "write_set_change_index": 15, + "transaction_block_height": 1, + "key": "0x0619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", + "table_handle": "0x1b854694ae746cdbd8d44186ca4929b2b337df21d1c74633be19b2710552fdca", + "decoded_key": "0x619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", + "decoded_value": "18448344078275751615", + "is_deleted": false + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/1/table_metadatas.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/1/table_metadatas.json new file mode 100644 index 000000000..33d9c2700 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/1/table_metadatas.json @@ -0,0 +1,22 @@ +[ + { + "handle": "0x1b854694ae746cdbd8d44186ca4929b2b337df21d1c74633be19b2710552fdca", + "key_type": "address", + "value_type": "u128" + }, + { + "handle": "0x15ee8af17d949286d38de4eb223262852b6150022e25478ca31111d38939c7e9", + "key_type": "u64", + "value_type": "vector<0x1::smart_table::Entry>" + }, + { + "handle": "0x5e32abbab0789e8f6c5f559946d0e77e2de62d76f878b77a8cbab5327dac1e0a", + "key_type": "u64", + "value_type": "vector<0x1::smart_table::Entry>" + }, + { + "handle": "0xad589a70930e065131f7b748607ca8a3e998149c9e15134bcf2b608b7fca003e", + "key_type": "u64", + "value_type": "vector<0x1::smart_table::Entry>" + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/1255836496/block_metadata_transactions.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/1255836496/block_metadata_transactions.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/1255836496/block_metadata_transactions.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/1255836496/current_table_items.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/1255836496/current_table_items.json new file mode 100644 index 000000000..330dd2a07 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/1255836496/current_table_items.json @@ -0,0 +1,267 @@ +[ + { + "table_handle": "0x15ee8af17d949286d38de4eb223262852b6150022e25478ca31111d38939c7e9", + "key_hash": "f6537e5060615a49807b317b5401b87503b07e3e3cefb9f59468f92df02b7b14", + "key": "0x0900000000000000", + "decoded_key": "9", + "decoded_value": [ + { + "key": "0x83a55f01c01c0fa1096cc55986ce3428c4ddab71493b9cca3e8d94ece66ff697", + "hash": "8046752321105805449", + "value": "0" + }, + { + "key": "0x3a7c89d503f8be84412525499c618460c8ae2a08ae652d6119cc30415d1ce206", + "hash": "2908462515524274665", + "value": "0" + }, + { + "key": "0xb3c0746c90ef3c0ba555551be2a1e1c55ef1e4cafbc170fbaef37df9faba7cf5", + "hash": "1932904779373436489", + "value": "0" + }, + { + "key": "0x552854056b0ad1d7a436e2c196f3996757630e50639f58100e0de2b2cdd04969", + "hash": "2004094296203441417", + "value": "0" + }, + { + "key": "0xc58de7fbfdaa8e1857e52aa0659b5fe6f54f29f510d20f338eb0686325407b5a", + "hash": "1942560521513954601", + "value": "0" + }, + { + "key": "0xf487d23a5864e90176f2f4e276b903bec41904b68b740e73aecd8194f9dd660f", + "hash": "5661537235661999817", + "value": "0" + }, + { + "key": "0xc84b5b79d59f99b82eea459f74d809f2978a8ff185e8f2a40c3be11ec70aa4ae", + "hash": "13575303547012165513", + "value": "0" + }, + { + "key": "0xe44fefa1a8bad2fb3e061201b4360803986de06a8551e5de0a88fd32d869de41", + "hash": "2410977227812208297", + "value": "0" + }, + { + "key": "0x2070985e9158c3694885c953481de969c9bfb4ead9d573d3c24605c809138318", + "hash": "11569246644723027305", + "value": "0" + }, + { + "key": "0xf611624ac72eb6618b8d812a95c950543d222533492ca03e0ef76d02d2358613", + "hash": "12641925964633415497", + "value": "0" + }, + { + "key": "0xe72410b5f79dfd914daa83f65a4f71c993108ae08ee7d907bc157740c53380d6", + "hash": "14462551473246294921", + "value": "0" + }, + { + "key": "0xa0d3b3b57d4cb0a25c1c6de8b0781e3f33a36f6ecacdbca8e498ba1b7ed1da91", + "hash": "17218538654712486985", + "value": "0" + }, + { + "key": "0x416ee75acfa793a14ee882c509e4134e012aa607c0faa231bc70cb76f3a65f8d", + "hash": "9251213141402161577", + "value": "0" + }, + { + "key": "0xa0e9b3a21cb95cd61bcffe8a3652c5e7b46cec4bfa560ab2e6c6646b1ed7954e", + "hash": "13941648119810601417", + "value": "0" + }, + { + "key": "0xb5d606293487f8facf53b29461167a6afea40db46bdc5a3ea0d971be7f420102", + "hash": "17486164447159136041", + "value": "0" + }, + { + "key": "0x1a42a01a6f6754cf0a1ee2499722413cbd8197c0d017af883cbbf0703ad8f967", + "hash": "15430896326167539977", + "value": "0" + }, + { + "key": "0xa9d5f0e5980f1186280354a38acd806febfe1cf246cf58f758a243773c1a3ae0", + "hash": "13907381651495880169", + "value": "0" + }, + { + "key": "0xf21d4c76354db6492841e31fefeaa5a3e8a1071d2bcbbdd1cf1cbc6fa3954b88", + "hash": "13587116394056395145", + "value": "0" + } + ], + "is_deleted": false, + "last_transaction_version": 1255836496 + }, + { + "table_handle": "0x5e32abbab0789e8f6c5f559946d0e77e2de62d76f878b77a8cbab5327dac1e0a", + "key_hash": "f6537e5060615a49807b317b5401b87503b07e3e3cefb9f59468f92df02b7b14", + "key": "0x0900000000000000", + "decoded_key": "9", + "decoded_value": [ + { + "key": "0x83a55f01c01c0fa1096cc55986ce3428c4ddab71493b9cca3e8d94ece66ff697", + "hash": "8046752321105805449", + "value": "596853427" + }, + { + "key": "0xb3c0746c90ef3c0ba555551be2a1e1c55ef1e4cafbc170fbaef37df9faba7cf5", + "hash": "1932904779373436489", + "value": "596853427" + }, + { + "key": "0x552854056b0ad1d7a436e2c196f3996757630e50639f58100e0de2b2cdd04969", + "hash": "2004094296203441417", + "value": "596853427" + }, + { + "key": "0xf487d23a5864e90176f2f4e276b903bec41904b68b740e73aecd8194f9dd660f", + "hash": "5661537235661999817", + "value": "596853427" + }, + { + "key": "0xc84b5b79d59f99b82eea459f74d809f2978a8ff185e8f2a40c3be11ec70aa4ae", + "hash": "13575303547012165513", + "value": "596853427" + }, + { + "key": "0xf611624ac72eb6618b8d812a95c950543d222533492ca03e0ef76d02d2358613", + "hash": "12641925964633415497", + "value": "596853427" + }, + { + "key": "0xe72410b5f79dfd914daa83f65a4f71c993108ae08ee7d907bc157740c53380d6", + "hash": "14462551473246294921", + "value": "596853427" + }, + { + "key": "0xa0d3b3b57d4cb0a25c1c6de8b0781e3f33a36f6ecacdbca8e498ba1b7ed1da91", + "hash": "17218538654712486985", + "value": "596853427" + }, + { + "key": "0xa0e9b3a21cb95cd61bcffe8a3652c5e7b46cec4bfa560ab2e6c6646b1ed7954e", + "hash": "13941648119810601417", + "value": "596853427" + }, + { + "key": "0x1a42a01a6f6754cf0a1ee2499722413cbd8197c0d017af883cbbf0703ad8f967", + "hash": "15430896326167539977", + "value": "596853427" + }, + { + "key": "0xf21d4c76354db6492841e31fefeaa5a3e8a1071d2bcbbdd1cf1cbc6fa3954b88", + "hash": "13587116394056395145", + "value": "596853427" + } + ], + "is_deleted": false, + "last_transaction_version": 1255836496 + }, + { + "table_handle": "0xad589a70930e065131f7b748607ca8a3e998149c9e15134bcf2b608b7fca003e", + "key_hash": "f6537e5060615a49807b317b5401b87503b07e3e3cefb9f59468f92df02b7b14", + "key": "0x0900000000000000", + "decoded_key": "9", + "decoded_value": [ + { + "key": "0x83a55f01c01c0fa1096cc55986ce3428c4ddab71493b9cca3e8d94ece66ff697", + "hash": "8046752321105805449", + "value": "3985397" + }, + { + "key": "0x3a7c89d503f8be84412525499c618460c8ae2a08ae652d6119cc30415d1ce206", + "hash": "2908462515524274665", + "value": "198284" + }, + { + "key": "0xb3c0746c90ef3c0ba555551be2a1e1c55ef1e4cafbc170fbaef37df9faba7cf5", + "hash": "1932904779373436489", + "value": "198281" + }, + { + "key": "0x552854056b0ad1d7a436e2c196f3996757630e50639f58100e0de2b2cdd04969", + "hash": "2004094296203441417", + "value": "99140" + }, + { + "key": "0xc58de7fbfdaa8e1857e52aa0659b5fe6f54f29f510d20f338eb0686325407b5a", + "hash": "1942560521513954601", + "value": "99139" + }, + { + "key": "0xf487d23a5864e90176f2f4e276b903bec41904b68b740e73aecd8194f9dd660f", + "hash": "5661537235661999817", + "value": "198277" + }, + { + "key": "0xc84b5b79d59f99b82eea459f74d809f2978a8ff185e8f2a40c3be11ec70aa4ae", + "hash": "13575303547012165513", + "value": "198275" + }, + { + "key": "0xe44fefa1a8bad2fb3e061201b4360803986de06a8551e5de0a88fd32d869de41", + "hash": "2410977227812208297", + "value": "297411" + }, + { + "key": "0x2070985e9158c3694885c953481de969c9bfb4ead9d573d3c24605c809138318", + "hash": "11569246644723027305", + "value": "99137" + }, + { + "key": "0xf611624ac72eb6618b8d812a95c950543d222533492ca03e0ef76d02d2358613", + "hash": "12641925964633415497", + "value": "297411" + }, + { + "key": "0xe72410b5f79dfd914daa83f65a4f71c993108ae08ee7d907bc157740c53380d6", + "hash": "14462551473246294921", + "value": "198271" + }, + { + "key": "0xa0d3b3b57d4cb0a25c1c6de8b0781e3f33a36f6ecacdbca8e498ba1b7ed1da91", + "hash": "17218538654712486985", + "value": "297407" + }, + { + "key": "0x416ee75acfa793a14ee882c509e4134e012aa607c0faa231bc70cb76f3a65f8d", + "hash": "9251213141402161577", + "value": "198268" + }, + { + "key": "0xa0e9b3a21cb95cd61bcffe8a3652c5e7b46cec4bfa560ab2e6c6646b1ed7954e", + "hash": "13941648119810601417", + "value": "297401" + }, + { + "key": "0xb5d606293487f8facf53b29461167a6afea40db46bdc5a3ea0d971be7f420102", + "hash": "17486164447159136041", + "value": "99133" + }, + { + "key": "0x1a42a01a6f6754cf0a1ee2499722413cbd8197c0d017af883cbbf0703ad8f967", + "hash": "15430896326167539977", + "value": "99132" + }, + { + "key": "0xa9d5f0e5980f1186280354a38acd806febfe1cf246cf58f758a243773c1a3ae0", + "hash": "13907381651495880169", + "value": "297358" + }, + { + "key": "0xf21d4c76354db6492841e31fefeaa5a3e8a1071d2bcbbdd1cf1cbc6fa3954b88", + "hash": "13587116394056395145", + "value": "297354" + } + ], + "is_deleted": false, + "last_transaction_version": 1255836496 + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/1255836496/table_items.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/1255836496/table_items.json new file mode 100644 index 000000000..edb12a14e --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/1255836496/table_items.json @@ -0,0 +1,280 @@ +[ + { + "transaction_version": 1255836496, + "write_set_change_index": 19, + "transaction_block_height": 295534162, + "key": "0x0900000000000000", + "table_handle": "0x15ee8af17d949286d38de4eb223262852b6150022e25478ca31111d38939c7e9", + "decoded_key": "9", + "decoded_value": [ + { + "key": "0x83a55f01c01c0fa1096cc55986ce3428c4ddab71493b9cca3e8d94ece66ff697", + "hash": "8046752321105805449", + "value": "0" + }, + { + "key": "0x3a7c89d503f8be84412525499c618460c8ae2a08ae652d6119cc30415d1ce206", + "hash": "2908462515524274665", + "value": "0" + }, + { + "key": "0xb3c0746c90ef3c0ba555551be2a1e1c55ef1e4cafbc170fbaef37df9faba7cf5", + "hash": "1932904779373436489", + "value": "0" + }, + { + "key": "0x552854056b0ad1d7a436e2c196f3996757630e50639f58100e0de2b2cdd04969", + "hash": "2004094296203441417", + "value": "0" + }, + { + "key": "0xc58de7fbfdaa8e1857e52aa0659b5fe6f54f29f510d20f338eb0686325407b5a", + "hash": "1942560521513954601", + "value": "0" + }, + { + "key": "0xf487d23a5864e90176f2f4e276b903bec41904b68b740e73aecd8194f9dd660f", + "hash": "5661537235661999817", + "value": "0" + }, + { + "key": "0xc84b5b79d59f99b82eea459f74d809f2978a8ff185e8f2a40c3be11ec70aa4ae", + "hash": "13575303547012165513", + "value": "0" + }, + { + "key": "0xe44fefa1a8bad2fb3e061201b4360803986de06a8551e5de0a88fd32d869de41", + "hash": "2410977227812208297", + "value": "0" + }, + { + "key": "0x2070985e9158c3694885c953481de969c9bfb4ead9d573d3c24605c809138318", + "hash": "11569246644723027305", + "value": "0" + }, + { + "key": "0xf611624ac72eb6618b8d812a95c950543d222533492ca03e0ef76d02d2358613", + "hash": "12641925964633415497", + "value": "0" + }, + { + "key": "0xe72410b5f79dfd914daa83f65a4f71c993108ae08ee7d907bc157740c53380d6", + "hash": "14462551473246294921", + "value": "0" + }, + { + "key": "0xa0d3b3b57d4cb0a25c1c6de8b0781e3f33a36f6ecacdbca8e498ba1b7ed1da91", + "hash": "17218538654712486985", + "value": "0" + }, + { + "key": "0x416ee75acfa793a14ee882c509e4134e012aa607c0faa231bc70cb76f3a65f8d", + "hash": "9251213141402161577", + "value": "0" + }, + { + "key": "0xa0e9b3a21cb95cd61bcffe8a3652c5e7b46cec4bfa560ab2e6c6646b1ed7954e", + "hash": "13941648119810601417", + "value": "0" + }, + { + "key": "0xb5d606293487f8facf53b29461167a6afea40db46bdc5a3ea0d971be7f420102", + "hash": "17486164447159136041", + "value": "0" + }, + { + "key": "0x1a42a01a6f6754cf0a1ee2499722413cbd8197c0d017af883cbbf0703ad8f967", + "hash": "15430896326167539977", + "value": "0" + }, + { + "key": "0xa9d5f0e5980f1186280354a38acd806febfe1cf246cf58f758a243773c1a3ae0", + "hash": "13907381651495880169", + "value": "0" + }, + { + "key": "0xf21d4c76354db6492841e31fefeaa5a3e8a1071d2bcbbdd1cf1cbc6fa3954b88", + "hash": "13587116394056395145", + "value": "0" + } + ], + "is_deleted": false + }, + { + "transaction_version": 1255836496, + "write_set_change_index": 20, + "transaction_block_height": 295534162, + "key": "0x0619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", + "table_handle": "0x1b854694ae746cdbd8d44186ca4929b2b337df21d1c74633be19b2710552fdca", + "decoded_key": "0x619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", + "decoded_value": "29152644549222814344", + "is_deleted": false + }, + { + "transaction_version": 1255836496, + "write_set_change_index": 21, + "transaction_block_height": 295534162, + "key": "0x0900000000000000", + "table_handle": "0x5e32abbab0789e8f6c5f559946d0e77e2de62d76f878b77a8cbab5327dac1e0a", + "decoded_key": "9", + "decoded_value": [ + { + "key": "0x83a55f01c01c0fa1096cc55986ce3428c4ddab71493b9cca3e8d94ece66ff697", + "hash": "8046752321105805449", + "value": "596853427" + }, + { + "key": "0xb3c0746c90ef3c0ba555551be2a1e1c55ef1e4cafbc170fbaef37df9faba7cf5", + "hash": "1932904779373436489", + "value": "596853427" + }, + { + "key": "0x552854056b0ad1d7a436e2c196f3996757630e50639f58100e0de2b2cdd04969", + "hash": "2004094296203441417", + "value": "596853427" + }, + { + "key": "0xf487d23a5864e90176f2f4e276b903bec41904b68b740e73aecd8194f9dd660f", + "hash": "5661537235661999817", + "value": "596853427" + }, + { + "key": "0xc84b5b79d59f99b82eea459f74d809f2978a8ff185e8f2a40c3be11ec70aa4ae", + "hash": "13575303547012165513", + "value": "596853427" + }, + { + "key": "0xf611624ac72eb6618b8d812a95c950543d222533492ca03e0ef76d02d2358613", + "hash": "12641925964633415497", + "value": "596853427" + }, + { + "key": "0xe72410b5f79dfd914daa83f65a4f71c993108ae08ee7d907bc157740c53380d6", + "hash": "14462551473246294921", + "value": "596853427" + }, + { + "key": "0xa0d3b3b57d4cb0a25c1c6de8b0781e3f33a36f6ecacdbca8e498ba1b7ed1da91", + "hash": "17218538654712486985", + "value": "596853427" + }, + { + "key": "0xa0e9b3a21cb95cd61bcffe8a3652c5e7b46cec4bfa560ab2e6c6646b1ed7954e", + "hash": "13941648119810601417", + "value": "596853427" + }, + { + "key": "0x1a42a01a6f6754cf0a1ee2499722413cbd8197c0d017af883cbbf0703ad8f967", + "hash": "15430896326167539977", + "value": "596853427" + }, + { + "key": "0xf21d4c76354db6492841e31fefeaa5a3e8a1071d2bcbbdd1cf1cbc6fa3954b88", + "hash": "13587116394056395145", + "value": "596853427" + } + ], + "is_deleted": false + }, + { + "transaction_version": 1255836496, + "write_set_change_index": 22, + "transaction_block_height": 295534162, + "key": "0x0900000000000000", + "table_handle": "0xad589a70930e065131f7b748607ca8a3e998149c9e15134bcf2b608b7fca003e", + "decoded_key": "9", + "decoded_value": [ + { + "key": "0x83a55f01c01c0fa1096cc55986ce3428c4ddab71493b9cca3e8d94ece66ff697", + "hash": "8046752321105805449", + "value": "3985397" + }, + { + "key": "0x3a7c89d503f8be84412525499c618460c8ae2a08ae652d6119cc30415d1ce206", + "hash": "2908462515524274665", + "value": "198284" + }, + { + "key": "0xb3c0746c90ef3c0ba555551be2a1e1c55ef1e4cafbc170fbaef37df9faba7cf5", + "hash": "1932904779373436489", + "value": "198281" + }, + { + "key": "0x552854056b0ad1d7a436e2c196f3996757630e50639f58100e0de2b2cdd04969", + "hash": "2004094296203441417", + "value": "99140" + }, + { + "key": "0xc58de7fbfdaa8e1857e52aa0659b5fe6f54f29f510d20f338eb0686325407b5a", + "hash": "1942560521513954601", + "value": "99139" + }, + { + "key": "0xf487d23a5864e90176f2f4e276b903bec41904b68b740e73aecd8194f9dd660f", + "hash": "5661537235661999817", + "value": "198277" + }, + { + "key": "0xc84b5b79d59f99b82eea459f74d809f2978a8ff185e8f2a40c3be11ec70aa4ae", + "hash": "13575303547012165513", + "value": "198275" + }, + { + "key": "0xe44fefa1a8bad2fb3e061201b4360803986de06a8551e5de0a88fd32d869de41", + "hash": "2410977227812208297", + "value": "297411" + }, + { + "key": "0x2070985e9158c3694885c953481de969c9bfb4ead9d573d3c24605c809138318", + "hash": "11569246644723027305", + "value": "99137" + }, + { + "key": "0xf611624ac72eb6618b8d812a95c950543d222533492ca03e0ef76d02d2358613", + "hash": "12641925964633415497", + "value": "297411" + }, + { + "key": "0xe72410b5f79dfd914daa83f65a4f71c993108ae08ee7d907bc157740c53380d6", + "hash": "14462551473246294921", + "value": "198271" + }, + { + "key": "0xa0d3b3b57d4cb0a25c1c6de8b0781e3f33a36f6ecacdbca8e498ba1b7ed1da91", + "hash": "17218538654712486985", + "value": "297407" + }, + { + "key": "0x416ee75acfa793a14ee882c509e4134e012aa607c0faa231bc70cb76f3a65f8d", + "hash": "9251213141402161577", + "value": "198268" + }, + { + "key": "0xa0e9b3a21cb95cd61bcffe8a3652c5e7b46cec4bfa560ab2e6c6646b1ed7954e", + "hash": "13941648119810601417", + "value": "297401" + }, + { + "key": "0xb5d606293487f8facf53b29461167a6afea40db46bdc5a3ea0d971be7f420102", + "hash": "17486164447159136041", + "value": "99133" + }, + { + "key": "0x1a42a01a6f6754cf0a1ee2499722413cbd8197c0d017af883cbbf0703ad8f967", + "hash": "15430896326167539977", + "value": "99132" + }, + { + "key": "0xa9d5f0e5980f1186280354a38acd806febfe1cf246cf58f758a243773c1a3ae0", + "hash": "13907381651495880169", + "value": "297358" + }, + { + "key": "0xf21d4c76354db6492841e31fefeaa5a3e8a1071d2bcbbdd1cf1cbc6fa3954b88", + "hash": "13587116394056395145", + "value": "297354" + } + ], + "is_deleted": false + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/1255836496/table_metadatas.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/1255836496/table_metadatas.json new file mode 100644 index 000000000..33d9c2700 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/1255836496/table_metadatas.json @@ -0,0 +1,22 @@ +[ + { + "handle": "0x1b854694ae746cdbd8d44186ca4929b2b337df21d1c74633be19b2710552fdca", + "key_type": "address", + "value_type": "u128" + }, + { + "handle": "0x15ee8af17d949286d38de4eb223262852b6150022e25478ca31111d38939c7e9", + "key_type": "u64", + "value_type": "vector<0x1::smart_table::Entry>" + }, + { + "handle": "0x5e32abbab0789e8f6c5f559946d0e77e2de62d76f878b77a8cbab5327dac1e0a", + "key_type": "u64", + "value_type": "vector<0x1::smart_table::Entry>" + }, + { + "handle": "0xad589a70930e065131f7b748607ca8a3e998149c9e15134bcf2b608b7fca003e", + "key_type": "u64", + "value_type": "vector<0x1::smart_table::Entry>" + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/2/block_metadata_transactions.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/2/block_metadata_transactions.json new file mode 100644 index 000000000..27eda9576 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/2/block_metadata_transactions.json @@ -0,0 +1,15 @@ +[ + { + "version": 2, + "block_height": 2, + "id": "0x7155ede2ab87b66e7beba3210b43367eb90daff8891d44ed05eed20a71b9b55a", + "round": 1, + "epoch": 2, + "previous_block_votes_bitvec": [ + 0 + ], + "proposer": "0xacb107b98cd634ca32d39d38ab13df8cbcd5fe7856ce2a3c3d123e53f95d0b6f", + "failed_proposer_indices": [], + "timestamp": "2022-09-09T01:24:17.332551" + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/2/current_table_items.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/2/current_table_items.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/2/current_table_items.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/2/table_items.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/2/table_items.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/2/table_items.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/2/table_metadatas.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/2/table_metadatas.json new file mode 100644 index 000000000..33d9c2700 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/2/table_metadatas.json @@ -0,0 +1,22 @@ +[ + { + "handle": "0x1b854694ae746cdbd8d44186ca4929b2b337df21d1c74633be19b2710552fdca", + "key_type": "address", + "value_type": "u128" + }, + { + "handle": "0x15ee8af17d949286d38de4eb223262852b6150022e25478ca31111d38939c7e9", + "key_type": "u64", + "value_type": "vector<0x1::smart_table::Entry>" + }, + { + "handle": "0x5e32abbab0789e8f6c5f559946d0e77e2de62d76f878b77a8cbab5327dac1e0a", + "key_type": "u64", + "value_type": "vector<0x1::smart_table::Entry>" + }, + { + "handle": "0xad589a70930e065131f7b748607ca8a3e998149c9e15134bcf2b608b7fca003e", + "key_type": "u64", + "value_type": "vector<0x1::smart_table::Entry>" + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/278556781/block_metadata_transactions.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/278556781/block_metadata_transactions.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/278556781/block_metadata_transactions.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/278556781/current_table_items.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/278556781/current_table_items.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/278556781/current_table_items.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/278556781/table_items.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/278556781/table_items.json new file mode 100644 index 000000000..b6de32693 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/278556781/table_items.json @@ -0,0 +1,12 @@ +[ + { + "transaction_version": 278556781, + "write_set_change_index": 7, + "transaction_block_height": 20040326, + "key": "0x0619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", + "table_handle": "0x1b854694ae746cdbd8d44186ca4929b2b337df21d1c74633be19b2710552fdca", + "decoded_key": "0x619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", + "decoded_value": "18544645433533405815", + "is_deleted": false + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/278556781/table_metadatas.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/278556781/table_metadatas.json new file mode 100644 index 000000000..33d9c2700 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/278556781/table_metadatas.json @@ -0,0 +1,22 @@ +[ + { + "handle": "0x1b854694ae746cdbd8d44186ca4929b2b337df21d1c74633be19b2710552fdca", + "key_type": "address", + "value_type": "u128" + }, + { + "handle": "0x15ee8af17d949286d38de4eb223262852b6150022e25478ca31111d38939c7e9", + "key_type": "u64", + "value_type": "vector<0x1::smart_table::Entry>" + }, + { + "handle": "0x5e32abbab0789e8f6c5f559946d0e77e2de62d76f878b77a8cbab5327dac1e0a", + "key_type": "u64", + "value_type": "vector<0x1::smart_table::Entry>" + }, + { + "handle": "0xad589a70930e065131f7b748607ca8a3e998149c9e15134bcf2b608b7fca003e", + "key_type": "u64", + "value_type": "vector<0x1::smart_table::Entry>" + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/3/block_metadata_transactions.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/3/block_metadata_transactions.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/3/block_metadata_transactions.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/3/current_table_items.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/3/current_table_items.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/3/current_table_items.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/3/table_items.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/3/table_items.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/3/table_items.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/3/table_metadatas.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/3/table_metadatas.json new file mode 100644 index 000000000..33d9c2700 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/3/table_metadatas.json @@ -0,0 +1,22 @@ +[ + { + "handle": "0x1b854694ae746cdbd8d44186ca4929b2b337df21d1c74633be19b2710552fdca", + "key_type": "address", + "value_type": "u128" + }, + { + "handle": "0x15ee8af17d949286d38de4eb223262852b6150022e25478ca31111d38939c7e9", + "key_type": "u64", + "value_type": "vector<0x1::smart_table::Entry>" + }, + { + "handle": "0x5e32abbab0789e8f6c5f559946d0e77e2de62d76f878b77a8cbab5327dac1e0a", + "key_type": "u64", + "value_type": "vector<0x1::smart_table::Entry>" + }, + { + "handle": "0xad589a70930e065131f7b748607ca8a3e998149c9e15134bcf2b608b7fca003e", + "key_type": "u64", + "value_type": "vector<0x1::smart_table::Entry>" + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/5523474016/block_metadata_transactions.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/5523474016/block_metadata_transactions.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/5523474016/block_metadata_transactions.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/5523474016/current_table_items.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/5523474016/current_table_items.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/5523474016/current_table_items.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/5523474016/table_items.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/5523474016/table_items.json new file mode 100644 index 000000000..a473d9a64 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/5523474016/table_items.json @@ -0,0 +1,12 @@ +[ + { + "transaction_version": 5523474016, + "write_set_change_index": 44, + "transaction_block_height": 322305240, + "key": "0x0619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", + "table_handle": "0x1b854694ae746cdbd8d44186ca4929b2b337df21d1c74633be19b2710552fdca", + "decoded_key": "0x619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", + "decoded_value": "29159026553346716168", + "is_deleted": false + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/5523474016/table_metadatas.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/5523474016/table_metadatas.json new file mode 100644 index 000000000..33d9c2700 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/5523474016/table_metadatas.json @@ -0,0 +1,22 @@ +[ + { + "handle": "0x1b854694ae746cdbd8d44186ca4929b2b337df21d1c74633be19b2710552fdca", + "key_type": "address", + "value_type": "u128" + }, + { + "handle": "0x15ee8af17d949286d38de4eb223262852b6150022e25478ca31111d38939c7e9", + "key_type": "u64", + "value_type": "vector<0x1::smart_table::Entry>" + }, + { + "handle": "0x5e32abbab0789e8f6c5f559946d0e77e2de62d76f878b77a8cbab5327dac1e0a", + "key_type": "u64", + "value_type": "vector<0x1::smart_table::Entry>" + }, + { + "handle": "0xad589a70930e065131f7b748607ca8a3e998149c9e15134bcf2b608b7fca003e", + "key_type": "u64", + "value_type": "vector<0x1::smart_table::Entry>" + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/5979639459/block_metadata_transactions.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/5979639459/block_metadata_transactions.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/5979639459/block_metadata_transactions.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/5979639459/current_table_items.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/5979639459/current_table_items.json new file mode 100644 index 000000000..1037fe6f5 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/5979639459/current_table_items.json @@ -0,0 +1,11 @@ +[ + { + "table_handle": "0x1b854694ae746cdbd8d44186ca4929b2b337df21d1c74633be19b2710552fdca", + "key_hash": "61ff6dde49d23af0395c534ca7bee92391910cd0ac4e4ba3d35a2619e49a1775", + "key": "0x0619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", + "decoded_key": "0x619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", + "decoded_value": "29164832318786122251", + "is_deleted": false, + "last_transaction_version": 5979639459 + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/5979639459/table_items.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/5979639459/table_items.json new file mode 100644 index 000000000..2a6c43a28 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/5979639459/table_items.json @@ -0,0 +1,12 @@ +[ + { + "transaction_version": 5979639459, + "write_set_change_index": 4, + "transaction_block_height": 354619634, + "key": "0x0619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", + "table_handle": "0x1b854694ae746cdbd8d44186ca4929b2b337df21d1c74633be19b2710552fdca", + "decoded_key": "0x619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", + "decoded_value": "29164832318786122251", + "is_deleted": false + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/5979639459/table_metadatas.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/5979639459/table_metadatas.json new file mode 100644 index 000000000..7e2e1fab8 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/5979639459/table_metadatas.json @@ -0,0 +1,7 @@ +[ + { + "handle": "0x1b854694ae746cdbd8d44186ca4929b2b337df21d1c74633be19b2710552fdca", + "key_type": "address", + "value_type": "u128" + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/5992795934/block_metadata_transactions.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/5992795934/block_metadata_transactions.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/5992795934/block_metadata_transactions.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/5992795934/current_table_items.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/5992795934/current_table_items.json new file mode 100644 index 000000000..bc3bbf053 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/5992795934/current_table_items.json @@ -0,0 +1,11 @@ +[ + { + "table_handle": "0x1b854694ae746cdbd8d44186ca4929b2b337df21d1c74633be19b2710552fdca", + "key_hash": "61ff6dde49d23af0395c534ca7bee92391910cd0ac4e4ba3d35a2619e49a1775", + "key": "0x0619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", + "decoded_key": "0x619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", + "decoded_value": "29165678689185321503", + "is_deleted": false, + "last_transaction_version": 5992795934 + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/5992795934/table_items.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/5992795934/table_items.json new file mode 100644 index 000000000..157bf59bc --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/5992795934/table_items.json @@ -0,0 +1,12 @@ +[ + { + "transaction_version": 5992795934, + "write_set_change_index": 6, + "transaction_block_height": 356437526, + "key": "0x0619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", + "table_handle": "0x1b854694ae746cdbd8d44186ca4929b2b337df21d1c74633be19b2710552fdca", + "decoded_key": "0x619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", + "decoded_value": "29165678689185321503", + "is_deleted": false + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/5992795934/table_metadatas.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/5992795934/table_metadatas.json new file mode 100644 index 000000000..33d9c2700 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/5992795934/table_metadatas.json @@ -0,0 +1,22 @@ +[ + { + "handle": "0x1b854694ae746cdbd8d44186ca4929b2b337df21d1c74633be19b2710552fdca", + "key_type": "address", + "value_type": "u128" + }, + { + "handle": "0x15ee8af17d949286d38de4eb223262852b6150022e25478ca31111d38939c7e9", + "key_type": "u64", + "value_type": "vector<0x1::smart_table::Entry>" + }, + { + "handle": "0x5e32abbab0789e8f6c5f559946d0e77e2de62d76f878b77a8cbab5327dac1e0a", + "key_type": "u64", + "value_type": "vector<0x1::smart_table::Entry>" + }, + { + "handle": "0xad589a70930e065131f7b748607ca8a3e998149c9e15134bcf2b608b7fca003e", + "key_type": "u64", + "value_type": "vector<0x1::smart_table::Entry>" + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/1/block_metadata_transactions.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/1/block_metadata_transactions.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/1/block_metadata_transactions.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/1/current_objects.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/1/current_objects.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/1/current_objects.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/1/current_table_items.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/1/current_table_items.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/1/current_table_items.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/1/objects.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/1/objects.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/1/objects.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/1/table_items.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/1/table_items.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/1/table_items.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/1255836496/block_metadata_transactions.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/1255836496/block_metadata_transactions.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/1255836496/block_metadata_transactions.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/1255836496/current_objects.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/1255836496/current_objects.json new file mode 100644 index 000000000..0f9f6e146 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/1255836496/current_objects.json @@ -0,0 +1,32 @@ +[ + { + "object_address": "0x4551f2167c446b219c4dee2aa5496395c82a465cd57c5b362621af451c5d062b", + "owner_address": "0x6cbd58aec3b1eb5aff37ece4dff62b829ecbc6b851ee94056e852bcde5690ab4", + "state_key_hash": "0x8ff4b48c6d27126305b642d060047913507760f89fed6e739b25495422da784e", + "allow_ungated_transfer": true, + "last_guid_creation_num": "1125899906842625", + "last_transaction_version": 1255836496, + "is_deleted": false, + "untransferrable": false + }, + { + "object_address": "0x7ea259eaaacce518a7479baca008e17fab2d0267a16e11979d52eb6c5433aad6", + "owner_address": "0xbe1390db94c2f8e83fd870c195656921ed4a2a5dee644c6d9c3168fea082a828", + "state_key_hash": "0xe65aa304842d45a8340c95cb41019ef4279bc7c54e86f628007303a7a9067e79", + "allow_ungated_transfer": true, + "last_guid_creation_num": "1125899906842625", + "last_transaction_version": 1255836496, + "is_deleted": false, + "untransferrable": false + }, + { + "object_address": "0x8f4f0991e18bd9620a4b3756dbe15afd20135eaaa93e0d0b82e6e2412a8e12b8", + "owner_address": "0xbe1390db94c2f8e83fd870c195656921ed4a2a5dee644c6d9c3168fea082a828", + "state_key_hash": "0xf605eda7943ebdfc4c931e8407e23dfa20288f91e191a7a58baf6363a6a2a139", + "allow_ungated_transfer": true, + "last_guid_creation_num": "1125899906842625", + "last_transaction_version": 1255836496, + "is_deleted": false, + "untransferrable": false + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/1255836496/current_table_items.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/1255836496/current_table_items.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/1255836496/current_table_items.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/1255836496/objects.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/1255836496/objects.json new file mode 100644 index 000000000..633a709ac --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/1255836496/objects.json @@ -0,0 +1,167 @@ +[ + { + "transaction_version": 1255836496, + "write_set_change_index": 0, + "object_address": "0x4551f2167c446b219c4dee2aa5496395c82a465cd57c5b362621af451c5d062b", + "owner_address": "0x6cbd58aec3b1eb5aff37ece4dff62b829ecbc6b851ee94056e852bcde5690ab4", + "state_key_hash": "0x8ff4b48c6d27126305b642d060047913507760f89fed6e739b25495422da784e", + "guid_creation_num": "1125899906842625", + "allow_ungated_transfer": true, + "is_deleted": false, + "untransferrable": false + }, + { + "transaction_version": 1255836496, + "write_set_change_index": 1, + "object_address": "0x4551f2167c446b219c4dee2aa5496395c82a465cd57c5b362621af451c5d062b", + "owner_address": "0x6cbd58aec3b1eb5aff37ece4dff62b829ecbc6b851ee94056e852bcde5690ab4", + "state_key_hash": "0x8ff4b48c6d27126305b642d060047913507760f89fed6e739b25495422da784e", + "guid_creation_num": "1125899906842625", + "allow_ungated_transfer": true, + "is_deleted": false, + "untransferrable": false + }, + { + "transaction_version": 1255836496, + "write_set_change_index": 2, + "object_address": "0x4551f2167c446b219c4dee2aa5496395c82a465cd57c5b362621af451c5d062b", + "owner_address": "0x6cbd58aec3b1eb5aff37ece4dff62b829ecbc6b851ee94056e852bcde5690ab4", + "state_key_hash": "0x8ff4b48c6d27126305b642d060047913507760f89fed6e739b25495422da784e", + "guid_creation_num": "1125899906842625", + "allow_ungated_transfer": true, + "is_deleted": false, + "untransferrable": false + }, + { + "transaction_version": 1255836496, + "write_set_change_index": 3, + "object_address": "0x4551f2167c446b219c4dee2aa5496395c82a465cd57c5b362621af451c5d062b", + "owner_address": "0x6cbd58aec3b1eb5aff37ece4dff62b829ecbc6b851ee94056e852bcde5690ab4", + "state_key_hash": "0x8ff4b48c6d27126305b642d060047913507760f89fed6e739b25495422da784e", + "guid_creation_num": "1125899906842625", + "allow_ungated_transfer": true, + "is_deleted": false, + "untransferrable": false + }, + { + "transaction_version": 1255836496, + "write_set_change_index": 5, + "object_address": "0x7ea259eaaacce518a7479baca008e17fab2d0267a16e11979d52eb6c5433aad6", + "owner_address": "0xbe1390db94c2f8e83fd870c195656921ed4a2a5dee644c6d9c3168fea082a828", + "state_key_hash": "0xe65aa304842d45a8340c95cb41019ef4279bc7c54e86f628007303a7a9067e79", + "guid_creation_num": "1125899906842625", + "allow_ungated_transfer": true, + "is_deleted": false, + "untransferrable": false + }, + { + "transaction_version": 1255836496, + "write_set_change_index": 6, + "object_address": "0x7ea259eaaacce518a7479baca008e17fab2d0267a16e11979d52eb6c5433aad6", + "owner_address": "0xbe1390db94c2f8e83fd870c195656921ed4a2a5dee644c6d9c3168fea082a828", + "state_key_hash": "0xe65aa304842d45a8340c95cb41019ef4279bc7c54e86f628007303a7a9067e79", + "guid_creation_num": "1125899906842625", + "allow_ungated_transfer": true, + "is_deleted": false, + "untransferrable": false + }, + { + "transaction_version": 1255836496, + "write_set_change_index": 7, + "object_address": "0x7ea259eaaacce518a7479baca008e17fab2d0267a16e11979d52eb6c5433aad6", + "owner_address": "0xbe1390db94c2f8e83fd870c195656921ed4a2a5dee644c6d9c3168fea082a828", + "state_key_hash": "0xe65aa304842d45a8340c95cb41019ef4279bc7c54e86f628007303a7a9067e79", + "guid_creation_num": "1125899906842625", + "allow_ungated_transfer": true, + "is_deleted": false, + "untransferrable": false + }, + { + "transaction_version": 1255836496, + "write_set_change_index": 8, + "object_address": "0x8f4f0991e18bd9620a4b3756dbe15afd20135eaaa93e0d0b82e6e2412a8e12b8", + "owner_address": "0xbe1390db94c2f8e83fd870c195656921ed4a2a5dee644c6d9c3168fea082a828", + "state_key_hash": "0xf605eda7943ebdfc4c931e8407e23dfa20288f91e191a7a58baf6363a6a2a139", + "guid_creation_num": "1125899906842625", + "allow_ungated_transfer": true, + "is_deleted": false, + "untransferrable": false + }, + { + "transaction_version": 1255836496, + "write_set_change_index": 9, + "object_address": "0x8f4f0991e18bd9620a4b3756dbe15afd20135eaaa93e0d0b82e6e2412a8e12b8", + "owner_address": "0xbe1390db94c2f8e83fd870c195656921ed4a2a5dee644c6d9c3168fea082a828", + "state_key_hash": "0xf605eda7943ebdfc4c931e8407e23dfa20288f91e191a7a58baf6363a6a2a139", + "guid_creation_num": "1125899906842625", + "allow_ungated_transfer": true, + "is_deleted": false, + "untransferrable": false + }, + { + "transaction_version": 1255836496, + "write_set_change_index": 10, + "object_address": "0x8f4f0991e18bd9620a4b3756dbe15afd20135eaaa93e0d0b82e6e2412a8e12b8", + "owner_address": "0xbe1390db94c2f8e83fd870c195656921ed4a2a5dee644c6d9c3168fea082a828", + "state_key_hash": "0xf605eda7943ebdfc4c931e8407e23dfa20288f91e191a7a58baf6363a6a2a139", + "guid_creation_num": "1125899906842625", + "allow_ungated_transfer": true, + "is_deleted": false, + "untransferrable": false + }, + { + "transaction_version": 1255836496, + "write_set_change_index": 11, + "object_address": "0x8f4f0991e18bd9620a4b3756dbe15afd20135eaaa93e0d0b82e6e2412a8e12b8", + "owner_address": "0xbe1390db94c2f8e83fd870c195656921ed4a2a5dee644c6d9c3168fea082a828", + "state_key_hash": "0xf605eda7943ebdfc4c931e8407e23dfa20288f91e191a7a58baf6363a6a2a139", + "guid_creation_num": "1125899906842625", + "allow_ungated_transfer": true, + "is_deleted": false, + "untransferrable": false + }, + { + "transaction_version": 1255836496, + "write_set_change_index": 12, + "object_address": "0x8f4f0991e18bd9620a4b3756dbe15afd20135eaaa93e0d0b82e6e2412a8e12b8", + "owner_address": "0xbe1390db94c2f8e83fd870c195656921ed4a2a5dee644c6d9c3168fea082a828", + "state_key_hash": "0xf605eda7943ebdfc4c931e8407e23dfa20288f91e191a7a58baf6363a6a2a139", + "guid_creation_num": "1125899906842625", + "allow_ungated_transfer": true, + "is_deleted": false, + "untransferrable": false + }, + { + "transaction_version": 1255836496, + "write_set_change_index": 13, + "object_address": "0x8f4f0991e18bd9620a4b3756dbe15afd20135eaaa93e0d0b82e6e2412a8e12b8", + "owner_address": "0xbe1390db94c2f8e83fd870c195656921ed4a2a5dee644c6d9c3168fea082a828", + "state_key_hash": "0xf605eda7943ebdfc4c931e8407e23dfa20288f91e191a7a58baf6363a6a2a139", + "guid_creation_num": "1125899906842625", + "allow_ungated_transfer": true, + "is_deleted": false, + "untransferrable": false + }, + { + "transaction_version": 1255836496, + "write_set_change_index": 14, + "object_address": "0x8f4f0991e18bd9620a4b3756dbe15afd20135eaaa93e0d0b82e6e2412a8e12b8", + "owner_address": "0xbe1390db94c2f8e83fd870c195656921ed4a2a5dee644c6d9c3168fea082a828", + "state_key_hash": "0xf605eda7943ebdfc4c931e8407e23dfa20288f91e191a7a58baf6363a6a2a139", + "guid_creation_num": "1125899906842625", + "allow_ungated_transfer": true, + "is_deleted": false, + "untransferrable": false + }, + { + "transaction_version": 1255836496, + "write_set_change_index": 15, + "object_address": "0x8f4f0991e18bd9620a4b3756dbe15afd20135eaaa93e0d0b82e6e2412a8e12b8", + "owner_address": "0xbe1390db94c2f8e83fd870c195656921ed4a2a5dee644c6d9c3168fea082a828", + "state_key_hash": "0xf605eda7943ebdfc4c931e8407e23dfa20288f91e191a7a58baf6363a6a2a139", + "guid_creation_num": "1125899906842625", + "allow_ungated_transfer": true, + "is_deleted": false, + "untransferrable": false + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/1255836496/table_items.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/1255836496/table_items.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/1255836496/table_items.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/2/block_metadata_transactions.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/2/block_metadata_transactions.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/2/block_metadata_transactions.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/2/current_objects.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/2/current_objects.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/2/current_objects.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/2/current_table_items.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/2/current_table_items.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/2/current_table_items.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/2/objects.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/2/objects.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/2/objects.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/2/table_items.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/2/table_items.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/2/table_items.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/278556781/block_metadata_transactions.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/278556781/block_metadata_transactions.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/278556781/block_metadata_transactions.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/278556781/current_objects.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/278556781/current_objects.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/278556781/current_objects.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/278556781/current_table_items.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/278556781/current_table_items.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/278556781/current_table_items.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/278556781/objects.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/278556781/objects.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/278556781/objects.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/278556781/table_items.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/278556781/table_items.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/278556781/table_items.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/3/block_metadata_transactions.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/3/block_metadata_transactions.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/3/block_metadata_transactions.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/3/current_objects.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/3/current_objects.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/3/current_objects.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/3/current_table_items.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/3/current_table_items.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/3/current_table_items.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/3/objects.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/3/objects.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/3/objects.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/3/table_items.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/3/table_items.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/3/table_items.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/5523474016/block_metadata_transactions.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/5523474016/block_metadata_transactions.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/5523474016/block_metadata_transactions.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/5523474016/current_objects.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/5523474016/current_objects.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/5523474016/current_objects.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/5523474016/current_table_items.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/5523474016/current_table_items.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/5523474016/current_table_items.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/5523474016/objects.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/5523474016/objects.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/5523474016/objects.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/5523474016/table_items.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/5523474016/table_items.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/5523474016/table_items.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/5979639459/block_metadata_transactions.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/5979639459/block_metadata_transactions.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/5979639459/block_metadata_transactions.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/5979639459/current_objects.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/5979639459/current_objects.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/5979639459/current_objects.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/5979639459/current_table_items.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/5979639459/current_table_items.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/5979639459/current_table_items.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/5979639459/objects.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/5979639459/objects.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/5979639459/objects.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/5979639459/table_items.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/5979639459/table_items.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/5979639459/table_items.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/5992795934/block_metadata_transactions.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/5992795934/block_metadata_transactions.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/5992795934/block_metadata_transactions.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/5992795934/current_objects.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/5992795934/current_objects.json new file mode 100644 index 000000000..fa532077e --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/5992795934/current_objects.json @@ -0,0 +1,22 @@ +[ + { + "object_address": "0x8bd5745daa2d6e5817819c6bf37600196e55cfba8c5bcdfdf55684bf4accbb9c", + "owner_address": "0x422e4585fdb8705aeaafb9501e7e03dc8125134da04ed8322244687c50c3fa55", + "state_key_hash": "0x11a539a0a1da788b61c301ff314b6238959bd03c8929bc1d0f4e5e247ee91bf4", + "allow_ungated_transfer": false, + "last_guid_creation_num": "1125899906842625", + "last_transaction_version": 5992795934, + "is_deleted": false, + "untransferrable": true + }, + { + "object_address": "0xfe90bdd996728b93e09f5d59fd91d6d44be85ab7acea5d1ed535b4c13b2c32c0", + "owner_address": "0x13fc6cb932ab90e65ce901460ce8d4b232d4e365294c6ea5afca94625adba47f", + "state_key_hash": "0xc91f2750d29a3333e39457c9817688fa811f0eaa698f771fae390c5ff6e1fc7d", + "allow_ungated_transfer": false, + "last_guid_creation_num": "1125899906842625", + "last_transaction_version": 5992795934, + "is_deleted": false, + "untransferrable": true + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/5992795934/current_table_items.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/5992795934/current_table_items.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/5992795934/current_table_items.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/5992795934/objects.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/5992795934/objects.json new file mode 100644 index 000000000..8b7559888 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/5992795934/objects.json @@ -0,0 +1,46 @@ +[ + { + "transaction_version": 5992795934, + "write_set_change_index": 0, + "object_address": "0x8bd5745daa2d6e5817819c6bf37600196e55cfba8c5bcdfdf55684bf4accbb9c", + "owner_address": "0x422e4585fdb8705aeaafb9501e7e03dc8125134da04ed8322244687c50c3fa55", + "state_key_hash": "0x11a539a0a1da788b61c301ff314b6238959bd03c8929bc1d0f4e5e247ee91bf4", + "guid_creation_num": "1125899906842625", + "allow_ungated_transfer": false, + "is_deleted": false, + "untransferrable": true + }, + { + "transaction_version": 5992795934, + "write_set_change_index": 1, + "object_address": "0x8bd5745daa2d6e5817819c6bf37600196e55cfba8c5bcdfdf55684bf4accbb9c", + "owner_address": "0x422e4585fdb8705aeaafb9501e7e03dc8125134da04ed8322244687c50c3fa55", + "state_key_hash": "0x11a539a0a1da788b61c301ff314b6238959bd03c8929bc1d0f4e5e247ee91bf4", + "guid_creation_num": "1125899906842625", + "allow_ungated_transfer": false, + "is_deleted": false, + "untransferrable": true + }, + { + "transaction_version": 5992795934, + "write_set_change_index": 4, + "object_address": "0xfe90bdd996728b93e09f5d59fd91d6d44be85ab7acea5d1ed535b4c13b2c32c0", + "owner_address": "0x13fc6cb932ab90e65ce901460ce8d4b232d4e365294c6ea5afca94625adba47f", + "state_key_hash": "0xc91f2750d29a3333e39457c9817688fa811f0eaa698f771fae390c5ff6e1fc7d", + "guid_creation_num": "1125899906842625", + "allow_ungated_transfer": false, + "is_deleted": false, + "untransferrable": true + }, + { + "transaction_version": 5992795934, + "write_set_change_index": 5, + "object_address": "0xfe90bdd996728b93e09f5d59fd91d6d44be85ab7acea5d1ed535b4c13b2c32c0", + "owner_address": "0x13fc6cb932ab90e65ce901460ce8d4b232d4e365294c6ea5afca94625adba47f", + "state_key_hash": "0xc91f2750d29a3333e39457c9817688fa811f0eaa698f771fae390c5ff6e1fc7d", + "guid_creation_num": "1125899906842625", + "allow_ungated_transfer": false, + "is_deleted": false, + "untransferrable": true + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/5992795934/table_items.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/5992795934/table_items.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/5992795934/table_items.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1/current_delegated_staking_pool_balances.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1/current_delegated_staking_pool_balances.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1/current_delegated_staking_pool_balances.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1/current_delegated_voter.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1/current_delegated_voter.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1/current_delegated_voter.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1/current_delegator_balances.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1/current_delegator_balances.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1/current_delegator_balances.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1/current_staking_pool_voter.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1/current_staking_pool_voter.json new file mode 100644 index 000000000..1a612e897 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1/current_staking_pool_voter.json @@ -0,0 +1,26 @@ +[ + { + "staking_pool_address": "0x828ca971e35c8b9a807439e5a328fdc9a5ed0efbfb12f40bc451d17f6998be3f", + "voter_address": "0x828ca971e35c8b9a807439e5a328fdc9a5ed0efbfb12f40bc451d17f6998be3f", + "last_transaction_version": 1, + "operator_address": "0x828ca971e35c8b9a807439e5a328fdc9a5ed0efbfb12f40bc451d17f6998be3f" + }, + { + "staking_pool_address": "0xacb107b98cd634ca32d39d38ab13df8cbcd5fe7856ce2a3c3d123e53f95d0b6f", + "voter_address": "0xacb107b98cd634ca32d39d38ab13df8cbcd5fe7856ce2a3c3d123e53f95d0b6f", + "last_transaction_version": 1, + "operator_address": "0xacb107b98cd634ca32d39d38ab13df8cbcd5fe7856ce2a3c3d123e53f95d0b6f" + }, + { + "staking_pool_address": "0xb7c7d12080209e9dc14498c80200706e760363fb31782247e82cf57d1d6e5d6c", + "voter_address": "0xb7c7d12080209e9dc14498c80200706e760363fb31782247e82cf57d1d6e5d6c", + "last_transaction_version": 1, + "operator_address": "0xb7c7d12080209e9dc14498c80200706e760363fb31782247e82cf57d1d6e5d6c" + }, + { + "staking_pool_address": "0xdffe3c93b756bf6fec59b052d6fe71b40c3f9b7899d69ab06ba385b1c6728d16", + "voter_address": "0xdffe3c93b756bf6fec59b052d6fe71b40c3f9b7899d69ab06ba385b1c6728d16", + "last_transaction_version": 1, + "operator_address": "0xdffe3c93b756bf6fec59b052d6fe71b40c3f9b7899d69ab06ba385b1c6728d16" + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1/delegated_staking_activities.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1/delegated_staking_activities.json new file mode 100644 index 000000000..d56065baa --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1/delegated_staking_activities.json @@ -0,0 +1,34 @@ +[ + { + "transaction_version": 1, + "event_index": 1, + "delegator_address": "", + "pool_address": "0xb7c7d12080209e9dc14498c80200706e760363fb31782247e82cf57d1d6e5d6c", + "event_type": "0x1::stake::DistributeRewardsEvent", + "amount": "0" + }, + { + "transaction_version": 1, + "event_index": 2, + "delegator_address": "", + "pool_address": "0xdffe3c93b756bf6fec59b052d6fe71b40c3f9b7899d69ab06ba385b1c6728d16", + "event_type": "0x1::stake::DistributeRewardsEvent", + "amount": "4566200000" + }, + { + "transaction_version": 1, + "event_index": 3, + "delegator_address": "", + "pool_address": "0x828ca971e35c8b9a807439e5a328fdc9a5ed0efbfb12f40bc451d17f6998be3f", + "event_type": "0x1::stake::DistributeRewardsEvent", + "amount": "0" + }, + { + "transaction_version": 1, + "event_index": 4, + "delegator_address": "", + "pool_address": "0xacb107b98cd634ca32d39d38ab13df8cbcd5fe7856ce2a3c3d123e53f95d0b6f", + "event_type": "0x1::stake::DistributeRewardsEvent", + "amount": "0" + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1/delegated_staking_pool_balances.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1/delegated_staking_pool_balances.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1/delegated_staking_pool_balances.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1/delegated_staking_pools.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1/delegated_staking_pools.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1/delegated_staking_pools.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1/delegator_balances.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1/delegator_balances.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1/delegator_balances.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1/proposal_votes.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1/proposal_votes.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1/proposal_votes.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1255836496/current_delegated_staking_pool_balances.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1255836496/current_delegated_staking_pool_balances.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1255836496/current_delegated_staking_pool_balances.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1255836496/current_delegated_voter.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1255836496/current_delegated_voter.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1255836496/current_delegated_voter.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1255836496/current_delegator_balances.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1255836496/current_delegator_balances.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1255836496/current_delegator_balances.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1255836496/current_staking_pool_voter.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1255836496/current_staking_pool_voter.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1255836496/current_staking_pool_voter.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1255836496/delegated_staking_activities.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1255836496/delegated_staking_activities.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1255836496/delegated_staking_activities.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1255836496/delegated_staking_pool_balances.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1255836496/delegated_staking_pool_balances.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1255836496/delegated_staking_pool_balances.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1255836496/delegated_staking_pools.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1255836496/delegated_staking_pools.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1255836496/delegated_staking_pools.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1255836496/delegator_balances.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1255836496/delegator_balances.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1255836496/delegator_balances.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1255836496/proposal_votes.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1255836496/proposal_votes.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1255836496/proposal_votes.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/2/current_delegated_staking_pool_balances.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/2/current_delegated_staking_pool_balances.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/2/current_delegated_staking_pool_balances.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/2/current_delegated_voter.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/2/current_delegated_voter.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/2/current_delegated_voter.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/2/current_delegator_balances.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/2/current_delegator_balances.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/2/current_delegator_balances.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/2/current_staking_pool_voter.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/2/current_staking_pool_voter.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/2/current_staking_pool_voter.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/2/delegated_staking_activities.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/2/delegated_staking_activities.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/2/delegated_staking_activities.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/2/delegated_staking_pool_balances.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/2/delegated_staking_pool_balances.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/2/delegated_staking_pool_balances.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/2/delegated_staking_pools.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/2/delegated_staking_pools.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/2/delegated_staking_pools.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/2/delegator_balances.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/2/delegator_balances.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/2/delegator_balances.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/2/proposal_votes.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/2/proposal_votes.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/2/proposal_votes.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/278556781/current_delegated_staking_pool_balances.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/278556781/current_delegated_staking_pool_balances.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/278556781/current_delegated_staking_pool_balances.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/278556781/current_delegated_voter.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/278556781/current_delegated_voter.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/278556781/current_delegated_voter.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/278556781/current_delegator_balances.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/278556781/current_delegator_balances.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/278556781/current_delegator_balances.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/278556781/current_staking_pool_voter.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/278556781/current_staking_pool_voter.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/278556781/current_staking_pool_voter.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/278556781/delegated_staking_activities.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/278556781/delegated_staking_activities.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/278556781/delegated_staking_activities.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/278556781/delegated_staking_pool_balances.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/278556781/delegated_staking_pool_balances.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/278556781/delegated_staking_pool_balances.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/278556781/delegated_staking_pools.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/278556781/delegated_staking_pools.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/278556781/delegated_staking_pools.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/278556781/delegator_balances.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/278556781/delegator_balances.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/278556781/delegator_balances.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/278556781/proposal_votes.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/278556781/proposal_votes.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/278556781/proposal_votes.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/3/current_delegated_staking_pool_balances.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/3/current_delegated_staking_pool_balances.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/3/current_delegated_staking_pool_balances.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/3/current_delegated_voter.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/3/current_delegated_voter.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/3/current_delegated_voter.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/3/current_delegator_balances.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/3/current_delegator_balances.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/3/current_delegator_balances.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/3/current_staking_pool_voter.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/3/current_staking_pool_voter.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/3/current_staking_pool_voter.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/3/delegated_staking_activities.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/3/delegated_staking_activities.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/3/delegated_staking_activities.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/3/delegated_staking_pool_balances.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/3/delegated_staking_pool_balances.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/3/delegated_staking_pool_balances.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/3/delegated_staking_pools.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/3/delegated_staking_pools.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/3/delegated_staking_pools.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/3/delegator_balances.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/3/delegator_balances.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/3/delegator_balances.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/3/proposal_votes.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/3/proposal_votes.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/3/proposal_votes.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5523474016/current_delegated_staking_pool_balances.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5523474016/current_delegated_staking_pool_balances.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5523474016/current_delegated_staking_pool_balances.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5523474016/current_delegated_voter.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5523474016/current_delegated_voter.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5523474016/current_delegated_voter.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5523474016/current_delegator_balances.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5523474016/current_delegator_balances.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5523474016/current_delegator_balances.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5523474016/current_staking_pool_voter.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5523474016/current_staking_pool_voter.json new file mode 100644 index 000000000..5e092fdec --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5523474016/current_staking_pool_voter.json @@ -0,0 +1,116 @@ +[ + { + "staking_pool_address": "0x03c04549114877c55f45649aba48ac0a4ff086ab7bdce3b8cc8d3d9947bc0d99", + "voter_address": "0x03c04549114877c55f45649aba48ac0a4ff086ab7bdce3b8cc8d3d9947bc0d99", + "last_transaction_version": 5523474016, + "operator_address": "0x03c04549114877c55f45649aba48ac0a4ff086ab7bdce3b8cc8d3d9947bc0d99" + }, + { + "staking_pool_address": "0x0a4113560d0b18ba38797f2a899c4b27e0c5b0476be5d8f6be68fba8b1861ed0", + "voter_address": "0x0a4113560d0b18ba38797f2a899c4b27e0c5b0476be5d8f6be68fba8b1861ed0", + "last_transaction_version": 5523474016, + "operator_address": "0xa377a5a035e81ec0b200ae5b76711b5d5093cfa0cce6296c9a26128491839002" + }, + { + "staking_pool_address": "0x116176e2af223a8b7f8db80dc52f7a423b4d7f8c0553a1747e92ef58849aff4f", + "voter_address": "0x116176e2af223a8b7f8db80dc52f7a423b4d7f8c0553a1747e92ef58849aff4f", + "last_transaction_version": 5523474016, + "operator_address": "0x116176e2af223a8b7f8db80dc52f7a423b4d7f8c0553a1747e92ef58849aff4f" + }, + { + "staking_pool_address": "0x12000330d7cd8a748f46c25e6ce5d236a27e13d0b510d4516ac84ecc5fddd002", + "voter_address": "0x12000330d7cd8a748f46c25e6ce5d236a27e13d0b510d4516ac84ecc5fddd002", + "last_transaction_version": 5523474016, + "operator_address": "0x12000330d7cd8a748f46c25e6ce5d236a27e13d0b510d4516ac84ecc5fddd002" + }, + { + "staking_pool_address": "0x286e8af6717ef6b1e361aae8ab28dd6664bf562c2805dd9a53432246ec66566e", + "voter_address": "0x286e8af6717ef6b1e361aae8ab28dd6664bf562c2805dd9a53432246ec66566e", + "last_transaction_version": 5523474016, + "operator_address": "0x286e8af6717ef6b1e361aae8ab28dd6664bf562c2805dd9a53432246ec66566e" + }, + { + "staking_pool_address": "0x479ca442491cfd636f84fa8e56fa420c8038587e459e886d16a0b9d3993b16ba", + "voter_address": "0x479ca442491cfd636f84fa8e56fa420c8038587e459e886d16a0b9d3993b16ba", + "last_transaction_version": 5523474016, + "operator_address": "0x479ca442491cfd636f84fa8e56fa420c8038587e459e886d16a0b9d3993b16ba" + }, + { + "staking_pool_address": "0x50e52098d22c91f4c6a0065d03b2602cc2643089b218096e3cfe5f1bd98d80e6", + "voter_address": "0x50e52098d22c91f4c6a0065d03b2602cc2643089b218096e3cfe5f1bd98d80e6", + "last_transaction_version": 5523474016, + "operator_address": "0x702aae7212e88aa51e74afcbd1aaf1044f5c8ea63dc5ec7d5cd4b5acaacd02ed" + }, + { + "staking_pool_address": "0x5176f2252762e527e3598c22f1bdb3a1ac0ff0db2d7518cabbc99305330a864a", + "voter_address": "0x5176f2252762e527e3598c22f1bdb3a1ac0ff0db2d7518cabbc99305330a864a", + "last_transaction_version": 5523474016, + "operator_address": "0x5176f2252762e527e3598c22f1bdb3a1ac0ff0db2d7518cabbc99305330a864a" + }, + { + "staking_pool_address": "0x676f640c90cb6c45f21be50974531d440309aa4ddad919ae0429039789a3d8a9", + "voter_address": "0x676f640c90cb6c45f21be50974531d440309aa4ddad919ae0429039789a3d8a9", + "last_transaction_version": 5523474016, + "operator_address": "0x676f640c90cb6c45f21be50974531d440309aa4ddad919ae0429039789a3d8a9" + }, + { + "staking_pool_address": "0x6d00a8a82bd0b6d187f9a328118ad61b5c80237362e8f5dd2454f2d3a1b03890", + "voter_address": "0x6d00a8a82bd0b6d187f9a328118ad61b5c80237362e8f5dd2454f2d3a1b03890", + "last_transaction_version": 5523474016, + "operator_address": "0x6d00a8a82bd0b6d187f9a328118ad61b5c80237362e8f5dd2454f2d3a1b03890" + }, + { + "staking_pool_address": "0x7a2ddb6af66beb0d9987c6c9010cb9053454f067e16775a8ecf19961195c3d28", + "voter_address": "0x7a2ddb6af66beb0d9987c6c9010cb9053454f067e16775a8ecf19961195c3d28", + "last_transaction_version": 5523474016, + "operator_address": "0x31e55012a7d439dcd16fee0509cd5855c1fbdc62057ba7fac3f7c88f5453dd8e" + }, + { + "staking_pool_address": "0x95a0e6b1105ba7ef9382e585d32e9dbf1a73833975af77d9b6924aa33468df07", + "voter_address": "0x95a0e6b1105ba7ef9382e585d32e9dbf1a73833975af77d9b6924aa33468df07", + "last_transaction_version": 5523474016, + "operator_address": "0x95a0e6b1105ba7ef9382e585d32e9dbf1a73833975af77d9b6924aa33468df07" + }, + { + "staking_pool_address": "0xa562415be88d9f08ba98fa3f6af9be0e36580c0f8fff5100a50b519e8f4a15c9", + "voter_address": "0xa562415be88d9f08ba98fa3f6af9be0e36580c0f8fff5100a50b519e8f4a15c9", + "last_transaction_version": 5523474016, + "operator_address": "0xd81ad2b19e5b0afdbfaffa3f51b9a4536a1ec88679440ceb3b1b6002d6ccdc5f" + }, + { + "staking_pool_address": "0xa5ed5d5e8c892165b18c2062596e8d1139fbb2cc451d430f787cd707122ce023", + "voter_address": "0x2e3e8d4ba39fa48001713329e9da796a1512bc481d48afb5f356addfdfcb89a2", + "last_transaction_version": 5523474016, + "operator_address": "0x51dd49506e833b21353eb1eca23b14446b352442861f9bff59001251a0df4274" + }, + { + "staking_pool_address": "0xb59c2db675c086d0c07b0f5d5ebd95ea9ead4429d836284fc4a576c4eed5799c", + "voter_address": "0xb59c2db675c086d0c07b0f5d5ebd95ea9ead4429d836284fc4a576c4eed5799c", + "last_transaction_version": 5523474016, + "operator_address": "0x5e77fedc49e7775868f419b1f5e237bb5efa5673fbba03e77a9dac6a884f1e47" + }, + { + "staking_pool_address": "0xba08cec00a8cfa1deff6c9212dda8d198c8fa6ee1992f3ada76d645f99e3402b", + "voter_address": "0xba08cec00a8cfa1deff6c9212dda8d198c8fa6ee1992f3ada76d645f99e3402b", + "last_transaction_version": 5523474016, + "operator_address": "0x33f846a959accb07941b794dafdc92230f89aec5633185ffbd509502e66b3a05" + }, + { + "staking_pool_address": "0xeecd6e9fb71f3a67db6321e93deecf7a9d7c3f4fac6cd170deb3e8b183281943", + "voter_address": "0xe256f4f4e2986cada739e339895cf5585082ff247464cab8ec56eea726bd2263", + "last_transaction_version": 5523474016, + "operator_address": "0x9f0a211d218b082987408f1e393afe1ba0c202c6d280f081399788d3360c7f09" + }, + { + "staking_pool_address": "0xf0a156ed79ab6ccb5a643af48716263b565fd985ba36560966b4a91bdc8521f4", + "voter_address": "0xf0a156ed79ab6ccb5a643af48716263b565fd985ba36560966b4a91bdc8521f4", + "last_transaction_version": 5523474016, + "operator_address": "0xf0a156ed79ab6ccb5a643af48716263b565fd985ba36560966b4a91bdc8521f4" + }, + { + "staking_pool_address": "0xfd47a2fb988c959839ea2fe4d7169b48536a42bf5e4933790701a08252ba2039", + "voter_address": "0xfd47a2fb988c959839ea2fe4d7169b48536a42bf5e4933790701a08252ba2039", + "last_transaction_version": 5523474016, + "operator_address": "0x89542c8e121e4156b97e0fae8d488b92d0d556063dd336c08053883c8ebd0cc2" + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5523474016/delegated_staking_activities.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5523474016/delegated_staking_activities.json new file mode 100644 index 000000000..3e419c9c0 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5523474016/delegated_staking_activities.json @@ -0,0 +1,154 @@ +[ + { + "transaction_version": 5523474016, + "event_index": 0, + "delegator_address": "", + "pool_address": "0x0a4113560d0b18ba38797f2a899c4b27e0c5b0476be5d8f6be68fba8b1861ed0", + "event_type": "0x1::stake::DistributeRewardsEvent", + "amount": "789371656" + }, + { + "transaction_version": 5523474016, + "event_index": 1, + "delegator_address": "", + "pool_address": "0x286e8af6717ef6b1e361aae8ab28dd6664bf562c2805dd9a53432246ec66566e", + "event_type": "0x1::stake::DistributeRewardsEvent", + "amount": "19174256316" + }, + { + "transaction_version": 5523474016, + "event_index": 2, + "delegator_address": "", + "pool_address": "0x116176e2af223a8b7f8db80dc52f7a423b4d7f8c0553a1747e92ef58849aff4f", + "event_type": "0x1::stake::DistributeRewardsEvent", + "amount": "19178730843" + }, + { + "transaction_version": 5523474016, + "event_index": 3, + "delegator_address": "", + "pool_address": "0xba08cec00a8cfa1deff6c9212dda8d198c8fa6ee1992f3ada76d645f99e3402b", + "event_type": "0x1::stake::DistributeRewardsEvent", + "amount": "818123890" + }, + { + "transaction_version": 5523474016, + "event_index": 4, + "delegator_address": "", + "pool_address": "0x12000330d7cd8a748f46c25e6ce5d236a27e13d0b510d4516ac84ecc5fddd002", + "event_type": "0x1::stake::DistributeRewardsEvent", + "amount": "19178287161" + }, + { + "transaction_version": 5523474016, + "event_index": 5, + "delegator_address": "", + "pool_address": "0x5176f2252762e527e3598c22f1bdb3a1ac0ff0db2d7518cabbc99305330a864a", + "event_type": "0x1::stake::DistributeRewardsEvent", + "amount": "963055869" + }, + { + "transaction_version": 5523474016, + "event_index": 6, + "delegator_address": "", + "pool_address": "0xf0a156ed79ab6ccb5a643af48716263b565fd985ba36560966b4a91bdc8521f4", + "event_type": "0x1::stake::DistributeRewardsEvent", + "amount": "19177688699" + }, + { + "transaction_version": 5523474016, + "event_index": 7, + "delegator_address": "", + "pool_address": "0xa562415be88d9f08ba98fa3f6af9be0e36580c0f8fff5100a50b519e8f4a15c9", + "event_type": "0x1::stake::DistributeRewardsEvent", + "amount": "841058926" + }, + { + "transaction_version": 5523474016, + "event_index": 8, + "delegator_address": "", + "pool_address": "0x676f640c90cb6c45f21be50974531d440309aa4ddad919ae0429039789a3d8a9", + "event_type": "0x1::stake::DistributeRewardsEvent", + "amount": "19178518163" + }, + { + "transaction_version": 5523474016, + "event_index": 9, + "delegator_address": "", + "pool_address": "0x03c04549114877c55f45649aba48ac0a4ff086ab7bdce3b8cc8d3d9947bc0d99", + "event_type": "0x1::stake::DistributeRewardsEvent", + "amount": "19185171265" + }, + { + "transaction_version": 5523474016, + "event_index": 10, + "delegator_address": "", + "pool_address": "0x6d00a8a82bd0b6d187f9a328118ad61b5c80237362e8f5dd2454f2d3a1b03890", + "event_type": "0x1::stake::DistributeRewardsEvent", + "amount": "19174925092" + }, + { + "transaction_version": 5523474016, + "event_index": 11, + "delegator_address": "", + "pool_address": "0x7a2ddb6af66beb0d9987c6c9010cb9053454f067e16775a8ecf19961195c3d28", + "event_type": "0x1::stake::DistributeRewardsEvent", + "amount": "18813123628" + }, + { + "transaction_version": 5523474016, + "event_index": 12, + "delegator_address": "", + "pool_address": "0xeecd6e9fb71f3a67db6321e93deecf7a9d7c3f4fac6cd170deb3e8b183281943", + "event_type": "0x1::stake::DistributeRewardsEvent", + "amount": "828031401" + }, + { + "transaction_version": 5523474016, + "event_index": 13, + "delegator_address": "", + "pool_address": "0xfd47a2fb988c959839ea2fe4d7169b48536a42bf5e4933790701a08252ba2039", + "event_type": "0x1::stake::DistributeRewardsEvent", + "amount": "798768182" + }, + { + "transaction_version": 5523474016, + "event_index": 14, + "delegator_address": "", + "pool_address": "0x479ca442491cfd636f84fa8e56fa420c8038587e459e886d16a0b9d3993b16ba", + "event_type": "0x1::stake::DistributeRewardsEvent", + "amount": "18896078163" + }, + { + "transaction_version": 5523474016, + "event_index": 15, + "delegator_address": "", + "pool_address": "0x95a0e6b1105ba7ef9382e585d32e9dbf1a73833975af77d9b6924aa33468df07", + "event_type": "0x1::stake::DistributeRewardsEvent", + "amount": "18894077814" + }, + { + "transaction_version": 5523474016, + "event_index": 16, + "delegator_address": "", + "pool_address": "0xb59c2db675c086d0c07b0f5d5ebd95ea9ead4429d836284fc4a576c4eed5799c", + "event_type": "0x1::stake::DistributeRewardsEvent", + "amount": "787639333" + }, + { + "transaction_version": 5523474016, + "event_index": 17, + "delegator_address": "", + "pool_address": "0x50e52098d22c91f4c6a0065d03b2602cc2643089b218096e3cfe5f1bd98d80e6", + "event_type": "0x1::stake::DistributeRewardsEvent", + "amount": "789473752" + }, + { + "transaction_version": 5523474016, + "event_index": 18, + "delegator_address": "", + "pool_address": "0xa5ed5d5e8c892165b18c2062596e8d1139fbb2cc451d430f787cd707122ce023", + "event_type": "0x1::stake::DistributeRewardsEvent", + "amount": "787913628" + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5523474016/delegated_staking_pool_balances.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5523474016/delegated_staking_pool_balances.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5523474016/delegated_staking_pool_balances.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5523474016/delegated_staking_pools.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5523474016/delegated_staking_pools.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5523474016/delegated_staking_pools.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5523474016/delegator_balances.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5523474016/delegator_balances.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5523474016/delegator_balances.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5523474016/proposal_votes.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5523474016/proposal_votes.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5523474016/proposal_votes.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5979639459/current_delegated_staking_pool_balances.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5979639459/current_delegated_staking_pool_balances.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5979639459/current_delegated_staking_pool_balances.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5979639459/current_delegated_voter.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5979639459/current_delegated_voter.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5979639459/current_delegated_voter.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5979639459/current_delegator_balances.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5979639459/current_delegator_balances.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5979639459/current_delegator_balances.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5979639459/current_staking_pool_voter.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5979639459/current_staking_pool_voter.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5979639459/current_staking_pool_voter.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5979639459/delegated_staking_activities.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5979639459/delegated_staking_activities.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5979639459/delegated_staking_activities.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5979639459/delegated_staking_pool_balances.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5979639459/delegated_staking_pool_balances.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5979639459/delegated_staking_pool_balances.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5979639459/delegated_staking_pools.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5979639459/delegated_staking_pools.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5979639459/delegated_staking_pools.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5979639459/delegator_balances.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5979639459/delegator_balances.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5979639459/delegator_balances.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5979639459/proposal_votes.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5979639459/proposal_votes.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5979639459/proposal_votes.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5992795934/current_delegated_staking_pool_balances.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5992795934/current_delegated_staking_pool_balances.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5992795934/current_delegated_staking_pool_balances.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5992795934/current_delegated_voter.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5992795934/current_delegated_voter.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5992795934/current_delegated_voter.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5992795934/current_delegator_balances.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5992795934/current_delegator_balances.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5992795934/current_delegator_balances.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5992795934/current_staking_pool_voter.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5992795934/current_staking_pool_voter.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5992795934/current_staking_pool_voter.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5992795934/delegated_staking_activities.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5992795934/delegated_staking_activities.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5992795934/delegated_staking_activities.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5992795934/delegated_staking_pool_balances.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5992795934/delegated_staking_pool_balances.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5992795934/delegated_staking_pool_balances.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5992795934/delegated_staking_pools.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5992795934/delegated_staking_pools.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5992795934/delegated_staking_pools.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5992795934/delegator_balances.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5992795934/delegator_balances.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5992795934/delegator_balances.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5992795934/proposal_votes.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5992795934/proposal_votes.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5992795934/proposal_votes.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/user_transaction_processor/1/signatures.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/user_transaction_processor/1/signatures.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/user_transaction_processor/1/signatures.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/user_transaction_processor/1/user_transactions.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/user_transaction_processor/1/user_transactions.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/user_transaction_processor/1/user_transactions.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/user_transaction_processor/1255836496/signatures.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/user_transaction_processor/1255836496/signatures.json new file mode 100644 index 000000000..ff880c162 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/user_transaction_processor/1255836496/signatures.json @@ -0,0 +1,15 @@ +[ + { + "transaction_version": 1255836496, + "multi_agent_index": 0, + "multi_sig_index": 0, + "transaction_block_height": 295534162, + "signer": "0xf21d4c76354db6492841e31fefeaa5a3e8a1071d2bcbbdd1cf1cbc6fa3954b88", + "is_sender_primary": true, + "type_": "ed25519_signature", + "public_key": "0x9a15451d11987fff0568d05a9e01e2253ce2f8cd061b3a49004c154da5177199", + "signature": "0x9a8396917e732cb9a76a1402afe9ad4bd13b87773f4c2b5650d9ef4b5945e59ccf42a18b84c97c3b4c888db6b6249c9190c1ca1d7a12ffdc99cf460f6b04b800", + "threshold": 1, + "public_key_indices": [] + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/user_transaction_processor/1255836496/user_transactions.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/user_transaction_processor/1255836496/user_transactions.json new file mode 100644 index 000000000..332869b72 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/user_transaction_processor/1255836496/user_transactions.json @@ -0,0 +1,15 @@ +[ + { + "version": 1255836496, + "block_height": 295534162, + "parent_signature_type": "ed25519_signature", + "sender": "0xf21d4c76354db6492841e31fefeaa5a3e8a1071d2bcbbdd1cf1cbc6fa3954b88", + "sequence_number": 1, + "max_gas_amount": "200000", + "expiration_timestamp_secs": "2024-06-18T05:08:15", + "gas_unit_price": "100", + "timestamp": "2024-06-18T05:07:55.797142", + "entry_function_id_str": "0xfabb471223cefd7064b1f19f6e0e06468d2bd830d8ae832916406dd8297098af::meso::deposit_coin", + "epoch": 15650 + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/user_transaction_processor/2/signatures.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/user_transaction_processor/2/signatures.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/user_transaction_processor/2/signatures.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/user_transaction_processor/2/user_transactions.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/user_transaction_processor/2/user_transactions.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/user_transaction_processor/2/user_transactions.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/user_transaction_processor/278556781/signatures.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/user_transaction_processor/278556781/signatures.json new file mode 100644 index 000000000..e27dcca2e --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/user_transaction_processor/278556781/signatures.json @@ -0,0 +1,15 @@ +[ + { + "transaction_version": 278556781, + "multi_agent_index": 0, + "multi_sig_index": 0, + "transaction_block_height": 20040326, + "signer": "0x589dabf3b43ef5c331ea3c0f9b6b005860c1f0ef94a5948d133e051b20c22862", + "is_sender_primary": true, + "type_": "ed25519_signature", + "public_key": "0xbc6910373c3c3c4e9add4b5df3d80aceb2487e5ee0d12d2390b486055110595b", + "signature": "0x3a08b64797669f5dbedd5f27ee2cc8eca411c7afbc86835fdd9e47316ac856466feac89f2f7020aedb65ee266b56595bc89a1207e2a636ef4743023074ae6203", + "threshold": 1, + "public_key_indices": [] + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/user_transaction_processor/278556781/user_transactions.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/user_transaction_processor/278556781/user_transactions.json new file mode 100644 index 000000000..4e2ac930c --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/user_transaction_processor/278556781/user_transactions.json @@ -0,0 +1,15 @@ +[ + { + "version": 278556781, + "block_height": 20040326, + "parent_signature_type": "ed25519_signature", + "sender": "0x589dabf3b43ef5c331ea3c0f9b6b005860c1f0ef94a5948d133e051b20c22862", + "sequence_number": 12, + "max_gas_amount": "20000", + "expiration_timestamp_secs": "2022-10-13T01:47:04", + "gas_unit_price": "1000", + "timestamp": "2022-10-13T01:46:57.418916", + "entry_function_id_str": "0x1::code::publish_package_txn", + "epoch": 746 + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/user_transaction_processor/3/signatures.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/user_transaction_processor/3/signatures.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/user_transaction_processor/3/signatures.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/user_transaction_processor/3/user_transactions.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/user_transaction_processor/3/user_transactions.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/user_transaction_processor/3/user_transactions.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/user_transaction_processor/5523474016/signatures.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/user_transaction_processor/5523474016/signatures.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/user_transaction_processor/5523474016/signatures.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/user_transaction_processor/5523474016/user_transactions.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/user_transaction_processor/5523474016/user_transactions.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/user_transaction_processor/5523474016/user_transactions.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/user_transaction_processor/5979639459/signatures.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/user_transaction_processor/5979639459/signatures.json new file mode 100644 index 000000000..39f3860bb --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/user_transaction_processor/5979639459/signatures.json @@ -0,0 +1,15 @@ +[ + { + "transaction_version": 5979639459, + "multi_agent_index": 0, + "multi_sig_index": 0, + "transaction_block_height": 354619634, + "signer": "0x54ce130990ecf55cd12de74bff03dcfaacf63066e0945d3c415d61644303da39", + "is_sender_primary": true, + "type_": "ed25519_signature", + "public_key": "0xa7f1da28a95b701c81043eb1ed9f8789dac83e53598aec24051d0b3be9c38a6f", + "signature": "0x9aa7226049fea85677387bf2d09dd3f4ed5fd3964645b782b4f166fdb6fa29c2210f905f30262ab22cba4e3d36df5f6e6ad507baacf1b4bfff52cbe5d9e4f103", + "threshold": 1, + "public_key_indices": [] + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/user_transaction_processor/5979639459/user_transactions.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/user_transaction_processor/5979639459/user_transactions.json new file mode 100644 index 000000000..e0d1fb477 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/user_transaction_processor/5979639459/user_transactions.json @@ -0,0 +1,15 @@ +[ + { + "version": 5979639459, + "block_height": 354619634, + "parent_signature_type": "ed25519_signature", + "sender": "0x54ce130990ecf55cd12de74bff03dcfaacf63066e0945d3c415d61644303da39", + "sequence_number": 43160, + "max_gas_amount": "100000", + "expiration_timestamp_secs": "2024-09-13T16:58:29", + "gas_unit_price": "100", + "timestamp": "2024-09-13T16:48:29.922761", + "entry_function_id_str": "0x1::aptos_account::transfer", + "epoch": 17778 + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/user_transaction_processor/5992795934/signatures.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/user_transaction_processor/5992795934/signatures.json new file mode 100644 index 000000000..e518ed9c2 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/user_transaction_processor/5992795934/signatures.json @@ -0,0 +1,15 @@ +[ + { + "transaction_version": 5992795934, + "multi_agent_index": 0, + "multi_sig_index": 0, + "transaction_block_height": 356437526, + "signer": "0xd34ea8c6faa9d25a9f07504759c1d92bd5ad05af89062d57cf69dd4861fe3e3c", + "is_sender_primary": true, + "type_": "ed25519_signature", + "public_key": "0x0ae0e5ef11f6ee66615c595844d52b7181e6dc3a6444283775c9c2488d735ea0", + "signature": "0xfecde0bfbb7f8b7c6d0954d0e0e96a171dc11f7ac14c6d1980cf01f0eea51177e77cc4a5dc4b17e50fc3098d8c202942736323ed5805ad5cba2e13dfccb2150c", + "threshold": 1, + "public_key_indices": [] + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/user_transaction_processor/5992795934/user_transactions.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/user_transaction_processor/5992795934/user_transactions.json new file mode 100644 index 000000000..865d3aad4 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/user_transaction_processor/5992795934/user_transactions.json @@ -0,0 +1,15 @@ +[ + { + "version": 5992795934, + "block_height": 356437526, + "parent_signature_type": "ed25519_signature", + "sender": "0xd34ea8c6faa9d25a9f07504759c1d92bd5ad05af89062d57cf69dd4861fe3e3c", + "sequence_number": 101075, + "max_gas_amount": "100000", + "expiration_timestamp_secs": "2024-09-16T07:08:10", + "gas_unit_price": "100", + "timestamp": "2024-09-16T06:58:10.915894", + "entry_function_id_str": "0x7120b5552460116c3734ec3fed721e376bf9afc10c1bba13c678d74cd4608f12::TeviStar::force_transfer", + "epoch": 17841 + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/ans_processor/21/ans_lookup_v2.json b/rust/integration-tests/expected_db_output_files/scripted_txns/ans_processor/21/ans_lookup_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/ans_processor/21/ans_lookup_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/ans_processor/21/ans_primary_name_v2.json b/rust/integration-tests/expected_db_output_files/scripted_txns/ans_processor/21/ans_primary_name_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/ans_processor/21/ans_primary_name_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/ans_processor/21/current_ans_lookup_v2.json b/rust/integration-tests/expected_db_output_files/scripted_txns/ans_processor/21/current_ans_lookup_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/ans_processor/21/current_ans_lookup_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/ans_processor/21/current_ans_primary_name_v2.json b/rust/integration-tests/expected_db_output_files/scripted_txns/ans_processor/21/current_ans_primary_name_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/ans_processor/21/current_ans_primary_name_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/ans_processor/41/ans_lookup_v2.json b/rust/integration-tests/expected_db_output_files/scripted_txns/ans_processor/41/ans_lookup_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/ans_processor/41/ans_lookup_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/ans_processor/41/ans_primary_name_v2.json b/rust/integration-tests/expected_db_output_files/scripted_txns/ans_processor/41/ans_primary_name_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/ans_processor/41/ans_primary_name_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/ans_processor/41/current_ans_lookup_v2.json b/rust/integration-tests/expected_db_output_files/scripted_txns/ans_processor/41/current_ans_lookup_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/ans_processor/41/current_ans_lookup_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/ans_processor/41/current_ans_primary_name_v2.json b/rust/integration-tests/expected_db_output_files/scripted_txns/ans_processor/41/current_ans_primary_name_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/ans_processor/41/current_ans_primary_name_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/ans_processor/63/ans_lookup_v2.json b/rust/integration-tests/expected_db_output_files/scripted_txns/ans_processor/63/ans_lookup_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/ans_processor/63/ans_lookup_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/ans_processor/63/ans_primary_name_v2.json b/rust/integration-tests/expected_db_output_files/scripted_txns/ans_processor/63/ans_primary_name_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/ans_processor/63/ans_primary_name_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/ans_processor/63/current_ans_lookup_v2.json b/rust/integration-tests/expected_db_output_files/scripted_txns/ans_processor/63/current_ans_lookup_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/ans_processor/63/current_ans_lookup_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/ans_processor/63/current_ans_primary_name_v2.json b/rust/integration-tests/expected_db_output_files/scripted_txns/ans_processor/63/current_ans_primary_name_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/ans_processor/63/current_ans_primary_name_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/ans_processor/83/ans_lookup_v2.json b/rust/integration-tests/expected_db_output_files/scripted_txns/ans_processor/83/ans_lookup_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/ans_processor/83/ans_lookup_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/ans_processor/83/ans_primary_name_v2.json b/rust/integration-tests/expected_db_output_files/scripted_txns/ans_processor/83/ans_primary_name_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/ans_processor/83/ans_primary_name_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/ans_processor/83/current_ans_lookup_v2.json b/rust/integration-tests/expected_db_output_files/scripted_txns/ans_processor/83/current_ans_lookup_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/ans_processor/83/current_ans_lookup_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/ans_processor/83/current_ans_primary_name_v2.json b/rust/integration-tests/expected_db_output_files/scripted_txns/ans_processor/83/current_ans_primary_name_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/ans_processor/83/current_ans_primary_name_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/default_processor/21/block_metadata_transactions.json b/rust/integration-tests/expected_db_output_files/scripted_txns/default_processor/21/block_metadata_transactions.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/default_processor/21/block_metadata_transactions.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/default_processor/21/current_table_items.json b/rust/integration-tests/expected_db_output_files/scripted_txns/default_processor/21/current_table_items.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/default_processor/21/current_table_items.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/default_processor/21/table_items.json b/rust/integration-tests/expected_db_output_files/scripted_txns/default_processor/21/table_items.json new file mode 100644 index 000000000..0d8400a50 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/default_processor/21/table_items.json @@ -0,0 +1,12 @@ +[ + { + "transaction_version": 21, + "write_set_change_index": 2, + "transaction_block_height": 10, + "key": "0x0619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", + "table_handle": "0x1b854694ae746cdbd8d44186ca4929b2b337df21d1c74633be19b2710552fdca", + "decoded_key": "0x619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", + "decoded_value": "18446744073709451425", + "is_deleted": false + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/default_processor/21/table_metadatas.json b/rust/integration-tests/expected_db_output_files/scripted_txns/default_processor/21/table_metadatas.json new file mode 100644 index 000000000..7e2e1fab8 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/default_processor/21/table_metadatas.json @@ -0,0 +1,7 @@ +[ + { + "handle": "0x1b854694ae746cdbd8d44186ca4929b2b337df21d1c74633be19b2710552fdca", + "key_type": "address", + "value_type": "u128" + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/default_processor/41/block_metadata_transactions.json b/rust/integration-tests/expected_db_output_files/scripted_txns/default_processor/41/block_metadata_transactions.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/default_processor/41/block_metadata_transactions.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/default_processor/41/current_table_items.json b/rust/integration-tests/expected_db_output_files/scripted_txns/default_processor/41/current_table_items.json new file mode 100644 index 000000000..ee6cbd657 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/default_processor/41/current_table_items.json @@ -0,0 +1,11 @@ +[ + { + "table_handle": "0x1b854694ae746cdbd8d44186ca4929b2b337df21d1c74633be19b2710552fdca", + "key_hash": "61ff6dde49d23af0395c534ca7bee92391910cd0ac4e4ba3d35a2619e49a1775", + "key": "0x0619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", + "decoded_key": "0x619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", + "decoded_value": "18446744073709351225", + "is_deleted": false, + "last_transaction_version": 41 + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/default_processor/41/table_items.json b/rust/integration-tests/expected_db_output_files/scripted_txns/default_processor/41/table_items.json new file mode 100644 index 000000000..0f8cbe802 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/default_processor/41/table_items.json @@ -0,0 +1,12 @@ +[ + { + "transaction_version": 41, + "write_set_change_index": 2, + "transaction_block_height": 19, + "key": "0x0619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", + "table_handle": "0x1b854694ae746cdbd8d44186ca4929b2b337df21d1c74633be19b2710552fdca", + "decoded_key": "0x619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", + "decoded_value": "18446744073709351225", + "is_deleted": false + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/default_processor/41/table_metadatas.json b/rust/integration-tests/expected_db_output_files/scripted_txns/default_processor/41/table_metadatas.json new file mode 100644 index 000000000..7e2e1fab8 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/default_processor/41/table_metadatas.json @@ -0,0 +1,7 @@ +[ + { + "handle": "0x1b854694ae746cdbd8d44186ca4929b2b337df21d1c74633be19b2710552fdca", + "key_type": "address", + "value_type": "u128" + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/default_processor/63/block_metadata_transactions.json b/rust/integration-tests/expected_db_output_files/scripted_txns/default_processor/63/block_metadata_transactions.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/default_processor/63/block_metadata_transactions.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/default_processor/63/current_table_items.json b/rust/integration-tests/expected_db_output_files/scripted_txns/default_processor/63/current_table_items.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/default_processor/63/current_table_items.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/default_processor/63/table_items.json b/rust/integration-tests/expected_db_output_files/scripted_txns/default_processor/63/table_items.json new file mode 100644 index 000000000..0186a49f8 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/default_processor/63/table_items.json @@ -0,0 +1,12 @@ +[ + { + "transaction_version": 63, + "write_set_change_index": 2, + "transaction_block_height": 29, + "key": "0x0619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", + "table_handle": "0x1b854694ae746cdbd8d44186ca4929b2b337df21d1c74633be19b2710552fdca", + "decoded_key": "0x619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", + "decoded_value": "18446744073809350825", + "is_deleted": false + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/default_processor/63/table_metadatas.json b/rust/integration-tests/expected_db_output_files/scripted_txns/default_processor/63/table_metadatas.json new file mode 100644 index 000000000..7e2e1fab8 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/default_processor/63/table_metadatas.json @@ -0,0 +1,7 @@ +[ + { + "handle": "0x1b854694ae746cdbd8d44186ca4929b2b337df21d1c74633be19b2710552fdca", + "key_type": "address", + "value_type": "u128" + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/default_processor/83/block_metadata_transactions.json b/rust/integration-tests/expected_db_output_files/scripted_txns/default_processor/83/block_metadata_transactions.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/default_processor/83/block_metadata_transactions.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/default_processor/83/current_table_items.json b/rust/integration-tests/expected_db_output_files/scripted_txns/default_processor/83/current_table_items.json new file mode 100644 index 000000000..78c09381e --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/default_processor/83/current_table_items.json @@ -0,0 +1,11 @@ +[ + { + "table_handle": "0x1b854694ae746cdbd8d44186ca4929b2b337df21d1c74633be19b2710552fdca", + "key_hash": "61ff6dde49d23af0395c534ca7bee92391910cd0ac4e4ba3d35a2619e49a1775", + "key": "0x0619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", + "decoded_key": "0x619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", + "decoded_value": "18446744073909449225", + "is_deleted": false, + "last_transaction_version": 83 + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/default_processor/83/table_items.json b/rust/integration-tests/expected_db_output_files/scripted_txns/default_processor/83/table_items.json new file mode 100644 index 000000000..7e74c210d --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/default_processor/83/table_items.json @@ -0,0 +1,12 @@ +[ + { + "transaction_version": 83, + "write_set_change_index": 2, + "transaction_block_height": 38, + "key": "0x0619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", + "table_handle": "0x1b854694ae746cdbd8d44186ca4929b2b337df21d1c74633be19b2710552fdca", + "decoded_key": "0x619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", + "decoded_value": "18446744073909449225", + "is_deleted": false + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/default_processor/83/table_metadatas.json b/rust/integration-tests/expected_db_output_files/scripted_txns/default_processor/83/table_metadatas.json new file mode 100644 index 000000000..7e2e1fab8 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/default_processor/83/table_metadatas.json @@ -0,0 +1,7 @@ +[ + { + "handle": "0x1b854694ae746cdbd8d44186ca4929b2b337df21d1c74633be19b2710552fdca", + "key_type": "address", + "value_type": "u128" + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/objects_processor/21/block_metadata_transactions.json b/rust/integration-tests/expected_db_output_files/scripted_txns/objects_processor/21/block_metadata_transactions.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/objects_processor/21/block_metadata_transactions.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/objects_processor/21/current_objects.json b/rust/integration-tests/expected_db_output_files/scripted_txns/objects_processor/21/current_objects.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/objects_processor/21/current_objects.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/objects_processor/21/current_table_items.json b/rust/integration-tests/expected_db_output_files/scripted_txns/objects_processor/21/current_table_items.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/objects_processor/21/current_table_items.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/objects_processor/21/objects.json b/rust/integration-tests/expected_db_output_files/scripted_txns/objects_processor/21/objects.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/objects_processor/21/objects.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/objects_processor/21/table_items.json b/rust/integration-tests/expected_db_output_files/scripted_txns/objects_processor/21/table_items.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/objects_processor/21/table_items.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/objects_processor/41/block_metadata_transactions.json b/rust/integration-tests/expected_db_output_files/scripted_txns/objects_processor/41/block_metadata_transactions.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/objects_processor/41/block_metadata_transactions.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/objects_processor/41/current_objects.json b/rust/integration-tests/expected_db_output_files/scripted_txns/objects_processor/41/current_objects.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/objects_processor/41/current_objects.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/objects_processor/41/current_table_items.json b/rust/integration-tests/expected_db_output_files/scripted_txns/objects_processor/41/current_table_items.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/objects_processor/41/current_table_items.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/objects_processor/41/objects.json b/rust/integration-tests/expected_db_output_files/scripted_txns/objects_processor/41/objects.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/objects_processor/41/objects.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/objects_processor/41/table_items.json b/rust/integration-tests/expected_db_output_files/scripted_txns/objects_processor/41/table_items.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/objects_processor/41/table_items.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/objects_processor/63/block_metadata_transactions.json b/rust/integration-tests/expected_db_output_files/scripted_txns/objects_processor/63/block_metadata_transactions.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/objects_processor/63/block_metadata_transactions.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/objects_processor/63/current_objects.json b/rust/integration-tests/expected_db_output_files/scripted_txns/objects_processor/63/current_objects.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/objects_processor/63/current_objects.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/objects_processor/63/current_table_items.json b/rust/integration-tests/expected_db_output_files/scripted_txns/objects_processor/63/current_table_items.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/objects_processor/63/current_table_items.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/objects_processor/63/objects.json b/rust/integration-tests/expected_db_output_files/scripted_txns/objects_processor/63/objects.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/objects_processor/63/objects.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/objects_processor/63/table_items.json b/rust/integration-tests/expected_db_output_files/scripted_txns/objects_processor/63/table_items.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/objects_processor/63/table_items.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/objects_processor/83/block_metadata_transactions.json b/rust/integration-tests/expected_db_output_files/scripted_txns/objects_processor/83/block_metadata_transactions.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/objects_processor/83/block_metadata_transactions.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/objects_processor/83/current_objects.json b/rust/integration-tests/expected_db_output_files/scripted_txns/objects_processor/83/current_objects.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/objects_processor/83/current_objects.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/objects_processor/83/current_table_items.json b/rust/integration-tests/expected_db_output_files/scripted_txns/objects_processor/83/current_table_items.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/objects_processor/83/current_table_items.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/objects_processor/83/objects.json b/rust/integration-tests/expected_db_output_files/scripted_txns/objects_processor/83/objects.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/objects_processor/83/objects.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/objects_processor/83/table_items.json b/rust/integration-tests/expected_db_output_files/scripted_txns/objects_processor/83/table_items.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/objects_processor/83/table_items.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/21/current_delegated_staking_pool_balances.json b/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/21/current_delegated_staking_pool_balances.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/21/current_delegated_staking_pool_balances.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/21/current_delegated_voter.json b/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/21/current_delegated_voter.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/21/current_delegated_voter.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/21/current_delegator_balances.json b/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/21/current_delegator_balances.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/21/current_delegator_balances.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/21/current_staking_pool_voter.json b/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/21/current_staking_pool_voter.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/21/current_staking_pool_voter.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/21/delegated_staking_activities.json b/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/21/delegated_staking_activities.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/21/delegated_staking_activities.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/21/delegated_staking_pool_balances.json b/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/21/delegated_staking_pool_balances.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/21/delegated_staking_pool_balances.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/21/delegated_staking_pools.json b/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/21/delegated_staking_pools.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/21/delegated_staking_pools.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/21/delegator_balances.json b/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/21/delegator_balances.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/21/delegator_balances.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/21/proposal_votes.json b/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/21/proposal_votes.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/21/proposal_votes.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/41/current_delegated_staking_pool_balances.json b/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/41/current_delegated_staking_pool_balances.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/41/current_delegated_staking_pool_balances.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/41/current_delegated_voter.json b/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/41/current_delegated_voter.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/41/current_delegated_voter.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/41/current_delegator_balances.json b/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/41/current_delegator_balances.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/41/current_delegator_balances.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/41/current_staking_pool_voter.json b/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/41/current_staking_pool_voter.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/41/current_staking_pool_voter.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/41/delegated_staking_activities.json b/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/41/delegated_staking_activities.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/41/delegated_staking_activities.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/41/delegated_staking_pool_balances.json b/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/41/delegated_staking_pool_balances.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/41/delegated_staking_pool_balances.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/41/delegated_staking_pools.json b/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/41/delegated_staking_pools.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/41/delegated_staking_pools.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/41/delegator_balances.json b/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/41/delegator_balances.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/41/delegator_balances.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/41/proposal_votes.json b/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/41/proposal_votes.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/41/proposal_votes.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/63/current_delegated_staking_pool_balances.json b/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/63/current_delegated_staking_pool_balances.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/63/current_delegated_staking_pool_balances.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/63/current_delegated_voter.json b/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/63/current_delegated_voter.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/63/current_delegated_voter.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/63/current_delegator_balances.json b/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/63/current_delegator_balances.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/63/current_delegator_balances.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/63/current_staking_pool_voter.json b/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/63/current_staking_pool_voter.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/63/current_staking_pool_voter.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/63/delegated_staking_activities.json b/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/63/delegated_staking_activities.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/63/delegated_staking_activities.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/63/delegated_staking_pool_balances.json b/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/63/delegated_staking_pool_balances.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/63/delegated_staking_pool_balances.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/63/delegated_staking_pools.json b/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/63/delegated_staking_pools.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/63/delegated_staking_pools.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/63/delegator_balances.json b/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/63/delegator_balances.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/63/delegator_balances.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/63/proposal_votes.json b/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/63/proposal_votes.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/63/proposal_votes.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/83/current_delegated_staking_pool_balances.json b/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/83/current_delegated_staking_pool_balances.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/83/current_delegated_staking_pool_balances.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/83/current_delegated_voter.json b/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/83/current_delegated_voter.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/83/current_delegated_voter.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/83/current_delegator_balances.json b/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/83/current_delegator_balances.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/83/current_delegator_balances.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/83/current_staking_pool_voter.json b/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/83/current_staking_pool_voter.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/83/current_staking_pool_voter.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/83/delegated_staking_activities.json b/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/83/delegated_staking_activities.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/83/delegated_staking_activities.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/83/delegated_staking_pool_balances.json b/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/83/delegated_staking_pool_balances.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/83/delegated_staking_pool_balances.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/83/delegated_staking_pools.json b/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/83/delegated_staking_pools.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/83/delegated_staking_pools.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/83/delegator_balances.json b/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/83/delegator_balances.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/83/delegator_balances.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/83/proposal_votes.json b/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/83/proposal_votes.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/83/proposal_votes.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/user_transaction_processor/21/signatures.json b/rust/integration-tests/expected_db_output_files/scripted_txns/user_transaction_processor/21/signatures.json new file mode 100644 index 000000000..b3bc9540e --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/user_transaction_processor/21/signatures.json @@ -0,0 +1,15 @@ +[ + { + "transaction_version": 21, + "multi_agent_index": 0, + "multi_sig_index": 0, + "transaction_block_height": 10, + "signer": "0x765d8c8d4d5859f43a56e2756fbf5f3d2483dbaa14f3fb62872df820d6e64eff", + "is_sender_primary": true, + "type_": "ed25519_signature", + "public_key": "0xb298975d27dbff3020e5ee7fdbbad8a969d4f2a2d5286e097d1db9760d04dd31", + "signature": "0x8d2e422de6f1400d60fd121da20984f66011b085291f24b2f2ef2ee821a69098178be193a5d8ff28f8797bd84a17046f019b4e5cd8fc53e6ff4cf9109fa65a08", + "threshold": 1, + "public_key_indices": [] + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/user_transaction_processor/21/user_transactions.json b/rust/integration-tests/expected_db_output_files/scripted_txns/user_transaction_processor/21/user_transactions.json new file mode 100644 index 000000000..0cb1bcfdb --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/user_transaction_processor/21/user_transactions.json @@ -0,0 +1,15 @@ +[ + { + "version": 21, + "block_height": 10, + "parent_signature_type": "ed25519_signature", + "sender": "0x765d8c8d4d5859f43a56e2756fbf5f3d2483dbaa14f3fb62872df820d6e64eff", + "sequence_number": 0, + "max_gas_amount": "4", + "expiration_timestamp_secs": "2024-10-16T05:37:08", + "gas_unit_price": "100", + "timestamp": "2024-10-16T05:36:37.921390", + "entry_function_id_str": "", + "epoch": 2 + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/user_transaction_processor/41/signatures.json b/rust/integration-tests/expected_db_output_files/scripted_txns/user_transaction_processor/41/signatures.json new file mode 100644 index 000000000..1996ed05a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/user_transaction_processor/41/signatures.json @@ -0,0 +1,15 @@ +[ + { + "transaction_version": 41, + "multi_agent_index": 0, + "multi_sig_index": 0, + "transaction_block_height": 19, + "signer": "0x8f0de18409d6fca18c72fac4062fc0f9baa6404296fed93a3ad0250fb671f8b3", + "is_sender_primary": true, + "type_": "ed25519_signature", + "public_key": "0xef05bede15f422e16c0002e3cee8b4d4341518d99c4695352a1869b0779864fb", + "signature": "0x08afcaec805bff6614c86bd2bdc3b267140b0f8c2e6ab2522b165bd530dc4c4d6532d90bf4c5a21c9e6082286d347a58079ce0330010e7c455c66876395a0209", + "threshold": 1, + "public_key_indices": [] + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/user_transaction_processor/41/user_transactions.json b/rust/integration-tests/expected_db_output_files/scripted_txns/user_transaction_processor/41/user_transactions.json new file mode 100644 index 000000000..0f984868c --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/user_transaction_processor/41/user_transactions.json @@ -0,0 +1,15 @@ +[ + { + "version": 41, + "block_height": 19, + "parent_signature_type": "ed25519_signature", + "sender": "0x8f0de18409d6fca18c72fac4062fc0f9baa6404296fed93a3ad0250fb671f8b3", + "sequence_number": 0, + "max_gas_amount": "4", + "expiration_timestamp_secs": "2024-10-16T05:37:14", + "gas_unit_price": "100", + "timestamp": "2024-10-16T05:36:43.776219", + "entry_function_id_str": "", + "epoch": 2 + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/user_transaction_processor/63/signatures.json b/rust/integration-tests/expected_db_output_files/scripted_txns/user_transaction_processor/63/signatures.json new file mode 100644 index 000000000..d2e1144b6 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/user_transaction_processor/63/signatures.json @@ -0,0 +1,15 @@ +[ + { + "transaction_version": 63, + "multi_agent_index": 0, + "multi_sig_index": 0, + "transaction_block_height": 29, + "signer": "0xa531b7fdd7917f73ca216d89a8d9ce0cf7e7cfb9086ca6f6cbf9521532748d16", + "is_sender_primary": true, + "type_": "ed25519_signature", + "public_key": "0x39b4acc85e026dc056464a5ea00b98f858260eaad2b74dd30b86ae0d4d94ddf5", + "signature": "0xbd482174f9e9dc62a13b149337e685510cee1eed2c92cc6abfb067029e4f2fedd4d0c636e66963ed0b7e72cd1631a4edb728616a99232d507124a5bd5ca01308", + "threshold": 1, + "public_key_indices": [] + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/user_transaction_processor/63/user_transactions.json b/rust/integration-tests/expected_db_output_files/scripted_txns/user_transaction_processor/63/user_transactions.json new file mode 100644 index 000000000..2dee45251 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/user_transaction_processor/63/user_transactions.json @@ -0,0 +1,15 @@ +[ + { + "version": 63, + "block_height": 29, + "parent_signature_type": "ed25519_signature", + "sender": "0xa531b7fdd7917f73ca216d89a8d9ce0cf7e7cfb9086ca6f6cbf9521532748d16", + "sequence_number": 0, + "max_gas_amount": "4", + "expiration_timestamp_secs": "2024-10-16T05:37:21", + "gas_unit_price": "100", + "timestamp": "2024-10-16T05:36:50.677349", + "entry_function_id_str": "", + "epoch": 2 + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/user_transaction_processor/83/signatures.json b/rust/integration-tests/expected_db_output_files/scripted_txns/user_transaction_processor/83/signatures.json new file mode 100644 index 000000000..dfcec712d --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/user_transaction_processor/83/signatures.json @@ -0,0 +1,15 @@ +[ + { + "transaction_version": 83, + "multi_agent_index": 0, + "multi_sig_index": 0, + "transaction_block_height": 38, + "signer": "0xa531b7fdd7917f73ca216d89a8d9ce0cf7e7cfb9086ca6f6cbf9521532748d16", + "is_sender_primary": true, + "type_": "ed25519_signature", + "public_key": "0x39b4acc85e026dc056464a5ea00b98f858260eaad2b74dd30b86ae0d4d94ddf5", + "signature": "0xc7d0463e8585ad17349758ff2c864da9f4d3d62e99eecd8a9e874b67f8519f54f702671c66f1619a0b89655f4cb51fa2c6f14a9953d68903a240521e5f0a8908", + "threshold": 1, + "public_key_indices": [] + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/user_transaction_processor/83/user_transactions.json b/rust/integration-tests/expected_db_output_files/scripted_txns/user_transaction_processor/83/user_transactions.json new file mode 100644 index 000000000..5f0846a1f --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/user_transaction_processor/83/user_transactions.json @@ -0,0 +1,15 @@ +[ + { + "version": 83, + "block_height": 38, + "parent_signature_type": "ed25519_signature", + "sender": "0xa531b7fdd7917f73ca216d89a8d9ce0cf7e7cfb9086ca6f6cbf9521532748d16", + "sequence_number": 1, + "max_gas_amount": "4", + "expiration_timestamp_secs": "2024-10-16T05:37:27", + "gas_unit_price": "100", + "timestamp": "2024-10-16T05:36:56.810113", + "entry_function_id_str": "", + "epoch": 2 + } +] \ No newline at end of file diff --git a/rust/integration-tests/src/diff_test_helper/ans_processor.rs b/rust/integration-tests/src/diff_test_helper/ans_processor.rs new file mode 100644 index 000000000..ce599c910 --- /dev/null +++ b/rust/integration-tests/src/diff_test_helper/ans_processor.rs @@ -0,0 +1,53 @@ +use crate::models::ans_models::{ + AnsLookupV2, AnsPrimaryNameV2, CurrentAnsLookupV2, CurrentAnsPrimaryNameV2, +}; +use anyhow::Result; +use diesel::{pg::PgConnection, query_dsl::methods::FilterDsl, ExpressionMethods, RunQueryDsl}; +use processor::schema::{ + ans_lookup_v2::dsl as al_v2_dsl, ans_primary_name_v2::dsl as apn_v2_dsl, + current_ans_lookup_v2::dsl as cal_v2_dsl, current_ans_primary_name_v2::dsl as capn_v2_dsl, +}; +use serde_json::Value; +use std::collections::HashMap; + +#[allow(dead_code)] +pub fn load_data( + conn: &mut PgConnection, + txn_versions: Vec, +) -> Result> { + let mut result_map: HashMap = HashMap::new(); + + let cal_v2_result = cal_v2_dsl::current_ans_lookup_v2 + .filter(cal_v2_dsl::last_transaction_version.eq_any(&txn_versions)) + .load::(conn)?; + result_map.insert( + "current_ans_lookup_v2".to_string(), + serde_json::to_value(&cal_v2_result)?, + ); + + let al_v2_result = al_v2_dsl::ans_lookup_v2 + .filter(al_v2_dsl::transaction_version.eq_any(&txn_versions)) + .load::(conn)?; + result_map.insert( + "ans_lookup_v2".to_string(), + serde_json::to_value(&al_v2_result)?, + ); + + let capn_v2_result = capn_v2_dsl::current_ans_primary_name_v2 + .filter(capn_v2_dsl::last_transaction_version.eq_any(&txn_versions)) + .load::(conn)?; + result_map.insert( + "current_ans_primary_name_v2".to_string(), + serde_json::to_value(&capn_v2_result)?, + ); + + let apn_v2_result = apn_v2_dsl::ans_primary_name_v2 + .filter(apn_v2_dsl::transaction_version.eq_any(&txn_versions)) + .load::(conn)?; + result_map.insert( + "ans_primary_name_v2".to_string(), + serde_json::to_value(&apn_v2_result)?, + ); + + Ok(result_map) +} diff --git a/rust/integration-tests/src/diff_test_helper/default_processor.rs b/rust/integration-tests/src/diff_test_helper/default_processor.rs new file mode 100644 index 000000000..e00625089 --- /dev/null +++ b/rust/integration-tests/src/diff_test_helper/default_processor.rs @@ -0,0 +1,55 @@ +use crate::models::default_models::{BlockMetadataTransaction, CurrentTableItem, TableItem}; +use anyhow::Result; +use diesel::{ + pg::PgConnection, + query_dsl::methods::{FilterDsl, ThenOrderDsl}, + ExpressionMethods, RunQueryDsl, +}; +use processor::schema::{ + block_metadata_transactions::dsl as bmt_dsl, current_table_items::dsl as cti_dsl, + table_items::dsl as ti_dsl, +}; +use serde_json::Value; +use std::collections::HashMap; + +#[allow(dead_code)] +pub fn load_data( + conn: &mut PgConnection, + txn_versions: Vec, +) -> Result> { + let mut result_map: HashMap = HashMap::new(); + + let bmt_result = bmt_dsl::block_metadata_transactions + .filter(bmt_dsl::version.eq_any(&txn_versions)) + .then_order_by(bmt_dsl::version.asc()) + .load::(conn)?; + result_map.insert( + "block_metadata_transactions".to_string(), + serde_json::to_value(&bmt_result)?, + ); + + let ti_result = ti_dsl::table_items + .filter(ti_dsl::transaction_version.eq_any(&txn_versions)) + .then_order_by(ti_dsl::transaction_version.asc()) + .load::(conn)?; + result_map.insert("table_items".to_string(), serde_json::to_value(&ti_result)?); + + let cti_result = cti_dsl::current_table_items + .filter(cti_dsl::last_transaction_version.eq_any(&txn_versions)) + .then_order_by(cti_dsl::last_transaction_version.asc()) + .load::(conn)?; + result_map.insert( + "current_table_items".to_string(), + serde_json::to_value(&cti_result)?, + ); + + // TODO: revisit we need to find out a way to find correct table metadata + // let tm_result = tm_dsl::table_metadatas + // .load::(conn)?; + // result_map.insert( + // "table_metadatas".to_string(), + // serde_json::to_value(&tm_result)?, + // ); + + Ok(result_map) +} diff --git a/rust/integration-tests/src/diff_test_helper/event_processor.rs b/rust/integration-tests/src/diff_test_helper/event_processor.rs index 7e764a668..d8b88c728 100644 --- a/rust/integration-tests/src/diff_test_helper/event_processor.rs +++ b/rust/integration-tests/src/diff_test_helper/event_processor.rs @@ -1,4 +1,4 @@ -use crate::models::queryable_models::Event; +use crate::models::events_models::Event; use anyhow::Result; use diesel::{ pg::PgConnection, @@ -24,7 +24,6 @@ pub fn load_data( let all_events = events_result?; - println!("size of events: {}", all_events.len()); let events_json_data = serde_json::to_string_pretty(&all_events)?; result_map.insert( diff --git a/rust/integration-tests/src/diff_test_helper/fungible_asset_processor.rs b/rust/integration-tests/src/diff_test_helper/fungible_asset_processor.rs index 188eb8fc3..d47711596 100644 --- a/rust/integration-tests/src/diff_test_helper/fungible_asset_processor.rs +++ b/rust/integration-tests/src/diff_test_helper/fungible_asset_processor.rs @@ -1,4 +1,4 @@ -use crate::models::queryable_models::{ +use crate::models::fa_v2_models::{ CoinSupply, CurrentFungibleAssetBalance, FungibleAssetActivity, FungibleAssetBalance, FungibleAssetMetadataModel, }; @@ -23,7 +23,6 @@ pub fn load_data( ) -> Result> { let mut result_map: HashMap = HashMap::new(); - // Query from fungible_asset_activities let fungible_asset_activities_result = faa_dsl::fungible_asset_activities .filter(faa_dsl::transaction_version.eq_any(&txn_versions)) .then_order_by(faa_dsl::transaction_version.asc()) @@ -37,7 +36,6 @@ pub fn load_data( serde_json::from_str(&fungible_asset_activities_json)?, ); - // Query from fungible_asset_metadata let fungible_asset_metadata_result = fam_dsl::fungible_asset_metadata .filter(fam_dsl::last_transaction_version.eq_any(&txn_versions)) .then_order_by(fam_dsl::last_transaction_version.asc()) @@ -49,7 +47,6 @@ pub fn load_data( serde_json::from_str(&fungible_asset_metadata_json)?, ); - // Query from fungible_asset_balances let fungible_asset_balances_result = fab_dsl::fungible_asset_balances .filter(fab_dsl::transaction_version.eq_any(&txn_versions)) .then_order_by(fab_dsl::transaction_version.asc()) @@ -61,7 +58,6 @@ pub fn load_data( serde_json::from_str(&fungible_asset_balances_json)?, ); - // Query from current_fungible_asset_balances let current_fungible_asset_balances_result = cfab_dsl::current_fungible_asset_balances_legacy .filter(cfab_dsl::last_transaction_version.eq_any(&txn_versions)) .then_order_by(cfab_dsl::last_transaction_version.asc()) @@ -74,7 +70,6 @@ pub fn load_data( serde_json::from_str(¤t_fungible_asset_balances_json)?, ); - // Query from coin_supply let coin_supply_result = cs_dsl::coin_supply .filter(cs_dsl::transaction_version.eq_any(&txn_versions)) .then_order_by(cs_dsl::transaction_version.asc()) @@ -86,6 +81,5 @@ pub fn load_data( serde_json::from_str(&coin_supply_json)?, ); - // Return the complete map containing all table data Ok(result_map) } diff --git a/rust/integration-tests/src/diff_test_helper/mod.rs b/rust/integration-tests/src/diff_test_helper/mod.rs index 78624537a..98fab3664 100644 --- a/rust/integration-tests/src/diff_test_helper/mod.rs +++ b/rust/integration-tests/src/diff_test_helper/mod.rs @@ -1,3 +1,8 @@ +pub mod ans_processor; +pub mod default_processor; pub mod event_processor; pub mod fungible_asset_processor; +pub mod objects_processor; +pub mod stake_processor; pub mod token_v2_processor; +pub mod user_transaction_processor; diff --git a/rust/integration-tests/src/diff_test_helper/objects_processor.rs b/rust/integration-tests/src/diff_test_helper/objects_processor.rs new file mode 100644 index 000000000..403ac5823 --- /dev/null +++ b/rust/integration-tests/src/diff_test_helper/objects_processor.rs @@ -0,0 +1,39 @@ +use crate::models::objects_models::{CurrentObject, Object}; +use anyhow::Result; +use diesel::{ + pg::PgConnection, + query_dsl::methods::{FilterDsl, ThenOrderDsl}, + ExpressionMethods, RunQueryDsl, +}; +use processor::schema::{current_objects::dsl as co_dsl, objects::dsl as o_dsl}; +use serde_json::Value; +use std::collections::HashMap; + +#[allow(dead_code)] +pub fn load_data( + conn: &mut PgConnection, + txn_versions: Vec, +) -> Result> { + let mut result_map: HashMap = HashMap::new(); + + let objects_result = o_dsl::objects + .filter(o_dsl::transaction_version.eq_any(&txn_versions)) + .then_order_by(o_dsl::transaction_version.asc()) + .load::(conn)?; + result_map.insert( + "objects".to_string(), + serde_json::to_value(&objects_result)?, + ); + + let current_objects_result = co_dsl::current_objects + .filter(co_dsl::last_transaction_version.eq_any(&txn_versions)) + .then_order_by(co_dsl::last_transaction_version.asc()) + .load::(conn)?; + result_map.insert( + "current_objects".to_string(), + serde_json::to_value(¤t_objects_result)?, + ); + + // Return the result map + Ok(result_map) +} diff --git a/rust/integration-tests/src/diff_test_helper/stake_processor.rs b/rust/integration-tests/src/diff_test_helper/stake_processor.rs new file mode 100644 index 000000000..474a12d7a --- /dev/null +++ b/rust/integration-tests/src/diff_test_helper/stake_processor.rs @@ -0,0 +1,98 @@ +use crate::models::stake_models::{ + CurrentDelegatedVoter, CurrentDelegatorBalance, CurrentDelegatorPoolBalance, + CurrentStakingPoolVoter, DelegatedStakingActivity, DelegatorBalance, DelegatorPool, + DelegatorPoolBalance, ProposalVote, +}; +use anyhow::Result; +use diesel::{pg::PgConnection, query_dsl::methods::FilterDsl, ExpressionMethods, RunQueryDsl}; +use processor::schema::{ + current_delegated_staking_pool_balances::dsl as cdsp_dsl, + current_delegated_voter::dsl as cdv_dsl, current_delegator_balances::dsl as cdb_dsl, + current_staking_pool_voter::dsl as cspv_dsl, delegated_staking_activities::dsl as dsa_dsl, + delegated_staking_pool_balances::dsl as dspb_dsl, delegated_staking_pools::dsl as dsp_dsl, + delegator_balances::dsl as dp_dsl, proposal_votes::dsl as pv_dsl, +}; +use serde_json::Value; +use std::collections::HashMap; + +#[allow(dead_code)] +pub fn load_data( + conn: &mut PgConnection, + txn_versions: Vec, +) -> Result> { + let mut result_map: HashMap = HashMap::new(); + + let cspv_result = cspv_dsl::current_staking_pool_voter + .filter(cspv_dsl::last_transaction_version.eq_any(&txn_versions)) + .load::(conn)?; + result_map.insert( + "current_staking_pool_voter".to_string(), + serde_json::to_value(&cspv_result)?, + ); + + let pv_result = pv_dsl::proposal_votes + .filter(pv_dsl::transaction_version.eq_any(&txn_versions)) + .load::(conn)?; + result_map.insert( + "proposal_votes".to_string(), + serde_json::to_value(&pv_result)?, + ); + + let dsa_result = dsa_dsl::delegated_staking_activities + .filter(dsa_dsl::transaction_version.eq_any(&txn_versions)) + .load::(conn)?; + result_map.insert( + "delegated_staking_activities".to_string(), + serde_json::to_value(&dsa_result)?, + ); + + let dp_result = dp_dsl::delegator_balances + .filter(dp_dsl::transaction_version.eq_any(&txn_versions)) + .load::(conn)?; + result_map.insert( + "delegator_balances".to_string(), + serde_json::to_value(&dp_result)?, + ); + + let cdb_result = cdb_dsl::current_delegator_balances + .filter(cdb_dsl::last_transaction_version.eq_any(&txn_versions)) + .load::(conn)?; + result_map.insert( + "current_delegator_balances".to_string(), + serde_json::to_value(&cdb_result)?, + ); + + let dsp_result = dsp_dsl::delegated_staking_pools + .filter(dsp_dsl::first_transaction_version.eq_any(&txn_versions)) + .load::(conn)?; + result_map.insert( + "delegated_staking_pools".to_string(), + serde_json::to_value(&dsp_result)?, + ); + + let dspb_result = dspb_dsl::delegated_staking_pool_balances + .filter(dspb_dsl::transaction_version.eq_any(&txn_versions)) + .load::(conn)?; + result_map.insert( + "delegated_staking_pool_balances".to_string(), + serde_json::to_value(&dspb_result)?, + ); + + let cdsp_result = cdsp_dsl::current_delegated_staking_pool_balances + .filter(cdsp_dsl::last_transaction_version.eq_any(&txn_versions)) + .load::(conn)?; + result_map.insert( + "current_delegated_staking_pool_balances".to_string(), + serde_json::to_value(&cdsp_result)?, + ); + + let cdv_result = cdv_dsl::current_delegated_voter + .filter(cdv_dsl::last_transaction_version.eq_any(&txn_versions)) + .load::(conn)?; + result_map.insert( + "current_delegated_voter".to_string(), + serde_json::to_value(&cdv_result)?, + ); + + Ok(result_map) +} diff --git a/rust/integration-tests/src/diff_test_helper/token_v2_processor.rs b/rust/integration-tests/src/diff_test_helper/token_v2_processor.rs index f312cad68..2f1b5771a 100644 --- a/rust/integration-tests/src/diff_test_helper/token_v2_processor.rs +++ b/rust/integration-tests/src/diff_test_helper/token_v2_processor.rs @@ -1,4 +1,4 @@ -use crate::models::queryable_models::TokenActivityV2; +use crate::models::token_v2_models::TokenActivityV2; use anyhow::Result; use diesel::{ pg::PgConnection, @@ -16,7 +16,6 @@ pub fn load_data( ) -> Result> { let mut result_map: HashMap = HashMap::new(); - // Query to fetch token activities for multiple transaction versions let token_activities_v2_result = token_activities_v2 .filter(transaction_version.eq_any(&txn_versions)) .then_order_by(transaction_version.asc()) @@ -26,7 +25,6 @@ pub fn load_data( let all_token_activities_v2 = token_activities_v2_result?; let token_activities_v2_json_data = serde_json::to_string_pretty(&all_token_activities_v2)?; - // Insert the JSON data into the result map result_map.insert( "token_activities_v2".to_string(), serde_json::from_str(&token_activities_v2_json_data)?, diff --git a/rust/integration-tests/src/diff_test_helper/user_transaction_processor.rs b/rust/integration-tests/src/diff_test_helper/user_transaction_processor.rs new file mode 100644 index 000000000..d267d9bf1 --- /dev/null +++ b/rust/integration-tests/src/diff_test_helper/user_transaction_processor.rs @@ -0,0 +1,35 @@ +use crate::models::user_transactions_models::{Signature, UserTransaction}; +use anyhow::Result; +use diesel::{ + pg::PgConnection, + query_dsl::methods::{FilterDsl, ThenOrderDsl}, + ExpressionMethods, RunQueryDsl, +}; +use processor::schema::{signatures::dsl as sig_dsl, user_transactions::dsl as ut_dsl}; +use serde_json::Value; +use std::collections::HashMap; + +#[allow(dead_code)] +pub fn load_data( + conn: &mut PgConnection, + txn_versions: Vec, +) -> Result> { + let mut result_map: HashMap = HashMap::new(); + + let ut_result = ut_dsl::user_transactions + .filter(ut_dsl::version.eq_any(&txn_versions)) + .then_order_by(ut_dsl::version.asc()) + .load::(conn)?; + result_map.insert( + "user_transactions".to_string(), + serde_json::to_value(&ut_result)?, + ); + + let sig_result = sig_dsl::signatures + .filter(sig_dsl::transaction_version.eq_any(&txn_versions)) + .then_order_by(sig_dsl::transaction_version.asc()) + .load::(conn)?; + result_map.insert("signatures".to_string(), serde_json::to_value(&sig_result)?); + + Ok(result_map) +} diff --git a/rust/integration-tests/src/diff_tests/all_tests.rs b/rust/integration-tests/src/diff_tests/all_tests.rs index aa8e21b89..e91c7d25d 100644 --- a/rust/integration-tests/src/diff_tests/all_tests.rs +++ b/rust/integration-tests/src/diff_tests/all_tests.rs @@ -4,9 +4,14 @@ mod test { use crate::{ diff_test_helper::{ + ans_processor::load_data as load_ans_data, + default_processor::load_data as load_default_data, event_processor::load_data as load_event_data, fungible_asset_processor::load_data as load_fungible_asset_data, + objects_processor::load_data as load_object_data, + stake_processor::load_data as load_stake_data, token_v2_processor::load_data as load_token_v2_data, + user_transaction_processor::load_data as load_ut_data, }, diff_tests::{ get_expected_imported_mainnet_txns, get_expected_imported_testnet_txns, @@ -22,7 +27,10 @@ mod test { }; use assert_json_diff::assert_json_eq; use diesel::pg::PgConnection; - use processor::processors::token_v2_processor::TokenV2ProcessorConfig; + use processor::processors::{ + ans_processor::AnsProcessorConfig, objects_processor::ObjectsProcessorConfig, + stake_processor::StakeProcessorConfig, token_v2_processor::TokenV2ProcessorConfig, + }; use std::fs; const DEFAULT_OUTPUT_FOLDER: &str = "expected_db_output_files"; @@ -104,6 +112,11 @@ mod test { "events_processor" => load_event_data, "fungible_asset_processor" => load_fungible_asset_data, "token_v2_processor" => load_token_v2_data, + "ans_processor" => load_ans_data, + "default_processor" => load_default_data, + "objects_processor" => load_object_data, + "stake_processor" => load_stake_data, + "user_transaction_processor" => load_ut_data, _ => panic!("Unknown processor: {}", processor_name), }; @@ -160,7 +173,9 @@ mod test { remove_transaction_timestamp(db_value); remove_inserted_at(&mut expected_json); remove_transaction_timestamp(&mut expected_json); - + println!("txn_version: {}, table_name: {}", txn_version, table_name); + println!("db_value: {:?}", db_value); + println!("expected_json: {:?}", expected_json); // Validate the actual vs expected JSON for the current table assert_json_eq!(db_value, expected_json); } @@ -206,6 +221,35 @@ mod test { }, ), }, + TestProcessorConfig { + config: processor::processors::ProcessorConfig::DefaultProcessor, + }, + TestProcessorConfig { + config: processor::processors::ProcessorConfig::AnsProcessor(AnsProcessorConfig { + ans_v1_primary_names_table_handle: "ans_v1_primary_names".to_string(), + ans_v1_name_records_table_handle: "ans_v1_secondary_names".to_string(), + ans_v2_contract_address: "ans_v1_primary_addresses".to_string(), + }), + }, + TestProcessorConfig { + config: processor::processors::ProcessorConfig::ObjectsProcessor( + ObjectsProcessorConfig { + query_retries: 3, + query_retry_delay_ms: 1000, + }, + ), + }, + TestProcessorConfig { + config: processor::processors::ProcessorConfig::StakeProcessor( + StakeProcessorConfig { + query_retries: 3, + query_retry_delay_ms: 1000, + }, + ), + }, + TestProcessorConfig { + config: processor::processors::ProcessorConfig::UserTransactionProcessor, + }, ] } } diff --git a/rust/integration-tests/src/models/ans_models.rs b/rust/integration-tests/src/models/ans_models.rs new file mode 100644 index 000000000..3dc8877b0 --- /dev/null +++ b/rust/integration-tests/src/models/ans_models.rs @@ -0,0 +1,105 @@ +// Copyright © Aptos Foundation +// SPDX-License-Identifier: Apache-2.0 + +#![allow(clippy::extra_unused_lifetimes)] + +use diesel::{Identifiable, Insertable, Queryable}; +use field_count::FieldCount; +use processor::schema::{ + ans_lookup_v2, ans_primary_name_v2, current_ans_lookup_v2, current_ans_primary_name_v2, +}; +use serde::{Deserialize, Serialize}; + +#[derive( + Clone, + Default, + Debug, + Deserialize, + FieldCount, + Identifiable, + Insertable, + Serialize, + PartialEq, + Eq, + Queryable, +)] +#[diesel(primary_key(domain, subdomain, token_standard))] +#[diesel(table_name = current_ans_lookup_v2)] +#[diesel(treat_none_as_null = true)] +pub struct CurrentAnsLookupV2 { + pub domain: String, + pub subdomain: String, + pub token_standard: String, + pub token_name: Option, + pub registered_address: Option, + pub expiration_timestamp: chrono::NaiveDateTime, + pub last_transaction_version: i64, + pub is_deleted: bool, + pub inserted_at: chrono::NaiveDateTime, + pub subdomain_expiration_policy: Option, +} + +#[derive( + Clone, Default, Debug, Deserialize, FieldCount, Identifiable, Insertable, Serialize, Queryable, +)] +#[diesel(primary_key(transaction_version, write_set_change_index))] +#[diesel(table_name = ans_lookup_v2)] +#[diesel(treat_none_as_null = true)] +pub struct AnsLookupV2 { + pub transaction_version: i64, + pub write_set_change_index: i64, + pub domain: String, + pub subdomain: String, + pub token_standard: String, + pub registered_address: Option, + pub expiration_timestamp: Option, + pub token_name: String, + pub is_deleted: bool, + pub inserted_at: chrono::NaiveDateTime, + pub subdomain_expiration_policy: Option, +} + +#[derive( + Clone, + Default, + Debug, + Deserialize, + FieldCount, + Identifiable, + Insertable, + Serialize, + PartialEq, + Eq, + Queryable, +)] +#[diesel(primary_key(registered_address, token_standard))] +#[diesel(table_name = current_ans_primary_name_v2)] +#[diesel(treat_none_as_null = true)] +pub struct CurrentAnsPrimaryNameV2 { + pub registered_address: String, + pub token_standard: String, + pub domain: Option, + pub subdomain: Option, + pub token_name: Option, + pub is_deleted: bool, + pub last_transaction_version: i64, + pub inserted_at: chrono::NaiveDateTime, +} + +#[derive( + Clone, Default, Debug, Deserialize, FieldCount, Identifiable, Insertable, Serialize, Queryable, +)] +#[diesel(primary_key(transaction_version, write_set_change_index))] +#[diesel(table_name = ans_primary_name_v2)] +#[diesel(treat_none_as_null = true)] +pub struct AnsPrimaryNameV2 { + pub transaction_version: i64, + pub write_set_change_index: i64, + pub registered_address: String, + pub domain: Option, + pub subdomain: Option, + pub token_standard: String, + pub token_name: Option, + pub is_deleted: bool, + pub inserted_at: chrono::NaiveDateTime, +} diff --git a/rust/integration-tests/src/models/default_models.rs b/rust/integration-tests/src/models/default_models.rs new file mode 100644 index 000000000..78231ff30 --- /dev/null +++ b/rust/integration-tests/src/models/default_models.rs @@ -0,0 +1,90 @@ +// Copyright © Aptos Foundation +// SPDX-License-Identifier: Apache-2.0 + +#![allow(clippy::extra_unused_lifetimes)] + +use diesel::{Associations, Identifiable, Insertable, Queryable}; +use field_count::FieldCount; +use processor::{ + db::common::models::default_models::transactions::Transaction, + schema::{block_metadata_transactions, current_table_items, table_items, table_metadatas}, +}; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Debug, Deserialize, FieldCount, Identifiable, Insertable, Serialize, Queryable)] +#[diesel(primary_key(table_handle, key_hash))] +#[diesel(table_name = current_table_items)] +pub struct CurrentTableItem { + pub table_handle: String, + pub key_hash: String, + pub key: String, + pub decoded_key: serde_json::Value, + pub decoded_value: Option, + pub is_deleted: bool, + pub last_transaction_version: i64, + + pub inserted_at: chrono::NaiveDateTime, +} + +#[derive( + Associations, + Clone, + Debug, + Deserialize, + FieldCount, + Identifiable, + Insertable, + Serialize, + Queryable, +)] +#[diesel(belongs_to(Transaction, foreign_key = transaction_version))] +#[diesel(primary_key(transaction_version, write_set_change_index))] +#[diesel(table_name = table_items)] +pub struct TableItem { + pub transaction_version: i64, + pub write_set_change_index: i64, + pub transaction_block_height: i64, + pub key: String, + pub table_handle: String, + pub decoded_key: serde_json::Value, + pub decoded_value: Option, + pub is_deleted: bool, + pub inserted_at: chrono::NaiveDateTime, +} + +#[derive(Clone, Debug, Deserialize, FieldCount, Identifiable, Insertable, Serialize, Queryable)] +#[diesel(primary_key(handle))] +#[diesel(table_name = table_metadatas)] +pub struct TableMetadata { + pub handle: String, + pub key_type: String, + pub value_type: String, + pub inserted_at: chrono::NaiveDateTime, +} + +#[derive( + Associations, + Clone, + Debug, + Deserialize, + FieldCount, + Identifiable, + Insertable, + Serialize, + Queryable, +)] +#[diesel(belongs_to(Transaction, foreign_key = version))] +#[diesel(primary_key(version))] +#[diesel(table_name = block_metadata_transactions)] +pub struct BlockMetadataTransaction { + pub version: i64, + pub block_height: i64, + pub id: String, + pub round: i64, + pub epoch: i64, + pub previous_block_votes_bitvec: serde_json::Value, + pub proposer: String, + pub failed_proposer_indices: serde_json::Value, + pub timestamp: chrono::NaiveDateTime, + pub inserted_at: chrono::NaiveDateTime, +} diff --git a/rust/integration-tests/src/models/events_models.rs b/rust/integration-tests/src/models/events_models.rs new file mode 100644 index 000000000..1a7e05f99 --- /dev/null +++ b/rust/integration-tests/src/models/events_models.rs @@ -0,0 +1,30 @@ +// Copyright © Aptos Foundation +// SPDX-License-Identifier: Apache-2.0 + +#![allow(clippy::extra_unused_lifetimes)] + +use diesel::{Identifiable, Insertable, Queryable}; +use field_count::FieldCount; +use processor::schema::events; +use serde::{Deserialize, Serialize}; +/** +* Event model +* this is created // b/c there is inserated_at field which isn't defined in the Event struct, we can't just load the events directly without specifying the fields. + // TODO: make this more generic to load all fields, then we should be able to run tests for all processor in one test case. + +*/ +#[derive(Clone, Debug, Deserialize, FieldCount, Identifiable, Insertable, Serialize, Queryable)] +#[diesel(primary_key(transaction_version, event_index))] +#[diesel(table_name = events)] +pub struct Event { + pub sequence_number: i64, + pub creation_number: i64, + pub account_address: String, + pub transaction_version: i64, + pub transaction_block_height: i64, + pub type_: String, + pub data: serde_json::Value, + pub inserted_at: chrono::NaiveDateTime, + pub event_index: i64, + pub indexed_type: String, +} diff --git a/rust/integration-tests/src/models/queryable_models.rs b/rust/integration-tests/src/models/fa_v2_models.rs similarity index 72% rename from rust/integration-tests/src/models/queryable_models.rs rename to rust/integration-tests/src/models/fa_v2_models.rs index 5105665d5..8dcabd240 100644 --- a/rust/integration-tests/src/models/queryable_models.rs +++ b/rust/integration-tests/src/models/fa_v2_models.rs @@ -7,31 +7,10 @@ use bigdecimal::BigDecimal; use diesel::{Identifiable, Insertable, Queryable}; use field_count::FieldCount; use processor::schema::{ - coin_supply, current_fungible_asset_balances_legacy, events, fungible_asset_activities, - fungible_asset_balances, fungible_asset_metadata, token_activities_v2, + coin_supply, current_fungible_asset_balances_legacy, fungible_asset_activities, + fungible_asset_balances, fungible_asset_metadata, }; use serde::{Deserialize, Serialize}; -/** -* Event model -* this is created // b/c there is inserated_at field which isn't defined in the Event struct, we can't just load the events directly without specifying the fields. - // TODO: make this more generic to load all fields, then we should be able to run tests for all processor in one test case. - -*/ -#[derive(Clone, Debug, Deserialize, FieldCount, Identifiable, Insertable, Serialize, Queryable)] -#[diesel(primary_key(transaction_version, event_index))] -#[diesel(table_name = events)] -pub struct Event { - pub sequence_number: i64, - pub creation_number: i64, - pub account_address: String, - pub transaction_version: i64, - pub transaction_block_height: i64, - pub type_: String, - pub data: serde_json::Value, - pub inserted_at: chrono::NaiveDateTime, - pub event_index: i64, - pub indexed_type: String, -} #[derive(Clone, Debug, Deserialize, FieldCount, Identifiable, Insertable, Serialize, Queryable)] #[diesel(primary_key(transaction_version, event_index))] @@ -56,28 +35,6 @@ pub struct FungibleAssetActivity { pub storage_refund_amount: BigDecimal, } -#[derive(Clone, Debug, Deserialize, FieldCount, Identifiable, Insertable, Serialize, Queryable)] -#[diesel(primary_key(transaction_version, event_index))] -#[diesel(table_name = token_activities_v2)] -pub struct TokenActivityV2 { - pub transaction_version: i64, - pub event_index: i64, - pub event_account_address: String, - pub token_data_id: String, - pub property_version_v1: BigDecimal, - pub type_: String, - pub from_address: Option, - pub to_address: Option, - pub token_amount: BigDecimal, - pub before_value: Option, - pub after_value: Option, - pub entry_function_id_str: Option, - pub token_standard: String, - pub is_fungible_v2: Option, - pub transaction_timestamp: chrono::NaiveDateTime, - pub inserted_at: chrono::NaiveDateTime, -} - #[derive(Clone, Debug, Deserialize, FieldCount, Identifiable, Insertable, Serialize, Queryable)] #[diesel(primary_key(transaction_version, write_set_change_index))] #[diesel(table_name = fungible_asset_balances)] diff --git a/rust/integration-tests/src/models/mod.rs b/rust/integration-tests/src/models/mod.rs index dfcc8f958..06d485146 100644 --- a/rust/integration-tests/src/models/mod.rs +++ b/rust/integration-tests/src/models/mod.rs @@ -1 +1,8 @@ -pub mod queryable_models; +pub mod ans_models; +pub mod default_models; +pub mod events_models; +pub mod fa_v2_models; +pub mod objects_models; +pub mod stake_models; +pub mod token_v2_models; +pub mod user_transactions_models; diff --git a/rust/integration-tests/src/models/objects_models.rs b/rust/integration-tests/src/models/objects_models.rs new file mode 100644 index 000000000..b7e31dfb8 --- /dev/null +++ b/rust/integration-tests/src/models/objects_models.rs @@ -0,0 +1,42 @@ +// Copyright © Aptos Foundation +// SPDX-License-Identifier: Apache-2.0 + +#![allow(clippy::extra_unused_lifetimes)] +#![allow(clippy::unused_unit)] + +use bigdecimal::BigDecimal; +use diesel::{Identifiable, Insertable, Queryable}; +use field_count::FieldCount; +use processor::schema::{current_objects, objects}; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Debug, Deserialize, FieldCount, Identifiable, Insertable, Serialize, Queryable)] +#[diesel(primary_key(transaction_version, write_set_change_index))] +#[diesel(table_name = objects)] +pub struct Object { + pub transaction_version: i64, + pub write_set_change_index: i64, + pub object_address: String, + pub owner_address: String, + pub state_key_hash: String, + pub guid_creation_num: BigDecimal, + pub allow_ungated_transfer: bool, + pub is_deleted: bool, + pub inserted_at: chrono::NaiveDateTime, + pub untransferrable: bool, +} + +#[derive(Clone, Debug, Deserialize, FieldCount, Identifiable, Insertable, Serialize, Queryable)] +#[diesel(primary_key(object_address))] +#[diesel(table_name = current_objects)] +pub struct CurrentObject { + pub object_address: String, + pub owner_address: String, + pub state_key_hash: String, + pub allow_ungated_transfer: bool, + pub last_guid_creation_num: BigDecimal, + pub last_transaction_version: i64, + pub is_deleted: bool, + pub inserted_at: chrono::NaiveDateTime, + pub untransferrable: bool, +} diff --git a/rust/integration-tests/src/models/stake_models.rs b/rust/integration-tests/src/models/stake_models.rs new file mode 100644 index 000000000..2f7c653b2 --- /dev/null +++ b/rust/integration-tests/src/models/stake_models.rs @@ -0,0 +1,148 @@ +// Copyright © Aptos Foundation +// SPDX-License-Identifier: Apache-2.0 + +#![allow(clippy::extra_unused_lifetimes)] + +use bigdecimal::BigDecimal; +use diesel::{Identifiable, Insertable, Queryable}; +use field_count::FieldCount; +use processor::schema::{ + current_delegated_staking_pool_balances, current_delegated_voter, current_delegator_balances, + current_staking_pool_voter, delegated_staking_activities, delegated_staking_pool_balances, + delegated_staking_pools, delegator_balances, proposal_votes, +}; +use serde::{Deserialize, Serialize}; + +#[derive( + Debug, + Deserialize, + Eq, + FieldCount, + Identifiable, + Insertable, + PartialEq, + Serialize, + Queryable, + Clone, +)] +#[diesel(primary_key(delegator_address, delegation_pool_address))] +#[diesel(table_name = current_delegated_voter)] +pub struct CurrentDelegatedVoter { + pub delegation_pool_address: String, + pub delegator_address: String, + pub table_handle: Option, + // vote_delegation table handle + pub voter: Option, + pub pending_voter: Option, + // voter to be in the next lockup period + pub last_transaction_version: i64, + pub last_transaction_timestamp: chrono::NaiveDateTime, + pub inserted_at: chrono::NaiveDateTime, +} + +#[derive(Clone, Debug, Deserialize, FieldCount, Identifiable, Insertable, Serialize, Queryable)] +#[diesel(primary_key(transaction_version, event_index))] +#[diesel(table_name = delegated_staking_activities)] +pub struct DelegatedStakingActivity { + pub transaction_version: i64, + pub event_index: i64, + pub delegator_address: String, + pub pool_address: String, + pub event_type: String, + pub amount: BigDecimal, + pub inserted_at: chrono::NaiveDateTime, +} + +#[derive(Clone, Debug, Deserialize, FieldCount, Identifiable, Insertable, Serialize, Queryable)] +#[diesel(primary_key(delegator_address, pool_address, pool_type))] +#[diesel(table_name = current_delegator_balances)] +pub struct CurrentDelegatorBalance { + pub delegator_address: String, + pub pool_address: String, + pub pool_type: String, + pub table_handle: String, + pub last_transaction_version: i64, + pub inserted_at: chrono::NaiveDateTime, + pub shares: BigDecimal, + pub parent_table_handle: String, +} + +#[derive(Clone, Debug, Deserialize, FieldCount, Identifiable, Insertable, Serialize, Queryable)] +#[diesel(primary_key(transaction_version, write_set_change_index))] +#[diesel(table_name = delegator_balances)] +pub struct DelegatorBalance { + pub transaction_version: i64, + pub write_set_change_index: i64, + pub delegator_address: String, + pub pool_address: String, + pub pool_type: String, + pub table_handle: String, + pub shares: BigDecimal, + pub parent_table_handle: String, + pub inserted_at: chrono::NaiveDateTime, +} + +// Pools balances +#[derive(Clone, Debug, Deserialize, FieldCount, Identifiable, Insertable, Serialize, Queryable)] +#[diesel(primary_key(transaction_version, staking_pool_address))] +#[diesel(table_name = delegated_staking_pool_balances)] +pub struct DelegatorPoolBalance { + pub transaction_version: i64, + pub staking_pool_address: String, + pub total_coins: BigDecimal, + pub total_shares: BigDecimal, + pub inserted_at: chrono::NaiveDateTime, + pub operator_commission_percentage: BigDecimal, + pub inactive_table_handle: String, + pub active_table_handle: String, +} + +// All pools w latest balances (really a more comprehensive version than DelegatorPool) +#[derive(Clone, Debug, Deserialize, FieldCount, Identifiable, Insertable, Serialize, Queryable)] +#[diesel(primary_key(staking_pool_address))] +#[diesel(table_name = current_delegated_staking_pool_balances)] +pub struct CurrentDelegatorPoolBalance { + pub staking_pool_address: String, + pub total_coins: BigDecimal, + pub total_shares: BigDecimal, + pub last_transaction_version: i64, + pub inserted_at: chrono::NaiveDateTime, + pub operator_commission_percentage: BigDecimal, + pub inactive_table_handle: String, + pub active_table_handle: String, +} + +#[derive(Clone, Debug, Deserialize, FieldCount, Identifiable, Insertable, Serialize, Queryable)] +#[diesel(primary_key(transaction_version, proposal_id, voter_address))] +#[diesel(table_name = proposal_votes)] +pub struct ProposalVote { + pub transaction_version: i64, + pub proposal_id: i64, + pub voter_address: String, + pub staking_pool_address: String, + pub num_votes: BigDecimal, + pub should_pass: bool, + pub transaction_timestamp: chrono::NaiveDateTime, + pub inserted_at: chrono::NaiveDateTime, +} + +#[derive(Clone, Debug, Deserialize, FieldCount, Identifiable, Insertable, Serialize, Queryable)] +#[diesel(primary_key(staking_pool_address))] +#[diesel(table_name = current_staking_pool_voter)] +pub struct CurrentStakingPoolVoter { + pub staking_pool_address: String, + pub voter_address: String, + pub last_transaction_version: i64, + pub inserted_at: chrono::NaiveDateTime, + pub operator_address: String, +} + +// All pools +#[derive(Clone, Debug, Deserialize, FieldCount, Identifiable, Insertable, Serialize, Queryable)] +#[diesel(primary_key(staking_pool_address))] +#[diesel(table_name = delegated_staking_pools)] +pub struct DelegatorPool { + pub staking_pool_address: String, + pub first_transaction_version: i64, + pub inserted_at: chrono::NaiveDateTime, +} diff --git a/rust/integration-tests/src/models/token_v2_models.rs b/rust/integration-tests/src/models/token_v2_models.rs new file mode 100644 index 000000000..98be7dbb8 --- /dev/null +++ b/rust/integration-tests/src/models/token_v2_models.rs @@ -0,0 +1,32 @@ +// Copyright © Aptos Foundation +// SPDX-License-Identifier: Apache-2.0 + +#![allow(clippy::extra_unused_lifetimes)] + +use bigdecimal::BigDecimal; +use diesel::{Identifiable, Insertable, Queryable}; +use field_count::FieldCount; +use processor::schema::token_activities_v2; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Debug, Deserialize, FieldCount, Identifiable, Insertable, Serialize, Queryable)] +#[diesel(primary_key(transaction_version, event_index))] +#[diesel(table_name = token_activities_v2)] +pub struct TokenActivityV2 { + pub transaction_version: i64, + pub event_index: i64, + pub event_account_address: String, + pub token_data_id: String, + pub property_version_v1: BigDecimal, + pub type_: String, + pub from_address: Option, + pub to_address: Option, + pub token_amount: BigDecimal, + pub before_value: Option, + pub after_value: Option, + pub entry_function_id_str: Option, + pub token_standard: String, + pub is_fungible_v2: Option, + pub transaction_timestamp: chrono::NaiveDateTime, + pub inserted_at: chrono::NaiveDateTime, +} diff --git a/rust/integration-tests/src/models/user_transactions_models.rs b/rust/integration-tests/src/models/user_transactions_models.rs new file mode 100644 index 000000000..31d28f38c --- /dev/null +++ b/rust/integration-tests/src/models/user_transactions_models.rs @@ -0,0 +1,51 @@ +// Copyright © Aptos Foundation +// SPDX-License-Identifier: Apache-2.0 + +#![allow(clippy::extra_unused_lifetimes)] + +use bigdecimal::BigDecimal; +use diesel::{Identifiable, Insertable, Queryable}; +use field_count::FieldCount; +use processor::schema::{signatures, user_transactions}; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Debug, Deserialize, FieldCount, Identifiable, Insertable, Serialize, Queryable)] +#[diesel(primary_key( + transaction_version, + multi_agent_index, + multi_sig_index, + is_sender_primary +))] +#[diesel(table_name = signatures)] +pub struct Signature { + pub transaction_version: i64, + pub multi_agent_index: i64, + pub multi_sig_index: i64, + pub transaction_block_height: i64, + pub signer: String, + pub is_sender_primary: bool, + pub type_: String, + pub public_key: String, + pub signature: String, + pub threshold: i64, + pub public_key_indices: serde_json::Value, + pub inserted_at: chrono::NaiveDateTime, +} + +#[derive(Clone, Deserialize, Debug, FieldCount, Identifiable, Insertable, Serialize, Queryable)] +#[diesel(primary_key(version))] +#[diesel(table_name = user_transactions)] +pub struct UserTransaction { + pub version: i64, + pub block_height: i64, + pub parent_signature_type: String, + pub sender: String, + pub sequence_number: i64, + pub max_gas_amount: BigDecimal, + pub expiration_timestamp_secs: chrono::NaiveDateTime, + pub gas_unit_price: BigDecimal, + pub timestamp: chrono::NaiveDateTime, + pub entry_function_id_str: String, + pub inserted_at: chrono::NaiveDateTime, + pub epoch: i64, +} diff --git a/rust/processor/src/db/postgres/schema.rs b/rust/processor/src/db/postgres/schema.rs index 42634a353..88bc8df1e 100644 --- a/rust/processor/src/db/postgres/schema.rs +++ b/rust/processor/src/db/postgres/schema.rs @@ -982,10 +982,10 @@ diesel::table! { diesel::table! { table_items (transaction_version, write_set_change_index) { - key -> Text, transaction_version -> Int8, write_set_change_index -> Int8, transaction_block_height -> Int8, + key -> Text, #[max_length = 66] table_handle -> Varchar, decoded_key -> Jsonb,