diff --git a/rust/Cargo.lock b/rust/Cargo.lock index 6215a544d..8f7f724f0 100644 --- a/rust/Cargo.lock +++ b/rust/Cargo.lock @@ -141,7 +141,7 @@ checksum = "86fdf8605db99b54d3cd748a44c6d04df638eb5dafb219b135d0149bd0db01f6" [[package]] name = "aptos-indexer-processor-sdk" version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-indexer-processor-sdk.git?rev=2d17dd43e04a88aa26e299007868a51c67781fd0#2d17dd43e04a88aa26e299007868a51c67781fd0" +source = "git+https://github.com/aptos-labs/aptos-indexer-processor-sdk.git?rev=c2a067ad6f464678c2c31e72d06f0c91e7d0057d#c2a067ad6f464678c2c31e72d06f0c91e7d0057d" dependencies = [ "ahash", "anyhow", @@ -174,7 +174,7 @@ dependencies = [ [[package]] name = "aptos-indexer-processor-sdk-server-framework" version = "1.0.0" -source = "git+https://github.com/aptos-labs/aptos-indexer-processor-sdk.git?rev=2d17dd43e04a88aa26e299007868a51c67781fd0#2d17dd43e04a88aa26e299007868a51c67781fd0" +source = "git+https://github.com/aptos-labs/aptos-indexer-processor-sdk.git?rev=c2a067ad6f464678c2c31e72d06f0c91e7d0057d#c2a067ad6f464678c2c31e72d06f0c91e7d0057d" dependencies = [ "anyhow", "aptos-indexer-processor-sdk", @@ -207,7 +207,7 @@ dependencies = [ [[package]] name = "aptos-indexer-testing-framework" version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-indexer-processor-sdk.git?rev=2d17dd43e04a88aa26e299007868a51c67781fd0#2d17dd43e04a88aa26e299007868a51c67781fd0" +source = "git+https://github.com/aptos-labs/aptos-indexer-processor-sdk.git?rev=c2a067ad6f464678c2c31e72d06f0c91e7d0057d#c2a067ad6f464678c2c31e72d06f0c91e7d0057d" dependencies = [ "anyhow", "aptos-indexer-processor-sdk", @@ -225,6 +225,7 @@ dependencies = [ "tokio", "tokio-postgres", "tokio-retry", + "tokio-stream", "tonic 0.11.0", "url", ] @@ -232,10 +233,10 @@ dependencies = [ [[package]] name = "aptos-indexer-transaction-stream" version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-indexer-processor-sdk.git?rev=2d17dd43e04a88aa26e299007868a51c67781fd0#2d17dd43e04a88aa26e299007868a51c67781fd0" +source = "git+https://github.com/aptos-labs/aptos-indexer-processor-sdk.git?rev=c2a067ad6f464678c2c31e72d06f0c91e7d0057d#c2a067ad6f464678c2c31e72d06f0c91e7d0057d" dependencies = [ "anyhow", - "aptos-moving-average 0.1.0 (git+https://github.com/aptos-labs/aptos-indexer-processor-sdk.git?rev=2d17dd43e04a88aa26e299007868a51c67781fd0)", + "aptos-moving-average 0.1.0 (git+https://github.com/aptos-labs/aptos-indexer-processor-sdk.git?rev=c2a067ad6f464678c2c31e72d06f0c91e7d0057d)", "aptos-protos 1.3.1 (git+https://github.com/aptos-labs/aptos-core.git?rev=5c48aee129b5a141be2792ffa3d9bd0a1a61c9cb)", "chrono", "futures-util", @@ -260,7 +261,7 @@ dependencies = [ [[package]] name = "aptos-moving-average" version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-indexer-processor-sdk.git?rev=2d17dd43e04a88aa26e299007868a51c67781fd0#2d17dd43e04a88aa26e299007868a51c67781fd0" +source = "git+https://github.com/aptos-labs/aptos-indexer-processor-sdk.git?rev=c2a067ad6f464678c2c31e72d06f0c91e7d0057d#c2a067ad6f464678c2c31e72d06f0c91e7d0057d" dependencies = [ "chrono", ] @@ -2244,7 +2245,7 @@ dependencies = [ [[package]] name = "instrumented-channel" version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-indexer-processor-sdk.git?rev=2d17dd43e04a88aa26e299007868a51c67781fd0#2d17dd43e04a88aa26e299007868a51c67781fd0" +source = "git+https://github.com/aptos-labs/aptos-indexer-processor-sdk.git?rev=c2a067ad6f464678c2c31e72d06f0c91e7d0057d#c2a067ad6f464678c2c31e72d06f0c91e7d0057d" dependencies = [ "delegate", "derive_builder", @@ -4127,7 +4128,7 @@ checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f" [[package]] name = "sample" version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-indexer-processor-sdk.git?rev=2d17dd43e04a88aa26e299007868a51c67781fd0#2d17dd43e04a88aa26e299007868a51c67781fd0" +source = "git+https://github.com/aptos-labs/aptos-indexer-processor-sdk.git?rev=c2a067ad6f464678c2c31e72d06f0c91e7d0057d#c2a067ad6f464678c2c31e72d06f0c91e7d0057d" dependencies = [ "tracing", ] diff --git a/rust/Cargo.toml b/rust/Cargo.toml index 45b215a89..1e700418b 100644 --- a/rust/Cargo.toml +++ b/rust/Cargo.toml @@ -30,12 +30,12 @@ testing-transactions = { path = "testing-transactions" } ahash = { version = "0.8.7", features = ["serde"] } anyhow = "1.0.86" -aptos-indexer-processor-sdk = { git = "https://github.com/aptos-labs/aptos-indexer-processor-sdk.git", rev = "2d17dd43e04a88aa26e299007868a51c67781fd0" } -aptos-indexer-processor-sdk-server-framework = { git = "https://github.com/aptos-labs/aptos-indexer-processor-sdk.git", rev = "2d17dd43e04a88aa26e299007868a51c67781fd0" } +aptos-indexer-processor-sdk = { git = "https://github.com/aptos-labs/aptos-indexer-processor-sdk.git", rev = "c2a067ad6f464678c2c31e72d06f0c91e7d0057d" } +aptos-indexer-processor-sdk-server-framework = { git = "https://github.com/aptos-labs/aptos-indexer-processor-sdk.git", rev = "c2a067ad6f464678c2c31e72d06f0c91e7d0057d" } aptos-protos = { git = "https://github.com/aptos-labs/aptos-core.git", rev = "5c48aee129b5a141be2792ffa3d9bd0a1a61c9cb" } aptos-system-utils = { git = "https://github.com/aptos-labs/aptos-core.git", rev = "202bdccff2b2d333a385ae86a4fcf23e89da9f62" } aptos-indexer-test-transactions = { git = "https://github.com/aptos-labs/aptos-core.git", rev = "c583502c69529fddbbf7e47bf920f1dc60e71b72" } -aptos-indexer-testing-framework = { git = "https://github.com/aptos-labs/aptos-indexer-processor-sdk.git", rev = "2d17dd43e04a88aa26e299007868a51c67781fd0" } +aptos-indexer-testing-framework = { git = "https://github.com/aptos-labs/aptos-indexer-processor-sdk.git", rev = "c2a067ad6f464678c2c31e72d06f0c91e7d0057d" } async-trait = "0.1.53" backtrace = "0.3.58" diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/events_processor/308783012/events.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/events_processor/308783012/events.json index 92b3e7efa..0d0606808 100644 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/events_processor/308783012/events.json +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/events_processor/308783012/events.json @@ -10,9 +10,8 @@ "index": "3723914", "token": "0x6fd8ee875fb55e03b1f9643d3f229f0b077a71cfe7ffc8ba7e09ff4392950e5c" }, - "inserted_at": "2024-10-15T04:55:32.404918", - "event_index": 0, - "indexed_type": "0x4::collection::MintEvent" + "indexed_type": "0x4::collection::MintEvent", + "event_index": 0 }, { "sequence_number": 0, @@ -26,9 +25,8 @@ "from": "0x7efbc33cf69ad534412eab0ccd0f5fbec7793bdebf08a3620afe8e5f89ef13a0", "object": "0x6fd8ee875fb55e03b1f9643d3f229f0b077a71cfe7ffc8ba7e09ff4392950e5c" }, - "inserted_at": "2024-10-15T04:55:32.404918", - "event_index": 1, - "indexed_type": "0x1::object::TransferEvent" + "indexed_type": "0x1::object::TransferEvent", + "event_index": 1 }, { "sequence_number": 0, @@ -44,8 +42,7 @@ "total_charge_gas_units": "520", "storage_fee_refund_octas": "0" }, - "inserted_at": "2024-10-15T04:55:32.404918", - "event_index": 2, - "indexed_type": "0x1::transaction_fee::FeeStatement" + "indexed_type": "0x1::transaction_fee::FeeStatement", + "event_index": 2 } ] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/308783012/coin_supply.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/308783012/coin_supply.json index f8cf18000..c656edb6a 100644 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/308783012/coin_supply.json +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/308783012/coin_supply.json @@ -5,7 +5,6 @@ "coin_type": "0x1::aptos_coin::AptosCoin", "supply": "106177548228160480", "transaction_timestamp": "2023-10-24T09:08:03", - "transaction_epoch": 4534, - "inserted_at": "2024-10-15T04:55:33.361144" + "transaction_epoch": 4534 } ] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/308783012/current_fungible_asset_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/308783012/current_fungible_asset_balances.json index 71cce04e1..2e9144987 100644 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/308783012/current_fungible_asset_balances.json +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/308783012/current_fungible_asset_balances.json @@ -8,7 +8,6 @@ "amount": "464000", "last_transaction_timestamp": "2023-10-24T09:08:03", "last_transaction_version": 308783012, - "token_standard": "v1", - "inserted_at": "2024-10-15T04:55:33.360215" + "token_standard": "v1" } ] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/308783012/fungible_asset_activities.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/308783012/fungible_asset_activities.json index 909daae70..db2769f93 100644 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/308783012/fungible_asset_activities.json +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/308783012/fungible_asset_activities.json @@ -15,7 +15,6 @@ "block_height": 106350614, "token_standard": "v1", "transaction_timestamp": "2023-10-24T09:08:03", - "inserted_at": "2024-10-15T04:55:33.359030", "storage_refund_amount": "0" } ] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/308783012/fungible_asset_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/308783012/fungible_asset_balances.json index 9848ea43f..00d4eedf7 100644 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/308783012/fungible_asset_balances.json +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/308783012/fungible_asset_balances.json @@ -9,7 +9,6 @@ "is_frozen": false, "amount": "464000", "transaction_timestamp": "2023-10-24T09:08:03", - "token_standard": "v1", - "inserted_at": "2024-10-15T04:55:33.359031" + "token_standard": "v1" } ] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/308783012/token_activities_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/308783012/token_activities_v2.json index 503c6d4ed..0fdaa5eeb 100644 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/308783012/token_activities_v2.json +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/308783012/token_activities_v2.json @@ -14,8 +14,7 @@ "entry_function_id_str": "0x8d2d7bcde13b2513617df3f98cdd5d0e4b9f714c6308b9204fe18ad900d92609::mint::resource_mint_token_memo", "token_standard": "v2", "is_fungible_v2": null, - "transaction_timestamp": "2023-10-24T09:08:03.606880", - "inserted_at": "2024-10-15T04:55:34.472476" + "transaction_timestamp": "2023-10-24T09:08:03.606880" }, { "transaction_version": 308783012, @@ -32,7 +31,6 @@ "entry_function_id_str": "0x8d2d7bcde13b2513617df3f98cdd5d0e4b9f714c6308b9204fe18ad900d92609::mint::resource_mint_token_memo", "token_standard": "v2", "is_fungible_v2": null, - "transaction_timestamp": "2023-10-24T09:08:03.606880", - "inserted_at": "2024-10-15T04:55:34.472476" + "transaction_timestamp": "2023-10-24T09:08:03.606880" } ] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/events_processor/1/events.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/events_processor/1/events.json index c05d5d4d7..338e7e633 100644 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/events_processor/1/events.json +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/events_processor/1/events.json @@ -19,9 +19,8 @@ ], "previous_block_votes_bitvec": "0x00" }, - "inserted_at": "2024-10-15T05:15:50.241072", - "event_index": 0, - "indexed_type": "0x1::block::NewBlockEvent" + "indexed_type": "0x1::block::NewBlockEvent", + "event_index": 0 }, { "sequence_number": 0, @@ -34,9 +33,8 @@ "pool_address": "0xb7c7d12080209e9dc14498c80200706e760363fb31782247e82cf57d1d6e5d6c", "rewards_amount": "0" }, - "inserted_at": "2024-10-15T05:15:50.241072", - "event_index": 1, - "indexed_type": "0x1::stake::DistributeRewardsEvent" + "indexed_type": "0x1::stake::DistributeRewardsEvent", + "event_index": 1 }, { "sequence_number": 0, @@ -49,9 +47,8 @@ "pool_address": "0xdffe3c93b756bf6fec59b052d6fe71b40c3f9b7899d69ab06ba385b1c6728d16", "rewards_amount": "4566200000" }, - "inserted_at": "2024-10-15T05:15:50.241072", - "event_index": 2, - "indexed_type": "0x1::stake::DistributeRewardsEvent" + "indexed_type": "0x1::stake::DistributeRewardsEvent", + "event_index": 2 }, { "sequence_number": 0, @@ -64,9 +61,8 @@ "pool_address": "0x828ca971e35c8b9a807439e5a328fdc9a5ed0efbfb12f40bc451d17f6998be3f", "rewards_amount": "0" }, - "inserted_at": "2024-10-15T05:15:50.241072", - "event_index": 3, - "indexed_type": "0x1::stake::DistributeRewardsEvent" + "indexed_type": "0x1::stake::DistributeRewardsEvent", + "event_index": 3 }, { "sequence_number": 0, @@ -79,9 +75,8 @@ "pool_address": "0xacb107b98cd634ca32d39d38ab13df8cbcd5fe7856ce2a3c3d123e53f95d0b6f", "rewards_amount": "0" }, - "inserted_at": "2024-10-15T05:15:50.241072", - "event_index": 4, - "indexed_type": "0x1::stake::DistributeRewardsEvent" + "indexed_type": "0x1::stake::DistributeRewardsEvent", + "event_index": 4 }, { "sequence_number": 1, @@ -93,8 +88,7 @@ "data": { "epoch": "2" }, - "inserted_at": "2024-10-15T05:15:50.241072", - "event_index": 5, - "indexed_type": "0x1::reconfiguration::NewEpochEvent" + "indexed_type": "0x1::reconfiguration::NewEpochEvent", + "event_index": 5 } ] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/events_processor/1255836496/events.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/events_processor/1255836496/events.json index c4ec7b54a..a10bb69f9 100644 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/events_processor/1255836496/events.json +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/events_processor/1255836496/events.json @@ -9,9 +9,8 @@ "data": { "amount": "300000" }, - "inserted_at": "2024-10-15T05:15:48.641863", - "event_index": 0, - "indexed_type": "0x1::coin::WithdrawEvent" + "indexed_type": "0x1::coin::WithdrawEvent", + "event_index": 0 }, { "sequence_number": 707, @@ -23,9 +22,8 @@ "data": { "amount": "300000" }, - "inserted_at": "2024-10-15T05:15:48.641863", - "event_index": 1, - "indexed_type": "0x1::coin::DepositEvent" + "indexed_type": "0x1::coin::DepositEvent", + "event_index": 1 }, { "sequence_number": 0, @@ -38,9 +36,8 @@ "store": "0x8f4f0991e18bd9620a4b3756dbe15afd20135eaaa93e0d0b82e6e2412a8e12b8", "amount": "300000" }, - "inserted_at": "2024-10-15T05:15:48.641863", - "event_index": 2, - "indexed_type": "0x1::fungible_asset::Deposit" + "indexed_type": "0x1::fungible_asset::Deposit", + "event_index": 2 }, { "sequence_number": 0, @@ -57,9 +54,8 @@ "token": "0x1::aptos_coin::AptosCoin", "amount": "300000" }, - "inserted_at": "2024-10-15T05:15:48.641863", - "event_index": 3, - "indexed_type": "0xfabb471223cefd7064b1f19f6e0e06468d2bd830d8ae832916406dd8297098af::lending_pool::Deposit" + "indexed_type": "0xfabb471223cefd7064b1f19f6e0e06468d2bd830d8ae832916406dd8297098af::lending_pool::Deposit", + "event_index": 3 }, { "sequence_number": 0, @@ -75,8 +71,7 @@ "total_charge_gas_units": "505", "storage_fee_refund_octas": "0" }, - "inserted_at": "2024-10-15T05:15:48.641863", - "event_index": 4, - "indexed_type": "0x1::transaction_fee::FeeStatement" + "indexed_type": "0x1::transaction_fee::FeeStatement", + "event_index": 4 } ] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/events_processor/278556781/events.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/events_processor/278556781/events.json index 8da11495c..b3c4de024 100644 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/events_processor/278556781/events.json +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/events_processor/278556781/events.json @@ -13,9 +13,8 @@ "account_address": "0x589dabf3b43ef5c331ea3c0f9b6b005860c1f0ef94a5948d133e051b20c22862" } }, - "inserted_at": "2024-10-15T05:15:49.422609", - "event_index": 0, - "indexed_type": "0x1::account::CoinRegisterEvent" + "indexed_type": "0x1::account::CoinRegisterEvent", + "event_index": 0 }, { "sequence_number": 0, @@ -27,8 +26,7 @@ "data": { "amount": "1000000000000000000" }, - "inserted_at": "2024-10-15T05:15:49.422609", - "event_index": 1, - "indexed_type": "0x1::coin::DepositEvent" + "indexed_type": "0x1::coin::DepositEvent", + "event_index": 1 } ] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/events_processor/5523474016/events.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/events_processor/5523474016/events.json index 078706570..d1a0d7d76 100644 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/events_processor/5523474016/events.json +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/events_processor/5523474016/events.json @@ -10,9 +10,8 @@ "pool_address": "0xa4113560d0b18ba38797f2a899c4b27e0c5b0476be5d8f6be68fba8b1861ed0", "rewards_amount": "789371656" }, - "inserted_at": "2024-10-15T05:15:49.855843", - "event_index": 0, - "indexed_type": "0x1::stake::DistributeRewardsEvent" + "indexed_type": "0x1::stake::DistributeRewardsEvent", + "event_index": 0 }, { "sequence_number": 4252, @@ -25,9 +24,8 @@ "pool_address": "0x286e8af6717ef6b1e361aae8ab28dd6664bf562c2805dd9a53432246ec66566e", "rewards_amount": "19174256316" }, - "inserted_at": "2024-10-15T05:15:49.855843", - "event_index": 1, - "indexed_type": "0x1::stake::DistributeRewardsEvent" + "indexed_type": "0x1::stake::DistributeRewardsEvent", + "event_index": 1 }, { "sequence_number": 9823, @@ -40,9 +38,8 @@ "pool_address": "0x116176e2af223a8b7f8db80dc52f7a423b4d7f8c0553a1747e92ef58849aff4f", "rewards_amount": "19178730843" }, - "inserted_at": "2024-10-15T05:15:49.855843", - "event_index": 2, - "indexed_type": "0x1::stake::DistributeRewardsEvent" + "indexed_type": "0x1::stake::DistributeRewardsEvent", + "event_index": 2 }, { "sequence_number": 3697, @@ -55,9 +52,8 @@ "pool_address": "0xba08cec00a8cfa1deff6c9212dda8d198c8fa6ee1992f3ada76d645f99e3402b", "rewards_amount": "818123890" }, - "inserted_at": "2024-10-15T05:15:49.855843", - "event_index": 3, - "indexed_type": "0x1::stake::DistributeRewardsEvent" + "indexed_type": "0x1::stake::DistributeRewardsEvent", + "event_index": 3 }, { "sequence_number": 9813, @@ -70,9 +66,8 @@ "pool_address": "0x12000330d7cd8a748f46c25e6ce5d236a27e13d0b510d4516ac84ecc5fddd002", "rewards_amount": "19178287161" }, - "inserted_at": "2024-10-15T05:15:49.855843", - "event_index": 4, - "indexed_type": "0x1::stake::DistributeRewardsEvent" + "indexed_type": "0x1::stake::DistributeRewardsEvent", + "event_index": 4 }, { "sequence_number": 14143, @@ -85,9 +80,8 @@ "pool_address": "0x5176f2252762e527e3598c22f1bdb3a1ac0ff0db2d7518cabbc99305330a864a", "rewards_amount": "963055869" }, - "inserted_at": "2024-10-15T05:15:49.855843", - "event_index": 5, - "indexed_type": "0x1::stake::DistributeRewardsEvent" + "indexed_type": "0x1::stake::DistributeRewardsEvent", + "event_index": 5 }, { "sequence_number": 9812, @@ -100,9 +94,8 @@ "pool_address": "0xf0a156ed79ab6ccb5a643af48716263b565fd985ba36560966b4a91bdc8521f4", "rewards_amount": "19177688699" }, - "inserted_at": "2024-10-15T05:15:49.855843", - "event_index": 6, - "indexed_type": "0x1::stake::DistributeRewardsEvent" + "indexed_type": "0x1::stake::DistributeRewardsEvent", + "event_index": 6 }, { "sequence_number": 7807, @@ -115,9 +108,8 @@ "pool_address": "0xa562415be88d9f08ba98fa3f6af9be0e36580c0f8fff5100a50b519e8f4a15c9", "rewards_amount": "841058926" }, - "inserted_at": "2024-10-15T05:15:49.855843", - "event_index": 7, - "indexed_type": "0x1::stake::DistributeRewardsEvent" + "indexed_type": "0x1::stake::DistributeRewardsEvent", + "event_index": 7 }, { "sequence_number": 9823, @@ -130,9 +122,8 @@ "pool_address": "0x676f640c90cb6c45f21be50974531d440309aa4ddad919ae0429039789a3d8a9", "rewards_amount": "19178518163" }, - "inserted_at": "2024-10-15T05:15:49.855843", - "event_index": 8, - "indexed_type": "0x1::stake::DistributeRewardsEvent" + "indexed_type": "0x1::stake::DistributeRewardsEvent", + "event_index": 8 }, { "sequence_number": 9829, @@ -145,9 +136,8 @@ "pool_address": "0x3c04549114877c55f45649aba48ac0a4ff086ab7bdce3b8cc8d3d9947bc0d99", "rewards_amount": "19185171265" }, - "inserted_at": "2024-10-15T05:15:49.855843", - "event_index": 9, - "indexed_type": "0x1::stake::DistributeRewardsEvent" + "indexed_type": "0x1::stake::DistributeRewardsEvent", + "event_index": 9 }, { "sequence_number": 4252, @@ -160,9 +150,8 @@ "pool_address": "0x6d00a8a82bd0b6d187f9a328118ad61b5c80237362e8f5dd2454f2d3a1b03890", "rewards_amount": "19174925092" }, - "inserted_at": "2024-10-15T05:15:49.855843", - "event_index": 10, - "indexed_type": "0x1::stake::DistributeRewardsEvent" + "indexed_type": "0x1::stake::DistributeRewardsEvent", + "event_index": 10 }, { "sequence_number": 8256, @@ -175,9 +164,8 @@ "pool_address": "0x7a2ddb6af66beb0d9987c6c9010cb9053454f067e16775a8ecf19961195c3d28", "rewards_amount": "18813123628" }, - "inserted_at": "2024-10-15T05:15:49.855843", - "event_index": 11, - "indexed_type": "0x1::stake::DistributeRewardsEvent" + "indexed_type": "0x1::stake::DistributeRewardsEvent", + "event_index": 11 }, { "sequence_number": 8641, @@ -190,9 +178,8 @@ "pool_address": "0xeecd6e9fb71f3a67db6321e93deecf7a9d7c3f4fac6cd170deb3e8b183281943", "rewards_amount": "828031401" }, - "inserted_at": "2024-10-15T05:15:49.855843", - "event_index": 12, - "indexed_type": "0x1::stake::DistributeRewardsEvent" + "indexed_type": "0x1::stake::DistributeRewardsEvent", + "event_index": 12 }, { "sequence_number": 1882, @@ -205,9 +192,8 @@ "pool_address": "0xfd47a2fb988c959839ea2fe4d7169b48536a42bf5e4933790701a08252ba2039", "rewards_amount": "798768182" }, - "inserted_at": "2024-10-15T05:15:49.855843", - "event_index": 13, - "indexed_type": "0x1::stake::DistributeRewardsEvent" + "indexed_type": "0x1::stake::DistributeRewardsEvent", + "event_index": 13 }, { "sequence_number": 2197, @@ -220,9 +206,8 @@ "pool_address": "0x479ca442491cfd636f84fa8e56fa420c8038587e459e886d16a0b9d3993b16ba", "rewards_amount": "18896078163" }, - "inserted_at": "2024-10-15T05:15:49.855843", - "event_index": 14, - "indexed_type": "0x1::stake::DistributeRewardsEvent" + "indexed_type": "0x1::stake::DistributeRewardsEvent", + "event_index": 14 }, { "sequence_number": 2199, @@ -235,9 +220,8 @@ "pool_address": "0x95a0e6b1105ba7ef9382e585d32e9dbf1a73833975af77d9b6924aa33468df07", "rewards_amount": "18894077814" }, - "inserted_at": "2024-10-15T05:15:49.855843", - "event_index": 15, - "indexed_type": "0x1::stake::DistributeRewardsEvent" + "indexed_type": "0x1::stake::DistributeRewardsEvent", + "event_index": 15 }, { "sequence_number": 225, @@ -250,9 +234,8 @@ "pool_address": "0xb59c2db675c086d0c07b0f5d5ebd95ea9ead4429d836284fc4a576c4eed5799c", "rewards_amount": "787639333" }, - "inserted_at": "2024-10-15T05:15:49.855843", - "event_index": 16, - "indexed_type": "0x1::stake::DistributeRewardsEvent" + "indexed_type": "0x1::stake::DistributeRewardsEvent", + "event_index": 16 }, { "sequence_number": 405, @@ -265,9 +248,8 @@ "pool_address": "0x50e52098d22c91f4c6a0065d03b2602cc2643089b218096e3cfe5f1bd98d80e6", "rewards_amount": "789473752" }, - "inserted_at": "2024-10-15T05:15:49.855843", - "event_index": 17, - "indexed_type": "0x1::stake::DistributeRewardsEvent" + "indexed_type": "0x1::stake::DistributeRewardsEvent", + "event_index": 17 }, { "sequence_number": 330, @@ -280,9 +262,8 @@ "pool_address": "0xa5ed5d5e8c892165b18c2062596e8d1139fbb2cc451d430f787cd707122ce023", "rewards_amount": "787913628" }, - "inserted_at": "2024-10-15T05:15:49.855843", - "event_index": 18, - "indexed_type": "0x1::stake::DistributeRewardsEvent" + "indexed_type": "0x1::stake::DistributeRewardsEvent", + "event_index": 18 }, { "sequence_number": 16643, @@ -294,8 +275,7 @@ "data": { "epoch": "16644" }, - "inserted_at": "2024-10-15T05:15:49.855843", - "event_index": 19, - "indexed_type": "0x1::reconfiguration::NewEpochEvent" + "indexed_type": "0x1::reconfiguration::NewEpochEvent", + "event_index": 19 } ] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/events_processor/5979639459/events.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/events_processor/5979639459/events.json index a06eeb473..ed5feab5f 100644 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/events_processor/5979639459/events.json +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/events_processor/5979639459/events.json @@ -13,9 +13,8 @@ "account_address": "0x1" } }, - "inserted_at": "2024-10-15T05:15:48.257818", - "event_index": 0, - "indexed_type": "0x1::account::CoinRegisterEvent" + "indexed_type": "0x1::account::CoinRegisterEvent", + "event_index": 0 }, { "sequence_number": 21684, @@ -27,9 +26,8 @@ "data": { "amount": "10" }, - "inserted_at": "2024-10-15T05:15:48.257818", - "event_index": 1, - "indexed_type": "0x1::coin::WithdrawEvent" + "indexed_type": "0x1::coin::WithdrawEvent", + "event_index": 1 }, { "sequence_number": 0, @@ -41,9 +39,8 @@ "data": { "amount": "10" }, - "inserted_at": "2024-10-15T05:15:48.257818", - "event_index": 2, - "indexed_type": "0x1::coin::DepositEvent" + "indexed_type": "0x1::coin::DepositEvent", + "event_index": 2 }, { "sequence_number": 0, @@ -59,8 +56,7 @@ "total_charge_gas_units": "999", "storage_fee_refund_octas": "0" }, - "inserted_at": "2024-10-15T05:15:48.257818", - "event_index": 3, - "indexed_type": "0x1::transaction_fee::FeeStatement" + "indexed_type": "0x1::transaction_fee::FeeStatement", + "event_index": 3 } ] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/events_processor/5992795934/events.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/events_processor/5992795934/events.json index 69192b908..dd105cc73 100644 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/events_processor/5992795934/events.json +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/events_processor/5992795934/events.json @@ -10,9 +10,8 @@ "store": "0x8bd5745daa2d6e5817819c6bf37600196e55cfba8c5bcdfdf55684bf4accbb9c", "amount": "100000000" }, - "inserted_at": "2024-10-15T05:15:49.043035", - "event_index": 0, - "indexed_type": "0x1::fungible_asset::Withdraw" + "indexed_type": "0x1::fungible_asset::Withdraw", + "event_index": 0 }, { "sequence_number": 0, @@ -25,9 +24,8 @@ "store": "0xfe90bdd996728b93e09f5d59fd91d6d44be85ab7acea5d1ed535b4c13b2c32c0", "amount": "100000000" }, - "inserted_at": "2024-10-15T05:15:49.043035", - "event_index": 1, - "indexed_type": "0x1::fungible_asset::Deposit" + "indexed_type": "0x1::fungible_asset::Deposit", + "event_index": 1 }, { "sequence_number": 0, @@ -43,8 +41,7 @@ "total_charge_gas_units": "12", "storage_fee_refund_octas": "0" }, - "inserted_at": "2024-10-15T05:15:49.043035", - "event_index": 2, - "indexed_type": "0x1::transaction_fee::FeeStatement" + "indexed_type": "0x1::transaction_fee::FeeStatement", + "event_index": 2 } ] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/1/coin_supply.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/1/coin_supply.json index 2bb345905..05dd7f35b 100644 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/1/coin_supply.json +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/1/coin_supply.json @@ -5,7 +5,6 @@ "coin_type": "0x1::aptos_coin::AptosCoin", "supply": "18448344078275751615", "transaction_timestamp": "2022-09-09T01:24:17", - "transaction_epoch": 1, - "inserted_at": "2024-10-15T04:55:33.634148" + "transaction_epoch": 1 } ] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/1255836496/coin_supply.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/1255836496/coin_supply.json index fc23679d8..937a86719 100644 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/1255836496/coin_supply.json +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/1255836496/coin_supply.json @@ -5,7 +5,6 @@ "coin_type": "0x1::aptos_coin::AptosCoin", "supply": "29152644549222814344", "transaction_timestamp": "2024-06-18T05:07:55", - "transaction_epoch": 15650, - "inserted_at": "2024-10-15T05:15:49.507039" + "transaction_epoch": 15650 } ] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/1255836496/current_fungible_asset_balances.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/1255836496/current_fungible_asset_balances.json index 2818335de..e5c643eb6 100644 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/1255836496/current_fungible_asset_balances.json +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/1255836496/current_fungible_asset_balances.json @@ -8,8 +8,7 @@ "amount": "29450400", "last_transaction_timestamp": "2024-06-18T05:07:55", "last_transaction_version": 1255836496, - "token_standard": "v1", - "inserted_at": "2024-10-15T05:15:49.504224" + "token_standard": "v1" }, { "storage_id": "0x56c216a20a151df2e917008e27f3b70250f1cbb80eeef24e64e2335630825fa3", @@ -20,8 +19,7 @@ "amount": "17374075418", "last_transaction_timestamp": "2024-06-18T05:07:55", "last_transaction_version": 1255836496, - "token_standard": "v1", - "inserted_at": "2024-10-15T05:15:49.504224" + "token_standard": "v1" }, { "storage_id": "0x7ea259eaaacce518a7479baca008e17fab2d0267a16e11979d52eb6c5433aad6", @@ -32,8 +30,7 @@ "amount": "93054699", "last_transaction_timestamp": "2024-06-18T05:07:55", "last_transaction_version": 1255836496, - "token_standard": "v2", - "inserted_at": "2024-10-15T05:15:49.504224" + "token_standard": "v2" }, { "storage_id": "0x8f4f0991e18bd9620a4b3756dbe15afd20135eaaa93e0d0b82e6e2412a8e12b8", @@ -44,7 +41,6 @@ "amount": "17272186129", "last_transaction_timestamp": "2024-06-18T05:07:55", "last_transaction_version": 1255836496, - "token_standard": "v2", - "inserted_at": "2024-10-15T05:15:49.504224" + "token_standard": "v2" } ] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/1255836496/fungible_asset_activities.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/1255836496/fungible_asset_activities.json index 7eb6cd8ca..deda77d29 100644 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/1255836496/fungible_asset_activities.json +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/1255836496/fungible_asset_activities.json @@ -15,7 +15,6 @@ "block_height": 295534162, "token_standard": "v1", "transaction_timestamp": "2024-06-18T05:07:55", - "inserted_at": "2024-10-15T05:15:49.044565", "storage_refund_amount": "0" }, { @@ -34,7 +33,6 @@ "block_height": 295534162, "token_standard": "v1", "transaction_timestamp": "2024-06-18T05:07:55", - "inserted_at": "2024-10-15T05:15:49.044565", "storage_refund_amount": "0" }, { @@ -53,7 +51,6 @@ "block_height": 295534162, "token_standard": "v1", "transaction_timestamp": "2024-06-18T05:07:55", - "inserted_at": "2024-10-15T05:15:49.044565", "storage_refund_amount": "0" }, { @@ -72,7 +69,6 @@ "block_height": 295534162, "token_standard": "v2", "transaction_timestamp": "2024-06-18T05:07:55", - "inserted_at": "2024-10-15T05:15:49.044565", "storage_refund_amount": "0" } ] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/1255836496/fungible_asset_balances.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/1255836496/fungible_asset_balances.json index c22225fd9..2dd21aa02 100644 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/1255836496/fungible_asset_balances.json +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/1255836496/fungible_asset_balances.json @@ -9,8 +9,7 @@ "is_frozen": false, "amount": "17374075418", "transaction_timestamp": "2024-06-18T05:07:55", - "token_standard": "v1", - "inserted_at": "2024-10-15T05:15:49.494456" + "token_standard": "v1" }, { "transaction_version": 1255836496, @@ -22,8 +21,7 @@ "is_frozen": false, "amount": "93054699", "transaction_timestamp": "2024-06-18T05:07:55", - "token_standard": "v2", - "inserted_at": "2024-10-15T05:15:49.494456" + "token_standard": "v2" }, { "transaction_version": 1255836496, @@ -35,8 +33,7 @@ "is_frozen": false, "amount": "17272186129", "transaction_timestamp": "2024-06-18T05:07:55", - "token_standard": "v2", - "inserted_at": "2024-10-15T05:15:49.494456" + "token_standard": "v2" }, { "transaction_version": 1255836496, @@ -48,7 +45,6 @@ "is_frozen": false, "amount": "29450400", "transaction_timestamp": "2024-06-18T05:07:55", - "token_standard": "v1", - "inserted_at": "2024-10-15T05:15:49.494456" + "token_standard": "v1" } ] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/1255836496/fungible_asset_metadata.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/1255836496/fungible_asset_metadata.json index babd34933..3bbb1d851 100644 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/1255836496/fungible_asset_metadata.json +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/1255836496/fungible_asset_metadata.json @@ -13,8 +13,7 @@ "supply_aggregator_table_key_v1": null, "token_standard": "v2", "is_token_v2": null, - "inserted_at": "2024-10-15T05:15:49.235092", - "supply_v2": "17374075418", - "maximum_v2": "340282366920938463463374607431768211455" + "maximum_v2": "340282366920938463463374607431768211455", + "supply_v2": "17374075418" } ] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/278556781/coin_supply.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/278556781/coin_supply.json index f183489e6..c7455ae56 100644 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/278556781/coin_supply.json +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/278556781/coin_supply.json @@ -5,7 +5,6 @@ "coin_type": "0x1::aptos_coin::AptosCoin", "supply": "18544645433533405815", "transaction_timestamp": "2022-10-13T01:46:57", - "transaction_epoch": 746, - "inserted_at": "2024-10-15T04:55:33.624550" + "transaction_epoch": 746 } ] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/278556781/current_fungible_asset_balances.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/278556781/current_fungible_asset_balances.json index 40257dc35..f45ae6826 100644 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/278556781/current_fungible_asset_balances.json +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/278556781/current_fungible_asset_balances.json @@ -8,8 +8,7 @@ "amount": "10041540182", "last_transaction_timestamp": "2022-10-13T01:46:57", "last_transaction_version": 278556781, - "token_standard": "v1", - "inserted_at": "2024-10-15T04:55:33.624870" + "token_standard": "v1" }, { "storage_id": "0xfc6edbad85409914ab088b68fed0528e4d8e36dcee31075bb8252b4f426a6cff", @@ -20,7 +19,6 @@ "amount": "1000000000000000000", "last_transaction_timestamp": "2022-10-13T01:46:57", "last_transaction_version": 278556781, - "token_standard": "v1", - "inserted_at": "2024-10-15T04:55:33.624870" + "token_standard": "v1" } ] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/278556781/fungible_asset_activities.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/278556781/fungible_asset_activities.json index da4019a2d..436b43072 100644 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/278556781/fungible_asset_activities.json +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/278556781/fungible_asset_activities.json @@ -15,7 +15,6 @@ "block_height": 20040326, "token_standard": "v1", "transaction_timestamp": "2022-10-13T01:46:57", - "inserted_at": "2024-10-15T04:55:33.625216", "storage_refund_amount": "0" }, { @@ -34,7 +33,6 @@ "block_height": 20040326, "token_standard": "v1", "transaction_timestamp": "2022-10-13T01:46:57", - "inserted_at": "2024-10-15T04:55:33.625216", "storage_refund_amount": "0" } ] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/278556781/fungible_asset_balances.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/278556781/fungible_asset_balances.json index b233d6769..779d4957c 100644 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/278556781/fungible_asset_balances.json +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/278556781/fungible_asset_balances.json @@ -9,8 +9,7 @@ "is_frozen": false, "amount": "10041540182", "transaction_timestamp": "2022-10-13T01:46:57", - "token_standard": "v1", - "inserted_at": "2024-10-15T04:55:33.624856" + "token_standard": "v1" }, { "transaction_version": 278556781, @@ -22,7 +21,6 @@ "is_frozen": false, "amount": "1000000000000000000", "transaction_timestamp": "2022-10-13T01:46:57", - "token_standard": "v1", - "inserted_at": "2024-10-15T04:55:33.624856" + "token_standard": "v1" } ] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/278556781/fungible_asset_metadata.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/278556781/fungible_asset_metadata.json index 9d60f92bb..9733b88cd 100644 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/278556781/fungible_asset_metadata.json +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/278556781/fungible_asset_metadata.json @@ -13,8 +13,7 @@ "supply_aggregator_table_key_v1": null, "token_standard": "v1", "is_token_v2": null, - "inserted_at": "2024-10-15T04:55:33.624874", - "supply_v2": null, - "maximum_v2": null + "maximum_v2": null, + "supply_v2": null } ] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/5523474016/coin_supply.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/5523474016/coin_supply.json index 1cf9b83ce..3d51eb2f6 100644 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/5523474016/coin_supply.json +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/5523474016/coin_supply.json @@ -5,7 +5,6 @@ "coin_type": "0x1::aptos_coin::AptosCoin", "supply": "29159026553346716168", "transaction_timestamp": "2024-07-29T00:02:18", - "transaction_epoch": 16643, - "inserted_at": "2024-10-15T04:55:33.630464" + "transaction_epoch": 16643 } ] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/5979639459/coin_supply.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/5979639459/coin_supply.json index 68a6f03ab..04bab61ee 100644 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/5979639459/coin_supply.json +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/5979639459/coin_supply.json @@ -5,7 +5,6 @@ "coin_type": "0x1::aptos_coin::AptosCoin", "supply": "29164832318786122251", "transaction_timestamp": "2024-09-13T16:48:29", - "transaction_epoch": 17778, - "inserted_at": "2024-10-15T05:15:48.604183" + "transaction_epoch": 17778 } ] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/5979639459/current_fungible_asset_balances.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/5979639459/current_fungible_asset_balances.json index 2426c3793..9727ea023 100644 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/5979639459/current_fungible_asset_balances.json +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/5979639459/current_fungible_asset_balances.json @@ -8,8 +8,7 @@ "amount": "10", "last_transaction_timestamp": "2024-09-13T16:48:29", "last_transaction_version": 5979639459, - "token_standard": "v1", - "inserted_at": "2024-10-15T05:15:48.598648" + "token_standard": "v1" }, { "storage_id": "0x32edf0b123cd57094ba7b0b5a0b1524e0f2117b547adf65e8b0c08b39e30d242", @@ -20,7 +19,6 @@ "amount": "16673484350", "last_transaction_timestamp": "2024-09-13T16:48:29", "last_transaction_version": 5979639459, - "token_standard": "v1", - "inserted_at": "2024-10-15T05:15:48.598648" + "token_standard": "v1" } ] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/5979639459/fungible_asset_activities.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/5979639459/fungible_asset_activities.json index 69a01ac2c..5e99ebdf9 100644 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/5979639459/fungible_asset_activities.json +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/5979639459/fungible_asset_activities.json @@ -15,7 +15,6 @@ "block_height": 354619634, "token_standard": "v1", "transaction_timestamp": "2024-09-13T16:48:29", - "inserted_at": "2024-10-15T05:15:48.265877", "storage_refund_amount": "0" }, { @@ -34,7 +33,6 @@ "block_height": 354619634, "token_standard": "v1", "transaction_timestamp": "2024-09-13T16:48:29", - "inserted_at": "2024-10-15T05:15:48.265877", "storage_refund_amount": "0" }, { @@ -53,7 +51,6 @@ "block_height": 354619634, "token_standard": "v1", "transaction_timestamp": "2024-09-13T16:48:29", - "inserted_at": "2024-10-15T05:15:48.265877", "storage_refund_amount": "0" } ] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/5979639459/fungible_asset_balances.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/5979639459/fungible_asset_balances.json index f7947c0e4..9305714f7 100644 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/5979639459/fungible_asset_balances.json +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/5979639459/fungible_asset_balances.json @@ -9,8 +9,7 @@ "is_frozen": false, "amount": "16673484350", "transaction_timestamp": "2024-09-13T16:48:29", - "token_standard": "v1", - "inserted_at": "2024-10-15T05:15:48.523230" + "token_standard": "v1" }, { "transaction_version": 5979639459, @@ -22,7 +21,6 @@ "is_frozen": false, "amount": "10", "transaction_timestamp": "2024-09-13T16:48:29", - "token_standard": "v1", - "inserted_at": "2024-10-15T05:15:48.523230" + "token_standard": "v1" } ] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/5992795934/coin_supply.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/5992795934/coin_supply.json index 662ea7100..78207671f 100644 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/5992795934/coin_supply.json +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/5992795934/coin_supply.json @@ -5,7 +5,6 @@ "coin_type": "0x1::aptos_coin::AptosCoin", "supply": "29165678689185321503", "transaction_timestamp": "2024-09-16T06:58:10", - "transaction_epoch": 17841, - "inserted_at": "2024-10-15T05:15:50.301898" + "transaction_epoch": 17841 } ] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/5992795934/current_fungible_asset_balances.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/5992795934/current_fungible_asset_balances.json index 27ebef47e..fdb2aaccb 100644 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/5992795934/current_fungible_asset_balances.json +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/5992795934/current_fungible_asset_balances.json @@ -8,8 +8,7 @@ "amount": "18901942640", "last_transaction_timestamp": "2024-09-16T06:58:10", "last_transaction_version": 5992795934, - "token_standard": "v1", - "inserted_at": "2024-10-15T05:15:50.294358" + "token_standard": "v1" }, { "storage_id": "0x8bd5745daa2d6e5817819c6bf37600196e55cfba8c5bcdfdf55684bf4accbb9c", @@ -20,8 +19,7 @@ "amount": "0", "last_transaction_timestamp": "2024-09-16T06:58:10", "last_transaction_version": 5992795934, - "token_standard": "v2", - "inserted_at": "2024-10-15T05:15:50.294358" + "token_standard": "v2" }, { "storage_id": "0xfe90bdd996728b93e09f5d59fd91d6d44be85ab7acea5d1ed535b4c13b2c32c0", @@ -32,7 +30,6 @@ "amount": "9996985969300000000", "last_transaction_timestamp": "2024-09-16T06:58:10", "last_transaction_version": 5992795934, - "token_standard": "v2", - "inserted_at": "2024-10-15T05:15:50.294358" + "token_standard": "v2" } ] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/5992795934/fungible_asset_activities.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/5992795934/fungible_asset_activities.json index 519c0f453..bc3197a95 100644 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/5992795934/fungible_asset_activities.json +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/5992795934/fungible_asset_activities.json @@ -15,7 +15,6 @@ "block_height": 356437526, "token_standard": "v1", "transaction_timestamp": "2024-09-16T06:58:10", - "inserted_at": "2024-10-15T05:15:49.908952", "storage_refund_amount": "0" }, { @@ -34,7 +33,6 @@ "block_height": 356437526, "token_standard": "v2", "transaction_timestamp": "2024-09-16T06:58:10", - "inserted_at": "2024-10-15T05:15:49.908952", "storage_refund_amount": "0" }, { @@ -53,7 +51,6 @@ "block_height": 356437526, "token_standard": "v2", "transaction_timestamp": "2024-09-16T06:58:10", - "inserted_at": "2024-10-15T05:15:49.908952", "storage_refund_amount": "0" } ] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/5992795934/fungible_asset_balances.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/5992795934/fungible_asset_balances.json index a45fdd16f..750b30768 100644 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/5992795934/fungible_asset_balances.json +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/5992795934/fungible_asset_balances.json @@ -9,8 +9,7 @@ "is_frozen": false, "amount": "0", "transaction_timestamp": "2024-09-16T06:58:10", - "token_standard": "v2", - "inserted_at": "2024-10-15T05:15:50.161798" + "token_standard": "v2" }, { "transaction_version": 5992795934, @@ -22,8 +21,7 @@ "is_frozen": false, "amount": "18901942640", "transaction_timestamp": "2024-09-16T06:58:10", - "token_standard": "v1", - "inserted_at": "2024-10-15T05:15:50.161798" + "token_standard": "v1" }, { "transaction_version": 5992795934, @@ -35,7 +33,6 @@ "is_frozen": false, "amount": "9996985969300000000", "transaction_timestamp": "2024-09-16T06:58:10", - "token_standard": "v2", - "inserted_at": "2024-10-15T05:15:50.161798" + "token_standard": "v2" } ] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/events_processor/23/events.json b/rust/integration-tests/expected_db_output_files/scripted_txns/events_processor/23/events.json index e4474af36..6ff94bb16 100644 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/events_processor/23/events.json +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/events_processor/23/events.json @@ -13,8 +13,7 @@ "total_charge_gas_units": "3", "storage_fee_refund_octas": "0" }, - "inserted_at": "2024-10-15T04:55:32.412203", - "event_index": 0, - "indexed_type": "0x1::transaction_fee::FeeStatement" + "indexed_type": "0x1::transaction_fee::FeeStatement", + "event_index": 0 } ] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/events_processor/43/events.json b/rust/integration-tests/expected_db_output_files/scripted_txns/events_processor/43/events.json index 78fcf79a8..5f5f8ee20 100644 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/events_processor/43/events.json +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/events_processor/43/events.json @@ -13,8 +13,7 @@ "total_charge_gas_units": "3", "storage_fee_refund_octas": "0" }, - "inserted_at": "2024-10-15T04:55:32.404901", - "event_index": 0, - "indexed_type": "0x1::transaction_fee::FeeStatement" + "indexed_type": "0x1::transaction_fee::FeeStatement", + "event_index": 0 } ] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/events_processor/65/events.json b/rust/integration-tests/expected_db_output_files/scripted_txns/events_processor/65/events.json index 0a8a207d6..dde6479b4 100644 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/events_processor/65/events.json +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/events_processor/65/events.json @@ -13,8 +13,7 @@ "total_charge_gas_units": "3", "storage_fee_refund_octas": "0" }, - "inserted_at": "2024-10-15T04:55:32.413924", - "event_index": 0, - "indexed_type": "0x1::transaction_fee::FeeStatement" + "indexed_type": "0x1::transaction_fee::FeeStatement", + "event_index": 0 } ] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/events_processor/85/events.json b/rust/integration-tests/expected_db_output_files/scripted_txns/events_processor/85/events.json index cd2cd722e..ed9d921df 100644 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/events_processor/85/events.json +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/events_processor/85/events.json @@ -13,8 +13,7 @@ "total_charge_gas_units": "3", "storage_fee_refund_octas": "0" }, - "inserted_at": "2024-10-15T04:55:32.409748", - "event_index": 0, - "indexed_type": "0x1::transaction_fee::FeeStatement" + "indexed_type": "0x1::transaction_fee::FeeStatement", + "event_index": 0 } ] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/fungible_asset_processor/23/coin_supply.json b/rust/integration-tests/expected_db_output_files/scripted_txns/fungible_asset_processor/23/coin_supply.json index c54ea616e..9b4e4e500 100644 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/fungible_asset_processor/23/coin_supply.json +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/fungible_asset_processor/23/coin_supply.json @@ -5,7 +5,6 @@ "coin_type": "0x1::aptos_coin::AptosCoin", "supply": "18446744073709451425", "transaction_timestamp": "2024-10-01T22:06:51", - "transaction_epoch": 2, - "inserted_at": "2024-10-15T04:55:33.417012" + "transaction_epoch": 2 } ] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/fungible_asset_processor/23/current_fungible_asset_balances.json b/rust/integration-tests/expected_db_output_files/scripted_txns/fungible_asset_processor/23/current_fungible_asset_balances.json index e3ec96da9..fe915e35c 100644 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/fungible_asset_processor/23/current_fungible_asset_balances.json +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/fungible_asset_processor/23/current_fungible_asset_balances.json @@ -8,7 +8,6 @@ "amount": "99999700", "last_transaction_timestamp": "2024-10-01T22:06:51", "last_transaction_version": 23, - "token_standard": "v1", - "inserted_at": "2024-10-15T04:55:33.417327" + "token_standard": "v1" } ] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/fungible_asset_processor/23/fungible_asset_activities.json b/rust/integration-tests/expected_db_output_files/scripted_txns/fungible_asset_processor/23/fungible_asset_activities.json index 2f7ab2712..2bfb044d3 100644 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/fungible_asset_processor/23/fungible_asset_activities.json +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/fungible_asset_processor/23/fungible_asset_activities.json @@ -15,7 +15,6 @@ "block_height": 11, "token_standard": "v1", "transaction_timestamp": "2024-10-01T22:06:51", - "inserted_at": "2024-10-15T04:55:33.417429", "storage_refund_amount": "0" } ] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/fungible_asset_processor/23/fungible_asset_balances.json b/rust/integration-tests/expected_db_output_files/scripted_txns/fungible_asset_processor/23/fungible_asset_balances.json index 192b3c192..608809af1 100644 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/fungible_asset_processor/23/fungible_asset_balances.json +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/fungible_asset_processor/23/fungible_asset_balances.json @@ -9,7 +9,6 @@ "is_frozen": false, "amount": "99999700", "transaction_timestamp": "2024-10-01T22:06:51", - "token_standard": "v1", - "inserted_at": "2024-10-15T04:55:33.417191" + "token_standard": "v1" } ] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/fungible_asset_processor/43/coin_supply.json b/rust/integration-tests/expected_db_output_files/scripted_txns/fungible_asset_processor/43/coin_supply.json index 198884ee3..d0ab00ec2 100644 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/fungible_asset_processor/43/coin_supply.json +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/fungible_asset_processor/43/coin_supply.json @@ -5,7 +5,6 @@ "coin_type": "0x1::aptos_coin::AptosCoin", "supply": "18446744073709351225", "transaction_timestamp": "2024-10-01T22:06:56", - "transaction_epoch": 2, - "inserted_at": "2024-10-15T04:55:33.392325" + "transaction_epoch": 2 } ] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/fungible_asset_processor/43/current_fungible_asset_balances.json b/rust/integration-tests/expected_db_output_files/scripted_txns/fungible_asset_processor/43/current_fungible_asset_balances.json index bb0e18cf6..9dd98afb9 100644 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/fungible_asset_processor/43/current_fungible_asset_balances.json +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/fungible_asset_processor/43/current_fungible_asset_balances.json @@ -8,7 +8,6 @@ "amount": "99999700", "last_transaction_timestamp": "2024-10-01T22:06:56", "last_transaction_version": 43, - "token_standard": "v1", - "inserted_at": "2024-10-15T04:55:33.389758" + "token_standard": "v1" } ] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/fungible_asset_processor/43/fungible_asset_activities.json b/rust/integration-tests/expected_db_output_files/scripted_txns/fungible_asset_processor/43/fungible_asset_activities.json index 43b5e68ee..09f4f5c43 100644 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/fungible_asset_processor/43/fungible_asset_activities.json +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/fungible_asset_processor/43/fungible_asset_activities.json @@ -15,7 +15,6 @@ "block_height": 20, "token_standard": "v1", "transaction_timestamp": "2024-10-01T22:06:56", - "inserted_at": "2024-10-15T04:55:33.388553", "storage_refund_amount": "0" } ] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/fungible_asset_processor/43/fungible_asset_balances.json b/rust/integration-tests/expected_db_output_files/scripted_txns/fungible_asset_processor/43/fungible_asset_balances.json index 1db0ea1b3..b825d94b9 100644 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/fungible_asset_processor/43/fungible_asset_balances.json +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/fungible_asset_processor/43/fungible_asset_balances.json @@ -9,7 +9,6 @@ "is_frozen": false, "amount": "99999700", "transaction_timestamp": "2024-10-01T22:06:56", - "token_standard": "v1", - "inserted_at": "2024-10-15T04:55:33.389826" + "token_standard": "v1" } ] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/fungible_asset_processor/65/coin_supply.json b/rust/integration-tests/expected_db_output_files/scripted_txns/fungible_asset_processor/65/coin_supply.json index b56e031be..3bc7c8265 100644 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/fungible_asset_processor/65/coin_supply.json +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/fungible_asset_processor/65/coin_supply.json @@ -5,7 +5,6 @@ "coin_type": "0x1::aptos_coin::AptosCoin", "supply": "18446744073809350825", "transaction_timestamp": "2024-10-01T22:07:03", - "transaction_epoch": 2, - "inserted_at": "2024-10-15T04:55:33.424263" + "transaction_epoch": 2 } ] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/fungible_asset_processor/65/fungible_asset_activities.json b/rust/integration-tests/expected_db_output_files/scripted_txns/fungible_asset_processor/65/fungible_asset_activities.json index 54b4b1b96..ece462aa5 100644 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/fungible_asset_processor/65/fungible_asset_activities.json +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/fungible_asset_processor/65/fungible_asset_activities.json @@ -15,7 +15,6 @@ "block_height": 30, "token_standard": "v1", "transaction_timestamp": "2024-10-01T22:07:03", - "inserted_at": "2024-10-15T04:55:33.424219", "storage_refund_amount": "0" } ] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/fungible_asset_processor/65/fungible_asset_balances.json b/rust/integration-tests/expected_db_output_files/scripted_txns/fungible_asset_processor/65/fungible_asset_balances.json index 7d15ff425..cf9283b5e 100644 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/fungible_asset_processor/65/fungible_asset_balances.json +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/fungible_asset_processor/65/fungible_asset_balances.json @@ -9,7 +9,6 @@ "is_frozen": false, "amount": "99999700", "transaction_timestamp": "2024-10-01T22:07:03", - "token_standard": "v1", - "inserted_at": "2024-10-15T04:55:33.424266" + "token_standard": "v1" } ] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/fungible_asset_processor/85/coin_supply.json b/rust/integration-tests/expected_db_output_files/scripted_txns/fungible_asset_processor/85/coin_supply.json index e75db7bd1..74249401b 100644 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/fungible_asset_processor/85/coin_supply.json +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/fungible_asset_processor/85/coin_supply.json @@ -5,7 +5,6 @@ "coin_type": "0x1::aptos_coin::AptosCoin", "supply": "18446744073909449225", "transaction_timestamp": "2024-10-01T22:07:09", - "transaction_epoch": 2, - "inserted_at": "2024-10-15T04:55:33.408880" + "transaction_epoch": 2 } ] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/fungible_asset_processor/85/current_fungible_asset_balances.json b/rust/integration-tests/expected_db_output_files/scripted_txns/fungible_asset_processor/85/current_fungible_asset_balances.json index c74c9f63f..36d44a3e7 100644 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/fungible_asset_processor/85/current_fungible_asset_balances.json +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/fungible_asset_processor/85/current_fungible_asset_balances.json @@ -8,7 +8,6 @@ "amount": "199999400", "last_transaction_timestamp": "2024-10-01T22:07:09", "last_transaction_version": 85, - "token_standard": "v1", - "inserted_at": "2024-10-15T04:55:33.408924" + "token_standard": "v1" } ] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/fungible_asset_processor/85/fungible_asset_activities.json b/rust/integration-tests/expected_db_output_files/scripted_txns/fungible_asset_processor/85/fungible_asset_activities.json index 2b442a5cc..593947fa6 100644 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/fungible_asset_processor/85/fungible_asset_activities.json +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/fungible_asset_processor/85/fungible_asset_activities.json @@ -15,7 +15,6 @@ "block_height": 39, "token_standard": "v1", "transaction_timestamp": "2024-10-01T22:07:09", - "inserted_at": "2024-10-15T04:55:33.408847", "storage_refund_amount": "0" } ] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/fungible_asset_processor/85/fungible_asset_balances.json b/rust/integration-tests/expected_db_output_files/scripted_txns/fungible_asset_processor/85/fungible_asset_balances.json index d621480f3..3b92bffd5 100644 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/fungible_asset_processor/85/fungible_asset_balances.json +++ b/rust/integration-tests/expected_db_output_files/scripted_txns/fungible_asset_processor/85/fungible_asset_balances.json @@ -9,7 +9,6 @@ "is_frozen": false, "amount": "199999400", "transaction_timestamp": "2024-10-01T22:07:09", - "token_standard": "v1", - "inserted_at": "2024-10-15T04:55:33.408249" + "token_standard": "v1" } ] \ No newline at end of file diff --git a/rust/integration-tests/src/cli_parser.rs b/rust/integration-tests/src/cli_parser.rs index dcf0e4fa6..a8a9230af 100644 --- a/rust/integration-tests/src/cli_parser.rs +++ b/rust/integration-tests/src/cli_parser.rs @@ -8,28 +8,22 @@ static TEST_CONFIG: Lazy> = Lazy::new(|| { Mutex::new(args) }); -// function to fetch global test args +// Function to fetch global test args #[allow(dead_code)] pub fn get_test_config() -> (bool, Option) { let test_args = TEST_CONFIG.lock().unwrap().clone(); (test_args.generate_output, test_args.output_path) } -#[allow(dead_code)] #[derive(Debug, Clone)] pub struct TestArgs { pub generate_output: bool, pub output_path: Option, } -#[allow(dead_code)] pub fn parse_test_args() -> TestArgs { - // Capture the raw arguments let raw_args: Vec = std::env::args().collect(); - // Log the raw arguments for debugging - println!("Raw arguments: {:?}", raw_args); - // Find the "--" separator (if it exists) let clap_args_position = raw_args.iter().position(|arg| arg == "--"); @@ -38,7 +32,6 @@ pub fn parse_test_args() -> TestArgs { Some(position) => raw_args[position + 1..].to_vec(), // Slice after `--` None => Vec::new(), // If no `--` is found, treat as no custom args }; - println!("Custom arguments: {:?}", custom_args); // Manually parse the "--generate-output" flag let generate_output_flag = custom_args.contains(&"--generate-output".to_string()); @@ -49,7 +42,6 @@ pub fn parse_test_args() -> TestArgs { .find(|args| args[0] == "--output-path") .map(|args| args[1].clone()); // Correct the flag name to `--output-path` - // Log the parsed values println!("Parsed generate_output_flag: {}", generate_output_flag); println!("Parsed output_path: {:?}", output_path); diff --git a/rust/integration-tests/src/diff_tests/all_tests.rs b/rust/integration-tests/src/diff_tests/all_tests.rs index 359f25c5d..e6d0f62d4 100644 --- a/rust/integration-tests/src/diff_tests/all_tests.rs +++ b/rust/integration-tests/src/diff_tests/all_tests.rs @@ -131,7 +131,7 @@ mod test { for (table_name, db_value) in db_values.iter_mut() { if generate_output_flag { println!("[TEST] Generating output files for all tables."); - + remove_inserted_at(db_value); // Iterate over each table's data in the HashMap and generate an output file generate_output_file( processor_name,