diff --git a/.github/workflows/integration-tests.yaml b/.github/workflows/integration-tests.yaml index 88c5a7782..62678b2a2 100644 --- a/.github/workflows/integration-tests.yaml +++ b/.github/workflows/integration-tests.yaml @@ -75,8 +75,7 @@ jobs: # Run Integration Tests - name: Run Integration Tests - # we want to generate output so that all_tests doesn't fail when new transaction is added run: | # TODO: until we have more comprehensive cli parsers, we will need to run tests separately. - cargo test sdk_tests -- --nocapture generate-output + cargo test sdk_tests -- --nocapture working-directory: rust/integration-tests diff --git a/.gitignore b/.gitignore index 8a599ebf3..2cac184fa 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,7 @@ config.yaml cursor.txt build node_modules/ +lcov.info # Rust specific ignores # Please follow https://help.github.com/en/articles/ignoring-files to create a global diff --git a/codecov.yml b/codecov.yml new file mode 100644 index 000000000..ccc96c02d --- /dev/null +++ b/codecov.yml @@ -0,0 +1,14 @@ +--- +coverage: + # range for color spectrum display, red=50%, green=80% + range: "50...80" + precision: 1 + + status: + project: + default: + informational: true + patch: + default: + informational: true + changes: false diff --git a/rust/Cargo.lock b/rust/Cargo.lock index e37fc63a0..ac925f851 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=c8f12a75c3648fba889c3da657ff713cd5e676dc#c8f12a75c3648fba889c3da657ff713cd5e676dc" +source = "git+https://github.com/aptos-labs/aptos-indexer-processor-sdk.git?rev=e6867c50a2c30ef16ad6f82e02313b2ba5ce361a#e6867c50a2c30ef16ad6f82e02313b2ba5ce361a" 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=c8f12a75c3648fba889c3da657ff713cd5e676dc#c8f12a75c3648fba889c3da657ff713cd5e676dc" +source = "git+https://github.com/aptos-labs/aptos-indexer-processor-sdk.git?rev=e6867c50a2c30ef16ad6f82e02313b2ba5ce361a#e6867c50a2c30ef16ad6f82e02313b2ba5ce361a" dependencies = [ "anyhow", "aptos-indexer-processor-sdk", @@ -198,16 +198,16 @@ dependencies = [ [[package]] name = "aptos-indexer-test-transactions" version = "1.0.0" -source = "git+https://github.com/aptos-labs/aptos-core.git?rev=7429012893b530e6880877750ade5b879858285d#7429012893b530e6880877750ade5b879858285d" +source = "git+https://github.com/aptos-labs/aptos-core.git?rev=cf85a5d78c6b6da6499201f583f5fef6a434071e#cf85a5d78c6b6da6499201f583f5fef6a434071e" dependencies = [ - "aptos-protos 1.3.1 (git+https://github.com/aptos-labs/aptos-core.git?rev=7429012893b530e6880877750ade5b879858285d)", + "aptos-protos 1.3.1 (git+https://github.com/aptos-labs/aptos-core.git?rev=cf85a5d78c6b6da6499201f583f5fef6a434071e)", "serde_json", ] [[package]] name = "aptos-indexer-testing-framework" version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-indexer-processor-sdk.git?rev=c8f12a75c3648fba889c3da657ff713cd5e676dc#c8f12a75c3648fba889c3da657ff713cd5e676dc" +source = "git+https://github.com/aptos-labs/aptos-indexer-processor-sdk.git?rev=e6867c50a2c30ef16ad6f82e02313b2ba5ce361a#e6867c50a2c30ef16ad6f82e02313b2ba5ce361a" dependencies = [ "anyhow", "aptos-indexer-processor-sdk", @@ -235,10 +235,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=c8f12a75c3648fba889c3da657ff713cd5e676dc#c8f12a75c3648fba889c3da657ff713cd5e676dc" +source = "git+https://github.com/aptos-labs/aptos-indexer-processor-sdk.git?rev=e6867c50a2c30ef16ad6f82e02313b2ba5ce361a#e6867c50a2c30ef16ad6f82e02313b2ba5ce361a" dependencies = [ "anyhow", - "aptos-moving-average 0.1.0 (git+https://github.com/aptos-labs/aptos-indexer-processor-sdk.git?rev=c8f12a75c3648fba889c3da657ff713cd5e676dc)", + "aptos-moving-average 0.1.0 (git+https://github.com/aptos-labs/aptos-indexer-processor-sdk.git?rev=e6867c50a2c30ef16ad6f82e02313b2ba5ce361a)", "aptos-protos 1.3.1 (git+https://github.com/aptos-labs/aptos-core.git?rev=5c48aee129b5a141be2792ffa3d9bd0a1a61c9cb)", "chrono", "futures-util", @@ -263,7 +263,7 @@ dependencies = [ [[package]] name = "aptos-moving-average" version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-indexer-processor-sdk.git?rev=c8f12a75c3648fba889c3da657ff713cd5e676dc#c8f12a75c3648fba889c3da657ff713cd5e676dc" +source = "git+https://github.com/aptos-labs/aptos-indexer-processor-sdk.git?rev=e6867c50a2c30ef16ad6f82e02313b2ba5ce361a#e6867c50a2c30ef16ad6f82e02313b2ba5ce361a" dependencies = [ "chrono", ] @@ -309,7 +309,7 @@ dependencies = [ [[package]] name = "aptos-protos" version = "1.3.1" -source = "git+https://github.com/aptos-labs/aptos-core.git?rev=7429012893b530e6880877750ade5b879858285d#7429012893b530e6880877750ade5b879858285d" +source = "git+https://github.com/aptos-labs/aptos-core.git?rev=cf85a5d78c6b6da6499201f583f5fef6a434071e#cf85a5d78c6b6da6499201f583f5fef6a434071e" dependencies = [ "futures-core", "pbjson", @@ -882,6 +882,26 @@ dependencies = [ "tiny-keccak", ] +[[package]] +name = "const_format" +version = "0.2.33" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "50c655d81ff1114fb0dcdea9225ea9f0cc712a6f8d189378e82bdf62a473a64b" +dependencies = [ + "const_format_proc_macros", +] + +[[package]] +name = "const_format_proc_macros" +version = "0.2.33" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eff1a44b93f47b1bac19a27932f5c591e43d1ba357ee4f61526c8a25603f0eb1" +dependencies = [ + "proc-macro2", + "quote", + "unicode-xid", +] + [[package]] name = "cookie" version = "0.17.0" @@ -2247,7 +2267,7 @@ dependencies = [ [[package]] name = "instrumented-channel" version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-indexer-processor-sdk.git?rev=c8f12a75c3648fba889c3da657ff713cd5e676dc#c8f12a75c3648fba889c3da657ff713cd5e676dc" +source = "git+https://github.com/aptos-labs/aptos-indexer-processor-sdk.git?rev=e6867c50a2c30ef16ad6f82e02313b2ba5ce361a#e6867c50a2c30ef16ad6f82e02313b2ba5ce361a" dependencies = [ "delegate", "derive_builder", @@ -3394,6 +3414,7 @@ dependencies = [ "canonical_json", "chrono", "clap", + "const_format", "diesel", "diesel-async", "diesel_migrations", @@ -4130,7 +4151,7 @@ checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f" [[package]] name = "sample" version = "0.1.0" -source = "git+https://github.com/aptos-labs/aptos-indexer-processor-sdk.git?rev=c8f12a75c3648fba889c3da657ff713cd5e676dc#c8f12a75c3648fba889c3da657ff713cd5e676dc" +source = "git+https://github.com/aptos-labs/aptos-indexer-processor-sdk.git?rev=e6867c50a2c30ef16ad6f82e02313b2ba5ce361a#e6867c50a2c30ef16ad6f82e02313b2ba5ce361a" dependencies = [ "tracing", ] @@ -4181,6 +4202,7 @@ name = "sdk-processor" version = "0.1.0" dependencies = [ "ahash", + "allocative", "anyhow", "aptos-indexer-processor-sdk", "aptos-indexer-processor-sdk-server-framework", @@ -4196,12 +4218,18 @@ dependencies = [ "field_count", "futures", "futures-util", + "google-cloud-googleapis", + "google-cloud-pubsub", + "google-cloud-storage", "hex", "jemallocator", "kanal", "lazy_static", + "mockall", "native-tls", "num_cpus", + "parquet", + "parquet_derive", "postgres-native-tls", "processor", "rayon", @@ -5311,6 +5339,12 @@ version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e70f2a8b45122e719eb623c01822704c4e0907e7e426a05927e1a1cfff5b75d0" +[[package]] +name = "unicode-xid" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "229730647fbc343e3a80e463c1db7f78f3855d3f3739bee0dda773c9a037c90a" + [[package]] name = "untrusted" version = "0.7.1" diff --git a/rust/Cargo.toml b/rust/Cargo.toml index 2e86e4093..a81e3962d 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 = "c8f12a75c3648fba889c3da657ff713cd5e676dc" } -aptos-indexer-processor-sdk-server-framework = { git = "https://github.com/aptos-labs/aptos-indexer-processor-sdk.git", rev = "c8f12a75c3648fba889c3da657ff713cd5e676dc" } +aptos-indexer-processor-sdk = { git = "https://github.com/aptos-labs/aptos-indexer-processor-sdk.git", rev = "e6867c50a2c30ef16ad6f82e02313b2ba5ce361a" } +aptos-indexer-processor-sdk-server-framework = { git = "https://github.com/aptos-labs/aptos-indexer-processor-sdk.git", rev = "e6867c50a2c30ef16ad6f82e02313b2ba5ce361a" } 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 = "7429012893b530e6880877750ade5b879858285d" } -aptos-indexer-testing-framework = { git = "https://github.com/aptos-labs/aptos-indexer-processor-sdk.git", rev = "c8f12a75c3648fba889c3da657ff713cd5e676dc" } +aptos-indexer-test-transactions = { git = "https://github.com/aptos-labs/aptos-core.git", rev = "cf85a5d78c6b6da6499201f583f5fef6a434071e" } +aptos-indexer-testing-framework = { git = "https://github.com/aptos-labs/aptos-indexer-processor-sdk.git", rev = "e6867c50a2c30ef16ad6f82e02313b2ba5ce361a" } async-trait = "0.1.53" backtrace = "0.3.58" base64 = "0.13.0" @@ -45,6 +45,7 @@ bigdecimal = { version = "0.4.0", features = ["serde"] } bitflags = "2.5.0" chrono = { version = "0.4.19", features = ["clock", "serde"] } clap = { version = "4.3.5", features = ["derive", "unstable-styles"] } +const_format = "0.2.33" # Do NOT enable the postgres feature here, it is conditionally enabled in a feature # block in the Cargo.toml file for the processor crate. # https://github.com/aptos-labs/aptos-indexer-processors/pull/325 @@ -144,3 +145,4 @@ canonical_json = "0.5.0" serde_canonical_json = "1.0.0" allocative = "0.3.3" allocative_derive = "0.3.3" +mockall = "0.12.1" diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/967255533/current_ans_lookup_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/967255533/current_ans_lookup_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/967255533/current_ans_lookup_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/967255533/current_ans_primary_name_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/967255533/current_ans_primary_name_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/967255533/current_ans_primary_name_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/999929475/ans_lookup_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/999929475/ans_lookup_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/999929475/ans_lookup_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/999929475/ans_primary_name_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/999929475/ans_primary_name_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/999929475/ans_primary_name_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/999929475/current_ans_lookup_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/999929475/current_ans_lookup_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/999929475/current_ans_lookup_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/999929475/current_ans_primary_name_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/999929475/current_ans_primary_name_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/999929475/current_ans_primary_name_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/999930475/ans_lookup_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/999930475/ans_lookup_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/999930475/ans_lookup_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/999930475/ans_primary_name_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/999930475/ans_primary_name_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/999930475/ans_primary_name_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/999930475/current_ans_lookup_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/999930475/current_ans_lookup_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/999930475/current_ans_lookup_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/999930475/current_ans_primary_name_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/999930475/current_ans_primary_name_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/999930475/current_ans_primary_name_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/1080786089/current_table_items.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/1080786089/current_table_items.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/1080786089/current_table_items.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/1080786089/table_items.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/1080786089/table_items.json deleted file mode 100644 index 1b6e6c576..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/1080786089/table_items.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "key": "0x0619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", - "transaction_version": 1080786089, - "write_set_change_index": 10, - "transaction_block_height": 210969872, - "table_handle": "0x1b854694ae746cdbd8d44186ca4929b2b337df21d1c74633be19b2710552fdca", - "decoded_key": "0x619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", - "decoded_value": "110972396016310057", - "is_deleted": false - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/145959468/block_metadata_transactions.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/145959468/block_metadata_transactions.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/145959468/block_metadata_transactions.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/145959468/current_table_items.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/145959468/current_table_items.json deleted file mode 100644 index e0b89f967..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/145959468/current_table_items.json +++ /dev/null @@ -1,11 +0,0 @@ -[ - { - "table_handle": "0x1b854694ae746cdbd8d44186ca4929b2b337df21d1c74633be19b2710552fdca", - "key_hash": "61ff6dde49d23af0395c534ca7bee92391910cd0ac4e4ba3d35a2619e49a1775", - "key": "0x0619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", - "decoded_key": "0x619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", - "decoded_value": "103572793187305042", - "is_deleted": false, - "last_transaction_version": 145959468 - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/145959468/table_items.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/145959468/table_items.json deleted file mode 100644 index 60b0334cf..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/145959468/table_items.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "key": "0x0619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", - "transaction_version": 145959468, - "write_set_change_index": 6, - "transaction_block_height": 56700326, - "table_handle": "0x1b854694ae746cdbd8d44186ca4929b2b337df21d1c74633be19b2710552fdca", - "decoded_key": "0x619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", - "decoded_value": "103572793187305042", - "is_deleted": false - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/155112189/block_metadata_transactions.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/155112189/block_metadata_transactions.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/155112189/block_metadata_transactions.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/155112189/current_table_items.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/155112189/current_table_items.json deleted file mode 100644 index 9c860f3c4..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/155112189/current_table_items.json +++ /dev/null @@ -1,186 +0,0 @@ -[ - { - "table_handle": "0x2a9e47281386b48ff3105c76729ea64ed352a6ae8c37f5698377260be90db8f2", - "key_hash": "8c69a1cc79df90243a9dd4e1524bf6629f1f7a19089fdc80701f44d559a6290c", - "key": "0x00000000000000000000000000000000000000000000000000000000000000010a6170746f735f636f696e094170746f73436f696e", - "decoded_key": { - "module_name": "0x6170746f735f636f696e", - "struct_name": "0x4170746f73436f696e", - "account_address": "0x1" - }, - "decoded_value": { - "val": { - "weight": "1000", - "coin_decimals": 8, - "coin_type_info": { - "module_name": "0x6170746f735f636f696e", - "struct_name": "0x4170746f73436f696e", - "account_address": "0x1" - }, - "reserve_amount": "181260818176", - "aggregator_addr": "0xb8f20223af69dcbc33d29e8555e46d031915fc38cb1a4fff5d5167a1e08e8367", - "max_long_oi_in_m_usd": "12000000000", - "max_short_oi_in_m_usd": "12000000000", - "margin_occupied_amount": "98145335830", - "collateral_factor_in_bps": "11000", - "collateral_occupied_amount": "28356341215", - "max_allowed_reserve_amount": "1000000000000", - "max_size_per_order_in_m_usd": "20000000000", - "is_approved_short_collateral": false, - "current_long_oi_in_coin_amount": "69788994615", - "current_short_oi_in_coin_amount": "15827808000", - "last_epoch_timestamp_in_seconds": "1686136144", - "cumulative_funding_rate_in_hundredths_of_bps": "36295", - "base_epoch_funding_rate_fee_in_hundreths_of_bps": "100" - }, - "next": { - "vec": [ - { - "module_name": "0x6173736574", - "struct_name": "0x57455448", - "account_address": "0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa" - } - ] - }, - "prev": { - "vec": [] - } - }, - "is_deleted": false, - "last_transaction_version": 155112189 - }, - { - "table_handle": "0x2a9e47281386b48ff3105c76729ea64ed352a6ae8c37f5698377260be90db8f2", - "key_hash": "ccf2577489b0b0dc1b42e7c0e8000845d28aff06935f669dd9e6e35b8e2da261", - "key": "0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa0561737365740455534443", - "decoded_key": { - "module_name": "0x6173736574", - "struct_name": "0x55534443", - "account_address": "0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa" - }, - "decoded_value": { - "val": { - "weight": "4500", - "coin_decimals": 6, - "coin_type_info": { - "module_name": "0x6173736574", - "struct_name": "0x55534443", - "account_address": "0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa" - }, - "reserve_amount": "230090765027", - "aggregator_addr": "0xdc1045b4d9fd1f4221fc2f91b2090d88483ba9745f29cf2d96574611204659a5", - "max_long_oi_in_m_usd": "23000000000", - "max_short_oi_in_m_usd": "23000000000", - "margin_occupied_amount": "28577669105", - "collateral_factor_in_bps": "11000", - "collateral_occupied_amount": "14699287204", - "max_allowed_reserve_amount": "300000000000", - "max_size_per_order_in_m_usd": "20000000000", - "is_approved_short_collateral": true, - "current_long_oi_in_coin_amount": "21640720", - "current_short_oi_in_coin_amount": "225000000", - "last_epoch_timestamp_in_seconds": "1686136144", - "cumulative_funding_rate_in_hundredths_of_bps": "13677", - "base_epoch_funding_rate_fee_in_hundreths_of_bps": "100" - }, - "next": { - "vec": [ - { - "module_name": "0x6173736574", - "struct_name": "0x55534454", - "account_address": "0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa" - } - ] - }, - "prev": { - "vec": [ - { - "module_name": "0x6173736574", - "struct_name": "0x57455448", - "account_address": "0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa" - } - ] - } - }, - "is_deleted": false, - "last_transaction_version": 155112189 - }, - { - "table_handle": "0x7312d049c9df2da4408bd784dfd1e0ed4cd806c9b06235dd0049c24b1feae9eb", - "key_hash": "3b8386b8fac31732b9b0d3f2d03a4c1e5d3186a9d905fe4482b77e54bcebde08", - "key": "0x0000000000000000", - "decoded_key": "0", - "decoded_value": { - "pnl_m_usd": "2110525", - "season_id": "0", - "total_points": "8212", - "is_pnl_profit": false, - "start_timestamp": "1685033058", - "total_fees_m_usd": "389368367", - "total_volume_m_usd": "113452604131", - "are_points_positive": false - }, - "is_deleted": false, - "last_transaction_version": 155112189 - }, - { - "table_handle": "0x8f2d13ce09fb28ff74cdf031906e101bbe444e927053fd9578ad408e200865dd", - "key_hash": "61858f3a28118dfde31a76e5d3091f7e41853100aebccca37783d6bc80c276dc", - "key": "0x0129000000000000", - "decoded_key": "10497", - "decoded_value": null, - "is_deleted": true, - "last_transaction_version": 155112189 - }, - { - "table_handle": "0x913b9c9139088de319da05fe4b333fbf8bb4dec956c90fc6eae3ec6310299436", - "key_hash": "61858f3a28118dfde31a76e5d3091f7e41853100aebccca37783d6bc80c276dc", - "key": "0x0129000000000000", - "decoded_key": "10497", - "decoded_value": { - "val": { - "order_id": "10497", - "order_type": { - "module_name": "0x6f72646572", - "struct_name": "0x53776170", - "account_address": "0x1786191d0ce793debfdef9890868abdcdc7053f982ccdd102a72732b3082f31d" - }, - "cancel_code": "0", - "input_amount": "201426774", - "order_status": "2", - "output_amount": "2527965600", - "min_output_amount": "2503548362", - "order_basket_type": { - "module_name": "0x6261736b657473", - "struct_name": "0x4261736b657431", - "account_address": "0x1786191d0ce793debfdef9890868abdcdc7053f982ccdd102a72732b3082f31d" - }, - "order_time_placed": "1686144556", - "order_season_points": "151", - "oder_creator_address": "0xaf2ddc14d06dcb2684d06e545d82342916d7d956ada77721b2d10fb7650c17d6", - "order_input_coin_type": { - "module_name": "0x6173736574", - "struct_name": "0x55534443", - "account_address": "0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa" - }, - "order_output_coin_type": { - "module_name": "0x6170746f735f636f696e", - "struct_name": "0x4170746f73436f696e", - "account_address": "0x1" - }, - "order_season_points_are_positive": false, - "worst_acceptable_price_of_position_coin_m_usd": "0" - }, - "next": { - "vec": [] - }, - "prev": { - "vec": [ - "10496" - ] - } - }, - "is_deleted": false, - "last_transaction_version": 155112189 - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/155112189/table_items.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/155112189/table_items.json deleted file mode 100644 index 2218af998..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/155112189/table_items.json +++ /dev/null @@ -1,201 +0,0 @@ -[ - { - "key": "0x0619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", - "transaction_version": 155112189, - "write_set_change_index": 14, - "transaction_block_height": 59919203, - "table_handle": "0x1b854694ae746cdbd8d44186ca4929b2b337df21d1c74633be19b2710552fdca", - "decoded_key": "0x619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", - "decoded_value": "103836940792330456", - "is_deleted": false - }, - { - "key": "0x00000000000000000000000000000000000000000000000000000000000000010a6170746f735f636f696e094170746f73436f696e", - "transaction_version": 155112189, - "write_set_change_index": 15, - "transaction_block_height": 59919203, - "table_handle": "0x2a9e47281386b48ff3105c76729ea64ed352a6ae8c37f5698377260be90db8f2", - "decoded_key": { - "module_name": "0x6170746f735f636f696e", - "struct_name": "0x4170746f73436f696e", - "account_address": "0x1" - }, - "decoded_value": { - "val": { - "weight": "1000", - "coin_decimals": 8, - "coin_type_info": { - "module_name": "0x6170746f735f636f696e", - "struct_name": "0x4170746f73436f696e", - "account_address": "0x1" - }, - "reserve_amount": "181260818176", - "aggregator_addr": "0xb8f20223af69dcbc33d29e8555e46d031915fc38cb1a4fff5d5167a1e08e8367", - "max_long_oi_in_m_usd": "12000000000", - "max_short_oi_in_m_usd": "12000000000", - "margin_occupied_amount": "98145335830", - "collateral_factor_in_bps": "11000", - "collateral_occupied_amount": "28356341215", - "max_allowed_reserve_amount": "1000000000000", - "max_size_per_order_in_m_usd": "20000000000", - "is_approved_short_collateral": false, - "current_long_oi_in_coin_amount": "69788994615", - "current_short_oi_in_coin_amount": "15827808000", - "last_epoch_timestamp_in_seconds": "1686136144", - "cumulative_funding_rate_in_hundredths_of_bps": "36295", - "base_epoch_funding_rate_fee_in_hundreths_of_bps": "100" - }, - "next": { - "vec": [ - { - "module_name": "0x6173736574", - "struct_name": "0x57455448", - "account_address": "0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa" - } - ] - }, - "prev": { - "vec": [] - } - }, - "is_deleted": false - }, - { - "key": "0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa0561737365740455534443", - "transaction_version": 155112189, - "write_set_change_index": 16, - "transaction_block_height": 59919203, - "table_handle": "0x2a9e47281386b48ff3105c76729ea64ed352a6ae8c37f5698377260be90db8f2", - "decoded_key": { - "module_name": "0x6173736574", - "struct_name": "0x55534443", - "account_address": "0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa" - }, - "decoded_value": { - "val": { - "weight": "4500", - "coin_decimals": 6, - "coin_type_info": { - "module_name": "0x6173736574", - "struct_name": "0x55534443", - "account_address": "0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa" - }, - "reserve_amount": "230090765027", - "aggregator_addr": "0xdc1045b4d9fd1f4221fc2f91b2090d88483ba9745f29cf2d96574611204659a5", - "max_long_oi_in_m_usd": "23000000000", - "max_short_oi_in_m_usd": "23000000000", - "margin_occupied_amount": "28577669105", - "collateral_factor_in_bps": "11000", - "collateral_occupied_amount": "14699287204", - "max_allowed_reserve_amount": "300000000000", - "max_size_per_order_in_m_usd": "20000000000", - "is_approved_short_collateral": true, - "current_long_oi_in_coin_amount": "21640720", - "current_short_oi_in_coin_amount": "225000000", - "last_epoch_timestamp_in_seconds": "1686136144", - "cumulative_funding_rate_in_hundredths_of_bps": "13677", - "base_epoch_funding_rate_fee_in_hundreths_of_bps": "100" - }, - "next": { - "vec": [ - { - "module_name": "0x6173736574", - "struct_name": "0x55534454", - "account_address": "0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa" - } - ] - }, - "prev": { - "vec": [ - { - "module_name": "0x6173736574", - "struct_name": "0x57455448", - "account_address": "0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa" - } - ] - } - }, - "is_deleted": false - }, - { - "key": "0x0000000000000000", - "transaction_version": 155112189, - "write_set_change_index": 17, - "transaction_block_height": 59919203, - "table_handle": "0x7312d049c9df2da4408bd784dfd1e0ed4cd806c9b06235dd0049c24b1feae9eb", - "decoded_key": "0", - "decoded_value": { - "pnl_m_usd": "2110525", - "season_id": "0", - "total_points": "8212", - "is_pnl_profit": false, - "start_timestamp": "1685033058", - "total_fees_m_usd": "389368367", - "total_volume_m_usd": "113452604131", - "are_points_positive": false - }, - "is_deleted": false - }, - { - "key": "0x0129000000000000", - "transaction_version": 155112189, - "write_set_change_index": 18, - "transaction_block_height": 59919203, - "table_handle": "0x8f2d13ce09fb28ff74cdf031906e101bbe444e927053fd9578ad408e200865dd", - "decoded_key": "10497", - "decoded_value": null, - "is_deleted": true - }, - { - "key": "0x0129000000000000", - "transaction_version": 155112189, - "write_set_change_index": 19, - "transaction_block_height": 59919203, - "table_handle": "0x913b9c9139088de319da05fe4b333fbf8bb4dec956c90fc6eae3ec6310299436", - "decoded_key": "10497", - "decoded_value": { - "val": { - "order_id": "10497", - "order_type": { - "module_name": "0x6f72646572", - "struct_name": "0x53776170", - "account_address": "0x1786191d0ce793debfdef9890868abdcdc7053f982ccdd102a72732b3082f31d" - }, - "cancel_code": "0", - "input_amount": "201426774", - "order_status": "2", - "output_amount": "2527965600", - "min_output_amount": "2503548362", - "order_basket_type": { - "module_name": "0x6261736b657473", - "struct_name": "0x4261736b657431", - "account_address": "0x1786191d0ce793debfdef9890868abdcdc7053f982ccdd102a72732b3082f31d" - }, - "order_time_placed": "1686144556", - "order_season_points": "151", - "oder_creator_address": "0xaf2ddc14d06dcb2684d06e545d82342916d7d956ada77721b2d10fb7650c17d6", - "order_input_coin_type": { - "module_name": "0x6173736574", - "struct_name": "0x55534443", - "account_address": "0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa" - }, - "order_output_coin_type": { - "module_name": "0x6170746f735f636f696e", - "struct_name": "0x4170746f73436f696e", - "account_address": "0x1" - }, - "order_season_points_are_positive": false, - "worst_acceptable_price_of_position_coin_m_usd": "0" - }, - "next": { - "vec": [] - }, - "prev": { - "vec": [ - "10496" - ] - } - }, - "is_deleted": false - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/1845035942/block_metadata_transactions.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/1845035942/block_metadata_transactions.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/1845035942/block_metadata_transactions.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/1845035942/current_table_items.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/1845035942/current_table_items.json deleted file mode 100644 index 2f535eb2c..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/1845035942/current_table_items.json +++ /dev/null @@ -1,42 +0,0 @@ -[ - { - "table_handle": "0x1b854694ae746cdbd8d44186ca4929b2b337df21d1c74633be19b2710552fdca", - "key_hash": "61ff6dde49d23af0395c534ca7bee92391910cd0ac4e4ba3d35a2619e49a1775", - "key": "0x0619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", - "decoded_key": "0x619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", - "decoded_value": "112277115393076001", - "is_deleted": false, - "last_transaction_version": 1845035942 - }, - { - "table_handle": "0xe5f482394040569082220b42ee87f8a626bbaa81f3aebd004322b7d81a75382f", - "key_hash": "7974ec74398d91b98b2972bc9041aba5a07a5985cff6aa50db546a5c1e6c885e", - "key": "0x128b657b70be52e3f5a7e998d4ca7d1bca886394c5ccf24036d2171368599f212547726f77666974746572204669746e657373204163746976697479204d6564616c732076331e47726f776669747465722052756e2042726f6e7a65204d6564616c2076330000000000000000", - "decoded_key": { - "token_data_id": { - "name": "Growfitter Run Bronze Medal v3", - "creator": "0x128b657b70be52e3f5a7e998d4ca7d1bca886394c5ccf24036d2171368599f21", - "collection": "Growfitter Fitness Activity Medals v3" - }, - "property_version": "0" - }, - "decoded_value": { - "id": { - "token_data_id": { - "name": "Growfitter Run Bronze Medal v3", - "creator": "0x128b657b70be52e3f5a7e998d4ca7d1bca886394c5ccf24036d2171368599f21", - "collection": "Growfitter Fitness Activity Medals v3" - }, - "property_version": "0" - }, - "amount": "1", - "token_properties": { - "map": { - "data": [] - } - } - }, - "is_deleted": false, - "last_transaction_version": 1845035942 - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/1845035942/table_items.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/1845035942/table_items.json deleted file mode 100644 index 613b3de29..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/1845035942/table_items.json +++ /dev/null @@ -1,44 +0,0 @@ -[ - { - "key": "0x0619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", - "transaction_version": 1845035942, - "write_set_change_index": 5, - "transaction_block_height": 244136188, - "table_handle": "0x1b854694ae746cdbd8d44186ca4929b2b337df21d1c74633be19b2710552fdca", - "decoded_key": "0x619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", - "decoded_value": "112277115393076001", - "is_deleted": false - }, - { - "key": "0x128b657b70be52e3f5a7e998d4ca7d1bca886394c5ccf24036d2171368599f212547726f77666974746572204669746e657373204163746976697479204d6564616c732076331e47726f776669747465722052756e2042726f6e7a65204d6564616c2076330000000000000000", - "transaction_version": 1845035942, - "write_set_change_index": 6, - "transaction_block_height": 244136188, - "table_handle": "0xe5f482394040569082220b42ee87f8a626bbaa81f3aebd004322b7d81a75382f", - "decoded_key": { - "token_data_id": { - "name": "Growfitter Run Bronze Medal v3", - "creator": "0x128b657b70be52e3f5a7e998d4ca7d1bca886394c5ccf24036d2171368599f21", - "collection": "Growfitter Fitness Activity Medals v3" - }, - "property_version": "0" - }, - "decoded_value": { - "id": { - "token_data_id": { - "name": "Growfitter Run Bronze Medal v3", - "creator": "0x128b657b70be52e3f5a7e998d4ca7d1bca886394c5ccf24036d2171368599f21", - "collection": "Growfitter Fitness Activity Medals v3" - }, - "property_version": "0" - }, - "amount": "1", - "token_properties": { - "map": { - "data": [] - } - } - }, - "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/block_metadata_transactions.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/308783012/block_metadata_transactions.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/308783012/block_metadata_transactions.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/308783012/current_table_items.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 95f68dbb3..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/308783012/table_items.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "key": "0x0619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", - "transaction_version": 308783012, - "write_set_change_index": 8, - "transaction_block_height": 106350614, - "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 deleted file mode 100644 index 7e2e1fab8..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/308783012/table_metadatas.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "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/default_processor/325355235/block_metadata_transactions.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/325355235/block_metadata_transactions.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/325355235/block_metadata_transactions.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/325355235/current_table_items.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/325355235/current_table_items.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/325355235/current_table_items.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/325355235/table_items.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/325355235/table_items.json deleted file mode 100644 index bc4cc2368..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/325355235/table_items.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "key": "0x0619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", - "transaction_version": 325355235, - "write_set_change_index": 8, - "transaction_block_height": 111985120, - "table_handle": "0x1b854694ae746cdbd8d44186ca4929b2b337df21d1c74633be19b2710552fdca", - "decoded_key": "0x619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", - "decoded_value": "106457430431845969", - "is_deleted": false - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/453498957/block_metadata_transactions.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/453498957/block_metadata_transactions.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/453498957/block_metadata_transactions.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/453498957/current_table_items.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/453498957/current_table_items.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/453498957/current_table_items.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/508365567/block_metadata_transactions.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/508365567/block_metadata_transactions.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/508365567/block_metadata_transactions.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/508365567/current_table_items.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/508365567/current_table_items.json deleted file mode 100644 index d096ccf5b..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/508365567/current_table_items.json +++ /dev/null @@ -1,587 +0,0 @@ -[ - { - "table_handle": "0x635198ef8a973c8da529ca94a6b564706137eb6c95976ba9be1144408fe300dd", - "key_hash": "3b8386b8fac31732b9b0d3f2d03a4c1e5d3186a9d905fe4482b77e54bcebde08", - "key": "0x0000000000000000", - "decoded_key": "0", - "decoded_value": [ - { - "key": "2845", - "hash": "3646137689481008680", - "value": "3526999441995216423" - }, - { - "key": "2846", - "hash": "1217336543064928720", - "value": "3464669142405364851" - }, - { - "key": "2847", - "hash": "7642899159062986184", - "value": "3402338842815513279" - }, - { - "key": "2853", - "hash": "10601592535135219520", - "value": "3046150422361703094" - }, - { - "key": "2856", - "hash": "17609341267787423984", - "value": "2886885275372888084" - }, - { - "key": "2867", - "hash": "15084638918067494000", - "value": "2307270370153358581" - }, - { - "key": "2869", - "hash": "14237019224713366792", - "value": "2204382692234215203" - }, - { - "key": "2872", - "hash": "10301504076848624296", - "value": "2050051175355500136" - }, - { - "key": "2879", - "hash": "5574108621926661520", - "value": "1723987514489695051" - }, - { - "key": "2883", - "hash": "9265604649511958344", - "value": "1586486360458610308" - }, - { - "key": "2885", - "hash": "14483111981964522304", - "value": "1517743796540663300" - }, - { - "key": "2898", - "hash": "4407277645485278056", - "value": "1070917131074007748" - }, - { - "key": "2903", - "hash": "16646751508012959216", - "value": "899060721279140228" - }, - { - "key": "2911", - "hash": "2531054901531804488", - "value": "624090465607352196" - }, - { - "key": "2912", - "hash": "7062227929439204352", - "value": "589719183648378692" - }, - { - "key": "2928", - "hash": "10783721261085754416", - "value": "39778672304802628" - } - ], - "is_deleted": false, - "last_transaction_version": 508365567 - }, - { - "table_handle": "0x635198ef8a973c8da529ca94a6b564706137eb6c95976ba9be1144408fe300dd", - "key_hash": "491bc99260f3872c3ca76720e83e82c24cb18b37220fb8a8c278da44dbb712f3", - "key": "0x0300000000000000", - "decoded_key": "3", - "decoded_value": [ - { - "key": "2841", - "hash": "3349521823523090683", - "value": "3776320756975222960" - }, - { - "key": "2837", - "hash": "5182720289772606715", - "value": "4035320391825008064" - }, - { - "key": "2835", - "hash": "2704901616441791643", - "value": "4178178726315854032" - }, - { - "key": "2892", - "hash": "14183038132521517307", - "value": "1277144822827848772" - }, - { - "key": "2891", - "hash": "13950638736123059083", - "value": "1311516104786822276" - }, - { - "key": "2889", - "hash": "15698572281654316379", - "value": "1380258668704769284" - }, - { - "key": "2888", - "hash": "15633867026332385903", - "value": "1414629950663742788" - }, - { - "key": "2887", - "hash": "3572581251485441151", - "value": "1449001232622716292" - }, - { - "key": "2854", - "hash": "14063835449064283419", - "value": "2993060675265431424" - }, - { - "key": "2851", - "hash": "391623852730908099", - "value": "3153017644456106991" - }, - { - "key": "2825", - "hash": "3205718279945376075", - "value": "4474029927980661356" - }, - { - "key": "2878", - "hash": "5096048414815471923", - "value": "1758390013739472498" - }, - { - "key": "2877", - "hash": "5610397972030792715", - "value": "1792831980557641691" - }, - { - "key": "2876", - "hash": "17725105769266632063", - "value": "1844275819517213380" - }, - { - "key": "2874", - "hash": "18110788707895527807", - "value": "1947163497436356758" - }, - { - "key": "2871", - "hash": "6679829502033554095", - "value": "2101495014315071825" - }, - { - "key": "2870", - "hash": "12735241937101743735", - "value": "2152938853274643514" - }, - { - "key": "2832", - "hash": "16479565222871590983", - "value": "4392466357616828188" - }, - { - "key": "2826", - "hash": "509209042831768039", - "value": "4727161769900371087" - }, - { - "key": "2864", - "hash": "14865841968500012807", - "value": "2462183675802714724" - }, - { - "key": "2862", - "hash": "14397594139751957907", - "value": "2568359075695258064" - }, - { - "key": "2861", - "hash": "3175438155713499011", - "value": "2621446775641529734" - }, - { - "key": "2905", - "hash": "3743111858659915563", - "value": "830318157361193220" - }, - { - "key": "2919", - "hash": "7906474527446560819", - "value": "349120209935564164" - }, - { - "key": "2920", - "hash": "3395566119183745379", - "value": "314748927976590660" - }, - { - "key": "2922", - "hash": "9627865982505873215", - "value": "246006364058643652" - }, - { - "key": "2927", - "hash": "10823106174335338919", - "value": "74149954263776132" - }, - { - "key": "2930", - "hash": "14576959305790233851", - "value": "1501078827184360" - } - ], - "is_deleted": false, - "last_transaction_version": 508365567 - }, - { - "table_handle": "0x635198ef8a973c8da529ca94a6b564706137eb6c95976ba9be1144408fe300dd", - "key_hash": "907103cd0a58d7eae5a00a3ecc27381b973be22b829dfef35ace51db57f8ca03", - "key": "0x0100000000000000", - "decoded_key": "1", - "decoded_value": [ - { - "key": "2827", - "hash": "18060721298540783133", - "value": "4707392286981839528" - }, - { - "key": "2829", - "hash": "10624242726131113745", - "value": "4607054940343151529" - }, - { - "key": "2833", - "hash": "12089200328028032557", - "value": "4321037125589052602" - }, - { - "key": "2844", - "hash": "3463584878879311233", - "value": "3589329741585067995" - }, - { - "key": "2848", - "hash": "9577061388333227085", - "value": "3340008543225661707" - }, - { - "key": "2849", - "hash": "3059455167582961369", - "value": "3277678243635810135" - }, - { - "key": "2855", - "hash": "27166662291578269", - "value": "2939972975319159754" - }, - { - "key": "2857", - "hash": "3401304548324276317", - "value": "2833797575426616414" - }, - { - "key": "2860", - "hash": "17004694609804370797", - "value": "2674534475587801404" - }, - { - "key": "2866", - "hash": "15292061418041435081", - "value": "2358715256262930270" - }, - { - "key": "2868", - "hash": "10190200808666024905", - "value": "2255826531193786892" - }, - { - "key": "2882", - "hash": "1382151080527825285", - "value": "1620857642417583812" - }, - { - "key": "2884", - "hash": "5091492482980236473", - "value": "1552115078499636804" - }, - { - "key": "2886", - "hash": "13889149569643757033", - "value": "1483372514581689796" - }, - { - "key": "2893", - "hash": "3617986436090316869", - "value": "1242773540868875268" - }, - { - "key": "2894", - "hash": "5255501950869947165", - "value": "1208402258909901764" - }, - { - "key": "2896", - "hash": "7937965314786246533", - "value": "1139659694991954756" - }, - { - "key": "2899", - "hash": "1338645008863683845", - "value": "1036545849115034244" - }, - { - "key": "2900", - "hash": "18439416307427740033", - "value": "1002174567156060740" - }, - { - "key": "2909", - "hash": "9128344041145406561", - "value": "692833029525299204" - }, - { - "key": "2915", - "hash": "9558658696243610581", - "value": "486605337771458180" - }, - { - "key": "2916", - "hash": "8580726904502472969", - "value": "452234055812484676" - }, - { - "key": "2921", - "hash": "15081880210223102849", - "value": "280377646017617156" - }, - { - "key": "2923", - "hash": "11252215220150058913", - "value": "211635082099670148" - }, - { - "key": "2924", - "hash": "14963728602070465177", - "value": "177263800140696644" - } - ], - "is_deleted": false, - "last_transaction_version": 508365567 - }, - { - "table_handle": "0x635198ef8a973c8da529ca94a6b564706137eb6c95976ba9be1144408fe300dd", - "key_hash": "f9255e5701bb574046bfe9404e6ec70ce2c5a0cdac59adcafd27b2351630a00a", - "key": "0x0200000000000000", - "decoded_key": "2", - "decoded_value": [ - { - "key": "2840", - "hash": "2892928471492794894", - "value": "3838652220335674781" - }, - { - "key": "2831", - "hash": "7681912131802335158", - "value": "4463934601222518902" - }, - { - "key": "2838", - "hash": "14103043700510215266", - "value": "3963891224579585080" - }, - { - "key": "2836", - "hash": "4610865483590070538", - "value": "4106749559070431048" - }, - { - "key": "2863", - "hash": "16996240687496513862", - "value": "2515271375748986394" - }, - { - "key": "2834", - "hash": "14614593912552239166", - "value": "4249607893561277016" - }, - { - "key": "2873", - "hash": "9298927235795540518", - "value": "1998607336395928447" - }, - { - "key": "2875", - "hash": "3450740043895944166", - "value": "1895719658476785069" - }, - { - "key": "2880", - "hash": "6395072235206728642", - "value": "1689600206335530820" - }, - { - "key": "2881", - "hash": "7254918715717643366", - "value": "1655228924376557316" - }, - { - "key": "2895", - "hash": "9017771626443411650", - "value": "1174030976950928260" - }, - { - "key": "2897", - "hash": "3178037670275520594", - "value": "1105288413032981252" - }, - { - "key": "2901", - "hash": "16550369558054804510", - "value": "967803285197087236" - }, - { - "key": "2902", - "hash": "7405540004308307242", - "value": "933432003238113732" - }, - { - "key": "2904", - "hash": "3042141706501370290", - "value": "864689439320166724" - }, - { - "key": "2907", - "hash": "18220739594114719766", - "value": "761575593443246212" - }, - { - "key": "2908", - "hash": "3200376301249282774", - "value": "727204311484272708" - }, - { - "key": "2910", - "hash": "16362015975525489398", - "value": "658461747566325700" - }, - { - "key": "2913", - "hash": "5973287941210242510", - "value": "555347901689405188" - }, - { - "key": "2914", - "hash": "6621897072245050954", - "value": "520976619730431684" - }, - { - "key": "2918", - "hash": "18176036933628938962", - "value": "383491491894537668" - }, - { - "key": "2926", - "hash": "18047753918447341234", - "value": "108521236222749636" - }, - { - "key": "2929", - "hash": "487980492420812698", - "value": "5407390345829124" - }, - { - "key": "2931", - "hash": "5954398792945153718", - "value": "437519002817034" - } - ], - "is_deleted": false, - "last_transaction_version": 508365567 - }, - { - "table_handle": "0x635198ef8a973c8da529ca94a6b564706137eb6c95976ba9be1144408fe300dd", - "key_hash": "fc63037a80c3542516a1b146df801dcc26c026111454fadd4820a287174e24f8", - "key": "0x0400000000000000", - "decoded_key": "4", - "decoded_value": [ - { - "key": "2917", - "hash": "13957368117148321892", - "value": "417862773853511172" - }, - { - "key": "2865", - "hash": "17103274175787935948", - "value": "2410209165322501959" - }, - { - "key": "2859", - "hash": "3961966284873786052", - "value": "2727622175534073074" - }, - { - "key": "2906", - "hash": "3156123644161662180", - "value": "795946875402219716" - }, - { - "key": "2858", - "hash": "1885230201764987300", - "value": "2780709875480344744" - }, - { - "key": "2843", - "hash": "11315028316870889988", - "value": "3651660041174919567" - }, - { - "key": "2890", - "hash": "13180892770101995524", - "value": "1345887386745795780" - }, - { - "key": "2842", - "hash": "17903771934079922444", - "value": "3713990340764771139" - }, - { - "key": "2852", - "hash": "4017853663930657460", - "value": "3099292446001134378" - }, - { - "key": "2850", - "hash": "17515907035087595636", - "value": "3215347944045958563" - }, - { - "key": "2839", - "hash": "5267624967993744892", - "value": "3901032706646126602" - }, - { - "key": "2830", - "hash": "8003312805622600236", - "value": "4535460379883072155" - }, - { - "key": "2828", - "hash": "12621427593526462996", - "value": "4678700021562707459" - }, - { - "key": "2925", - "hash": "5148129741842146364", - "value": "142892518181723140" - } - ], - "is_deleted": false, - "last_transaction_version": 508365567 - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/508365567/table_items.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/508365567/table_items.json deleted file mode 100644 index 90b99dabb..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/508365567/table_items.json +++ /dev/null @@ -1,602 +0,0 @@ -[ - { - "key": "0x0619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", - "transaction_version": 508365567, - "write_set_change_index": 18, - "transaction_block_height": 159068756, - "table_handle": "0x1b854694ae746cdbd8d44186ca4929b2b337df21d1c74633be19b2710552fdca", - "decoded_key": "0x619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", - "decoded_value": "108655487588791357", - "is_deleted": false - }, - { - "key": "0x0000000000000000", - "transaction_version": 508365567, - "write_set_change_index": 19, - "transaction_block_height": 159068756, - "table_handle": "0x635198ef8a973c8da529ca94a6b564706137eb6c95976ba9be1144408fe300dd", - "decoded_key": "0", - "decoded_value": [ - { - "key": "2845", - "hash": "3646137689481008680", - "value": "3526999441995216423" - }, - { - "key": "2846", - "hash": "1217336543064928720", - "value": "3464669142405364851" - }, - { - "key": "2847", - "hash": "7642899159062986184", - "value": "3402338842815513279" - }, - { - "key": "2853", - "hash": "10601592535135219520", - "value": "3046150422361703094" - }, - { - "key": "2856", - "hash": "17609341267787423984", - "value": "2886885275372888084" - }, - { - "key": "2867", - "hash": "15084638918067494000", - "value": "2307270370153358581" - }, - { - "key": "2869", - "hash": "14237019224713366792", - "value": "2204382692234215203" - }, - { - "key": "2872", - "hash": "10301504076848624296", - "value": "2050051175355500136" - }, - { - "key": "2879", - "hash": "5574108621926661520", - "value": "1723987514489695051" - }, - { - "key": "2883", - "hash": "9265604649511958344", - "value": "1586486360458610308" - }, - { - "key": "2885", - "hash": "14483111981964522304", - "value": "1517743796540663300" - }, - { - "key": "2898", - "hash": "4407277645485278056", - "value": "1070917131074007748" - }, - { - "key": "2903", - "hash": "16646751508012959216", - "value": "899060721279140228" - }, - { - "key": "2911", - "hash": "2531054901531804488", - "value": "624090465607352196" - }, - { - "key": "2912", - "hash": "7062227929439204352", - "value": "589719183648378692" - }, - { - "key": "2928", - "hash": "10783721261085754416", - "value": "39778672304802628" - } - ], - "is_deleted": false - }, - { - "key": "0x0100000000000000", - "transaction_version": 508365567, - "write_set_change_index": 20, - "transaction_block_height": 159068756, - "table_handle": "0x635198ef8a973c8da529ca94a6b564706137eb6c95976ba9be1144408fe300dd", - "decoded_key": "1", - "decoded_value": [ - { - "key": "2827", - "hash": "18060721298540783133", - "value": "4707392286981839528" - }, - { - "key": "2829", - "hash": "10624242726131113745", - "value": "4607054940343151529" - }, - { - "key": "2833", - "hash": "12089200328028032557", - "value": "4321037125589052602" - }, - { - "key": "2844", - "hash": "3463584878879311233", - "value": "3589329741585067995" - }, - { - "key": "2848", - "hash": "9577061388333227085", - "value": "3340008543225661707" - }, - { - "key": "2849", - "hash": "3059455167582961369", - "value": "3277678243635810135" - }, - { - "key": "2855", - "hash": "27166662291578269", - "value": "2939972975319159754" - }, - { - "key": "2857", - "hash": "3401304548324276317", - "value": "2833797575426616414" - }, - { - "key": "2860", - "hash": "17004694609804370797", - "value": "2674534475587801404" - }, - { - "key": "2866", - "hash": "15292061418041435081", - "value": "2358715256262930270" - }, - { - "key": "2868", - "hash": "10190200808666024905", - "value": "2255826531193786892" - }, - { - "key": "2882", - "hash": "1382151080527825285", - "value": "1620857642417583812" - }, - { - "key": "2884", - "hash": "5091492482980236473", - "value": "1552115078499636804" - }, - { - "key": "2886", - "hash": "13889149569643757033", - "value": "1483372514581689796" - }, - { - "key": "2893", - "hash": "3617986436090316869", - "value": "1242773540868875268" - }, - { - "key": "2894", - "hash": "5255501950869947165", - "value": "1208402258909901764" - }, - { - "key": "2896", - "hash": "7937965314786246533", - "value": "1139659694991954756" - }, - { - "key": "2899", - "hash": "1338645008863683845", - "value": "1036545849115034244" - }, - { - "key": "2900", - "hash": "18439416307427740033", - "value": "1002174567156060740" - }, - { - "key": "2909", - "hash": "9128344041145406561", - "value": "692833029525299204" - }, - { - "key": "2915", - "hash": "9558658696243610581", - "value": "486605337771458180" - }, - { - "key": "2916", - "hash": "8580726904502472969", - "value": "452234055812484676" - }, - { - "key": "2921", - "hash": "15081880210223102849", - "value": "280377646017617156" - }, - { - "key": "2923", - "hash": "11252215220150058913", - "value": "211635082099670148" - }, - { - "key": "2924", - "hash": "14963728602070465177", - "value": "177263800140696644" - } - ], - "is_deleted": false - }, - { - "key": "0x0200000000000000", - "transaction_version": 508365567, - "write_set_change_index": 21, - "transaction_block_height": 159068756, - "table_handle": "0x635198ef8a973c8da529ca94a6b564706137eb6c95976ba9be1144408fe300dd", - "decoded_key": "2", - "decoded_value": [ - { - "key": "2840", - "hash": "2892928471492794894", - "value": "3838652220335674781" - }, - { - "key": "2831", - "hash": "7681912131802335158", - "value": "4463934601222518902" - }, - { - "key": "2838", - "hash": "14103043700510215266", - "value": "3963891224579585080" - }, - { - "key": "2836", - "hash": "4610865483590070538", - "value": "4106749559070431048" - }, - { - "key": "2863", - "hash": "16996240687496513862", - "value": "2515271375748986394" - }, - { - "key": "2834", - "hash": "14614593912552239166", - "value": "4249607893561277016" - }, - { - "key": "2873", - "hash": "9298927235795540518", - "value": "1998607336395928447" - }, - { - "key": "2875", - "hash": "3450740043895944166", - "value": "1895719658476785069" - }, - { - "key": "2880", - "hash": "6395072235206728642", - "value": "1689600206335530820" - }, - { - "key": "2881", - "hash": "7254918715717643366", - "value": "1655228924376557316" - }, - { - "key": "2895", - "hash": "9017771626443411650", - "value": "1174030976950928260" - }, - { - "key": "2897", - "hash": "3178037670275520594", - "value": "1105288413032981252" - }, - { - "key": "2901", - "hash": "16550369558054804510", - "value": "967803285197087236" - }, - { - "key": "2902", - "hash": "7405540004308307242", - "value": "933432003238113732" - }, - { - "key": "2904", - "hash": "3042141706501370290", - "value": "864689439320166724" - }, - { - "key": "2907", - "hash": "18220739594114719766", - "value": "761575593443246212" - }, - { - "key": "2908", - "hash": "3200376301249282774", - "value": "727204311484272708" - }, - { - "key": "2910", - "hash": "16362015975525489398", - "value": "658461747566325700" - }, - { - "key": "2913", - "hash": "5973287941210242510", - "value": "555347901689405188" - }, - { - "key": "2914", - "hash": "6621897072245050954", - "value": "520976619730431684" - }, - { - "key": "2918", - "hash": "18176036933628938962", - "value": "383491491894537668" - }, - { - "key": "2926", - "hash": "18047753918447341234", - "value": "108521236222749636" - }, - { - "key": "2929", - "hash": "487980492420812698", - "value": "5407390345829124" - }, - { - "key": "2931", - "hash": "5954398792945153718", - "value": "437519002817034" - } - ], - "is_deleted": false - }, - { - "key": "0x0300000000000000", - "transaction_version": 508365567, - "write_set_change_index": 22, - "transaction_block_height": 159068756, - "table_handle": "0x635198ef8a973c8da529ca94a6b564706137eb6c95976ba9be1144408fe300dd", - "decoded_key": "3", - "decoded_value": [ - { - "key": "2841", - "hash": "3349521823523090683", - "value": "3776320756975222960" - }, - { - "key": "2837", - "hash": "5182720289772606715", - "value": "4035320391825008064" - }, - { - "key": "2835", - "hash": "2704901616441791643", - "value": "4178178726315854032" - }, - { - "key": "2892", - "hash": "14183038132521517307", - "value": "1277144822827848772" - }, - { - "key": "2891", - "hash": "13950638736123059083", - "value": "1311516104786822276" - }, - { - "key": "2889", - "hash": "15698572281654316379", - "value": "1380258668704769284" - }, - { - "key": "2888", - "hash": "15633867026332385903", - "value": "1414629950663742788" - }, - { - "key": "2887", - "hash": "3572581251485441151", - "value": "1449001232622716292" - }, - { - "key": "2854", - "hash": "14063835449064283419", - "value": "2993060675265431424" - }, - { - "key": "2851", - "hash": "391623852730908099", - "value": "3153017644456106991" - }, - { - "key": "2825", - "hash": "3205718279945376075", - "value": "4474029927980661356" - }, - { - "key": "2878", - "hash": "5096048414815471923", - "value": "1758390013739472498" - }, - { - "key": "2877", - "hash": "5610397972030792715", - "value": "1792831980557641691" - }, - { - "key": "2876", - "hash": "17725105769266632063", - "value": "1844275819517213380" - }, - { - "key": "2874", - "hash": "18110788707895527807", - "value": "1947163497436356758" - }, - { - "key": "2871", - "hash": "6679829502033554095", - "value": "2101495014315071825" - }, - { - "key": "2870", - "hash": "12735241937101743735", - "value": "2152938853274643514" - }, - { - "key": "2832", - "hash": "16479565222871590983", - "value": "4392466357616828188" - }, - { - "key": "2826", - "hash": "509209042831768039", - "value": "4727161769900371087" - }, - { - "key": "2864", - "hash": "14865841968500012807", - "value": "2462183675802714724" - }, - { - "key": "2862", - "hash": "14397594139751957907", - "value": "2568359075695258064" - }, - { - "key": "2861", - "hash": "3175438155713499011", - "value": "2621446775641529734" - }, - { - "key": "2905", - "hash": "3743111858659915563", - "value": "830318157361193220" - }, - { - "key": "2919", - "hash": "7906474527446560819", - "value": "349120209935564164" - }, - { - "key": "2920", - "hash": "3395566119183745379", - "value": "314748927976590660" - }, - { - "key": "2922", - "hash": "9627865982505873215", - "value": "246006364058643652" - }, - { - "key": "2927", - "hash": "10823106174335338919", - "value": "74149954263776132" - }, - { - "key": "2930", - "hash": "14576959305790233851", - "value": "1501078827184360" - } - ], - "is_deleted": false - }, - { - "key": "0x0400000000000000", - "transaction_version": 508365567, - "write_set_change_index": 23, - "transaction_block_height": 159068756, - "table_handle": "0x635198ef8a973c8da529ca94a6b564706137eb6c95976ba9be1144408fe300dd", - "decoded_key": "4", - "decoded_value": [ - { - "key": "2917", - "hash": "13957368117148321892", - "value": "417862773853511172" - }, - { - "key": "2865", - "hash": "17103274175787935948", - "value": "2410209165322501959" - }, - { - "key": "2859", - "hash": "3961966284873786052", - "value": "2727622175534073074" - }, - { - "key": "2906", - "hash": "3156123644161662180", - "value": "795946875402219716" - }, - { - "key": "2858", - "hash": "1885230201764987300", - "value": "2780709875480344744" - }, - { - "key": "2843", - "hash": "11315028316870889988", - "value": "3651660041174919567" - }, - { - "key": "2890", - "hash": "13180892770101995524", - "value": "1345887386745795780" - }, - { - "key": "2842", - "hash": "17903771934079922444", - "value": "3713990340764771139" - }, - { - "key": "2852", - "hash": "4017853663930657460", - "value": "3099292446001134378" - }, - { - "key": "2850", - "hash": "17515907035087595636", - "value": "3215347944045958563" - }, - { - "key": "2839", - "hash": "5267624967993744892", - "value": "3901032706646126602" - }, - { - "key": "2830", - "hash": "8003312805622600236", - "value": "4535460379883072155" - }, - { - "key": "2828", - "hash": "12621427593526462996", - "value": "4678700021562707459" - }, - { - "key": "2925", - "hash": "5148129741842146364", - "value": "142892518181723140" - } - ], - "is_deleted": false - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/513424821/block_metadata_transactions.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/513424821/block_metadata_transactions.json deleted file mode 100644 index 988231bfd..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/513424821/block_metadata_transactions.json +++ /dev/null @@ -1,31 +0,0 @@ -[ - { - "version": 513424821, - "block_height": 160013523, - "id": "0xd1725984e19ce9934848108b187705f4eabfa4c178b21daa385d75ff1baa153b", - "round": 13705, - "epoch": 6336, - "previous_block_votes_bitvec": [ - 135, - 27, - 222, - 199, - 119, - 93, - 255, - 189, - 58, - 255, - 237, - 125, - 43, - 158, - 206, - 172, - 224 - ], - "proposer": "0x0324df1e27c4129a58d73851ae0e9366064dc666a73e747051e203694a4cb257", - "failed_proposer_indices": [], - "timestamp": "2024-03-21T19:50:52.758797" - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/513424821/current_table_items.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/513424821/current_table_items.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/513424821/current_table_items.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/513424821/table_items.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/513424821/table_items.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/513424821/table_items.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/537250181/block_metadata_transactions.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/537250181/block_metadata_transactions.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/537250181/block_metadata_transactions.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/537250181/current_table_items.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/537250181/current_table_items.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/537250181/current_table_items.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/537250181/table_items.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/537250181/table_items.json deleted file mode 100644 index 150046be9..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/537250181/table_items.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "key": "0x0619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", - "transaction_version": 537250181, - "write_set_change_index": 11, - "transaction_block_height": 165399051, - "table_handle": "0x1b854694ae746cdbd8d44186ca4929b2b337df21d1c74633be19b2710552fdca", - "decoded_key": "0x619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", - "decoded_value": "108925890145365759", - "is_deleted": false - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/578366445/block_metadata_transactions.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/578366445/block_metadata_transactions.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/578366445/block_metadata_transactions.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/578366445/current_table_items.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/578366445/current_table_items.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/578366445/current_table_items.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/578366445/table_items.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/578366445/table_items.json deleted file mode 100644 index 1501f6088..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/578366445/table_items.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "key": "0x0619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", - "transaction_version": 578366445, - "write_set_change_index": 8, - "transaction_block_height": 174826957, - "table_handle": "0x1b854694ae746cdbd8d44186ca4929b2b337df21d1c74633be19b2710552fdca", - "decoded_key": "0x619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", - "decoded_value": "109362269591398320", - "is_deleted": false - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/602320562/block_metadata_transactions.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/602320562/block_metadata_transactions.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/602320562/block_metadata_transactions.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/602320562/current_table_items.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/602320562/current_table_items.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/602320562/current_table_items.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/602320562/table_items.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/602320562/table_items.json deleted file mode 100644 index 3536a8e58..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/602320562/table_items.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "key": "0x0619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", - "transaction_version": 602320562, - "write_set_change_index": 12, - "transaction_block_height": 179784414, - "table_handle": "0x1b854694ae746cdbd8d44186ca4929b2b337df21d1c74633be19b2710552fdca", - "decoded_key": "0x619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", - "decoded_value": "109588276694972701", - "is_deleted": false - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/967255533/block_metadata_transactions.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/967255533/block_metadata_transactions.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/967255533/block_metadata_transactions.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/967255533/current_table_items.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/967255533/current_table_items.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/967255533/current_table_items.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/967255533/table_items.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/967255533/table_items.json deleted file mode 100644 index 6fd2f6d85..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/967255533/table_items.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "key": "0x0619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", - "transaction_version": 967255533, - "write_set_change_index": 7, - "transaction_block_height": 187592972, - "table_handle": "0x1b854694ae746cdbd8d44186ca4929b2b337df21d1c74633be19b2710552fdca", - "decoded_key": "0x619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", - "decoded_value": "109947820651494579", - "is_deleted": false - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/999929475/block_metadata_transactions.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/999929475/block_metadata_transactions.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/999929475/block_metadata_transactions.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/999929475/current_table_items.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/999929475/current_table_items.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/999929475/current_table_items.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/999929475/table_items.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/999929475/table_items.json deleted file mode 100644 index 44038eedb..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/999929475/table_items.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "key": "0x0619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", - "transaction_version": 999929475, - "write_set_change_index": 30, - "transaction_block_height": 194508912, - "table_handle": "0x1b854694ae746cdbd8d44186ca4929b2b337df21d1c74633be19b2710552fdca", - "decoded_key": "0x619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", - "decoded_value": "110269921639741626", - "is_deleted": false - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/999930475/block_metadata_transactions.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/999930475/block_metadata_transactions.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/999930475/block_metadata_transactions.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/999930475/current_table_items.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/999930475/current_table_items.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/999930475/current_table_items.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/999930475/table_items.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/999930475/table_items.json deleted file mode 100644 index abb778d7c..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/999930475/table_items.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "key": "0x0619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", - "transaction_version": 999930475, - "write_set_change_index": 12, - "transaction_block_height": 194509179, - "table_handle": "0x1b854694ae746cdbd8d44186ca4929b2b337df21d1c74633be19b2710552fdca", - "decoded_key": "0x619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", - "decoded_value": "110269921622761956", - "is_deleted": false - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/events_processor/1080786089/events.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/events_processor/1080786089/events.json deleted file mode 100644 index a7eb6d7fb..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/events_processor/1080786089/events.json +++ /dev/null @@ -1,48 +0,0 @@ -[ - { - "sequence_number": 83197, - "creation_number": 1125899906842625, - "account_address": "0x21d71e37dd165ee34e44086bed0832d9b30941e58f0b50beee8b5772e51ae2e8", - "transaction_version": 1080786089, - "transaction_block_height": 210969872, - "type_": "0x4::collection::BurnEvent", - "data": { - "index": "73299", - "token": "0xf90eabf85b23988baf34872795c9cdd4ad777126d572e6befaa519b0effc2db6" - }, - "indexed_type": "0x4::collection::BurnEvent", - "event_index": 0 - }, - { - "sequence_number": 186424, - "creation_number": 1125899906842630, - "account_address": "0x09d518b9b84f327eafc5f6632200ea224a818a935ffd6be5d78ada250bbc44a6", - "transaction_version": 1080786089, - "transaction_block_height": 210969872, - "type_": "0xfacedd48d64a2ee04cbdf5c17608bd7a5ea9144fa1fe65320c588fffea131de3::orm_class::OrmEvent", - "data": { - "type": "0x9d518b9b84f327eafc5f6632200ea224a818a935ffd6be5d78ada250bbc44a6::sidekick_capsule::SidekickCapsule", - "object": "0xf90eabf85b23988baf34872795c9cdd4ad777126d572e6befaa519b0effc2db6", - "event_type": "deleted" - }, - "indexed_type": "0xfacedd48d64a2ee04cbdf5c17608bd7a5ea9144fa1fe65320c588fffea131de3::orm_class::OrmEvent", - "event_index": 1 - }, - { - "sequence_number": 0, - "creation_number": 0, - "account_address": "0x0000000000000000000000000000000000000000000000000000000000000000", - "transaction_version": 1080786089, - "transaction_block_height": 210969872, - "type_": "0x1::transaction_fee::FeeStatement", - "data": { - "io_gas_units": "12", - "storage_fee_octas": "0", - "execution_gas_units": "6", - "total_charge_gas_units": "17", - "storage_fee_refund_octas": "0" - }, - "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/events_processor/145959468/events.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/events_processor/145959468/events.json deleted file mode 100644 index e356b9787..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/events_processor/145959468/events.json +++ /dev/null @@ -1,62 +0,0 @@ -[ - { - "sequence_number": 0, - "creation_number": 1125899906842625, - "account_address": "0x9228cfc074cf073bf0687e558ba8cdce6f8c311269774a856d7fc87ac3c70141", - "transaction_version": 145959468, - "transaction_block_height": 56700326, - "type_": "0x4::token::MutationEvent", - "data": { - "new_value": "", - "old_value": "Undefined", - "mutated_field_name": "description" - }, - "indexed_type": "0x4::token::MutationEvent", - "event_index": 0 - }, - { - "sequence_number": 1, - "creation_number": 1125899906842625, - "account_address": "0x9228cfc074cf073bf0687e558ba8cdce6f8c311269774a856d7fc87ac3c70141", - "transaction_version": 145959468, - "transaction_block_height": 56700326, - "type_": "0x4::token::MutationEvent", - "data": { - "new_value": "", - "old_value": "Abby", - "mutated_field_name": "name" - }, - "indexed_type": "0x4::token::MutationEvent", - "event_index": 1 - }, - { - "sequence_number": 2, - "creation_number": 1125899906842625, - "account_address": "0x9228cfc074cf073bf0687e558ba8cdce6f8c311269774a856d7fc87ac3c70141", - "transaction_version": 145959468, - "transaction_block_height": 56700326, - "type_": "0x4::token::MutationEvent", - "data": { - "new_value": "https://arweave.net/Nx1YbpdKDS98x_JE0iuaNSAnwZ1rcf2r4MMvbjz_8uA", - "old_value": "https://slack-files.com/T032LMSJ0T0-F058JALVABC-32bc77fbd0", - "mutated_field_name": "uri" - }, - "indexed_type": "0x4::token::MutationEvent", - "event_index": 2 - }, - { - "sequence_number": 0, - "creation_number": 1125899906842624, - "account_address": "0x9228cfc074cf073bf0687e558ba8cdce6f8c311269774a856d7fc87ac3c70141", - "transaction_version": 145959468, - "transaction_block_height": 56700326, - "type_": "0x1::object::TransferEvent", - "data": { - "to": "0x0", - "from": "0x239589c5cfb0cc96f76fa59165a7cbb6ef99ad50d0acc34cf3a2585d861511be", - "object": "0x9228cfc074cf073bf0687e558ba8cdce6f8c311269774a856d7fc87ac3c70141" - }, - "indexed_type": "0x1::object::TransferEvent", - "event_index": 3 - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/events_processor/155112189/events.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/events_processor/155112189/events.json deleted file mode 100644 index 8ea1382d3..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/events_processor/155112189/events.json +++ /dev/null @@ -1,871 +0,0 @@ -[ - { - "sequence_number": 344428, - "creation_number": 19, - "account_address": "0x07d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8", - "transaction_version": 155112189, - "transaction_block_height": 59919203, - "type_": "0x7d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8::events::AggregatorReadEvent", - "data": { - "cost": "0", - "result": { - "dec": 9, - "neg": false, - "value": "1000015000" - }, - "aggregator_address": "0xdc1045b4d9fd1f4221fc2f91b2090d88483ba9745f29cf2d96574611204659a5" - }, - "indexed_type": "0x7d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8::events::AggregatorReadEvent", - "event_index": 0 - }, - { - "sequence_number": 344429, - "creation_number": 19, - "account_address": "0x07d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8", - "transaction_version": 155112189, - "transaction_block_height": 59919203, - "type_": "0x7d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8::events::AggregatorReadEvent", - "data": { - "cost": "0", - "result": { - "dec": 9, - "neg": false, - "value": "7958500000" - }, - "aggregator_address": "0xb8f20223af69dcbc33d29e8555e46d031915fc38cb1a4fff5d5167a1e08e8367" - }, - "indexed_type": "0x7d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8::events::AggregatorReadEvent", - "event_index": 1 - }, - { - "sequence_number": 344430, - "creation_number": 19, - "account_address": "0x07d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8", - "transaction_version": 155112189, - "transaction_block_height": 59919203, - "type_": "0x7d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8::events::AggregatorReadEvent", - "data": { - "cost": "0", - "result": { - "dec": 9, - "neg": false, - "value": "1863800000000" - }, - "aggregator_address": "0x7b5f536d201280a10d33d8c2202a1892b1dd8247aecfef7762ea8e7565eac7b6" - }, - "indexed_type": "0x7d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8::events::AggregatorReadEvent", - "event_index": 2 - }, - { - "sequence_number": 344431, - "creation_number": 19, - "account_address": "0x07d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8", - "transaction_version": 155112189, - "transaction_block_height": 59919203, - "type_": "0x7d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8::events::AggregatorReadEvent", - "data": { - "cost": "0", - "result": { - "dec": 9, - "neg": false, - "value": "1000015000" - }, - "aggregator_address": "0xdc1045b4d9fd1f4221fc2f91b2090d88483ba9745f29cf2d96574611204659a5" - }, - "indexed_type": "0x7d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8::events::AggregatorReadEvent", - "event_index": 3 - }, - { - "sequence_number": 344432, - "creation_number": 19, - "account_address": "0x07d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8", - "transaction_version": 155112189, - "transaction_block_height": 59919203, - "type_": "0x7d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8::events::AggregatorReadEvent", - "data": { - "cost": "0", - "result": { - "dec": 9, - "neg": false, - "value": "1016730000" - }, - "aggregator_address": "0x94a63284ace90c56f6326de5d62e867d915370a7d059bf974b39aefc699b8baa" - }, - "indexed_type": "0x7d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8::events::AggregatorReadEvent", - "event_index": 4 - }, - { - "sequence_number": 344433, - "creation_number": 19, - "account_address": "0x07d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8", - "transaction_version": 155112189, - "transaction_block_height": 59919203, - "type_": "0x7d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8::events::AggregatorReadEvent", - "data": { - "cost": "0", - "result": { - "dec": 9, - "neg": false, - "value": "20236500000" - }, - "aggregator_address": "0x5af65afeeab555f8b742ce7fc2c539a5cb6a6fb2a6e6d96bc1b075fb28067808" - }, - "indexed_type": "0x7d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8::events::AggregatorReadEvent", - "event_index": 5 - }, - { - "sequence_number": 344434, - "creation_number": 19, - "account_address": "0x07d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8", - "transaction_version": 155112189, - "transaction_block_height": 59919203, - "type_": "0x7d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8::events::AggregatorReadEvent", - "data": { - "cost": "0", - "result": { - "dec": 9, - "neg": false, - "value": "7958500000" - }, - "aggregator_address": "0xb8f20223af69dcbc33d29e8555e46d031915fc38cb1a4fff5d5167a1e08e8367" - }, - "indexed_type": "0x7d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8::events::AggregatorReadEvent", - "event_index": 6 - }, - { - "sequence_number": 344435, - "creation_number": 19, - "account_address": "0x07d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8", - "transaction_version": 155112189, - "transaction_block_height": 59919203, - "type_": "0x7d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8::events::AggregatorReadEvent", - "data": { - "cost": "0", - "result": { - "dec": 9, - "neg": false, - "value": "1000015000" - }, - "aggregator_address": "0xdc1045b4d9fd1f4221fc2f91b2090d88483ba9745f29cf2d96574611204659a5" - }, - "indexed_type": "0x7d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8::events::AggregatorReadEvent", - "event_index": 7 - }, - { - "sequence_number": 344436, - "creation_number": 19, - "account_address": "0x07d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8", - "transaction_version": 155112189, - "transaction_block_height": 59919203, - "type_": "0x7d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8::events::AggregatorReadEvent", - "data": { - "cost": "0", - "result": { - "dec": 9, - "neg": false, - "value": "7958500000" - }, - "aggregator_address": "0xb8f20223af69dcbc33d29e8555e46d031915fc38cb1a4fff5d5167a1e08e8367" - }, - "indexed_type": "0x7d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8::events::AggregatorReadEvent", - "event_index": 8 - }, - { - "sequence_number": 344437, - "creation_number": 19, - "account_address": "0x07d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8", - "transaction_version": 155112189, - "transaction_block_height": 59919203, - "type_": "0x7d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8::events::AggregatorReadEvent", - "data": { - "cost": "0", - "result": { - "dec": 9, - "neg": false, - "value": "7958500000" - }, - "aggregator_address": "0xb8f20223af69dcbc33d29e8555e46d031915fc38cb1a4fff5d5167a1e08e8367" - }, - "indexed_type": "0x7d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8::events::AggregatorReadEvent", - "event_index": 9 - }, - { - "sequence_number": 344438, - "creation_number": 19, - "account_address": "0x07d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8", - "transaction_version": 155112189, - "transaction_block_height": 59919203, - "type_": "0x7d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8::events::AggregatorReadEvent", - "data": { - "cost": "0", - "result": { - "dec": 9, - "neg": false, - "value": "1863800000000" - }, - "aggregator_address": "0x7b5f536d201280a10d33d8c2202a1892b1dd8247aecfef7762ea8e7565eac7b6" - }, - "indexed_type": "0x7d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8::events::AggregatorReadEvent", - "event_index": 10 - }, - { - "sequence_number": 344439, - "creation_number": 19, - "account_address": "0x07d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8", - "transaction_version": 155112189, - "transaction_block_height": 59919203, - "type_": "0x7d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8::events::AggregatorReadEvent", - "data": { - "cost": "0", - "result": { - "dec": 9, - "neg": false, - "value": "1000015000" - }, - "aggregator_address": "0xdc1045b4d9fd1f4221fc2f91b2090d88483ba9745f29cf2d96574611204659a5" - }, - "indexed_type": "0x7d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8::events::AggregatorReadEvent", - "event_index": 11 - }, - { - "sequence_number": 344440, - "creation_number": 19, - "account_address": "0x07d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8", - "transaction_version": 155112189, - "transaction_block_height": 59919203, - "type_": "0x7d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8::events::AggregatorReadEvent", - "data": { - "cost": "0", - "result": { - "dec": 9, - "neg": false, - "value": "1016730000" - }, - "aggregator_address": "0x94a63284ace90c56f6326de5d62e867d915370a7d059bf974b39aefc699b8baa" - }, - "indexed_type": "0x7d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8::events::AggregatorReadEvent", - "event_index": 12 - }, - { - "sequence_number": 344441, - "creation_number": 19, - "account_address": "0x07d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8", - "transaction_version": 155112189, - "transaction_block_height": 59919203, - "type_": "0x7d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8::events::AggregatorReadEvent", - "data": { - "cost": "0", - "result": { - "dec": 9, - "neg": false, - "value": "20236500000" - }, - "aggregator_address": "0x5af65afeeab555f8b742ce7fc2c539a5cb6a6fb2a6e6d96bc1b075fb28067808" - }, - "indexed_type": "0x7d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8::events::AggregatorReadEvent", - "event_index": 13 - }, - { - "sequence_number": 344442, - "creation_number": 19, - "account_address": "0x07d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8", - "transaction_version": 155112189, - "transaction_block_height": 59919203, - "type_": "0x7d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8::events::AggregatorReadEvent", - "data": { - "cost": "0", - "result": { - "dec": 9, - "neg": false, - "value": "7958500000" - }, - "aggregator_address": "0xb8f20223af69dcbc33d29e8555e46d031915fc38cb1a4fff5d5167a1e08e8367" - }, - "indexed_type": "0x7d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8::events::AggregatorReadEvent", - "event_index": 14 - }, - { - "sequence_number": 344443, - "creation_number": 19, - "account_address": "0x07d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8", - "transaction_version": 155112189, - "transaction_block_height": 59919203, - "type_": "0x7d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8::events::AggregatorReadEvent", - "data": { - "cost": "0", - "result": { - "dec": 9, - "neg": false, - "value": "1863800000000" - }, - "aggregator_address": "0x7b5f536d201280a10d33d8c2202a1892b1dd8247aecfef7762ea8e7565eac7b6" - }, - "indexed_type": "0x7d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8::events::AggregatorReadEvent", - "event_index": 15 - }, - { - "sequence_number": 344444, - "creation_number": 19, - "account_address": "0x07d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8", - "transaction_version": 155112189, - "transaction_block_height": 59919203, - "type_": "0x7d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8::events::AggregatorReadEvent", - "data": { - "cost": "0", - "result": { - "dec": 9, - "neg": false, - "value": "1000015000" - }, - "aggregator_address": "0xdc1045b4d9fd1f4221fc2f91b2090d88483ba9745f29cf2d96574611204659a5" - }, - "indexed_type": "0x7d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8::events::AggregatorReadEvent", - "event_index": 16 - }, - { - "sequence_number": 344445, - "creation_number": 19, - "account_address": "0x07d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8", - "transaction_version": 155112189, - "transaction_block_height": 59919203, - "type_": "0x7d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8::events::AggregatorReadEvent", - "data": { - "cost": "0", - "result": { - "dec": 9, - "neg": false, - "value": "1016730000" - }, - "aggregator_address": "0x94a63284ace90c56f6326de5d62e867d915370a7d059bf974b39aefc699b8baa" - }, - "indexed_type": "0x7d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8::events::AggregatorReadEvent", - "event_index": 17 - }, - { - "sequence_number": 344446, - "creation_number": 19, - "account_address": "0x07d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8", - "transaction_version": 155112189, - "transaction_block_height": 59919203, - "type_": "0x7d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8::events::AggregatorReadEvent", - "data": { - "cost": "0", - "result": { - "dec": 9, - "neg": false, - "value": "20236500000" - }, - "aggregator_address": "0x5af65afeeab555f8b742ce7fc2c539a5cb6a6fb2a6e6d96bc1b075fb28067808" - }, - "indexed_type": "0x7d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8::events::AggregatorReadEvent", - "event_index": 18 - }, - { - "sequence_number": 344447, - "creation_number": 19, - "account_address": "0x07d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8", - "transaction_version": 155112189, - "transaction_block_height": 59919203, - "type_": "0x7d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8::events::AggregatorReadEvent", - "data": { - "cost": "0", - "result": { - "dec": 9, - "neg": false, - "value": "7958500000" - }, - "aggregator_address": "0xb8f20223af69dcbc33d29e8555e46d031915fc38cb1a4fff5d5167a1e08e8367" - }, - "indexed_type": "0x7d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8::events::AggregatorReadEvent", - "event_index": 19 - }, - { - "sequence_number": 344448, - "creation_number": 19, - "account_address": "0x07d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8", - "transaction_version": 155112189, - "transaction_block_height": 59919203, - "type_": "0x7d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8::events::AggregatorReadEvent", - "data": { - "cost": "0", - "result": { - "dec": 9, - "neg": false, - "value": "7958500000" - }, - "aggregator_address": "0xb8f20223af69dcbc33d29e8555e46d031915fc38cb1a4fff5d5167a1e08e8367" - }, - "indexed_type": "0x7d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8::events::AggregatorReadEvent", - "event_index": 20 - }, - { - "sequence_number": 344449, - "creation_number": 19, - "account_address": "0x07d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8", - "transaction_version": 155112189, - "transaction_block_height": 59919203, - "type_": "0x7d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8::events::AggregatorReadEvent", - "data": { - "cost": "0", - "result": { - "dec": 9, - "neg": false, - "value": "7958500000" - }, - "aggregator_address": "0xb8f20223af69dcbc33d29e8555e46d031915fc38cb1a4fff5d5167a1e08e8367" - }, - "indexed_type": "0x7d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8::events::AggregatorReadEvent", - "event_index": 21 - }, - { - "sequence_number": 344450, - "creation_number": 19, - "account_address": "0x07d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8", - "transaction_version": 155112189, - "transaction_block_height": 59919203, - "type_": "0x7d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8::events::AggregatorReadEvent", - "data": { - "cost": "0", - "result": { - "dec": 9, - "neg": false, - "value": "1863800000000" - }, - "aggregator_address": "0x7b5f536d201280a10d33d8c2202a1892b1dd8247aecfef7762ea8e7565eac7b6" - }, - "indexed_type": "0x7d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8::events::AggregatorReadEvent", - "event_index": 22 - }, - { - "sequence_number": 344451, - "creation_number": 19, - "account_address": "0x07d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8", - "transaction_version": 155112189, - "transaction_block_height": 59919203, - "type_": "0x7d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8::events::AggregatorReadEvent", - "data": { - "cost": "0", - "result": { - "dec": 9, - "neg": false, - "value": "1000015000" - }, - "aggregator_address": "0xdc1045b4d9fd1f4221fc2f91b2090d88483ba9745f29cf2d96574611204659a5" - }, - "indexed_type": "0x7d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8::events::AggregatorReadEvent", - "event_index": 23 - }, - { - "sequence_number": 344452, - "creation_number": 19, - "account_address": "0x07d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8", - "transaction_version": 155112189, - "transaction_block_height": 59919203, - "type_": "0x7d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8::events::AggregatorReadEvent", - "data": { - "cost": "0", - "result": { - "dec": 9, - "neg": false, - "value": "1016730000" - }, - "aggregator_address": "0x94a63284ace90c56f6326de5d62e867d915370a7d059bf974b39aefc699b8baa" - }, - "indexed_type": "0x7d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8::events::AggregatorReadEvent", - "event_index": 24 - }, - { - "sequence_number": 344453, - "creation_number": 19, - "account_address": "0x07d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8", - "transaction_version": 155112189, - "transaction_block_height": 59919203, - "type_": "0x7d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8::events::AggregatorReadEvent", - "data": { - "cost": "0", - "result": { - "dec": 9, - "neg": false, - "value": "20236500000" - }, - "aggregator_address": "0x5af65afeeab555f8b742ce7fc2c539a5cb6a6fb2a6e6d96bc1b075fb28067808" - }, - "indexed_type": "0x7d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8::events::AggregatorReadEvent", - "event_index": 25 - }, - { - "sequence_number": 344454, - "creation_number": 19, - "account_address": "0x07d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8", - "transaction_version": 155112189, - "transaction_block_height": 59919203, - "type_": "0x7d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8::events::AggregatorReadEvent", - "data": { - "cost": "0", - "result": { - "dec": 9, - "neg": false, - "value": "7958500000" - }, - "aggregator_address": "0xb8f20223af69dcbc33d29e8555e46d031915fc38cb1a4fff5d5167a1e08e8367" - }, - "indexed_type": "0x7d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8::events::AggregatorReadEvent", - "event_index": 26 - }, - { - "sequence_number": 344455, - "creation_number": 19, - "account_address": "0x07d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8", - "transaction_version": 155112189, - "transaction_block_height": 59919203, - "type_": "0x7d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8::events::AggregatorReadEvent", - "data": { - "cost": "0", - "result": { - "dec": 9, - "neg": false, - "value": "1000015000" - }, - "aggregator_address": "0xdc1045b4d9fd1f4221fc2f91b2090d88483ba9745f29cf2d96574611204659a5" - }, - "indexed_type": "0x7d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8::events::AggregatorReadEvent", - "event_index": 27 - }, - { - "sequence_number": 344456, - "creation_number": 19, - "account_address": "0x07d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8", - "transaction_version": 155112189, - "transaction_block_height": 59919203, - "type_": "0x7d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8::events::AggregatorReadEvent", - "data": { - "cost": "0", - "result": { - "dec": 9, - "neg": false, - "value": "7958500000" - }, - "aggregator_address": "0xb8f20223af69dcbc33d29e8555e46d031915fc38cb1a4fff5d5167a1e08e8367" - }, - "indexed_type": "0x7d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8::events::AggregatorReadEvent", - "event_index": 28 - }, - { - "sequence_number": 344457, - "creation_number": 19, - "account_address": "0x07d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8", - "transaction_version": 155112189, - "transaction_block_height": 59919203, - "type_": "0x7d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8::events::AggregatorReadEvent", - "data": { - "cost": "0", - "result": { - "dec": 9, - "neg": false, - "value": "7958500000" - }, - "aggregator_address": "0xb8f20223af69dcbc33d29e8555e46d031915fc38cb1a4fff5d5167a1e08e8367" - }, - "indexed_type": "0x7d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8::events::AggregatorReadEvent", - "event_index": 29 - }, - { - "sequence_number": 344458, - "creation_number": 19, - "account_address": "0x07d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8", - "transaction_version": 155112189, - "transaction_block_height": 59919203, - "type_": "0x7d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8::events::AggregatorReadEvent", - "data": { - "cost": "0", - "result": { - "dec": 9, - "neg": false, - "value": "7958500000" - }, - "aggregator_address": "0xb8f20223af69dcbc33d29e8555e46d031915fc38cb1a4fff5d5167a1e08e8367" - }, - "indexed_type": "0x7d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8::events::AggregatorReadEvent", - "event_index": 30 - }, - { - "sequence_number": 344459, - "creation_number": 19, - "account_address": "0x07d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8", - "transaction_version": 155112189, - "transaction_block_height": 59919203, - "type_": "0x7d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8::events::AggregatorReadEvent", - "data": { - "cost": "0", - "result": { - "dec": 9, - "neg": false, - "value": "1863800000000" - }, - "aggregator_address": "0x7b5f536d201280a10d33d8c2202a1892b1dd8247aecfef7762ea8e7565eac7b6" - }, - "indexed_type": "0x7d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8::events::AggregatorReadEvent", - "event_index": 31 - }, - { - "sequence_number": 344460, - "creation_number": 19, - "account_address": "0x07d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8", - "transaction_version": 155112189, - "transaction_block_height": 59919203, - "type_": "0x7d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8::events::AggregatorReadEvent", - "data": { - "cost": "0", - "result": { - "dec": 9, - "neg": false, - "value": "1000015000" - }, - "aggregator_address": "0xdc1045b4d9fd1f4221fc2f91b2090d88483ba9745f29cf2d96574611204659a5" - }, - "indexed_type": "0x7d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8::events::AggregatorReadEvent", - "event_index": 32 - }, - { - "sequence_number": 344461, - "creation_number": 19, - "account_address": "0x07d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8", - "transaction_version": 155112189, - "transaction_block_height": 59919203, - "type_": "0x7d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8::events::AggregatorReadEvent", - "data": { - "cost": "0", - "result": { - "dec": 9, - "neg": false, - "value": "1016730000" - }, - "aggregator_address": "0x94a63284ace90c56f6326de5d62e867d915370a7d059bf974b39aefc699b8baa" - }, - "indexed_type": "0x7d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8::events::AggregatorReadEvent", - "event_index": 33 - }, - { - "sequence_number": 344462, - "creation_number": 19, - "account_address": "0x07d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8", - "transaction_version": 155112189, - "transaction_block_height": 59919203, - "type_": "0x7d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8::events::AggregatorReadEvent", - "data": { - "cost": "0", - "result": { - "dec": 9, - "neg": false, - "value": "20236500000" - }, - "aggregator_address": "0x5af65afeeab555f8b742ce7fc2c539a5cb6a6fb2a6e6d96bc1b075fb28067808" - }, - "indexed_type": "0x7d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8::events::AggregatorReadEvent", - "event_index": 34 - }, - { - "sequence_number": 344463, - "creation_number": 19, - "account_address": "0x07d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8", - "transaction_version": 155112189, - "transaction_block_height": 59919203, - "type_": "0x7d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8::events::AggregatorReadEvent", - "data": { - "cost": "0", - "result": { - "dec": 9, - "neg": false, - "value": "7958500000" - }, - "aggregator_address": "0xb8f20223af69dcbc33d29e8555e46d031915fc38cb1a4fff5d5167a1e08e8367" - }, - "indexed_type": "0x7d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8::events::AggregatorReadEvent", - "event_index": 35 - }, - { - "sequence_number": 344464, - "creation_number": 19, - "account_address": "0x07d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8", - "transaction_version": 155112189, - "transaction_block_height": 59919203, - "type_": "0x7d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8::events::AggregatorReadEvent", - "data": { - "cost": "0", - "result": { - "dec": 9, - "neg": false, - "value": "1863800000000" - }, - "aggregator_address": "0x7b5f536d201280a10d33d8c2202a1892b1dd8247aecfef7762ea8e7565eac7b6" - }, - "indexed_type": "0x7d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8::events::AggregatorReadEvent", - "event_index": 36 - }, - { - "sequence_number": 344465, - "creation_number": 19, - "account_address": "0x07d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8", - "transaction_version": 155112189, - "transaction_block_height": 59919203, - "type_": "0x7d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8::events::AggregatorReadEvent", - "data": { - "cost": "0", - "result": { - "dec": 9, - "neg": false, - "value": "1000015000" - }, - "aggregator_address": "0xdc1045b4d9fd1f4221fc2f91b2090d88483ba9745f29cf2d96574611204659a5" - }, - "indexed_type": "0x7d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8::events::AggregatorReadEvent", - "event_index": 37 - }, - { - "sequence_number": 344466, - "creation_number": 19, - "account_address": "0x07d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8", - "transaction_version": 155112189, - "transaction_block_height": 59919203, - "type_": "0x7d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8::events::AggregatorReadEvent", - "data": { - "cost": "0", - "result": { - "dec": 9, - "neg": false, - "value": "1016730000" - }, - "aggregator_address": "0x94a63284ace90c56f6326de5d62e867d915370a7d059bf974b39aefc699b8baa" - }, - "indexed_type": "0x7d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8::events::AggregatorReadEvent", - "event_index": 38 - }, - { - "sequence_number": 344467, - "creation_number": 19, - "account_address": "0x07d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8", - "transaction_version": 155112189, - "transaction_block_height": 59919203, - "type_": "0x7d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8::events::AggregatorReadEvent", - "data": { - "cost": "0", - "result": { - "dec": 9, - "neg": false, - "value": "20236500000" - }, - "aggregator_address": "0x5af65afeeab555f8b742ce7fc2c539a5cb6a6fb2a6e6d96bc1b075fb28067808" - }, - "indexed_type": "0x7d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8::events::AggregatorReadEvent", - "event_index": 39 - }, - { - "sequence_number": 344468, - "creation_number": 19, - "account_address": "0x07d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8", - "transaction_version": 155112189, - "transaction_block_height": 59919203, - "type_": "0x7d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8::events::AggregatorReadEvent", - "data": { - "cost": "0", - "result": { - "dec": 9, - "neg": false, - "value": "7958500000" - }, - "aggregator_address": "0xb8f20223af69dcbc33d29e8555e46d031915fc38cb1a4fff5d5167a1e08e8367" - }, - "indexed_type": "0x7d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8::events::AggregatorReadEvent", - "event_index": 40 - }, - { - "sequence_number": 344469, - "creation_number": 19, - "account_address": "0x07d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8", - "transaction_version": 155112189, - "transaction_block_height": 59919203, - "type_": "0x7d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8::events::AggregatorReadEvent", - "data": { - "cost": "0", - "result": { - "dec": 9, - "neg": false, - "value": "7958500000" - }, - "aggregator_address": "0xb8f20223af69dcbc33d29e8555e46d031915fc38cb1a4fff5d5167a1e08e8367" - }, - "indexed_type": "0x7d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8::events::AggregatorReadEvent", - "event_index": 41 - }, - { - "sequence_number": 3596, - "creation_number": 2, - "account_address": "0xaf2ddc14d06dcb2684d06e545d82342916d7d956ada77721b2d10fb7650c17d6", - "transaction_version": 155112189, - "transaction_block_height": 59919203, - "type_": "0x1::coin::DepositEvent", - "data": { - "amount": "2515578569" - }, - "indexed_type": "0x1::coin::DepositEvent", - "event_index": 42 - }, - { - "sequence_number": 344470, - "creation_number": 19, - "account_address": "0x07d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8", - "transaction_version": 155112189, - "transaction_block_height": 59919203, - "type_": "0x7d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8::events::AggregatorReadEvent", - "data": { - "cost": "0", - "result": { - "dec": 9, - "neg": false, - "value": "7958500000" - }, - "aggregator_address": "0xb8f20223af69dcbc33d29e8555e46d031915fc38cb1a4fff5d5167a1e08e8367" - }, - "indexed_type": "0x7d7e436f0b2aafde60774efb26ccc432cf881b677aca7faaf2a01879bd19fb8::events::AggregatorReadEvent", - "event_index": 43 - }, - { - "sequence_number": 2506, - "creation_number": 10, - "account_address": "0x1786191d0ce793debfdef9890868abdcdc7053f982ccdd102a72732b3082f31d", - "transaction_version": 155112189, - "transaction_block_height": 59919203, - "type_": "0x1786191d0ce793debfdef9890868abdcdc7053f982ccdd102a72732b3082f31d::basket::SwapEvent", - "data": { - "user": "0xaf2ddc14d06dcb2684d06e545d82342916d7d956ada77721b2d10fb7650c17d6", - "fees_charged": "1227536", - "deposit_amount": "201426774", - "withdraw_amount": "2527965600", - "deposit_coin_type_info": { - "module_name": "0x6173736574", - "struct_name": "0x55534443", - "account_address": "0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa" - }, - "withdraw_coin_type_info": { - "module_name": "0x6170746f735f636f696e", - "struct_name": "0x4170746f73436f696e", - "account_address": "0x1" - } - }, - "indexed_type": "0x1786191d0ce793debfdef9890868abdcdc7053f982ccdd102a72732b3082f31d::basket::SwapEvent", - "event_index": 44 - }, - { - "sequence_number": 10180, - "creation_number": 13, - "account_address": "0x1786191d0ce793debfdef9890868abdcdc7053f982ccdd102a72732b3082f31d", - "transaction_version": 155112189, - "transaction_block_height": 59919203, - "type_": "0x1786191d0ce793debfdef9890868abdcdc7053f982ccdd102a72732b3082f31d::order::FulfillOrderEvent", - "data": { - "order_id": "10497" - }, - "indexed_type": "0x1786191d0ce793debfdef9890868abdcdc7053f982ccdd102a72732b3082f31d::order::FulfillOrderEvent", - "event_index": 45 - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/events_processor/1845035942/events.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/events_processor/1845035942/events.json deleted file mode 100644 index 10ce98027..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/events_processor/1845035942/events.json +++ /dev/null @@ -1,100 +0,0 @@ -[ - { - "sequence_number": 37071, - "creation_number": 4, - "account_address": "0x128b657b70be52e3f5a7e998d4ca7d1bca886394c5ccf24036d2171368599f21", - "transaction_version": 1845035942, - "transaction_block_height": 244136188, - "type_": "0x3::token::MintTokenEvent", - "data": { - "id": { - "name": "Growfitter Run Bronze Medal v3", - "creator": "0x128b657b70be52e3f5a7e998d4ca7d1bca886394c5ccf24036d2171368599f21", - "collection": "Growfitter Fitness Activity Medals v3" - }, - "amount": "1" - }, - "indexed_type": "0x3::token::MintTokenEvent", - "event_index": 0 - }, - { - "sequence_number": 37071, - "creation_number": 5, - "account_address": "0x128b657b70be52e3f5a7e998d4ca7d1bca886394c5ccf24036d2171368599f21", - "transaction_version": 1845035942, - "transaction_block_height": 244136188, - "type_": "0x3::token::DepositEvent", - "data": { - "id": { - "token_data_id": { - "name": "Growfitter Run Bronze Medal v3", - "creator": "0x128b657b70be52e3f5a7e998d4ca7d1bca886394c5ccf24036d2171368599f21", - "collection": "Growfitter Fitness Activity Medals v3" - }, - "property_version": "0" - }, - "amount": "1" - }, - "indexed_type": "0x3::token::DepositEvent", - "event_index": 1 - }, - { - "sequence_number": 37071, - "creation_number": 6, - "account_address": "0x128b657b70be52e3f5a7e998d4ca7d1bca886394c5ccf24036d2171368599f21", - "transaction_version": 1845035942, - "transaction_block_height": 244136188, - "type_": "0x3::token::WithdrawEvent", - "data": { - "id": { - "token_data_id": { - "name": "Growfitter Run Bronze Medal v3", - "creator": "0x128b657b70be52e3f5a7e998d4ca7d1bca886394c5ccf24036d2171368599f21", - "collection": "Growfitter Fitness Activity Medals v3" - }, - "property_version": "0" - }, - "amount": "1" - }, - "indexed_type": "0x3::token::WithdrawEvent", - "event_index": 2 - }, - { - "sequence_number": 3, - "creation_number": 4, - "account_address": "0xd9701b178ea81161e998ff2a545654d8eefe6f54035ab931bc02eef03fd1645f", - "transaction_version": 1845035942, - "transaction_block_height": 244136188, - "type_": "0x3::token::DepositEvent", - "data": { - "id": { - "token_data_id": { - "name": "Growfitter Run Bronze Medal v3", - "creator": "0x128b657b70be52e3f5a7e998d4ca7d1bca886394c5ccf24036d2171368599f21", - "collection": "Growfitter Fitness Activity Medals v3" - }, - "property_version": "0" - }, - "amount": "1" - }, - "indexed_type": "0x3::token::DepositEvent", - "event_index": 3 - }, - { - "sequence_number": 0, - "creation_number": 0, - "account_address": "0x0000000000000000000000000000000000000000000000000000000000000000", - "transaction_version": 1845035942, - "transaction_block_height": 244136188, - "type_": "0x1::transaction_fee::FeeStatement", - "data": { - "io_gas_units": "7", - "storage_fee_octas": "50360", - "execution_gas_units": "10", - "total_charge_gas_units": "520", - "storage_fee_refund_octas": "0" - }, - "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_mainnet_txns/events_processor/308783012/events.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/events_processor/308783012/events.json deleted file mode 100644 index 0d0606808..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/events_processor/308783012/events.json +++ /dev/null @@ -1,48 +0,0 @@ -[ - { - "sequence_number": 3723913, - "creation_number": 1125899906842626, - "account_address": "0xc791df699189a8fdfb4faaacf834f036d37670d6fd1ef06d3efb2d14c081512a", - "transaction_version": 308783012, - "transaction_block_height": 106350614, - "type_": "0x4::collection::MintEvent", - "data": { - "index": "3723914", - "token": "0x6fd8ee875fb55e03b1f9643d3f229f0b077a71cfe7ffc8ba7e09ff4392950e5c" - }, - "indexed_type": "0x4::collection::MintEvent", - "event_index": 0 - }, - { - "sequence_number": 0, - "creation_number": 1125899906842624, - "account_address": "0x6fd8ee875fb55e03b1f9643d3f229f0b077a71cfe7ffc8ba7e09ff4392950e5c", - "transaction_version": 308783012, - "transaction_block_height": 106350614, - "type_": "0x1::object::TransferEvent", - "data": { - "to": "0x9dbbb06745c8f0242199bf5ce60ace04ff3bad41a9c697440009c9689587e694", - "from": "0x7efbc33cf69ad534412eab0ccd0f5fbec7793bdebf08a3620afe8e5f89ef13a0", - "object": "0x6fd8ee875fb55e03b1f9643d3f229f0b077a71cfe7ffc8ba7e09ff4392950e5c" - }, - "indexed_type": "0x1::object::TransferEvent", - "event_index": 1 - }, - { - "sequence_number": 0, - "creation_number": 0, - "account_address": "0x0000000000000000000000000000000000000000000000000000000000000000", - "transaction_version": 308783012, - "transaction_block_height": 106350614, - "type_": "0x1::transaction_fee::FeeStatement", - "data": { - "io_gas_units": "4", - "storage_fee_octas": "50000", - "execution_gas_units": "16", - "total_charge_gas_units": "520", - "storage_fee_refund_octas": "0" - }, - "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/events_processor/325355235/events.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/events_processor/325355235/events.json deleted file mode 100644 index c25f9d94f..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/events_processor/325355235/events.json +++ /dev/null @@ -1,48 +0,0 @@ -[ - { - "sequence_number": 4392521, - "creation_number": 1125899906842626, - "account_address": "0xc791df699189a8fdfb4faaacf834f036d37670d6fd1ef06d3efb2d14c081512a", - "transaction_version": 325355235, - "transaction_block_height": 111985120, - "type_": "0x4::collection::MintEvent", - "data": { - "index": "4392522", - "token": "0xff4ab259fd6773861c2046d1f89b5ff944d0229dd9c1f6952a3b6fd2d2885dfa" - }, - "indexed_type": "0x4::collection::MintEvent", - "event_index": 0 - }, - { - "sequence_number": 0, - "creation_number": 1125899906842624, - "account_address": "0xff4ab259fd6773861c2046d1f89b5ff944d0229dd9c1f6952a3b6fd2d2885dfa", - "transaction_version": 325355235, - "transaction_block_height": 111985120, - "type_": "0x1::object::TransferEvent", - "data": { - "to": "0xa281f5b2d909bfadf70099f6b9c24369e12c49f9035437526c53cd3e75d6f08f", - "from": "0x7efbc33cf69ad534412eab0ccd0f5fbec7793bdebf08a3620afe8e5f89ef13a0", - "object": "0xff4ab259fd6773861c2046d1f89b5ff944d0229dd9c1f6952a3b6fd2d2885dfa" - }, - "indexed_type": "0x1::object::TransferEvent", - "event_index": 1 - }, - { - "sequence_number": 0, - "creation_number": 0, - "account_address": "0x0000000000000000000000000000000000000000000000000000000000000000", - "transaction_version": 325355235, - "transaction_block_height": 111985120, - "type_": "0x1::transaction_fee::FeeStatement", - "data": { - "io_gas_units": "4", - "storage_fee_octas": "50000", - "execution_gas_units": "16", - "total_charge_gas_units": "520", - "storage_fee_refund_octas": "0" - }, - "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/events_processor/453498957/events.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/events_processor/453498957/events.json deleted file mode 100644 index e053c1ae7..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/events_processor/453498957/events.json +++ /dev/null @@ -1,77 +0,0 @@ -[ - { - "sequence_number": 0, - "creation_number": 1125899906842626, - "account_address": "0xbd0ac9755fe762df448ee99e356ebe262c3ec535c2c7d0b835da3709cb22df97", - "transaction_version": 453498957, - "transaction_block_height": 146272590, - "type_": "0x4::collection::MintEvent", - "data": { - "index": "1", - "token": "0x2a8822cbd320abf7e363a7197626161eaf8b8de51f1da239e84255336b1e8923" - }, - "indexed_type": "0x4::collection::MintEvent", - "event_index": 0 - }, - { - "sequence_number": 0, - "creation_number": 1125899906842624, - "account_address": "0x2a8822cbd320abf7e363a7197626161eaf8b8de51f1da239e84255336b1e8923", - "transaction_version": 453498957, - "transaction_block_height": 146272590, - "type_": "0x1::object::TransferEvent", - "data": { - "to": "0xf4202dd85700667e130a89af97634266d012a83a7945b2d1640f848cd4556e20", - "from": "0x40fc28526d4c093fac5cd2bb43e7adf41a48dbbe5edf7a1dd57a3a89c627d17a", - "object": "0x2a8822cbd320abf7e363a7197626161eaf8b8de51f1da239e84255336b1e8923" - }, - "indexed_type": "0x1::object::TransferEvent", - "event_index": 1 - }, - { - "sequence_number": 1, - "creation_number": 1125899906842626, - "account_address": "0xbd0ac9755fe762df448ee99e356ebe262c3ec535c2c7d0b835da3709cb22df97", - "transaction_version": 453498957, - "transaction_block_height": 146272590, - "type_": "0x4::collection::MintEvent", - "data": { - "index": "2", - "token": "0x41428e9025efe2c2a97de15b25d753ebb19264e8ecee56cb3d9bdd62a19d7a51" - }, - "indexed_type": "0x4::collection::MintEvent", - "event_index": 2 - }, - { - "sequence_number": 0, - "creation_number": 1125899906842624, - "account_address": "0x41428e9025efe2c2a97de15b25d753ebb19264e8ecee56cb3d9bdd62a19d7a51", - "transaction_version": 453498957, - "transaction_block_height": 146272590, - "type_": "0x1::object::TransferEvent", - "data": { - "to": "0x1746a006565e5b25c20539d429402e652eef906731d00622cda6e3425c1efa73", - "from": "0x40fc28526d4c093fac5cd2bb43e7adf41a48dbbe5edf7a1dd57a3a89c627d17a", - "object": "0x41428e9025efe2c2a97de15b25d753ebb19264e8ecee56cb3d9bdd62a19d7a51" - }, - "indexed_type": "0x1::object::TransferEvent", - "event_index": 3 - }, - { - "sequence_number": 0, - "creation_number": 0, - "account_address": "0x0000000000000000000000000000000000000000000000000000000000000000", - "transaction_version": 453498957, - "transaction_block_height": 146272590, - "type_": "0x1::transaction_fee::FeeStatement", - "data": { - "io_gas_units": "6", - "storage_fee_octas": "100000", - "execution_gas_units": "7", - "total_charge_gas_units": "1013", - "storage_fee_refund_octas": "0" - }, - "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_mainnet_txns/events_processor/508365567/events.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/events_processor/508365567/events.json deleted file mode 100644 index 969952e5f..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/events_processor/508365567/events.json +++ /dev/null @@ -1,120 +0,0 @@ -[ - { - "sequence_number": 0, - "creation_number": 1125899906842626, - "account_address": "0xb8ed486274e5078cf814dfd5d377e95333d58593d2eba6a1aa33c1bf9f39bdab", - "transaction_version": 508365567, - "transaction_block_height": 159068756, - "type_": "0x1::fungible_asset::WithdrawEvent", - "data": { - "amount": "14644184" - }, - "indexed_type": "0x1::fungible_asset::WithdrawEvent", - "event_index": 0 - }, - { - "sequence_number": 133444, - "creation_number": 1125899906842626, - "account_address": "0x30e2f18b1f9c447e7dadd7a05966e721ab6512b81ee977cb053edb86cc1b1d65", - "transaction_version": 508365567, - "transaction_block_height": 159068756, - "type_": "0x4::collection::MintEvent", - "data": { - "index": "133445", - "token": "0xeaa02d37c4896e95813543a3df80d09863d1a4d91f3f14c02db033f2f7a3f665" - }, - "indexed_type": "0x4::collection::MintEvent", - "event_index": 1 - }, - { - "sequence_number": 0, - "creation_number": 1125899906842626, - "account_address": "0xeaa02d37c4896e95813543a3df80d09863d1a4d91f3f14c02db033f2f7a3f665", - "transaction_version": 508365567, - "transaction_block_height": 159068756, - "type_": "0x1::fungible_asset::DepositEvent", - "data": { - "amount": "14644184" - }, - "indexed_type": "0x1::fungible_asset::DepositEvent", - "event_index": 2 - }, - { - "sequence_number": 0, - "creation_number": 1125899906842628, - "account_address": "0xeaa02d37c4896e95813543a3df80d09863d1a4d91f3f14c02db033f2f7a3f665", - "transaction_version": 508365567, - "transaction_block_height": 159068756, - "type_": "0x1::fungible_asset::FrozenEvent", - "data": { - "frozen": true - }, - "indexed_type": "0x1::fungible_asset::FrozenEvent", - "event_index": 3 - }, - { - "sequence_number": 0, - "creation_number": 1125899906842624, - "account_address": "0xeaa02d37c4896e95813543a3df80d09863d1a4d91f3f14c02db033f2f7a3f665", - "transaction_version": 508365567, - "transaction_block_height": 159068756, - "type_": "0x1::object::TransferEvent", - "data": { - "to": "0xc8af29debf02369958769a77388c84a3040b9ffe9ba1f82c1c9f5c6dcb61030e", - "from": "0x4bf51972879e3b95c4781a5cdcb9e1ee24ef483e7d22f2d903626f126df62bd1", - "object": "0xeaa02d37c4896e95813543a3df80d09863d1a4d91f3f14c02db033f2f7a3f665" - }, - "indexed_type": "0x1::object::TransferEvent", - "event_index": 4 - }, - { - "sequence_number": 0, - "creation_number": 1125899906842625, - "account_address": "0xeaa02d37c4896e95813543a3df80d09863d1a4d91f3f14c02db033f2f7a3f665", - "transaction_version": 508365567, - "transaction_block_height": 159068756, - "type_": "0x4::token::MutationEvent", - "data": { - "new_value": "https://api.cellana.finance/api/v1/ve-nft/uri/@0xeaa02d37c4896e95813543a3df80d09863d1a4d91f3f14c02db033f2f7a3f665", - "old_value": "https://api.cellana.finance/api/v1/ve-nft/uri/", - "mutated_field_name": "uri" - }, - "indexed_type": "0x4::token::MutationEvent", - "event_index": 5 - }, - { - "sequence_number": 0, - "creation_number": 0, - "account_address": "0x0000000000000000000000000000000000000000000000000000000000000000", - "transaction_version": 508365567, - "transaction_block_height": 159068756, - "type_": "0x4bf51972879e3b95c4781a5cdcb9e1ee24ef483e7d22f2d903626f126df62bd1::voting_escrow::CreateLockEvent", - "data": { - "owner": "0xc8af29debf02369958769a77388c84a3040b9ffe9ba1f82c1c9f5c6dcb61030e", - "amount": "14644184", - "ve_token": { - "inner": "0xeaa02d37c4896e95813543a3df80d09863d1a4d91f3f14c02db033f2f7a3f665" - }, - "lockup_end_epoch": "2880" - }, - "indexed_type": "0x4bf51972879e3b95c4781a5cdcb9e1ee24ef483e7d22f2d903626f126df62bd1::voting_escrow::CreateLockEvent", - "event_index": 6 - }, - { - "sequence_number": 0, - "creation_number": 0, - "account_address": "0x0000000000000000000000000000000000000000000000000000000000000000", - "transaction_version": 508365567, - "transaction_block_height": 159068756, - "type_": "0x1::transaction_fee::FeeStatement", - "data": { - "io_gas_units": "14", - "storage_fee_octas": "62620", - "execution_gas_units": "37", - "total_charge_gas_units": "676", - "storage_fee_refund_octas": "0" - }, - "indexed_type": "0x1::transaction_fee::FeeStatement", - "event_index": 7 - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/events_processor/513424821/events.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/events_processor/513424821/events.json deleted file mode 100644 index 962015fb6..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/events_processor/513424821/events.json +++ /dev/null @@ -1,22 +0,0 @@ -[ - { - "sequence_number": 160013523, - "creation_number": 3, - "account_address": "0x0000000000000000000000000000000000000000000000000000000000000001", - "transaction_version": 513424821, - "transaction_block_height": 160013523, - "type_": "0x1::block::NewBlockEvent", - "data": { - "hash": "0xd1725984e19ce9934848108b187705f4eabfa4c178b21daa385d75ff1baa153b", - "epoch": "6336", - "round": "13705", - "height": "160013523", - "proposer": "0x324df1e27c4129a58d73851ae0e9366064dc666a73e747051e203694a4cb257", - "time_microseconds": "1711050652758797", - "failed_proposer_indices": [], - "previous_block_votes_bitvec": "0x871bdec7775dffbd3affed7d2b9eceace0" - }, - "indexed_type": "0x1::block::NewBlockEvent", - "event_index": 0 - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/events_processor/537250181/events.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/events_processor/537250181/events.json deleted file mode 100644 index 4a0707896..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/events_processor/537250181/events.json +++ /dev/null @@ -1,33 +0,0 @@ -[ - { - "sequence_number": 30142, - "creation_number": 1125899906842626, - "account_address": "0x2bed7aeca079697ec1700cc48bee658b2331d80996b05e56dfcb39fae22cbb63", - "transaction_version": 537250181, - "transaction_block_height": 165399051, - "type_": "0x4::collection::MintEvent", - "data": { - "index": "30143", - "token": "0x88fbd363b60336c664a3114000d723efffa6f745be049e42ca98aa631b018ac9" - }, - "indexed_type": "0x4::collection::MintEvent", - "event_index": 0 - }, - { - "sequence_number": 0, - "creation_number": 0, - "account_address": "0x0000000000000000000000000000000000000000000000000000000000000000", - "transaction_version": 537250181, - "transaction_block_height": 165399051, - "type_": "0x1::transaction_fee::FeeStatement", - "data": { - "io_gas_units": "5", - "storage_fee_octas": "70750", - "execution_gas_units": "6", - "total_charge_gas_units": "718", - "storage_fee_refund_octas": "0" - }, - "indexed_type": "0x1::transaction_fee::FeeStatement", - "event_index": 1 - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/events_processor/578366445/events.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/events_processor/578366445/events.json deleted file mode 100644 index 8691b4eaa..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/events_processor/578366445/events.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "sequence_number": 0, - "creation_number": 0, - "account_address": "0x0000000000000000000000000000000000000000000000000000000000000000", - "transaction_version": 578366445, - "transaction_block_height": 174826957, - "type_": "0x4::collection::Burn", - "data": { - "index": "31187", - "token": "0x57a56bff4472da6c2b28149d192ef0186ff6647bc3c2ba5c28439662fdaa284d", - "collection": "0x1ac3cb52493947623cd727e2db9e4cfd828d5f9cd264920d253828276a5e314e", - "previous_owner": "0x3fda2b751a0d209e17069ae72ccde256efeaad39e5403ea0e65ef5dcebdf6763" - }, - "indexed_type": "0x4::collection::Burn", - "event_index": 0 - }, - { - "sequence_number": 0, - "creation_number": 0, - "account_address": "0x0000000000000000000000000000000000000000000000000000000000000000", - "transaction_version": 578366445, - "transaction_block_height": 174826957, - "type_": "0x1::transaction_fee::FeeStatement", - "data": { - "io_gas_units": "6", - "storage_fee_octas": "0", - "execution_gas_units": "4", - "total_charge_gas_units": "9", - "storage_fee_refund_octas": "75160" - }, - "indexed_type": "0x1::transaction_fee::FeeStatement", - "event_index": 1 - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/events_processor/602320562/events.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/events_processor/602320562/events.json deleted file mode 100644 index 8bf2bee92..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/events_processor/602320562/events.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "sequence_number": 0, - "creation_number": 0, - "account_address": "0x0000000000000000000000000000000000000000000000000000000000000000", - "transaction_version": 602320562, - "transaction_block_height": 179784414, - "type_": "0x4::collection::Mint", - "data": { - "index": { - "value": "15436" - }, - "token": "0x5d42972f67d68e51862f7c1c5ece9f4135a9a3150ae08be19274b591c77587f2", - "collection": "0x3738dc12733429d94935a8cace840eb3615cbcc2031c6491f6616b8e58e0e7f" - }, - "indexed_type": "0x4::collection::Mint", - "event_index": 0 - }, - { - "sequence_number": 0, - "creation_number": 0, - "account_address": "0x0000000000000000000000000000000000000000000000000000000000000000", - "transaction_version": 602320562, - "transaction_block_height": 179784414, - "type_": "0x1::transaction_fee::FeeStatement", - "data": { - "io_gas_units": "5", - "storage_fee_octas": "72520", - "execution_gas_units": "7", - "total_charge_gas_units": "736", - "storage_fee_refund_octas": "0" - }, - "indexed_type": "0x1::transaction_fee::FeeStatement", - "event_index": 1 - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/events_processor/967255533/events.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/events_processor/967255533/events.json deleted file mode 100644 index f1ccc6a7f..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/events_processor/967255533/events.json +++ /dev/null @@ -1,34 +0,0 @@ -[ - { - "sequence_number": 0, - "creation_number": 1125899906842625, - "account_address": "0x1910ed3769bf094c43cf0c81470265304014c4ae7cbb4991fcc194f2c42bb4b4", - "transaction_version": 967255533, - "transaction_block_height": 187592972, - "type_": "0x4::token::MutationEvent", - "data": { - "new_value": "https://arweave.net/-_cc-_HbzDofAF1_WkfGMfyJyejqU64ZdZmGFahNZlg", - "old_value": "", - "mutated_field_name": "uri" - }, - "indexed_type": "0x4::token::MutationEvent", - "event_index": 0 - }, - { - "sequence_number": 0, - "creation_number": 0, - "account_address": "0x0000000000000000000000000000000000000000000000000000000000000000", - "transaction_version": 967255533, - "transaction_block_height": 187592972, - "type_": "0x1::transaction_fee::FeeStatement", - "data": { - "io_gas_units": "4", - "storage_fee_octas": "2560", - "execution_gas_units": "11", - "total_charge_gas_units": "40", - "storage_fee_refund_octas": "0" - }, - "indexed_type": "0x1::transaction_fee::FeeStatement", - "event_index": 1 - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/events_processor/999929475/events.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/events_processor/999929475/events.json deleted file mode 100644 index 979013be2..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/events_processor/999929475/events.json +++ /dev/null @@ -1,145 +0,0 @@ -[ - { - "sequence_number": 88, - "creation_number": 3, - "account_address": "0xaf1fbd1c118239498c0fec0e5cec54a50d03250fe1aca589a6b903566ba1d4db", - "transaction_version": 999929475, - "transaction_block_height": 194508912, - "type_": "0x1::coin::WithdrawEvent", - "data": { - "amount": "2333720700" - }, - "indexed_type": "0x1::coin::WithdrawEvent", - "event_index": 0 - }, - { - "sequence_number": 1357171, - "creation_number": 2, - "account_address": "0x3b38735644d0be8ac37ebd84a1e42fa5c2487495ef8782f6c694b1a147f82426", - "transaction_version": 999929475, - "transaction_block_height": 194508912, - "type_": "0x1::coin::DepositEvent", - "data": { - "amount": "2333720700" - }, - "indexed_type": "0x1::coin::DepositEvent", - "event_index": 1 - }, - { - "sequence_number": 0, - "creation_number": 0, - "account_address": "0x0000000000000000000000000000000000000000000000000000000000000000", - "transaction_version": 999929475, - "transaction_block_height": 194508912, - "type_": "0x1::fungible_asset::Deposit", - "data": { - "store": "0x9120a6a57b1463607f27c140b3a8c5542c74a2411d632eb6f25bab0b40a987a4", - "amount": "2331386980" - }, - "indexed_type": "0x1::fungible_asset::Deposit", - "event_index": 2 - }, - { - "sequence_number": 0, - "creation_number": 0, - "account_address": "0x0000000000000000000000000000000000000000000000000000000000000000", - "transaction_version": 999929475, - "transaction_block_height": 194508912, - "type_": "0x1::fungible_asset::Deposit", - "data": { - "store": "0x97325d3a5abbfe422b8dece076302efd20c0a2dc5c2a5b7954ba8cc203d2f08e", - "amount": "2333720" - }, - "indexed_type": "0x1::fungible_asset::Deposit", - "event_index": 3 - }, - { - "sequence_number": 0, - "creation_number": 0, - "account_address": "0x0000000000000000000000000000000000000000000000000000000000000000", - "transaction_version": 999929475, - "transaction_block_height": 194508912, - "type_": "0x1::fungible_asset::Withdraw", - "data": { - "store": "0x89cee32338902b6f79f9c75c317d32ac061771817c0d5b0802f97ec44ebfc7d4", - "amount": "162105637" - }, - "indexed_type": "0x1::fungible_asset::Withdraw", - "event_index": 4 - }, - { - "sequence_number": 0, - "creation_number": 0, - "account_address": "0x0000000000000000000000000000000000000000000000000000000000000000", - "transaction_version": 999929475, - "transaction_block_height": 194508912, - "type_": "0x4bf51972879e3b95c4781a5cdcb9e1ee24ef483e7d22f2d903626f126df62bd1::liquidity_pool::SwapEvent", - "data": { - "pool": "0x234f0be57d6acfb2f0f19c17053617311a8d03c9ce358bdf9cd5c460e4a02b7c", - "to_token": "0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa::asset::USDC", - "amount_in": "2333720700", - "amount_out": "162105637", - "from_token": "0x1::aptos_coin::AptosCoin" - }, - "indexed_type": "0x4bf51972879e3b95c4781a5cdcb9e1ee24ef483e7d22f2d903626f126df62bd1::liquidity_pool::SwapEvent", - "event_index": 5 - }, - { - "sequence_number": 0, - "creation_number": 0, - "account_address": "0x0000000000000000000000000000000000000000000000000000000000000000", - "transaction_version": 999929475, - "transaction_block_height": 194508912, - "type_": "0x4bf51972879e3b95c4781a5cdcb9e1ee24ef483e7d22f2d903626f126df62bd1::liquidity_pool::SyncEvent", - "data": { - "pool": "0x234f0be57d6acfb2f0f19c17053617311a8d03c9ce358bdf9cd5c460e4a02b7c", - "reserves_1": "429891425615", - "reserves_2": "6184986629106" - }, - "indexed_type": "0x4bf51972879e3b95c4781a5cdcb9e1ee24ef483e7d22f2d903626f126df62bd1::liquidity_pool::SyncEvent", - "event_index": 6 - }, - { - "sequence_number": 269832, - "creation_number": 7, - "account_address": "0x3b38735644d0be8ac37ebd84a1e42fa5c2487495ef8782f6c694b1a147f82426", - "transaction_version": 999929475, - "transaction_block_height": 194508912, - "type_": "0x1::coin::WithdrawEvent", - "data": { - "amount": "162105637" - }, - "indexed_type": "0x1::coin::WithdrawEvent", - "event_index": 7 - }, - { - "sequence_number": 142, - "creation_number": 4, - "account_address": "0xaf1fbd1c118239498c0fec0e5cec54a50d03250fe1aca589a6b903566ba1d4db", - "transaction_version": 999929475, - "transaction_block_height": 194508912, - "type_": "0x1::coin::DepositEvent", - "data": { - "amount": "162105637" - }, - "indexed_type": "0x1::coin::DepositEvent", - "event_index": 8 - }, - { - "sequence_number": 0, - "creation_number": 0, - "account_address": "0x0000000000000000000000000000000000000000000000000000000000000000", - "transaction_version": 999929475, - "transaction_block_height": 194508912, - "type_": "0x1::transaction_fee::FeeStatement", - "data": { - "io_gas_units": "21", - "storage_fee_octas": "0", - "execution_gas_units": "19", - "total_charge_gas_units": "40", - "storage_fee_refund_octas": "0" - }, - "indexed_type": "0x1::transaction_fee::FeeStatement", - "event_index": 9 - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/events_processor/999930475/events.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/events_processor/999930475/events.json deleted file mode 100644 index 10802b645..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/events_processor/999930475/events.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "sequence_number": 0, - "creation_number": 0, - "account_address": "0x0000000000000000000000000000000000000000000000000000000000000000", - "transaction_version": 999930475, - "transaction_block_height": 194509179, - "type_": "0x4::collection::Mint", - "data": { - "index": { - "value": "85328" - }, - "token": "0x175d46f34304375e44870e953b5f4d34fb5b3f6dbf47a9ecc7fdfc7ee3b3e1c9", - "collection": "0xa79561c62c2eac5f008e13aa4c2e13f67c9bd538ef7d9df54fe9215da0a0bc0" - }, - "indexed_type": "0x4::collection::Mint", - "event_index": 0 - }, - { - "sequence_number": 0, - "creation_number": 0, - "account_address": "0x0000000000000000000000000000000000000000000000000000000000000000", - "transaction_version": 999930475, - "transaction_block_height": 194509179, - "type_": "0x1::transaction_fee::FeeStatement", - "data": { - "io_gas_units": "5", - "storage_fee_octas": "72480", - "execution_gas_units": "7", - "total_charge_gas_units": "736", - "storage_fee_refund_octas": "0" - }, - "indexed_type": "0x1::transaction_fee::FeeStatement", - "event_index": 1 - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/1080786089/coin_supply.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/1080786089/coin_supply.json deleted file mode 100644 index 7af2561de..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/1080786089/coin_supply.json +++ /dev/null @@ -1,10 +0,0 @@ -[ - { - "transaction_version": 1080786089, - "coin_type_hash": "91ceb1308a98389691e05158b07ed5f079ab78461a6bb8d5a4054b1bb5cb8bb6", - "coin_type": "0x1::aptos_coin::AptosCoin", - "supply": "110972396016310057", - "transaction_timestamp": "2024-08-07T09:56:34", - "transaction_epoch": 8023 - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/1080786089/current_fungible_asset_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/1080786089/current_fungible_asset_balances.json deleted file mode 100644 index c864690c3..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/1080786089/current_fungible_asset_balances.json +++ /dev/null @@ -1,13 +0,0 @@ -[ - { - "storage_id": "0x35f3a343895ccc3e5418955c311bdd3f09cbd56730b5132585bb799f1c729d49", - "owner_address": "0x8eb76c7294a50b594c48ef13c7ce0a953320c9b25cdf1dd681fbeb9937524703", - "asset_type": "0x1::aptos_coin::AptosCoin", - "is_primary": true, - "is_frozen": false, - "amount": "775443600", - "last_transaction_timestamp": "2024-08-07T09:56:34", - "last_transaction_version": 1080786089, - "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/1080786089/fungible_asset_activities.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/1080786089/fungible_asset_activities.json deleted file mode 100644 index 43e373780..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/1080786089/fungible_asset_activities.json +++ /dev/null @@ -1,20 +0,0 @@ -[ - { - "transaction_version": 1080786089, - "event_index": -1, - "owner_address": "0x8eb76c7294a50b594c48ef13c7ce0a953320c9b25cdf1dd681fbeb9937524703", - "storage_id": "0x35f3a343895ccc3e5418955c311bdd3f09cbd56730b5132585bb799f1c729d49", - "asset_type": "0x1::aptos_coin::AptosCoin", - "is_frozen": null, - "amount": "1700", - "type_": "0x1::aptos_coin::GasFeeEvent", - "is_gas_fee": true, - "gas_fee_payer_address": null, - "is_transaction_success": true, - "entry_function_id_str": "0x9d518b9b84f327eafc5f6632200ea224a818a935ffd6be5d78ada250bbc44a6::sidekick_capsule::delete", - "block_height": 210969872, - "token_standard": "v1", - "transaction_timestamp": "2024-08-07T09:56:34", - "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/1080786089/fungible_asset_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/1080786089/fungible_asset_balances.json deleted file mode 100644 index 2574c2555..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/1080786089/fungible_asset_balances.json +++ /dev/null @@ -1,14 +0,0 @@ -[ - { - "transaction_version": 1080786089, - "write_set_change_index": 7, - "storage_id": "0x35f3a343895ccc3e5418955c311bdd3f09cbd56730b5132585bb799f1c729d49", - "owner_address": "0x8eb76c7294a50b594c48ef13c7ce0a953320c9b25cdf1dd681fbeb9937524703", - "asset_type": "0x1::aptos_coin::AptosCoin", - "is_primary": true, - "is_frozen": false, - "amount": "775443600", - "transaction_timestamp": "2024-08-07T09:56:34", - "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/1080786089/fungible_asset_metadata.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/1080786089/fungible_asset_metadata.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/1080786089/fungible_asset_metadata.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/145959468/coin_supply.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/145959468/coin_supply.json deleted file mode 100644 index 165948190..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/145959468/coin_supply.json +++ /dev/null @@ -1,10 +0,0 @@ -[ - { - "transaction_version": 145959468, - "coin_type_hash": "91ceb1308a98389691e05158b07ed5f079ab78461a6bb8d5a4054b1bb5cb8bb6", - "coin_type": "0x1::aptos_coin::AptosCoin", - "supply": "103572793187305042", - "transaction_timestamp": "2023-05-22T20:59:44", - "transaction_epoch": 2670 - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/145959468/current_fungible_asset_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/145959468/current_fungible_asset_balances.json deleted file mode 100644 index 3f3c796d4..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/145959468/current_fungible_asset_balances.json +++ /dev/null @@ -1,13 +0,0 @@ -[ - { - "storage_id": "0xf15e0dc7e719f23442a324b64e3563db1645bba5bc1f6698569f62e9b80aa89f", - "owner_address": "0x239589c5cfb0cc96f76fa59165a7cbb6ef99ad50d0acc34cf3a2585d861511be", - "asset_type": "0x1::aptos_coin::AptosCoin", - "is_primary": true, - "is_frozen": false, - "amount": "24513481391", - "last_transaction_timestamp": "2023-05-22T20:59:44", - "last_transaction_version": 145959468, - "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/145959468/fungible_asset_activities.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/145959468/fungible_asset_activities.json deleted file mode 100644 index d5c797460..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/145959468/fungible_asset_activities.json +++ /dev/null @@ -1,20 +0,0 @@ -[ - { - "transaction_version": 145959468, - "event_index": -1, - "owner_address": "0x239589c5cfb0cc96f76fa59165a7cbb6ef99ad50d0acc34cf3a2585d861511be", - "storage_id": "0xf15e0dc7e719f23442a324b64e3563db1645bba5bc1f6698569f62e9b80aa89f", - "asset_type": "0x1::aptos_coin::AptosCoin", - "is_frozen": null, - "amount": "3300", - "type_": "0x1::aptos_coin::GasFeeEvent", - "is_gas_fee": true, - "gas_fee_payer_address": null, - "is_transaction_success": true, - "entry_function_id_str": null, - "block_height": 56700326, - "token_standard": "v1", - "transaction_timestamp": "2023-05-22T20:59:44", - "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/145959468/fungible_asset_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/145959468/fungible_asset_balances.json deleted file mode 100644 index bef79aa47..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/145959468/fungible_asset_balances.json +++ /dev/null @@ -1,14 +0,0 @@ -[ - { - "transaction_version": 145959468, - "write_set_change_index": 0, - "storage_id": "0xf15e0dc7e719f23442a324b64e3563db1645bba5bc1f6698569f62e9b80aa89f", - "owner_address": "0x239589c5cfb0cc96f76fa59165a7cbb6ef99ad50d0acc34cf3a2585d861511be", - "asset_type": "0x1::aptos_coin::AptosCoin", - "is_primary": true, - "is_frozen": false, - "amount": "24513481391", - "transaction_timestamp": "2023-05-22T20:59:44", - "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/145959468/fungible_asset_metadata.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/145959468/fungible_asset_metadata.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/145959468/fungible_asset_metadata.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/155112189/coin_supply.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/155112189/coin_supply.json deleted file mode 100644 index 911322e7c..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/155112189/coin_supply.json +++ /dev/null @@ -1,10 +0,0 @@ -[ - { - "transaction_version": 155112189, - "coin_type_hash": "91ceb1308a98389691e05158b07ed5f079ab78461a6bb8d5a4054b1bb5cb8bb6", - "coin_type": "0x1::aptos_coin::AptosCoin", - "supply": "103836940792330456", - "transaction_timestamp": "2023-06-07T13:29:24", - "transaction_epoch": 2858 - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/155112189/current_fungible_asset_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/155112189/current_fungible_asset_balances.json deleted file mode 100644 index 84507e592..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/155112189/current_fungible_asset_balances.json +++ /dev/null @@ -1,24 +0,0 @@ -[ - { - "storage_id": "0x1adb6519b7e478f0dd910dd2e9be107f6a3b5e74c1bfbfb75279e1335394f09e", - "owner_address": "0xaf2ddc14d06dcb2684d06e545d82342916d7d956ada77721b2d10fb7650c17d6", - "asset_type": "0x1::aptos_coin::AptosCoin", - "is_primary": true, - "is_frozen": false, - "amount": "19233292736", - "last_transaction_timestamp": "2023-06-07T13:29:24", - "last_transaction_version": 155112189, - "token_standard": "v1" - }, - { - "storage_id": "0x61d197d90eb984f9165576769d154843ff54b07c96017b931470efa1fe148972", - "owner_address": "0x25a606fdb1534fe2fd6f639e4c2fb0c46b3e5b8b3d84d1fa8632fd979fc55fa5", - "asset_type": "0x1::aptos_coin::AptosCoin", - "is_primary": true, - "is_frozen": false, - "amount": "6716177200", - "last_transaction_timestamp": "2023-06-07T13:29:24", - "last_transaction_version": 155112189, - "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/155112189/fungible_asset_activities.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/155112189/fungible_asset_activities.json deleted file mode 100644 index 597335408..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/155112189/fungible_asset_activities.json +++ /dev/null @@ -1,38 +0,0 @@ -[ - { - "transaction_version": 155112189, - "event_index": -1, - "owner_address": "0x25a606fdb1534fe2fd6f639e4c2fb0c46b3e5b8b3d84d1fa8632fd979fc55fa5", - "storage_id": "0x61d197d90eb984f9165576769d154843ff54b07c96017b931470efa1fe148972", - "asset_type": "0x1::aptos_coin::AptosCoin", - "is_frozen": null, - "amount": "696400", - "type_": "0x1::aptos_coin::GasFeeEvent", - "is_gas_fee": true, - "gas_fee_payer_address": null, - "is_transaction_success": true, - "entry_function_id_str": "0x1786191d0ce793debfdef9890868abdcdc7053f982ccdd102a72732b3082f31d::keeper::fulfill_any_order", - "block_height": 59919203, - "token_standard": "v1", - "transaction_timestamp": "2023-06-07T13:29:24", - "storage_refund_amount": "0" - }, - { - "transaction_version": 155112189, - "event_index": 42, - "owner_address": "0xaf2ddc14d06dcb2684d06e545d82342916d7d956ada77721b2d10fb7650c17d6", - "storage_id": "0x1adb6519b7e478f0dd910dd2e9be107f6a3b5e74c1bfbfb75279e1335394f09e", - "asset_type": "0x1::aptos_coin::AptosCoin", - "is_frozen": null, - "amount": "2515578569", - "type_": "0x1::coin::DepositEvent", - "is_gas_fee": false, - "gas_fee_payer_address": null, - "is_transaction_success": true, - "entry_function_id_str": "0x1786191d0ce793debfdef9890868abdcdc7053f982ccdd102a72732b3082f31d::keeper::fulfill_any_order", - "block_height": 59919203, - "token_standard": "v1", - "transaction_timestamp": "2023-06-07T13:29:24", - "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/155112189/fungible_asset_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/155112189/fungible_asset_balances.json deleted file mode 100644 index f76331fd2..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/155112189/fungible_asset_balances.json +++ /dev/null @@ -1,26 +0,0 @@ -[ - { - "transaction_version": 155112189, - "write_set_change_index": 8, - "storage_id": "0x61d197d90eb984f9165576769d154843ff54b07c96017b931470efa1fe148972", - "owner_address": "0x25a606fdb1534fe2fd6f639e4c2fb0c46b3e5b8b3d84d1fa8632fd979fc55fa5", - "asset_type": "0x1::aptos_coin::AptosCoin", - "is_primary": true, - "is_frozen": false, - "amount": "6716177200", - "transaction_timestamp": "2023-06-07T13:29:24", - "token_standard": "v1" - }, - { - "transaction_version": 155112189, - "write_set_change_index": 10, - "storage_id": "0x1adb6519b7e478f0dd910dd2e9be107f6a3b5e74c1bfbfb75279e1335394f09e", - "owner_address": "0xaf2ddc14d06dcb2684d06e545d82342916d7d956ada77721b2d10fb7650c17d6", - "asset_type": "0x1::aptos_coin::AptosCoin", - "is_primary": true, - "is_frozen": false, - "amount": "19233292736", - "transaction_timestamp": "2023-06-07T13:29:24", - "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/155112189/fungible_asset_metadata.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/155112189/fungible_asset_metadata.json deleted file mode 100644 index caddd6844..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/155112189/fungible_asset_metadata.json +++ /dev/null @@ -1,19 +0,0 @@ -[ - { - "asset_type": "0x1786191d0ce793debfdef9890868abdcdc7053f982ccdd102a72732b3082f31d::lp_rewards::LPCoin<0x1786191d0ce793debfdef9890868abdcdc7053f982ccdd102a72732b3082f31d::baskets::Basket1, 0x1::aptos_coin::AptosCoin>", - "creator_address": "0x1786191d0ce793debfdef9890868abdcdc7053f982ccdd102a72732b3082f31d", - "name": "Tsunami Liquidity Provider Coin", - "symbol": "TLP", - "decimals": 9, - "icon_uri": null, - "project_uri": null, - "last_transaction_version": 155112189, - "last_transaction_timestamp": "2023-06-07T13:29:24", - "supply_aggregator_table_handle_v1": null, - "supply_aggregator_table_key_v1": null, - "token_standard": "v1", - "maximum_v2": null, - "is_token_v2": null, - "supply_v2": null - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/1845035942/coin_supply.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/1845035942/coin_supply.json deleted file mode 100644 index 0e2ce87f0..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/1845035942/coin_supply.json +++ /dev/null @@ -1,10 +0,0 @@ -[ - { - "transaction_version": 1845035942, - "coin_type_hash": "91ceb1308a98389691e05158b07ed5f079ab78461a6bb8d5a4054b1bb5cb8bb6", - "coin_type": "0x1::aptos_coin::AptosCoin", - "supply": "112277115393076001", - "transaction_timestamp": "2024-10-26T18:31:00", - "transaction_epoch": 8992 - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/1845035942/current_fungible_asset_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/1845035942/current_fungible_asset_balances.json deleted file mode 100644 index 8535148a8..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/1845035942/current_fungible_asset_balances.json +++ /dev/null @@ -1,13 +0,0 @@ -[ - { - "storage_id": "0x93a04ca0a459f6d38291722c2e6bfd2a6258750d45a05dba012d6a1de3a5bb82", - "owner_address": "0x55248cd97eb8f1005bd28445f2dcbd2d367fc28a59ebefc6c6462c192923c524", - "asset_type": "0x1::aptos_coin::AptosCoin", - "is_primary": true, - "is_frozen": false, - "amount": "8810621600", - "last_transaction_timestamp": "2024-10-26T18:31:00", - "last_transaction_version": 1845035942, - "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/1845035942/fungible_asset_activities.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/1845035942/fungible_asset_activities.json deleted file mode 100644 index 00b8259ca..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/1845035942/fungible_asset_activities.json +++ /dev/null @@ -1,20 +0,0 @@ -[ - { - "transaction_version": 1845035942, - "event_index": -1, - "owner_address": "0xd9701b178ea81161e998ff2a545654d8eefe6f54035ab931bc02eef03fd1645f", - "storage_id": "0xb2097357206ed582473a0aaac2ed2d01f37ebc68901a68f55f9c3f78711c2d95", - "asset_type": "0x1::aptos_coin::AptosCoin", - "is_frozen": null, - "amount": "52000", - "type_": "0x1::aptos_coin::GasFeeEvent", - "is_gas_fee": true, - "gas_fee_payer_address": "0x55248cd97eb8f1005bd28445f2dcbd2d367fc28a59ebefc6c6462c192923c524", - "is_transaction_success": true, - "entry_function_id_str": "0x128b657b70be52e3f5a7e998d4ca7d1bca886394c5ccf24036d2171368599f21::LyncCards::mint_nft", - "block_height": 244136188, - "token_standard": "v1", - "transaction_timestamp": "2024-10-26T18:31:00", - "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/1845035942/fungible_asset_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/1845035942/fungible_asset_balances.json deleted file mode 100644 index 7640c4177..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/1845035942/fungible_asset_balances.json +++ /dev/null @@ -1,14 +0,0 @@ -[ - { - "transaction_version": 1845035942, - "write_set_change_index": 2, - "storage_id": "0x93a04ca0a459f6d38291722c2e6bfd2a6258750d45a05dba012d6a1de3a5bb82", - "owner_address": "0x55248cd97eb8f1005bd28445f2dcbd2d367fc28a59ebefc6c6462c192923c524", - "asset_type": "0x1::aptos_coin::AptosCoin", - "is_primary": true, - "is_frozen": false, - "amount": "8810621600", - "transaction_timestamp": "2024-10-26T18:31:00", - "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/1845035942/fungible_asset_metadata.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/1845035942/fungible_asset_metadata.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/1845035942/fungible_asset_metadata.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index c656edb6a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/308783012/coin_supply.json +++ /dev/null @@ -1,10 +0,0 @@ -[ - { - "transaction_version": 308783012, - "coin_type_hash": "91ceb1308a98389691e05158b07ed5f079ab78461a6bb8d5a4054b1bb5cb8bb6", - "coin_type": "0x1::aptos_coin::AptosCoin", - "supply": "106177548228160480", - "transaction_timestamp": "2023-10-24T09:08:03", - "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 deleted file mode 100644 index 2e9144987..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/308783012/current_fungible_asset_balances.json +++ /dev/null @@ -1,13 +0,0 @@ -[ - { - "storage_id": "0xc617f51a505e596fb85ca0c323c884cbe718782a9606c8023b8910f7fa16fe87", - "owner_address": "0x28f87126ce5c2ead81ec4fef494c73d545757a9a634eb54d36ae5a9737f4f287", - "asset_type": "0x1::aptos_coin::AptosCoin", - "is_primary": true, - "is_frozen": false, - "amount": "464000", - "last_transaction_timestamp": "2023-10-24T09:08:03", - "last_transaction_version": 308783012, - "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 deleted file mode 100644 index db2769f93..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/308783012/fungible_asset_activities.json +++ /dev/null @@ -1,20 +0,0 @@ -[ - { - "transaction_version": 308783012, - "event_index": -1, - "owner_address": "0x28f87126ce5c2ead81ec4fef494c73d545757a9a634eb54d36ae5a9737f4f287", - "storage_id": "0xc617f51a505e596fb85ca0c323c884cbe718782a9606c8023b8910f7fa16fe87", - "asset_type": "0x1::aptos_coin::AptosCoin", - "is_frozen": null, - "amount": "52000", - "type_": "0x1::aptos_coin::GasFeeEvent", - "is_gas_fee": true, - "gas_fee_payer_address": null, - "is_transaction_success": true, - "entry_function_id_str": "0x8d2d7bcde13b2513617df3f98cdd5d0e4b9f714c6308b9204fe18ad900d92609::mint::resource_mint_token_memo", - "block_height": 106350614, - "token_standard": "v1", - "transaction_timestamp": "2023-10-24T09:08:03", - "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 deleted file mode 100644 index 00d4eedf7..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/308783012/fungible_asset_balances.json +++ /dev/null @@ -1,14 +0,0 @@ -[ - { - "transaction_version": 308783012, - "write_set_change_index": 0, - "storage_id": "0xc617f51a505e596fb85ca0c323c884cbe718782a9606c8023b8910f7fa16fe87", - "owner_address": "0x28f87126ce5c2ead81ec4fef494c73d545757a9a634eb54d36ae5a9737f4f287", - "asset_type": "0x1::aptos_coin::AptosCoin", - "is_primary": true, - "is_frozen": false, - "amount": "464000", - "transaction_timestamp": "2023-10-24T09:08:03", - "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_metadata.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/308783012/fungible_asset_metadata.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/308783012/fungible_asset_metadata.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/325355235/coin_supply.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/325355235/coin_supply.json deleted file mode 100644 index b2497d3c9..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/325355235/coin_supply.json +++ /dev/null @@ -1,10 +0,0 @@ -[ - { - "transaction_version": 325355235, - "coin_type_hash": "91ceb1308a98389691e05158b07ed5f079ab78461a6bb8d5a4054b1bb5cb8bb6", - "coin_type": "0x1::aptos_coin::AptosCoin", - "supply": "106457430431845969", - "transaction_timestamp": "2023-11-09T23:58:14", - "transaction_epoch": 4733 - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/325355235/current_fungible_asset_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/325355235/current_fungible_asset_balances.json deleted file mode 100644 index 3068692f9..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/325355235/current_fungible_asset_balances.json +++ /dev/null @@ -1,13 +0,0 @@ -[ - { - "storage_id": "0xe95d290a0f6113eb21ba3f50d661bbd7db6797b3acad2930ccd4a1b3cd3de3cd", - "owner_address": "0xff0a486a69619d9e5661cf323d39e1cb7a005b945a9ebdf0df4f1f6b5947c2af", - "asset_type": "0x1::aptos_coin::AptosCoin", - "is_primary": true, - "is_frozen": false, - "amount": "114600", - "last_transaction_timestamp": "2023-11-09T23:58:14", - "last_transaction_version": 325355235, - "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/325355235/fungible_asset_activities.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/325355235/fungible_asset_activities.json deleted file mode 100644 index 0f3716269..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/325355235/fungible_asset_activities.json +++ /dev/null @@ -1,20 +0,0 @@ -[ - { - "transaction_version": 325355235, - "event_index": -1, - "owner_address": "0xff0a486a69619d9e5661cf323d39e1cb7a005b945a9ebdf0df4f1f6b5947c2af", - "storage_id": "0xe95d290a0f6113eb21ba3f50d661bbd7db6797b3acad2930ccd4a1b3cd3de3cd", - "asset_type": "0x1::aptos_coin::AptosCoin", - "is_frozen": null, - "amount": "52000", - "type_": "0x1::aptos_coin::GasFeeEvent", - "is_gas_fee": true, - "gas_fee_payer_address": null, - "is_transaction_success": true, - "entry_function_id_str": "0x8d2d7bcde13b2513617df3f98cdd5d0e4b9f714c6308b9204fe18ad900d92609::mint::resource_mint_token_memo", - "block_height": 111985120, - "token_standard": "v1", - "transaction_timestamp": "2023-11-09T23:58:14", - "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/325355235/fungible_asset_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/325355235/fungible_asset_balances.json deleted file mode 100644 index 881da1f05..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/325355235/fungible_asset_balances.json +++ /dev/null @@ -1,14 +0,0 @@ -[ - { - "transaction_version": 325355235, - "write_set_change_index": 4, - "storage_id": "0xe95d290a0f6113eb21ba3f50d661bbd7db6797b3acad2930ccd4a1b3cd3de3cd", - "owner_address": "0xff0a486a69619d9e5661cf323d39e1cb7a005b945a9ebdf0df4f1f6b5947c2af", - "asset_type": "0x1::aptos_coin::AptosCoin", - "is_primary": true, - "is_frozen": false, - "amount": "114600", - "transaction_timestamp": "2023-11-09T23:58:14", - "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/325355235/fungible_asset_metadata.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/325355235/fungible_asset_metadata.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/325355235/fungible_asset_metadata.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/453498957/coin_supply.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/453498957/coin_supply.json deleted file mode 100644 index c62005bbf..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/453498957/coin_supply.json +++ /dev/null @@ -1,10 +0,0 @@ -[ - { - "transaction_version": 453498957, - "coin_type_hash": "91ceb1308a98389691e05158b07ed5f079ab78461a6bb8d5a4054b1bb5cb8bb6", - "coin_type": "0x1::aptos_coin::AptosCoin", - "supply": "108125185789884776", - "transaction_timestamp": "2024-02-16T00:04:25", - "transaction_epoch": 5918 - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/453498957/current_fungible_asset_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/453498957/current_fungible_asset_balances.json deleted file mode 100644 index 0b46b3c7d..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/453498957/current_fungible_asset_balances.json +++ /dev/null @@ -1,13 +0,0 @@ -[ - { - "storage_id": "0xac2efa79a46a761f0b9ccf0e50d594cdfb2259d8f620e8d19ea5e11545b09678", - "owner_address": "0x40fc28526d4c093fac5cd2bb43e7adf41a48dbbe5edf7a1dd57a3a89c627d17a", - "asset_type": "0x1::aptos_coin::AptosCoin", - "is_primary": true, - "is_frozen": false, - "amount": "8461800", - "last_transaction_timestamp": "2024-02-16T00:04:25", - "last_transaction_version": 453498957, - "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/453498957/fungible_asset_activities.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/453498957/fungible_asset_activities.json deleted file mode 100644 index 067632c89..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/453498957/fungible_asset_activities.json +++ /dev/null @@ -1,20 +0,0 @@ -[ - { - "transaction_version": 453498957, - "event_index": -1, - "owner_address": "0x40fc28526d4c093fac5cd2bb43e7adf41a48dbbe5edf7a1dd57a3a89c627d17a", - "storage_id": "0xac2efa79a46a761f0b9ccf0e50d594cdfb2259d8f620e8d19ea5e11545b09678", - "asset_type": "0x1::aptos_coin::AptosCoin", - "is_frozen": null, - "amount": "101300", - "type_": "0x1::aptos_coin::GasFeeEvent", - "is_gas_fee": true, - "gas_fee_payer_address": null, - "is_transaction_success": true, - "entry_function_id_str": "0x40fc28526d4c093fac5cd2bb43e7adf41a48dbbe5edf7a1dd57a3a89c627d17a::test2::mint_nft_batch", - "block_height": 146272590, - "token_standard": "v1", - "transaction_timestamp": "2024-02-16T00:04:25", - "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/453498957/fungible_asset_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/453498957/fungible_asset_balances.json deleted file mode 100644 index ab1f7a885..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/453498957/fungible_asset_balances.json +++ /dev/null @@ -1,14 +0,0 @@ -[ - { - "transaction_version": 453498957, - "write_set_change_index": 4, - "storage_id": "0xac2efa79a46a761f0b9ccf0e50d594cdfb2259d8f620e8d19ea5e11545b09678", - "owner_address": "0x40fc28526d4c093fac5cd2bb43e7adf41a48dbbe5edf7a1dd57a3a89c627d17a", - "asset_type": "0x1::aptos_coin::AptosCoin", - "is_primary": true, - "is_frozen": false, - "amount": "8461800", - "transaction_timestamp": "2024-02-16T00:04:25", - "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/453498957/fungible_asset_metadata.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/453498957/fungible_asset_metadata.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/453498957/fungible_asset_metadata.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/508365567/coin_supply.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/508365567/coin_supply.json deleted file mode 100644 index a63b03d13..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/508365567/coin_supply.json +++ /dev/null @@ -1,10 +0,0 @@ -[ - { - "transaction_version": 508365567, - "coin_type_hash": "91ceb1308a98389691e05158b07ed5f079ab78461a6bb8d5a4054b1bb5cb8bb6", - "coin_type": "0x1::aptos_coin::AptosCoin", - "supply": "108655487588791357", - "transaction_timestamp": "2024-03-19T08:05:56", - "transaction_epoch": 6306 - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/508365567/current_fungible_asset_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/508365567/current_fungible_asset_balances.json deleted file mode 100644 index db2f5c020..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/508365567/current_fungible_asset_balances.json +++ /dev/null @@ -1,46 +0,0 @@ -[ - { - "storage_id": "0x30e2f18b1f9c447e7dadd7a05966e721ab6512b81ee977cb053edb86cc1b1d65", - "owner_address": "0x4bf51972879e3b95c4781a5cdcb9e1ee24ef483e7d22f2d903626f126df62bd1", - "asset_type": "0x2ebb2ccac5e027a87fa0e2e5f656a3a4238d6a48d93ec9b610d570fc0aa0df12", - "is_primary": false, - "is_frozen": false, - "amount": "5329839355263", - "last_transaction_timestamp": "2024-03-19T08:05:56", - "last_transaction_version": 508365567, - "token_standard": "v2" - }, - { - "storage_id": "0x47d0667a73feb419078a317784f803b7daebd3f6150c783cf3cfd194b966cc15", - "owner_address": "0xc8af29debf02369958769a77388c84a3040b9ffe9ba1f82c1c9f5c6dcb61030e", - "asset_type": "0x1::aptos_coin::AptosCoin", - "is_primary": true, - "is_frozen": false, - "amount": "640250", - "last_transaction_timestamp": "2024-03-19T08:05:56", - "last_transaction_version": 508365567, - "token_standard": "v1" - }, - { - "storage_id": "0xb8ed486274e5078cf814dfd5d377e95333d58593d2eba6a1aa33c1bf9f39bdab", - "owner_address": "0xc8af29debf02369958769a77388c84a3040b9ffe9ba1f82c1c9f5c6dcb61030e", - "asset_type": "0x2ebb2ccac5e027a87fa0e2e5f656a3a4238d6a48d93ec9b610d570fc0aa0df12", - "is_primary": true, - "is_frozen": false, - "amount": "0", - "last_transaction_timestamp": "2024-03-19T08:05:56", - "last_transaction_version": 508365567, - "token_standard": "v2" - }, - { - "storage_id": "0xeaa02d37c4896e95813543a3df80d09863d1a4d91f3f14c02db033f2f7a3f665", - "owner_address": "0xc8af29debf02369958769a77388c84a3040b9ffe9ba1f82c1c9f5c6dcb61030e", - "asset_type": "0x2ebb2ccac5e027a87fa0e2e5f656a3a4238d6a48d93ec9b610d570fc0aa0df12", - "is_primary": false, - "is_frozen": true, - "amount": "14644184", - "last_transaction_timestamp": "2024-03-19T08:05:56", - "last_transaction_version": 508365567, - "token_standard": "v2" - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/508365567/fungible_asset_activities.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/508365567/fungible_asset_activities.json deleted file mode 100644 index 16b9023d3..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/508365567/fungible_asset_activities.json +++ /dev/null @@ -1,74 +0,0 @@ -[ - { - "transaction_version": 508365567, - "event_index": -1, - "owner_address": "0xc8af29debf02369958769a77388c84a3040b9ffe9ba1f82c1c9f5c6dcb61030e", - "storage_id": "0x47d0667a73feb419078a317784f803b7daebd3f6150c783cf3cfd194b966cc15", - "asset_type": "0x1::aptos_coin::AptosCoin", - "is_frozen": null, - "amount": "67600", - "type_": "0x1::aptos_coin::GasFeeEvent", - "is_gas_fee": true, - "gas_fee_payer_address": null, - "is_transaction_success": true, - "entry_function_id_str": "0x4bf51972879e3b95c4781a5cdcb9e1ee24ef483e7d22f2d903626f126df62bd1::voting_escrow::create_lock_entry", - "block_height": 159068756, - "token_standard": "v1", - "transaction_timestamp": "2024-03-19T08:05:56", - "storage_refund_amount": "0" - }, - { - "transaction_version": 508365567, - "event_index": 0, - "owner_address": "0xc8af29debf02369958769a77388c84a3040b9ffe9ba1f82c1c9f5c6dcb61030e", - "storage_id": "0xb8ed486274e5078cf814dfd5d377e95333d58593d2eba6a1aa33c1bf9f39bdab", - "asset_type": "0x2ebb2ccac5e027a87fa0e2e5f656a3a4238d6a48d93ec9b610d570fc0aa0df12", - "is_frozen": null, - "amount": "14644184", - "type_": "0x1::fungible_asset::WithdrawEvent", - "is_gas_fee": false, - "gas_fee_payer_address": null, - "is_transaction_success": true, - "entry_function_id_str": "0x4bf51972879e3b95c4781a5cdcb9e1ee24ef483e7d22f2d903626f126df62bd1::voting_escrow::create_lock_entry", - "block_height": 159068756, - "token_standard": "v2", - "transaction_timestamp": "2024-03-19T08:05:56", - "storage_refund_amount": "0" - }, - { - "transaction_version": 508365567, - "event_index": 2, - "owner_address": "0xc8af29debf02369958769a77388c84a3040b9ffe9ba1f82c1c9f5c6dcb61030e", - "storage_id": "0xeaa02d37c4896e95813543a3df80d09863d1a4d91f3f14c02db033f2f7a3f665", - "asset_type": "0x2ebb2ccac5e027a87fa0e2e5f656a3a4238d6a48d93ec9b610d570fc0aa0df12", - "is_frozen": null, - "amount": "14644184", - "type_": "0x1::fungible_asset::DepositEvent", - "is_gas_fee": false, - "gas_fee_payer_address": null, - "is_transaction_success": true, - "entry_function_id_str": "0x4bf51972879e3b95c4781a5cdcb9e1ee24ef483e7d22f2d903626f126df62bd1::voting_escrow::create_lock_entry", - "block_height": 159068756, - "token_standard": "v2", - "transaction_timestamp": "2024-03-19T08:05:56", - "storage_refund_amount": "0" - }, - { - "transaction_version": 508365567, - "event_index": 3, - "owner_address": "0xc8af29debf02369958769a77388c84a3040b9ffe9ba1f82c1c9f5c6dcb61030e", - "storage_id": "0xeaa02d37c4896e95813543a3df80d09863d1a4d91f3f14c02db033f2f7a3f665", - "asset_type": "0x2ebb2ccac5e027a87fa0e2e5f656a3a4238d6a48d93ec9b610d570fc0aa0df12", - "is_frozen": true, - "amount": null, - "type_": "0x1::fungible_asset::FrozenEvent", - "is_gas_fee": false, - "gas_fee_payer_address": null, - "is_transaction_success": true, - "entry_function_id_str": "0x4bf51972879e3b95c4781a5cdcb9e1ee24ef483e7d22f2d903626f126df62bd1::voting_escrow::create_lock_entry", - "block_height": 159068756, - "token_standard": "v2", - "transaction_timestamp": "2024-03-19T08:05:56", - "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/508365567/fungible_asset_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/508365567/fungible_asset_balances.json deleted file mode 100644 index 3c6489ae0..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/508365567/fungible_asset_balances.json +++ /dev/null @@ -1,50 +0,0 @@ -[ - { - "transaction_version": 508365567, - "write_set_change_index": 1, - "storage_id": "0x30e2f18b1f9c447e7dadd7a05966e721ab6512b81ee977cb053edb86cc1b1d65", - "owner_address": "0x4bf51972879e3b95c4781a5cdcb9e1ee24ef483e7d22f2d903626f126df62bd1", - "asset_type": "0x2ebb2ccac5e027a87fa0e2e5f656a3a4238d6a48d93ec9b610d570fc0aa0df12", - "is_primary": false, - "is_frozen": false, - "amount": "5329839355263", - "transaction_timestamp": "2024-03-19T08:05:56", - "token_standard": "v2" - }, - { - "transaction_version": 508365567, - "write_set_change_index": 8, - "storage_id": "0xb8ed486274e5078cf814dfd5d377e95333d58593d2eba6a1aa33c1bf9f39bdab", - "owner_address": "0xc8af29debf02369958769a77388c84a3040b9ffe9ba1f82c1c9f5c6dcb61030e", - "asset_type": "0x2ebb2ccac5e027a87fa0e2e5f656a3a4238d6a48d93ec9b610d570fc0aa0df12", - "is_primary": true, - "is_frozen": false, - "amount": "0", - "transaction_timestamp": "2024-03-19T08:05:56", - "token_standard": "v2" - }, - { - "transaction_version": 508365567, - "write_set_change_index": 10, - "storage_id": "0x47d0667a73feb419078a317784f803b7daebd3f6150c783cf3cfd194b966cc15", - "owner_address": "0xc8af29debf02369958769a77388c84a3040b9ffe9ba1f82c1c9f5c6dcb61030e", - "asset_type": "0x1::aptos_coin::AptosCoin", - "is_primary": true, - "is_frozen": false, - "amount": "640250", - "transaction_timestamp": "2024-03-19T08:05:56", - "token_standard": "v1" - }, - { - "transaction_version": 508365567, - "write_set_change_index": 13, - "storage_id": "0xeaa02d37c4896e95813543a3df80d09863d1a4d91f3f14c02db033f2f7a3f665", - "owner_address": "0xc8af29debf02369958769a77388c84a3040b9ffe9ba1f82c1c9f5c6dcb61030e", - "asset_type": "0x2ebb2ccac5e027a87fa0e2e5f656a3a4238d6a48d93ec9b610d570fc0aa0df12", - "is_primary": false, - "is_frozen": true, - "amount": "14644184", - "transaction_timestamp": "2024-03-19T08:05:56", - "token_standard": "v2" - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/508365567/fungible_asset_metadata.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/508365567/fungible_asset_metadata.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/508365567/fungible_asset_metadata.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/513424821/coin_supply.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/513424821/coin_supply.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/513424821/coin_supply.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/513424821/current_fungible_asset_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/513424821/current_fungible_asset_balances.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/513424821/current_fungible_asset_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/513424821/fungible_asset_activities.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/513424821/fungible_asset_activities.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/513424821/fungible_asset_activities.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/513424821/fungible_asset_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/513424821/fungible_asset_balances.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/513424821/fungible_asset_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/513424821/fungible_asset_metadata.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/513424821/fungible_asset_metadata.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/513424821/fungible_asset_metadata.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/537250181/coin_supply.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/537250181/coin_supply.json deleted file mode 100644 index 70f8e4798..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/537250181/coin_supply.json +++ /dev/null @@ -1,10 +0,0 @@ -[ - { - "transaction_version": 537250181, - "coin_type_hash": "91ceb1308a98389691e05158b07ed5f079ab78461a6bb8d5a4054b1bb5cb8bb6", - "coin_type": "0x1::aptos_coin::AptosCoin", - "supply": "108925890145365759", - "transaction_timestamp": "2024-04-04T22:38:56", - "transaction_epoch": 6505 - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/537250181/current_fungible_asset_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/537250181/current_fungible_asset_balances.json deleted file mode 100644 index 2034881ce..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/537250181/current_fungible_asset_balances.json +++ /dev/null @@ -1,13 +0,0 @@ -[ - { - "storage_id": "0xb56a23e747e41780163d26ec5bc9c5da845f81670cfbb8986afd67209d82ef24", - "owner_address": "0xb82a0077ab08cc414bd283aefe62e6dd42311150ed851ccd307d02a0f765bff2", - "asset_type": "0x1::aptos_coin::AptosCoin", - "is_primary": true, - "is_frozen": false, - "amount": "844377100", - "last_transaction_timestamp": "2024-04-04T22:38:56", - "last_transaction_version": 537250181, - "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/537250181/fungible_asset_activities.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/537250181/fungible_asset_activities.json deleted file mode 100644 index 075619a17..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/537250181/fungible_asset_activities.json +++ /dev/null @@ -1,20 +0,0 @@ -[ - { - "transaction_version": 537250181, - "event_index": -1, - "owner_address": "0xb82a0077ab08cc414bd283aefe62e6dd42311150ed851ccd307d02a0f765bff2", - "storage_id": "0xb56a23e747e41780163d26ec5bc9c5da845f81670cfbb8986afd67209d82ef24", - "asset_type": "0x1::aptos_coin::AptosCoin", - "is_frozen": null, - "amount": "71800", - "type_": "0x1::aptos_coin::GasFeeEvent", - "is_gas_fee": true, - "gas_fee_payer_address": null, - "is_transaction_success": true, - "entry_function_id_str": "0x4::aptos_token::mint", - "block_height": 165399051, - "token_standard": "v1", - "transaction_timestamp": "2024-04-04T22:38:56", - "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/537250181/fungible_asset_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/537250181/fungible_asset_balances.json deleted file mode 100644 index 97326b576..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/537250181/fungible_asset_balances.json +++ /dev/null @@ -1,14 +0,0 @@ -[ - { - "transaction_version": 537250181, - "write_set_change_index": 9, - "storage_id": "0xb56a23e747e41780163d26ec5bc9c5da845f81670cfbb8986afd67209d82ef24", - "owner_address": "0xb82a0077ab08cc414bd283aefe62e6dd42311150ed851ccd307d02a0f765bff2", - "asset_type": "0x1::aptos_coin::AptosCoin", - "is_primary": true, - "is_frozen": false, - "amount": "844377100", - "transaction_timestamp": "2024-04-04T22:38:56", - "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/537250181/fungible_asset_metadata.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/537250181/fungible_asset_metadata.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/537250181/fungible_asset_metadata.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/578366445/coin_supply.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/578366445/coin_supply.json deleted file mode 100644 index ea4a7ffbd..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/578366445/coin_supply.json +++ /dev/null @@ -1,10 +0,0 @@ -[ - { - "transaction_version": 578366445, - "coin_type_hash": "91ceb1308a98389691e05158b07ed5f079ab78461a6bb8d5a4054b1bb5cb8bb6", - "coin_type": "0x1::aptos_coin::AptosCoin", - "supply": "109362269591398320", - "transaction_timestamp": "2024-04-30T23:50:44", - "transaction_epoch": 6827 - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/578366445/current_fungible_asset_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/578366445/current_fungible_asset_balances.json deleted file mode 100644 index 927c58fd5..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/578366445/current_fungible_asset_balances.json +++ /dev/null @@ -1,13 +0,0 @@ -[ - { - "storage_id": "0x33c6e7b8c756d53f34390f3932eef245f708e0d21e72f1b9fae787a41242d0d5", - "owner_address": "0x3fda2b751a0d209e17069ae72ccde256efeaad39e5403ea0e65ef5dcebdf6763", - "asset_type": "0x1::aptos_coin::AptosCoin", - "is_primary": true, - "is_frozen": false, - "amount": "1222553200", - "last_transaction_timestamp": "2024-04-30T23:50:44", - "last_transaction_version": 578366445, - "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/578366445/fungible_asset_activities.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/578366445/fungible_asset_activities.json deleted file mode 100644 index c2f314abc..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/578366445/fungible_asset_activities.json +++ /dev/null @@ -1,20 +0,0 @@ -[ - { - "transaction_version": 578366445, - "event_index": -1, - "owner_address": "0x3fda2b751a0d209e17069ae72ccde256efeaad39e5403ea0e65ef5dcebdf6763", - "storage_id": "0x33c6e7b8c756d53f34390f3932eef245f708e0d21e72f1b9fae787a41242d0d5", - "asset_type": "0x1::aptos_coin::AptosCoin", - "is_frozen": null, - "amount": "900", - "type_": "0x1::aptos_coin::GasFeeEvent", - "is_gas_fee": true, - "gas_fee_payer_address": null, - "is_transaction_success": true, - "entry_function_id_str": "0x4::aptos_token::burn", - "block_height": 174826957, - "token_standard": "v1", - "transaction_timestamp": "2024-04-30T23:50:44", - "storage_refund_amount": "75160" - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/578366445/fungible_asset_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/578366445/fungible_asset_balances.json deleted file mode 100644 index fd2abfc97..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/578366445/fungible_asset_balances.json +++ /dev/null @@ -1,14 +0,0 @@ -[ - { - "transaction_version": 578366445, - "write_set_change_index": 5, - "storage_id": "0x33c6e7b8c756d53f34390f3932eef245f708e0d21e72f1b9fae787a41242d0d5", - "owner_address": "0x3fda2b751a0d209e17069ae72ccde256efeaad39e5403ea0e65ef5dcebdf6763", - "asset_type": "0x1::aptos_coin::AptosCoin", - "is_primary": true, - "is_frozen": false, - "amount": "1222553200", - "transaction_timestamp": "2024-04-30T23:50:44", - "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/578366445/fungible_asset_metadata.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/578366445/fungible_asset_metadata.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/578366445/fungible_asset_metadata.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/602320562/coin_supply.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/602320562/coin_supply.json deleted file mode 100644 index d739b594f..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/602320562/coin_supply.json +++ /dev/null @@ -1,10 +0,0 @@ -[ - { - "transaction_version": 602320562, - "coin_type_hash": "91ceb1308a98389691e05158b07ed5f079ab78461a6bb8d5a4054b1bb5cb8bb6", - "coin_type": "0x1::aptos_coin::AptosCoin", - "supply": "109588276694972701", - "transaction_timestamp": "2024-05-15T00:13:40", - "transaction_epoch": 6996 - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/602320562/current_fungible_asset_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/602320562/current_fungible_asset_balances.json deleted file mode 100644 index 2e9347908..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/602320562/current_fungible_asset_balances.json +++ /dev/null @@ -1,13 +0,0 @@ -[ - { - "storage_id": "0x8f9f5b7c7c8b19563b9fdfab2be118555835146b15d47d01328b43516f61e52b", - "owner_address": "0x12479ac53f2d918bb7ad9259bfc4fe10eb0688d4a54ef36be0c23b5174da8f21", - "asset_type": "0x1::aptos_coin::AptosCoin", - "is_primary": true, - "is_frozen": false, - "amount": "1175964450", - "last_transaction_timestamp": "2024-05-15T00:13:40", - "last_transaction_version": 602320562, - "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/602320562/fungible_asset_activities.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/602320562/fungible_asset_activities.json deleted file mode 100644 index d02f74f16..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/602320562/fungible_asset_activities.json +++ /dev/null @@ -1,20 +0,0 @@ -[ - { - "transaction_version": 602320562, - "event_index": -1, - "owner_address": "0x12479ac53f2d918bb7ad9259bfc4fe10eb0688d4a54ef36be0c23b5174da8f21", - "storage_id": "0x8f9f5b7c7c8b19563b9fdfab2be118555835146b15d47d01328b43516f61e52b", - "asset_type": "0x1::aptos_coin::AptosCoin", - "is_frozen": null, - "amount": "73600", - "type_": "0x1::aptos_coin::GasFeeEvent", - "is_gas_fee": true, - "gas_fee_payer_address": null, - "is_transaction_success": true, - "entry_function_id_str": "0x4::aptos_token::mint", - "block_height": 179784414, - "token_standard": "v1", - "transaction_timestamp": "2024-05-15T00:13:40", - "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/602320562/fungible_asset_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/602320562/fungible_asset_balances.json deleted file mode 100644 index 4ddf9f597..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/602320562/fungible_asset_balances.json +++ /dev/null @@ -1,14 +0,0 @@ -[ - { - "transaction_version": 602320562, - "write_set_change_index": 5, - "storage_id": "0x8f9f5b7c7c8b19563b9fdfab2be118555835146b15d47d01328b43516f61e52b", - "owner_address": "0x12479ac53f2d918bb7ad9259bfc4fe10eb0688d4a54ef36be0c23b5174da8f21", - "asset_type": "0x1::aptos_coin::AptosCoin", - "is_primary": true, - "is_frozen": false, - "amount": "1175964450", - "transaction_timestamp": "2024-05-15T00:13:40", - "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/602320562/fungible_asset_metadata.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/602320562/fungible_asset_metadata.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/602320562/fungible_asset_metadata.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/967255533/coin_supply.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/967255533/coin_supply.json deleted file mode 100644 index 4ccd84490..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/967255533/coin_supply.json +++ /dev/null @@ -1,10 +0,0 @@ -[ - { - "transaction_version": 967255533, - "coin_type_hash": "91ceb1308a98389691e05158b07ed5f079ab78461a6bb8d5a4054b1bb5cb8bb6", - "coin_type": "0x1::aptos_coin::AptosCoin", - "supply": "109947820651494579", - "transaction_timestamp": "2024-06-06T04:43:15", - "transaction_epoch": 7267 - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/967255533/current_fungible_asset_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/967255533/current_fungible_asset_balances.json deleted file mode 100644 index 7e107b680..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/967255533/current_fungible_asset_balances.json +++ /dev/null @@ -1,13 +0,0 @@ -[ - { - "storage_id": "0x1775ebfaab20c03d727afb3753513ae1a8fc2b35807d262658b3b5abe9c78863", - "owner_address": "0x08c9f3cc69b110791747d4d2be794bd2cdc003d1fc50af399bf4aabfde8aafc9", - "asset_type": "0x1::aptos_coin::AptosCoin", - "is_primary": true, - "is_frozen": false, - "amount": "87281131", - "last_transaction_timestamp": "2024-06-06T04:43:15", - "last_transaction_version": 967255533, - "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/967255533/fungible_asset_activities.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/967255533/fungible_asset_activities.json deleted file mode 100644 index 6da3eae55..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/967255533/fungible_asset_activities.json +++ /dev/null @@ -1,20 +0,0 @@ -[ - { - "transaction_version": 967255533, - "event_index": -1, - "owner_address": "0x08c9f3cc69b110791747d4d2be794bd2cdc003d1fc50af399bf4aabfde8aafc9", - "storage_id": "0x1775ebfaab20c03d727afb3753513ae1a8fc2b35807d262658b3b5abe9c78863", - "asset_type": "0x1::aptos_coin::AptosCoin", - "is_frozen": null, - "amount": "4000", - "type_": "0x1::aptos_coin::GasFeeEvent", - "is_gas_fee": true, - "gas_fee_payer_address": null, - "is_transaction_success": true, - "entry_function_id_str": "0xa8a3cdff3068ee47cb0419cbd93ad1f71bdabb50431fc0f5b971a00c613b13d2::odyssey_v2::update_token_uri", - "block_height": 187592972, - "token_standard": "v1", - "transaction_timestamp": "2024-06-06T04:43:15", - "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/967255533/fungible_asset_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/967255533/fungible_asset_balances.json deleted file mode 100644 index 2d2381e4a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/967255533/fungible_asset_balances.json +++ /dev/null @@ -1,14 +0,0 @@ -[ - { - "transaction_version": 967255533, - "write_set_change_index": 0, - "storage_id": "0x1775ebfaab20c03d727afb3753513ae1a8fc2b35807d262658b3b5abe9c78863", - "owner_address": "0x08c9f3cc69b110791747d4d2be794bd2cdc003d1fc50af399bf4aabfde8aafc9", - "asset_type": "0x1::aptos_coin::AptosCoin", - "is_primary": true, - "is_frozen": false, - "amount": "87281131", - "transaction_timestamp": "2024-06-06T04:43:15", - "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/967255533/fungible_asset_metadata.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/967255533/fungible_asset_metadata.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/967255533/fungible_asset_metadata.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/999929475/coin_supply.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/999929475/coin_supply.json deleted file mode 100644 index bab49b88c..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/999929475/coin_supply.json +++ /dev/null @@ -1,10 +0,0 @@ -[ - { - "transaction_version": 999929475, - "coin_type_hash": "91ceb1308a98389691e05158b07ed5f079ab78461a6bb8d5a4054b1bb5cb8bb6", - "coin_type": "0x1::aptos_coin::AptosCoin", - "supply": "110269921639741626", - "transaction_timestamp": "2024-06-25T23:55:53", - "transaction_epoch": 7509 - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/999929475/current_fungible_asset_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/999929475/current_fungible_asset_balances.json deleted file mode 100644 index 02be6d1fc..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/999929475/current_fungible_asset_balances.json +++ /dev/null @@ -1,90 +0,0 @@ -[ - { - "storage_id": "0x12aee8d4b8ba1ff0b7b943fe2db30bdde3f3d52f83912e92a90c4610e11c1412", - "owner_address": "0xaf1fbd1c118239498c0fec0e5cec54a50d03250fe1aca589a6b903566ba1d4db", - "asset_type": "0x1::aptos_coin::AptosCoin", - "is_primary": true, - "is_frozen": false, - "amount": "114994000", - "last_transaction_timestamp": "2024-06-25T23:55:53", - "last_transaction_version": 999929475, - "token_standard": "v1" - }, - { - "storage_id": "0x2283606d1303cb8c6df599a6b7d0cec85873d747d5db2f2142b594c2db9d83ad", - "owner_address": "0xaf1fbd1c118239498c0fec0e5cec54a50d03250fe1aca589a6b903566ba1d4db", - "asset_type": "0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa::asset::USDC", - "is_primary": true, - "is_frozen": false, - "amount": "162105637", - "last_transaction_timestamp": "2024-06-25T23:55:53", - "last_transaction_version": 999929475, - "token_standard": "v1" - }, - { - "storage_id": "0x234f0be57d6acfb2f0f19c17053617311a8d03c9ce358bdf9cd5c460e4a02b7c", - "owner_address": "0x4bf51972879e3b95c4781a5cdcb9e1ee24ef483e7d22f2d903626f126df62bd1", - "asset_type": "0x234f0be57d6acfb2f0f19c17053617311a8d03c9ce358bdf9cd5c460e4a02b7c", - "is_primary": false, - "is_frozen": false, - "amount": "1000", - "last_transaction_timestamp": "2024-06-25T23:55:53", - "last_transaction_version": 999929475, - "token_standard": "v2" - }, - { - "storage_id": "0x3e10c1bcedce2b6f6a51cf44682309fcb159151f4fcd8d1e5403cf5fa3d607b2", - "owner_address": "0x3b38735644d0be8ac37ebd84a1e42fa5c2487495ef8782f6c694b1a147f82426", - "asset_type": "0x1::aptos_coin::AptosCoin", - "is_primary": true, - "is_frozen": false, - "amount": "111198107496469", - "last_transaction_timestamp": "2024-06-25T23:55:53", - "last_transaction_version": 999929475, - "token_standard": "v1" - }, - { - "storage_id": "0x809c69006e5492c65a1d4b273c65318fb482bed7988c75c48b96d283263ba029", - "owner_address": "0x3b38735644d0be8ac37ebd84a1e42fa5c2487495ef8782f6c694b1a147f82426", - "asset_type": "0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa::asset::USDC", - "is_primary": true, - "is_frozen": false, - "amount": "2060898834867", - "last_transaction_timestamp": "2024-06-25T23:55:53", - "last_transaction_version": 999929475, - "token_standard": "v1" - }, - { - "storage_id": "0x89cee32338902b6f79f9c75c317d32ac061771817c0d5b0802f97ec44ebfc7d4", - "owner_address": "0x234f0be57d6acfb2f0f19c17053617311a8d03c9ce358bdf9cd5c460e4a02b7c", - "asset_type": "0x50fdfa97914bd00b656e3041e143f157c84931eb1ca7224b8a8570e7d5be70f2", - "is_primary": false, - "is_frozen": false, - "amount": "429891425615", - "last_transaction_timestamp": "2024-06-25T23:55:53", - "last_transaction_version": 999929475, - "token_standard": "v2" - }, - { - "storage_id": "0x9120a6a57b1463607f27c140b3a8c5542c74a2411d632eb6f25bab0b40a987a4", - "owner_address": "0x234f0be57d6acfb2f0f19c17053617311a8d03c9ce358bdf9cd5c460e4a02b7c", - "asset_type": "0xedc2704f2cef417a06d1756a04a16a9fa6faaed13af469be9cdfcac5a21a8e2e", - "is_primary": false, - "is_frozen": false, - "amount": "6184986629106", - "last_transaction_timestamp": "2024-06-25T23:55:53", - "last_transaction_version": 999929475, - "token_standard": "v2" - }, - { - "storage_id": "0x97325d3a5abbfe422b8dece076302efd20c0a2dc5c2a5b7954ba8cc203d2f08e", - "owner_address": "0x234f0be57d6acfb2f0f19c17053617311a8d03c9ce358bdf9cd5c460e4a02b7c", - "asset_type": "0xedc2704f2cef417a06d1756a04a16a9fa6faaed13af469be9cdfcac5a21a8e2e", - "is_primary": false, - "is_frozen": false, - "amount": "5880750526", - "last_transaction_timestamp": "2024-06-25T23:55:53", - "last_transaction_version": 999929475, - "token_standard": "v2" - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/999929475/fungible_asset_activities.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/999929475/fungible_asset_activities.json deleted file mode 100644 index 7aafc7a90..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/999929475/fungible_asset_activities.json +++ /dev/null @@ -1,146 +0,0 @@ -[ - { - "transaction_version": 999929475, - "event_index": -1, - "owner_address": "0xaf1fbd1c118239498c0fec0e5cec54a50d03250fe1aca589a6b903566ba1d4db", - "storage_id": "0x12aee8d4b8ba1ff0b7b943fe2db30bdde3f3d52f83912e92a90c4610e11c1412", - "asset_type": "0x1::aptos_coin::AptosCoin", - "is_frozen": null, - "amount": "6000", - "type_": "0x1::aptos_coin::GasFeeEvent", - "is_gas_fee": true, - "gas_fee_payer_address": null, - "is_transaction_success": true, - "entry_function_id_str": "0x4bf51972879e3b95c4781a5cdcb9e1ee24ef483e7d22f2d903626f126df62bd1::router::swap_route_entry_both_coins", - "block_height": 194508912, - "token_standard": "v1", - "transaction_timestamp": "2024-06-25T23:55:53", - "storage_refund_amount": "0" - }, - { - "transaction_version": 999929475, - "event_index": 0, - "owner_address": "0xaf1fbd1c118239498c0fec0e5cec54a50d03250fe1aca589a6b903566ba1d4db", - "storage_id": "0x12aee8d4b8ba1ff0b7b943fe2db30bdde3f3d52f83912e92a90c4610e11c1412", - "asset_type": "0x1::aptos_coin::AptosCoin", - "is_frozen": null, - "amount": "2333720700", - "type_": "0x1::coin::WithdrawEvent", - "is_gas_fee": false, - "gas_fee_payer_address": null, - "is_transaction_success": true, - "entry_function_id_str": "0x4bf51972879e3b95c4781a5cdcb9e1ee24ef483e7d22f2d903626f126df62bd1::router::swap_route_entry_both_coins", - "block_height": 194508912, - "token_standard": "v1", - "transaction_timestamp": "2024-06-25T23:55:53", - "storage_refund_amount": "0" - }, - { - "transaction_version": 999929475, - "event_index": 1, - "owner_address": "0x3b38735644d0be8ac37ebd84a1e42fa5c2487495ef8782f6c694b1a147f82426", - "storage_id": "0x3e10c1bcedce2b6f6a51cf44682309fcb159151f4fcd8d1e5403cf5fa3d607b2", - "asset_type": "0x1::aptos_coin::AptosCoin", - "is_frozen": null, - "amount": "2333720700", - "type_": "0x1::coin::DepositEvent", - "is_gas_fee": false, - "gas_fee_payer_address": null, - "is_transaction_success": true, - "entry_function_id_str": "0x4bf51972879e3b95c4781a5cdcb9e1ee24ef483e7d22f2d903626f126df62bd1::router::swap_route_entry_both_coins", - "block_height": 194508912, - "token_standard": "v1", - "transaction_timestamp": "2024-06-25T23:55:53", - "storage_refund_amount": "0" - }, - { - "transaction_version": 999929475, - "event_index": 2, - "owner_address": "0x234f0be57d6acfb2f0f19c17053617311a8d03c9ce358bdf9cd5c460e4a02b7c", - "storage_id": "0x9120a6a57b1463607f27c140b3a8c5542c74a2411d632eb6f25bab0b40a987a4", - "asset_type": "0xedc2704f2cef417a06d1756a04a16a9fa6faaed13af469be9cdfcac5a21a8e2e", - "is_frozen": null, - "amount": "2331386980", - "type_": "0x1::fungible_asset::Deposit", - "is_gas_fee": false, - "gas_fee_payer_address": null, - "is_transaction_success": true, - "entry_function_id_str": "0x4bf51972879e3b95c4781a5cdcb9e1ee24ef483e7d22f2d903626f126df62bd1::router::swap_route_entry_both_coins", - "block_height": 194508912, - "token_standard": "v2", - "transaction_timestamp": "2024-06-25T23:55:53", - "storage_refund_amount": "0" - }, - { - "transaction_version": 999929475, - "event_index": 3, - "owner_address": "0x234f0be57d6acfb2f0f19c17053617311a8d03c9ce358bdf9cd5c460e4a02b7c", - "storage_id": "0x97325d3a5abbfe422b8dece076302efd20c0a2dc5c2a5b7954ba8cc203d2f08e", - "asset_type": "0xedc2704f2cef417a06d1756a04a16a9fa6faaed13af469be9cdfcac5a21a8e2e", - "is_frozen": null, - "amount": "2333720", - "type_": "0x1::fungible_asset::Deposit", - "is_gas_fee": false, - "gas_fee_payer_address": null, - "is_transaction_success": true, - "entry_function_id_str": "0x4bf51972879e3b95c4781a5cdcb9e1ee24ef483e7d22f2d903626f126df62bd1::router::swap_route_entry_both_coins", - "block_height": 194508912, - "token_standard": "v2", - "transaction_timestamp": "2024-06-25T23:55:53", - "storage_refund_amount": "0" - }, - { - "transaction_version": 999929475, - "event_index": 4, - "owner_address": "0x234f0be57d6acfb2f0f19c17053617311a8d03c9ce358bdf9cd5c460e4a02b7c", - "storage_id": "0x89cee32338902b6f79f9c75c317d32ac061771817c0d5b0802f97ec44ebfc7d4", - "asset_type": "0x50fdfa97914bd00b656e3041e143f157c84931eb1ca7224b8a8570e7d5be70f2", - "is_frozen": null, - "amount": "162105637", - "type_": "0x1::fungible_asset::Withdraw", - "is_gas_fee": false, - "gas_fee_payer_address": null, - "is_transaction_success": true, - "entry_function_id_str": "0x4bf51972879e3b95c4781a5cdcb9e1ee24ef483e7d22f2d903626f126df62bd1::router::swap_route_entry_both_coins", - "block_height": 194508912, - "token_standard": "v2", - "transaction_timestamp": "2024-06-25T23:55:53", - "storage_refund_amount": "0" - }, - { - "transaction_version": 999929475, - "event_index": 7, - "owner_address": "0x3b38735644d0be8ac37ebd84a1e42fa5c2487495ef8782f6c694b1a147f82426", - "storage_id": "0x809c69006e5492c65a1d4b273c65318fb482bed7988c75c48b96d283263ba029", - "asset_type": "0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa::asset::USDC", - "is_frozen": null, - "amount": "162105637", - "type_": "0x1::coin::WithdrawEvent", - "is_gas_fee": false, - "gas_fee_payer_address": null, - "is_transaction_success": true, - "entry_function_id_str": "0x4bf51972879e3b95c4781a5cdcb9e1ee24ef483e7d22f2d903626f126df62bd1::router::swap_route_entry_both_coins", - "block_height": 194508912, - "token_standard": "v1", - "transaction_timestamp": "2024-06-25T23:55:53", - "storage_refund_amount": "0" - }, - { - "transaction_version": 999929475, - "event_index": 8, - "owner_address": "0xaf1fbd1c118239498c0fec0e5cec54a50d03250fe1aca589a6b903566ba1d4db", - "storage_id": "0x2283606d1303cb8c6df599a6b7d0cec85873d747d5db2f2142b594c2db9d83ad", - "asset_type": "0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa::asset::USDC", - "is_frozen": null, - "amount": "162105637", - "type_": "0x1::coin::DepositEvent", - "is_gas_fee": false, - "gas_fee_payer_address": null, - "is_transaction_success": true, - "entry_function_id_str": "0x4bf51972879e3b95c4781a5cdcb9e1ee24ef483e7d22f2d903626f126df62bd1::router::swap_route_entry_both_coins", - "block_height": 194508912, - "token_standard": "v1", - "transaction_timestamp": "2024-06-25T23:55:53", - "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/999929475/fungible_asset_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/999929475/fungible_asset_balances.json deleted file mode 100644 index 5d96311a9..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/999929475/fungible_asset_balances.json +++ /dev/null @@ -1,98 +0,0 @@ -[ - { - "transaction_version": 999929475, - "write_set_change_index": 1, - "storage_id": "0x234f0be57d6acfb2f0f19c17053617311a8d03c9ce358bdf9cd5c460e4a02b7c", - "owner_address": "0x4bf51972879e3b95c4781a5cdcb9e1ee24ef483e7d22f2d903626f126df62bd1", - "asset_type": "0x234f0be57d6acfb2f0f19c17053617311a8d03c9ce358bdf9cd5c460e4a02b7c", - "is_primary": false, - "is_frozen": false, - "amount": "1000", - "transaction_timestamp": "2024-06-25T23:55:53", - "token_standard": "v2" - }, - { - "transaction_version": 999929475, - "write_set_change_index": 8, - "storage_id": "0x3e10c1bcedce2b6f6a51cf44682309fcb159151f4fcd8d1e5403cf5fa3d607b2", - "owner_address": "0x3b38735644d0be8ac37ebd84a1e42fa5c2487495ef8782f6c694b1a147f82426", - "asset_type": "0x1::aptos_coin::AptosCoin", - "is_primary": true, - "is_frozen": false, - "amount": "111198107496469", - "transaction_timestamp": "2024-06-25T23:55:53", - "token_standard": "v1" - }, - { - "transaction_version": 999929475, - "write_set_change_index": 9, - "storage_id": "0x809c69006e5492c65a1d4b273c65318fb482bed7988c75c48b96d283263ba029", - "owner_address": "0x3b38735644d0be8ac37ebd84a1e42fa5c2487495ef8782f6c694b1a147f82426", - "asset_type": "0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa::asset::USDC", - "is_primary": true, - "is_frozen": false, - "amount": "2060898834867", - "transaction_timestamp": "2024-06-25T23:55:53", - "token_standard": "v1" - }, - { - "transaction_version": 999929475, - "write_set_change_index": 15, - "storage_id": "0x89cee32338902b6f79f9c75c317d32ac061771817c0d5b0802f97ec44ebfc7d4", - "owner_address": "0x234f0be57d6acfb2f0f19c17053617311a8d03c9ce358bdf9cd5c460e4a02b7c", - "asset_type": "0x50fdfa97914bd00b656e3041e143f157c84931eb1ca7224b8a8570e7d5be70f2", - "is_primary": false, - "is_frozen": false, - "amount": "429891425615", - "transaction_timestamp": "2024-06-25T23:55:53", - "token_standard": "v2" - }, - { - "transaction_version": 999929475, - "write_set_change_index": 18, - "storage_id": "0x9120a6a57b1463607f27c140b3a8c5542c74a2411d632eb6f25bab0b40a987a4", - "owner_address": "0x234f0be57d6acfb2f0f19c17053617311a8d03c9ce358bdf9cd5c460e4a02b7c", - "asset_type": "0xedc2704f2cef417a06d1756a04a16a9fa6faaed13af469be9cdfcac5a21a8e2e", - "is_primary": false, - "is_frozen": false, - "amount": "6184986629106", - "transaction_timestamp": "2024-06-25T23:55:53", - "token_standard": "v2" - }, - { - "transaction_version": 999929475, - "write_set_change_index": 21, - "storage_id": "0x97325d3a5abbfe422b8dece076302efd20c0a2dc5c2a5b7954ba8cc203d2f08e", - "owner_address": "0x234f0be57d6acfb2f0f19c17053617311a8d03c9ce358bdf9cd5c460e4a02b7c", - "asset_type": "0xedc2704f2cef417a06d1756a04a16a9fa6faaed13af469be9cdfcac5a21a8e2e", - "is_primary": false, - "is_frozen": false, - "amount": "5880750526", - "transaction_timestamp": "2024-06-25T23:55:53", - "token_standard": "v2" - }, - { - "transaction_version": 999929475, - "write_set_change_index": 23, - "storage_id": "0x12aee8d4b8ba1ff0b7b943fe2db30bdde3f3d52f83912e92a90c4610e11c1412", - "owner_address": "0xaf1fbd1c118239498c0fec0e5cec54a50d03250fe1aca589a6b903566ba1d4db", - "asset_type": "0x1::aptos_coin::AptosCoin", - "is_primary": true, - "is_frozen": false, - "amount": "114994000", - "transaction_timestamp": "2024-06-25T23:55:53", - "token_standard": "v1" - }, - { - "transaction_version": 999929475, - "write_set_change_index": 24, - "storage_id": "0x2283606d1303cb8c6df599a6b7d0cec85873d747d5db2f2142b594c2db9d83ad", - "owner_address": "0xaf1fbd1c118239498c0fec0e5cec54a50d03250fe1aca589a6b903566ba1d4db", - "asset_type": "0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa::asset::USDC", - "is_primary": true, - "is_frozen": false, - "amount": "162105637", - "transaction_timestamp": "2024-06-25T23:55:53", - "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/999929475/fungible_asset_metadata.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/999929475/fungible_asset_metadata.json deleted file mode 100644 index 364b04762..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/999929475/fungible_asset_metadata.json +++ /dev/null @@ -1,53 +0,0 @@ -[ - { - "asset_type": "0x234f0be57d6acfb2f0f19c17053617311a8d03c9ce358bdf9cd5c460e4a02b7c", - "creator_address": "0x4bf51972879e3b95c4781a5cdcb9e1ee24ef483e7d22f2d903626f126df62bd1", - "name": "LP-USDC-APT", - "symbol": "LP", - "decimals": 8, - "icon_uri": "", - "project_uri": "", - "last_transaction_version": 999929475, - "last_transaction_timestamp": "2024-06-25T23:55:53", - "supply_aggregator_table_handle_v1": null, - "supply_aggregator_table_key_v1": null, - "token_standard": "v2", - "maximum_v2": null, - "is_token_v2": null, - "supply_v2": "1597732577821" - }, - { - "asset_type": "0x50fdfa97914bd00b656e3041e143f157c84931eb1ca7224b8a8570e7d5be70f2", - "creator_address": "0x3b38735644d0be8ac37ebd84a1e42fa5c2487495ef8782f6c694b1a147f82426", - "name": "USD Coin", - "symbol": "USDC", - "decimals": 6, - "icon_uri": "", - "project_uri": "", - "last_transaction_version": 999929475, - "last_transaction_timestamp": "2024-06-25T23:55:53", - "supply_aggregator_table_handle_v1": null, - "supply_aggregator_table_key_v1": null, - "token_standard": "v2", - "maximum_v2": null, - "is_token_v2": null, - "supply_v2": "2060898834867" - }, - { - "asset_type": "0xedc2704f2cef417a06d1756a04a16a9fa6faaed13af469be9cdfcac5a21a8e2e", - "creator_address": "0x3b38735644d0be8ac37ebd84a1e42fa5c2487495ef8782f6c694b1a147f82426", - "name": "Aptos Coin", - "symbol": "APT", - "decimals": 8, - "icon_uri": "", - "project_uri": "", - "last_transaction_version": 999929475, - "last_transaction_timestamp": "2024-06-25T23:55:53", - "supply_aggregator_table_handle_v1": null, - "supply_aggregator_table_key_v1": null, - "token_standard": "v2", - "maximum_v2": null, - "is_token_v2": null, - "supply_v2": "111198107496469" - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/999930475/coin_supply.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/999930475/coin_supply.json deleted file mode 100644 index de830ad4c..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/999930475/coin_supply.json +++ /dev/null @@ -1,10 +0,0 @@ -[ - { - "transaction_version": 999930475, - "coin_type_hash": "91ceb1308a98389691e05158b07ed5f079ab78461a6bb8d5a4054b1bb5cb8bb6", - "coin_type": "0x1::aptos_coin::AptosCoin", - "supply": "110269921622761956", - "transaction_timestamp": "2024-06-25T23:56:58", - "transaction_epoch": 7509 - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/999930475/current_fungible_asset_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/999930475/current_fungible_asset_balances.json deleted file mode 100644 index 08d60ae51..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/999930475/current_fungible_asset_balances.json +++ /dev/null @@ -1,13 +0,0 @@ -[ - { - "storage_id": "0xac293dd437263292d7574f1d880250a5f96340af924953985de5513df5c43792", - "owner_address": "0xf31b3dac60ad3ee27399f14984d634ae5d0fd060a5b4ec30b0e4207d60cdc458", - "asset_type": "0x1::aptos_coin::AptosCoin", - "is_primary": true, - "is_frozen": false, - "amount": "120025850", - "last_transaction_timestamp": "2024-06-25T23:56:58", - "last_transaction_version": 999930475, - "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/999930475/fungible_asset_activities.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/999930475/fungible_asset_activities.json deleted file mode 100644 index 6e026af3b..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/999930475/fungible_asset_activities.json +++ /dev/null @@ -1,20 +0,0 @@ -[ - { - "transaction_version": 999930475, - "event_index": -1, - "owner_address": "0xf31b3dac60ad3ee27399f14984d634ae5d0fd060a5b4ec30b0e4207d60cdc458", - "storage_id": "0xac293dd437263292d7574f1d880250a5f96340af924953985de5513df5c43792", - "asset_type": "0x1::aptos_coin::AptosCoin", - "is_frozen": null, - "amount": "73600", - "type_": "0x1::aptos_coin::GasFeeEvent", - "is_gas_fee": true, - "gas_fee_payer_address": null, - "is_transaction_success": true, - "entry_function_id_str": "0x4::aptos_token::mint", - "block_height": 194509179, - "token_standard": "v1", - "transaction_timestamp": "2024-06-25T23:56:58", - "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/999930475/fungible_asset_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/999930475/fungible_asset_balances.json deleted file mode 100644 index 0962e3292..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/999930475/fungible_asset_balances.json +++ /dev/null @@ -1,14 +0,0 @@ -[ - { - "transaction_version": 999930475, - "write_set_change_index": 10, - "storage_id": "0xac293dd437263292d7574f1d880250a5f96340af924953985de5513df5c43792", - "owner_address": "0xf31b3dac60ad3ee27399f14984d634ae5d0fd060a5b4ec30b0e4207d60cdc458", - "asset_type": "0x1::aptos_coin::AptosCoin", - "is_primary": true, - "is_frozen": false, - "amount": "120025850", - "transaction_timestamp": "2024-06-25T23:56:58", - "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/999930475/fungible_asset_metadata.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/999930475/fungible_asset_metadata.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/999930475/fungible_asset_metadata.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/1080786089/current_objects.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/1080786089/current_objects.json deleted file mode 100644 index a66503127..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/1080786089/current_objects.json +++ /dev/null @@ -1,22 +0,0 @@ -[ - { - "object_address": "0x21d71e37dd165ee34e44086bed0832d9b30941e58f0b50beee8b5772e51ae2e8", - "owner_address": "0x09d518b9b84f327eafc5f6632200ea224a818a935ffd6be5d78ada250bbc44a6", - "state_key_hash": "0xb222a7a01ea9328075114e4e4f793bf4d30e44183ba5bd888098bf5c9484bd19", - "allow_ungated_transfer": false, - "last_guid_creation_num": "1125899906842628", - "last_transaction_version": 1080786089, - "is_deleted": false, - "untransferrable": true - }, - { - "object_address": "0xf90eabf85b23988baf34872795c9cdd4ad777126d572e6befaa519b0effc2db6", - "owner_address": "0x7e387de2b7e8a29914dc6712cf745de00c7932adcc5fe2316976e48bdf23bb77", - "state_key_hash": "0x82da35424562d1440bd5a141007dfb52836c27972aa29fa29c8aede8d9bdfa61", - "allow_ungated_transfer": true, - "last_guid_creation_num": "1125899906842626", - "last_transaction_version": 1080786089, - "is_deleted": false, - "untransferrable": false - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/1080786089/objects.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/1080786089/objects.json deleted file mode 100644 index 3a2138ba7..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/1080786089/objects.json +++ /dev/null @@ -1,90 +0,0 @@ -[ - { - "transaction_version": 1080786089, - "write_set_change_index": 0, - "object_address": "0x21d71e37dd165ee34e44086bed0832d9b30941e58f0b50beee8b5772e51ae2e8", - "owner_address": "0x09d518b9b84f327eafc5f6632200ea224a818a935ffd6be5d78ada250bbc44a6", - "state_key_hash": "0xb222a7a01ea9328075114e4e4f793bf4d30e44183ba5bd888098bf5c9484bd19", - "guid_creation_num": "1125899906842628", - "allow_ungated_transfer": false, - "is_deleted": false, - "untransferrable": true - }, - { - "transaction_version": 1080786089, - "write_set_change_index": 1, - "object_address": "0x21d71e37dd165ee34e44086bed0832d9b30941e58f0b50beee8b5772e51ae2e8", - "owner_address": "0x09d518b9b84f327eafc5f6632200ea224a818a935ffd6be5d78ada250bbc44a6", - "state_key_hash": "0xb222a7a01ea9328075114e4e4f793bf4d30e44183ba5bd888098bf5c9484bd19", - "guid_creation_num": "1125899906842628", - "allow_ungated_transfer": false, - "is_deleted": false, - "untransferrable": true - }, - { - "transaction_version": 1080786089, - "write_set_change_index": 2, - "object_address": "0x21d71e37dd165ee34e44086bed0832d9b30941e58f0b50beee8b5772e51ae2e8", - "owner_address": "0x09d518b9b84f327eafc5f6632200ea224a818a935ffd6be5d78ada250bbc44a6", - "state_key_hash": "0xb222a7a01ea9328075114e4e4f793bf4d30e44183ba5bd888098bf5c9484bd19", - "guid_creation_num": "1125899906842628", - "allow_ungated_transfer": false, - "is_deleted": false, - "untransferrable": true - }, - { - "transaction_version": 1080786089, - "write_set_change_index": 3, - "object_address": "0x21d71e37dd165ee34e44086bed0832d9b30941e58f0b50beee8b5772e51ae2e8", - "owner_address": "0x09d518b9b84f327eafc5f6632200ea224a818a935ffd6be5d78ada250bbc44a6", - "state_key_hash": "0xb222a7a01ea9328075114e4e4f793bf4d30e44183ba5bd888098bf5c9484bd19", - "guid_creation_num": "1125899906842628", - "allow_ungated_transfer": false, - "is_deleted": false, - "untransferrable": true - }, - { - "transaction_version": 1080786089, - "write_set_change_index": 4, - "object_address": "0x21d71e37dd165ee34e44086bed0832d9b30941e58f0b50beee8b5772e51ae2e8", - "owner_address": "0x09d518b9b84f327eafc5f6632200ea224a818a935ffd6be5d78ada250bbc44a6", - "state_key_hash": "0xb222a7a01ea9328075114e4e4f793bf4d30e44183ba5bd888098bf5c9484bd19", - "guid_creation_num": "1125899906842628", - "allow_ungated_transfer": false, - "is_deleted": false, - "untransferrable": true - }, - { - "transaction_version": 1080786089, - "write_set_change_index": 5, - "object_address": "0x21d71e37dd165ee34e44086bed0832d9b30941e58f0b50beee8b5772e51ae2e8", - "owner_address": "0x09d518b9b84f327eafc5f6632200ea224a818a935ffd6be5d78ada250bbc44a6", - "state_key_hash": "0xb222a7a01ea9328075114e4e4f793bf4d30e44183ba5bd888098bf5c9484bd19", - "guid_creation_num": "1125899906842628", - "allow_ungated_transfer": false, - "is_deleted": false, - "untransferrable": true - }, - { - "transaction_version": 1080786089, - "write_set_change_index": 6, - "object_address": "0x21d71e37dd165ee34e44086bed0832d9b30941e58f0b50beee8b5772e51ae2e8", - "owner_address": "0x09d518b9b84f327eafc5f6632200ea224a818a935ffd6be5d78ada250bbc44a6", - "state_key_hash": "0xb222a7a01ea9328075114e4e4f793bf4d30e44183ba5bd888098bf5c9484bd19", - "guid_creation_num": "1125899906842628", - "allow_ungated_transfer": false, - "is_deleted": false, - "untransferrable": true - }, - { - "transaction_version": 1080786089, - "write_set_change_index": 9, - "object_address": "0xf90eabf85b23988baf34872795c9cdd4ad777126d572e6befaa519b0effc2db6", - "owner_address": "0x7e387de2b7e8a29914dc6712cf745de00c7932adcc5fe2316976e48bdf23bb77", - "state_key_hash": "0x82da35424562d1440bd5a141007dfb52836c27972aa29fa29c8aede8d9bdfa61", - "guid_creation_num": "1125899906842626", - "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_mainnet_txns/objects_processor/145959468/current_objects.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/145959468/current_objects.json deleted file mode 100644 index c57a981b6..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/145959468/current_objects.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "object_address": "0x9228cfc074cf073bf0687e558ba8cdce6f8c311269774a856d7fc87ac3c70141", - "owner_address": "0x0000000000000000000000000000000000000000000000000000000000000000", - "state_key_hash": "0x0bf30d18a5c92b35ff20e5a92de934d67b3732179112699e8c6e27699669667e", - "allow_ungated_transfer": true, - "last_guid_creation_num": "1125899906842626", - "last_transaction_version": 145959468, - "is_deleted": false, - "untransferrable": false - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/145959468/objects.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/145959468/objects.json deleted file mode 100644 index 924453e70..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/145959468/objects.json +++ /dev/null @@ -1,46 +0,0 @@ -[ - { - "transaction_version": 145959468, - "write_set_change_index": 2, - "object_address": "0x9228cfc074cf073bf0687e558ba8cdce6f8c311269774a856d7fc87ac3c70141", - "owner_address": "0x0000000000000000000000000000000000000000000000000000000000000000", - "state_key_hash": "0x0bf30d18a5c92b35ff20e5a92de934d67b3732179112699e8c6e27699669667e", - "guid_creation_num": "1125899906842626", - "allow_ungated_transfer": true, - "is_deleted": false, - "untransferrable": false - }, - { - "transaction_version": 145959468, - "write_set_change_index": 3, - "object_address": "0x9228cfc074cf073bf0687e558ba8cdce6f8c311269774a856d7fc87ac3c70141", - "owner_address": "0x0000000000000000000000000000000000000000000000000000000000000000", - "state_key_hash": "0x0bf30d18a5c92b35ff20e5a92de934d67b3732179112699e8c6e27699669667e", - "guid_creation_num": "1125899906842626", - "allow_ungated_transfer": true, - "is_deleted": false, - "untransferrable": false - }, - { - "transaction_version": 145959468, - "write_set_change_index": 4, - "object_address": "0x9228cfc074cf073bf0687e558ba8cdce6f8c311269774a856d7fc87ac3c70141", - "owner_address": "0x0000000000000000000000000000000000000000000000000000000000000000", - "state_key_hash": "0x0bf30d18a5c92b35ff20e5a92de934d67b3732179112699e8c6e27699669667e", - "guid_creation_num": "1125899906842626", - "allow_ungated_transfer": true, - "is_deleted": false, - "untransferrable": false - }, - { - "transaction_version": 145959468, - "write_set_change_index": 5, - "object_address": "0x9228cfc074cf073bf0687e558ba8cdce6f8c311269774a856d7fc87ac3c70141", - "owner_address": "0x0000000000000000000000000000000000000000000000000000000000000000", - "state_key_hash": "0x0bf30d18a5c92b35ff20e5a92de934d67b3732179112699e8c6e27699669667e", - "guid_creation_num": "1125899906842626", - "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_mainnet_txns/objects_processor/155112189/current_objects.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/155112189/current_objects.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/155112189/current_objects.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/155112189/objects.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/155112189/objects.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/155112189/objects.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/1845035942/current_objects.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/1845035942/current_objects.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/1845035942/current_objects.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/1845035942/objects.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/1845035942/objects.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/1845035942/objects.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/308783012/block_metadata_transactions.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index e88d2bc00..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/308783012/current_objects.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "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 - } -] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/308783012/current_table_items.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index d6b887427..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/308783012/objects.json +++ /dev/null @@ -1,57 +0,0 @@ -[ - { - "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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/308783012/table_items.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/325355235/current_objects.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/325355235/current_objects.json deleted file mode 100644 index bfdd4b8cc..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/325355235/current_objects.json +++ /dev/null @@ -1,22 +0,0 @@ -[ - { - "object_address": "0xc791df699189a8fdfb4faaacf834f036d37670d6fd1ef06d3efb2d14c081512a", - "owner_address": "0x7efbc33cf69ad534412eab0ccd0f5fbec7793bdebf08a3620afe8e5f89ef13a0", - "state_key_hash": "0x89831c962a6d8ef922a58688dd7b949b1b83557241b0de2b1daf874f590b5667", - "allow_ungated_transfer": false, - "last_guid_creation_num": "1125899906842628", - "last_transaction_version": 325355235, - "is_deleted": false, - "untransferrable": true - }, - { - "object_address": "0xff4ab259fd6773861c2046d1f89b5ff944d0229dd9c1f6952a3b6fd2d2885dfa", - "owner_address": "0xa281f5b2d909bfadf70099f6b9c24369e12c49f9035437526c53cd3e75d6f08f", - "state_key_hash": "0xcea9d892098bd61d40ce77461fbaca49f74cf50ca3fd08fe724a77abdb1051b2", - "allow_ungated_transfer": true, - "last_guid_creation_num": "1125899906842626", - "last_transaction_version": 325355235, - "is_deleted": false, - "untransferrable": false - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/325355235/objects.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/325355235/objects.json deleted file mode 100644 index e78a61bfb..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/325355235/objects.json +++ /dev/null @@ -1,57 +0,0 @@ -[ - { - "transaction_version": 325355235, - "write_set_change_index": 1, - "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": 325355235, - "write_set_change_index": 2, - "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": 325355235, - "write_set_change_index": 3, - "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": 325355235, - "write_set_change_index": 6, - "object_address": "0xff4ab259fd6773861c2046d1f89b5ff944d0229dd9c1f6952a3b6fd2d2885dfa", - "owner_address": "0xa281f5b2d909bfadf70099f6b9c24369e12c49f9035437526c53cd3e75d6f08f", - "state_key_hash": "0xcea9d892098bd61d40ce77461fbaca49f74cf50ca3fd08fe724a77abdb1051b2", - "guid_creation_num": "1125899906842626", - "allow_ungated_transfer": true, - "is_deleted": false, - "untransferrable": false - }, - { - "transaction_version": 325355235, - "write_set_change_index": 7, - "object_address": "0xff4ab259fd6773861c2046d1f89b5ff944d0229dd9c1f6952a3b6fd2d2885dfa", - "owner_address": "0xa281f5b2d909bfadf70099f6b9c24369e12c49f9035437526c53cd3e75d6f08f", - "state_key_hash": "0xcea9d892098bd61d40ce77461fbaca49f74cf50ca3fd08fe724a77abdb1051b2", - "guid_creation_num": "1125899906842626", - "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_mainnet_txns/objects_processor/453498957/current_objects.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/453498957/current_objects.json deleted file mode 100644 index 7fedd0ad0..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/453498957/current_objects.json +++ /dev/null @@ -1,32 +0,0 @@ -[ - { - "object_address": "0x2a8822cbd320abf7e363a7197626161eaf8b8de51f1da239e84255336b1e8923", - "owner_address": "0xf4202dd85700667e130a89af97634266d012a83a7945b2d1640f848cd4556e20", - "state_key_hash": "0x6bbc1911b821889937cce64f01fbc1f5767302333bf2a969d785bb07eb998192", - "allow_ungated_transfer": true, - "last_guid_creation_num": "1125899906842626", - "last_transaction_version": 453498957, - "is_deleted": false, - "untransferrable": false - }, - { - "object_address": "0x41428e9025efe2c2a97de15b25d753ebb19264e8ecee56cb3d9bdd62a19d7a51", - "owner_address": "0x1746a006565e5b25c20539d429402e652eef906731d00622cda6e3425c1efa73", - "state_key_hash": "0x35017c0f2d9ba3150c1fb30357168cadc940017fcce5822dc541d2afa7fa2330", - "allow_ungated_transfer": true, - "last_guid_creation_num": "1125899906842626", - "last_transaction_version": 453498957, - "is_deleted": false, - "untransferrable": false - }, - { - "object_address": "0xbd0ac9755fe762df448ee99e356ebe262c3ec535c2c7d0b835da3709cb22df97", - "owner_address": "0x40fc28526d4c093fac5cd2bb43e7adf41a48dbbe5edf7a1dd57a3a89c627d17a", - "state_key_hash": "0xbf2e089c92283c3977e171bcf5c1523ebc49efe6a5799810f215a6ab29b5115c", - "allow_ungated_transfer": false, - "last_guid_creation_num": "1125899906842628", - "last_transaction_version": 453498957, - "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/453498957/objects.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/453498957/objects.json deleted file mode 100644 index 1b08d79e7..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/453498957/objects.json +++ /dev/null @@ -1,145 +0,0 @@ -[ - { - "transaction_version": 453498957, - "write_set_change_index": 0, - "object_address": "0x2a8822cbd320abf7e363a7197626161eaf8b8de51f1da239e84255336b1e8923", - "owner_address": "0xf4202dd85700667e130a89af97634266d012a83a7945b2d1640f848cd4556e20", - "state_key_hash": "0x6bbc1911b821889937cce64f01fbc1f5767302333bf2a969d785bb07eb998192", - "guid_creation_num": "1125899906842626", - "allow_ungated_transfer": true, - "is_deleted": false, - "untransferrable": false - }, - { - "transaction_version": 453498957, - "write_set_change_index": 1, - "object_address": "0x2a8822cbd320abf7e363a7197626161eaf8b8de51f1da239e84255336b1e8923", - "owner_address": "0xf4202dd85700667e130a89af97634266d012a83a7945b2d1640f848cd4556e20", - "state_key_hash": "0x6bbc1911b821889937cce64f01fbc1f5767302333bf2a969d785bb07eb998192", - "guid_creation_num": "1125899906842626", - "allow_ungated_transfer": true, - "is_deleted": false, - "untransferrable": false - }, - { - "transaction_version": 453498957, - "write_set_change_index": 2, - "object_address": "0x2a8822cbd320abf7e363a7197626161eaf8b8de51f1da239e84255336b1e8923", - "owner_address": "0xf4202dd85700667e130a89af97634266d012a83a7945b2d1640f848cd4556e20", - "state_key_hash": "0x6bbc1911b821889937cce64f01fbc1f5767302333bf2a969d785bb07eb998192", - "guid_creation_num": "1125899906842626", - "allow_ungated_transfer": true, - "is_deleted": false, - "untransferrable": false - }, - { - "transaction_version": 453498957, - "write_set_change_index": 3, - "object_address": "0x2a8822cbd320abf7e363a7197626161eaf8b8de51f1da239e84255336b1e8923", - "owner_address": "0xf4202dd85700667e130a89af97634266d012a83a7945b2d1640f848cd4556e20", - "state_key_hash": "0x6bbc1911b821889937cce64f01fbc1f5767302333bf2a969d785bb07eb998192", - "guid_creation_num": "1125899906842626", - "allow_ungated_transfer": true, - "is_deleted": false, - "untransferrable": false - }, - { - "transaction_version": 453498957, - "write_set_change_index": 6, - "object_address": "0x41428e9025efe2c2a97de15b25d753ebb19264e8ecee56cb3d9bdd62a19d7a51", - "owner_address": "0x1746a006565e5b25c20539d429402e652eef906731d00622cda6e3425c1efa73", - "state_key_hash": "0x35017c0f2d9ba3150c1fb30357168cadc940017fcce5822dc541d2afa7fa2330", - "guid_creation_num": "1125899906842626", - "allow_ungated_transfer": true, - "is_deleted": false, - "untransferrable": false - }, - { - "transaction_version": 453498957, - "write_set_change_index": 7, - "object_address": "0x41428e9025efe2c2a97de15b25d753ebb19264e8ecee56cb3d9bdd62a19d7a51", - "owner_address": "0x1746a006565e5b25c20539d429402e652eef906731d00622cda6e3425c1efa73", - "state_key_hash": "0x35017c0f2d9ba3150c1fb30357168cadc940017fcce5822dc541d2afa7fa2330", - "guid_creation_num": "1125899906842626", - "allow_ungated_transfer": true, - "is_deleted": false, - "untransferrable": false - }, - { - "transaction_version": 453498957, - "write_set_change_index": 8, - "object_address": "0x41428e9025efe2c2a97de15b25d753ebb19264e8ecee56cb3d9bdd62a19d7a51", - "owner_address": "0x1746a006565e5b25c20539d429402e652eef906731d00622cda6e3425c1efa73", - "state_key_hash": "0x35017c0f2d9ba3150c1fb30357168cadc940017fcce5822dc541d2afa7fa2330", - "guid_creation_num": "1125899906842626", - "allow_ungated_transfer": true, - "is_deleted": false, - "untransferrable": false - }, - { - "transaction_version": 453498957, - "write_set_change_index": 9, - "object_address": "0x41428e9025efe2c2a97de15b25d753ebb19264e8ecee56cb3d9bdd62a19d7a51", - "owner_address": "0x1746a006565e5b25c20539d429402e652eef906731d00622cda6e3425c1efa73", - "state_key_hash": "0x35017c0f2d9ba3150c1fb30357168cadc940017fcce5822dc541d2afa7fa2330", - "guid_creation_num": "1125899906842626", - "allow_ungated_transfer": true, - "is_deleted": false, - "untransferrable": false - }, - { - "transaction_version": 453498957, - "write_set_change_index": 10, - "object_address": "0xbd0ac9755fe762df448ee99e356ebe262c3ec535c2c7d0b835da3709cb22df97", - "owner_address": "0x40fc28526d4c093fac5cd2bb43e7adf41a48dbbe5edf7a1dd57a3a89c627d17a", - "state_key_hash": "0xbf2e089c92283c3977e171bcf5c1523ebc49efe6a5799810f215a6ab29b5115c", - "guid_creation_num": "1125899906842628", - "allow_ungated_transfer": false, - "is_deleted": false, - "untransferrable": true - }, - { - "transaction_version": 453498957, - "write_set_change_index": 11, - "object_address": "0xbd0ac9755fe762df448ee99e356ebe262c3ec535c2c7d0b835da3709cb22df97", - "owner_address": "0x40fc28526d4c093fac5cd2bb43e7adf41a48dbbe5edf7a1dd57a3a89c627d17a", - "state_key_hash": "0xbf2e089c92283c3977e171bcf5c1523ebc49efe6a5799810f215a6ab29b5115c", - "guid_creation_num": "1125899906842628", - "allow_ungated_transfer": false, - "is_deleted": false, - "untransferrable": true - }, - { - "transaction_version": 453498957, - "write_set_change_index": 12, - "object_address": "0xbd0ac9755fe762df448ee99e356ebe262c3ec535c2c7d0b835da3709cb22df97", - "owner_address": "0x40fc28526d4c093fac5cd2bb43e7adf41a48dbbe5edf7a1dd57a3a89c627d17a", - "state_key_hash": "0xbf2e089c92283c3977e171bcf5c1523ebc49efe6a5799810f215a6ab29b5115c", - "guid_creation_num": "1125899906842628", - "allow_ungated_transfer": false, - "is_deleted": false, - "untransferrable": true - }, - { - "transaction_version": 453498957, - "write_set_change_index": 13, - "object_address": "0xbd0ac9755fe762df448ee99e356ebe262c3ec535c2c7d0b835da3709cb22df97", - "owner_address": "0x40fc28526d4c093fac5cd2bb43e7adf41a48dbbe5edf7a1dd57a3a89c627d17a", - "state_key_hash": "0xbf2e089c92283c3977e171bcf5c1523ebc49efe6a5799810f215a6ab29b5115c", - "guid_creation_num": "1125899906842628", - "allow_ungated_transfer": false, - "is_deleted": false, - "untransferrable": true - }, - { - "transaction_version": 453498957, - "write_set_change_index": 14, - "object_address": "0xbd0ac9755fe762df448ee99e356ebe262c3ec535c2c7d0b835da3709cb22df97", - "owner_address": "0x40fc28526d4c093fac5cd2bb43e7adf41a48dbbe5edf7a1dd57a3a89c627d17a", - "state_key_hash": "0xbf2e089c92283c3977e171bcf5c1523ebc49efe6a5799810f215a6ab29b5115c", - "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/508365567/current_objects.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/508365567/current_objects.json deleted file mode 100644 index cd784d206..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/508365567/current_objects.json +++ /dev/null @@ -1,32 +0,0 @@ -[ - { - "object_address": "0x30e2f18b1f9c447e7dadd7a05966e721ab6512b81ee977cb053edb86cc1b1d65", - "owner_address": "0x4bf51972879e3b95c4781a5cdcb9e1ee24ef483e7d22f2d903626f126df62bd1", - "state_key_hash": "0x0f1171673d2e6e812b4b2f0f5f14fa026a4716240f00240f456d1d8a07ea19e8", - "allow_ungated_transfer": false, - "last_guid_creation_num": "1125899906842631", - "last_transaction_version": 508365567, - "is_deleted": false, - "untransferrable": true - }, - { - "object_address": "0xb8ed486274e5078cf814dfd5d377e95333d58593d2eba6a1aa33c1bf9f39bdab", - "owner_address": "0xc8af29debf02369958769a77388c84a3040b9ffe9ba1f82c1c9f5c6dcb61030e", - "state_key_hash": "0x10b456210632d2d0221555bc50b321ec52a6653f253586a0ea96a22cfb302ac9", - "allow_ungated_transfer": false, - "last_guid_creation_num": "1125899906842628", - "last_transaction_version": 508365567, - "is_deleted": false, - "untransferrable": true - }, - { - "object_address": "0xeaa02d37c4896e95813543a3df80d09863d1a4d91f3f14c02db033f2f7a3f665", - "owner_address": "0xc8af29debf02369958769a77388c84a3040b9ffe9ba1f82c1c9f5c6dcb61030e", - "state_key_hash": "0x8ff39c220595e9fcc0bc4c40c6dce4f518e36f8fdbdc9570a33e1942802ba763", - "allow_ungated_transfer": true, - "last_guid_creation_num": "1125899906842629", - "last_transaction_version": 508365567, - "is_deleted": false, - "untransferrable": false - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/508365567/objects.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/508365567/objects.json deleted file mode 100644 index 10a6c2c61..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/508365567/objects.json +++ /dev/null @@ -1,167 +0,0 @@ -[ - { - "transaction_version": 508365567, - "write_set_change_index": 0, - "object_address": "0x30e2f18b1f9c447e7dadd7a05966e721ab6512b81ee977cb053edb86cc1b1d65", - "owner_address": "0x4bf51972879e3b95c4781a5cdcb9e1ee24ef483e7d22f2d903626f126df62bd1", - "state_key_hash": "0x0f1171673d2e6e812b4b2f0f5f14fa026a4716240f00240f456d1d8a07ea19e8", - "guid_creation_num": "1125899906842631", - "allow_ungated_transfer": false, - "is_deleted": false, - "untransferrable": true - }, - { - "transaction_version": 508365567, - "write_set_change_index": 1, - "object_address": "0x30e2f18b1f9c447e7dadd7a05966e721ab6512b81ee977cb053edb86cc1b1d65", - "owner_address": "0x4bf51972879e3b95c4781a5cdcb9e1ee24ef483e7d22f2d903626f126df62bd1", - "state_key_hash": "0x0f1171673d2e6e812b4b2f0f5f14fa026a4716240f00240f456d1d8a07ea19e8", - "guid_creation_num": "1125899906842631", - "allow_ungated_transfer": false, - "is_deleted": false, - "untransferrable": true - }, - { - "transaction_version": 508365567, - "write_set_change_index": 2, - "object_address": "0x30e2f18b1f9c447e7dadd7a05966e721ab6512b81ee977cb053edb86cc1b1d65", - "owner_address": "0x4bf51972879e3b95c4781a5cdcb9e1ee24ef483e7d22f2d903626f126df62bd1", - "state_key_hash": "0x0f1171673d2e6e812b4b2f0f5f14fa026a4716240f00240f456d1d8a07ea19e8", - "guid_creation_num": "1125899906842631", - "allow_ungated_transfer": false, - "is_deleted": false, - "untransferrable": true - }, - { - "transaction_version": 508365567, - "write_set_change_index": 3, - "object_address": "0x30e2f18b1f9c447e7dadd7a05966e721ab6512b81ee977cb053edb86cc1b1d65", - "owner_address": "0x4bf51972879e3b95c4781a5cdcb9e1ee24ef483e7d22f2d903626f126df62bd1", - "state_key_hash": "0x0f1171673d2e6e812b4b2f0f5f14fa026a4716240f00240f456d1d8a07ea19e8", - "guid_creation_num": "1125899906842631", - "allow_ungated_transfer": false, - "is_deleted": false, - "untransferrable": true - }, - { - "transaction_version": 508365567, - "write_set_change_index": 4, - "object_address": "0x30e2f18b1f9c447e7dadd7a05966e721ab6512b81ee977cb053edb86cc1b1d65", - "owner_address": "0x4bf51972879e3b95c4781a5cdcb9e1ee24ef483e7d22f2d903626f126df62bd1", - "state_key_hash": "0x0f1171673d2e6e812b4b2f0f5f14fa026a4716240f00240f456d1d8a07ea19e8", - "guid_creation_num": "1125899906842631", - "allow_ungated_transfer": false, - "is_deleted": false, - "untransferrable": true - }, - { - "transaction_version": 508365567, - "write_set_change_index": 5, - "object_address": "0x30e2f18b1f9c447e7dadd7a05966e721ab6512b81ee977cb053edb86cc1b1d65", - "owner_address": "0x4bf51972879e3b95c4781a5cdcb9e1ee24ef483e7d22f2d903626f126df62bd1", - "state_key_hash": "0x0f1171673d2e6e812b4b2f0f5f14fa026a4716240f00240f456d1d8a07ea19e8", - "guid_creation_num": "1125899906842631", - "allow_ungated_transfer": false, - "is_deleted": false, - "untransferrable": true - }, - { - "transaction_version": 508365567, - "write_set_change_index": 7, - "object_address": "0xb8ed486274e5078cf814dfd5d377e95333d58593d2eba6a1aa33c1bf9f39bdab", - "owner_address": "0xc8af29debf02369958769a77388c84a3040b9ffe9ba1f82c1c9f5c6dcb61030e", - "state_key_hash": "0x10b456210632d2d0221555bc50b321ec52a6653f253586a0ea96a22cfb302ac9", - "guid_creation_num": "1125899906842628", - "allow_ungated_transfer": false, - "is_deleted": false, - "untransferrable": true - }, - { - "transaction_version": 508365567, - "write_set_change_index": 8, - "object_address": "0xb8ed486274e5078cf814dfd5d377e95333d58593d2eba6a1aa33c1bf9f39bdab", - "owner_address": "0xc8af29debf02369958769a77388c84a3040b9ffe9ba1f82c1c9f5c6dcb61030e", - "state_key_hash": "0x10b456210632d2d0221555bc50b321ec52a6653f253586a0ea96a22cfb302ac9", - "guid_creation_num": "1125899906842628", - "allow_ungated_transfer": false, - "is_deleted": false, - "untransferrable": true - }, - { - "transaction_version": 508365567, - "write_set_change_index": 9, - "object_address": "0xb8ed486274e5078cf814dfd5d377e95333d58593d2eba6a1aa33c1bf9f39bdab", - "owner_address": "0xc8af29debf02369958769a77388c84a3040b9ffe9ba1f82c1c9f5c6dcb61030e", - "state_key_hash": "0x10b456210632d2d0221555bc50b321ec52a6653f253586a0ea96a22cfb302ac9", - "guid_creation_num": "1125899906842628", - "allow_ungated_transfer": false, - "is_deleted": false, - "untransferrable": true - }, - { - "transaction_version": 508365567, - "write_set_change_index": 12, - "object_address": "0xeaa02d37c4896e95813543a3df80d09863d1a4d91f3f14c02db033f2f7a3f665", - "owner_address": "0xc8af29debf02369958769a77388c84a3040b9ffe9ba1f82c1c9f5c6dcb61030e", - "state_key_hash": "0x8ff39c220595e9fcc0bc4c40c6dce4f518e36f8fdbdc9570a33e1942802ba763", - "guid_creation_num": "1125899906842629", - "allow_ungated_transfer": true, - "is_deleted": false, - "untransferrable": false - }, - { - "transaction_version": 508365567, - "write_set_change_index": 13, - "object_address": "0xeaa02d37c4896e95813543a3df80d09863d1a4d91f3f14c02db033f2f7a3f665", - "owner_address": "0xc8af29debf02369958769a77388c84a3040b9ffe9ba1f82c1c9f5c6dcb61030e", - "state_key_hash": "0x8ff39c220595e9fcc0bc4c40c6dce4f518e36f8fdbdc9570a33e1942802ba763", - "guid_creation_num": "1125899906842629", - "allow_ungated_transfer": true, - "is_deleted": false, - "untransferrable": false - }, - { - "transaction_version": 508365567, - "write_set_change_index": 14, - "object_address": "0xeaa02d37c4896e95813543a3df80d09863d1a4d91f3f14c02db033f2f7a3f665", - "owner_address": "0xc8af29debf02369958769a77388c84a3040b9ffe9ba1f82c1c9f5c6dcb61030e", - "state_key_hash": "0x8ff39c220595e9fcc0bc4c40c6dce4f518e36f8fdbdc9570a33e1942802ba763", - "guid_creation_num": "1125899906842629", - "allow_ungated_transfer": true, - "is_deleted": false, - "untransferrable": false - }, - { - "transaction_version": 508365567, - "write_set_change_index": 15, - "object_address": "0xeaa02d37c4896e95813543a3df80d09863d1a4d91f3f14c02db033f2f7a3f665", - "owner_address": "0xc8af29debf02369958769a77388c84a3040b9ffe9ba1f82c1c9f5c6dcb61030e", - "state_key_hash": "0x8ff39c220595e9fcc0bc4c40c6dce4f518e36f8fdbdc9570a33e1942802ba763", - "guid_creation_num": "1125899906842629", - "allow_ungated_transfer": true, - "is_deleted": false, - "untransferrable": false - }, - { - "transaction_version": 508365567, - "write_set_change_index": 16, - "object_address": "0xeaa02d37c4896e95813543a3df80d09863d1a4d91f3f14c02db033f2f7a3f665", - "owner_address": "0xc8af29debf02369958769a77388c84a3040b9ffe9ba1f82c1c9f5c6dcb61030e", - "state_key_hash": "0x8ff39c220595e9fcc0bc4c40c6dce4f518e36f8fdbdc9570a33e1942802ba763", - "guid_creation_num": "1125899906842629", - "allow_ungated_transfer": true, - "is_deleted": false, - "untransferrable": false - }, - { - "transaction_version": 508365567, - "write_set_change_index": 17, - "object_address": "0xeaa02d37c4896e95813543a3df80d09863d1a4d91f3f14c02db033f2f7a3f665", - "owner_address": "0xc8af29debf02369958769a77388c84a3040b9ffe9ba1f82c1c9f5c6dcb61030e", - "state_key_hash": "0x8ff39c220595e9fcc0bc4c40c6dce4f518e36f8fdbdc9570a33e1942802ba763", - "guid_creation_num": "1125899906842629", - "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_mainnet_txns/objects_processor/513424821/current_objects.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/513424821/current_objects.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/513424821/current_objects.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/513424821/objects.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/513424821/objects.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/513424821/objects.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/537250181/current_objects.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/537250181/current_objects.json deleted file mode 100644 index 360b9c2d2..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/537250181/current_objects.json +++ /dev/null @@ -1,22 +0,0 @@ -[ - { - "object_address": "0x2bed7aeca079697ec1700cc48bee658b2331d80996b05e56dfcb39fae22cbb63", - "owner_address": "0xb82a0077ab08cc414bd283aefe62e6dd42311150ed851ccd307d02a0f765bff2", - "state_key_hash": "0xf98b9b9994f8f5060a0bbc0d6758927d92ba59ee6d6dc0607d653ef7cd382118", - "allow_ungated_transfer": false, - "last_guid_creation_num": "1125899906842628", - "last_transaction_version": 537250181, - "is_deleted": false, - "untransferrable": true - }, - { - "object_address": "0x88fbd363b60336c664a3114000d723efffa6f745be049e42ca98aa631b018ac9", - "owner_address": "0xb82a0077ab08cc414bd283aefe62e6dd42311150ed851ccd307d02a0f765bff2", - "state_key_hash": "0x0a9eab47710801487ee97446da0337c850a71f76b137fc723581df8da89c72f9", - "allow_ungated_transfer": true, - "last_guid_creation_num": "1125899906842626", - "last_transaction_version": 537250181, - "is_deleted": false, - "untransferrable": false - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/537250181/objects.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/537250181/objects.json deleted file mode 100644 index 2fb781efe..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/537250181/objects.json +++ /dev/null @@ -1,101 +0,0 @@ -[ - { - "transaction_version": 537250181, - "write_set_change_index": 0, - "object_address": "0x2bed7aeca079697ec1700cc48bee658b2331d80996b05e56dfcb39fae22cbb63", - "owner_address": "0xb82a0077ab08cc414bd283aefe62e6dd42311150ed851ccd307d02a0f765bff2", - "state_key_hash": "0xf98b9b9994f8f5060a0bbc0d6758927d92ba59ee6d6dc0607d653ef7cd382118", - "guid_creation_num": "1125899906842628", - "allow_ungated_transfer": false, - "is_deleted": false, - "untransferrable": true - }, - { - "transaction_version": 537250181, - "write_set_change_index": 1, - "object_address": "0x2bed7aeca079697ec1700cc48bee658b2331d80996b05e56dfcb39fae22cbb63", - "owner_address": "0xb82a0077ab08cc414bd283aefe62e6dd42311150ed851ccd307d02a0f765bff2", - "state_key_hash": "0xf98b9b9994f8f5060a0bbc0d6758927d92ba59ee6d6dc0607d653ef7cd382118", - "guid_creation_num": "1125899906842628", - "allow_ungated_transfer": false, - "is_deleted": false, - "untransferrable": true - }, - { - "transaction_version": 537250181, - "write_set_change_index": 2, - "object_address": "0x2bed7aeca079697ec1700cc48bee658b2331d80996b05e56dfcb39fae22cbb63", - "owner_address": "0xb82a0077ab08cc414bd283aefe62e6dd42311150ed851ccd307d02a0f765bff2", - "state_key_hash": "0xf98b9b9994f8f5060a0bbc0d6758927d92ba59ee6d6dc0607d653ef7cd382118", - "guid_creation_num": "1125899906842628", - "allow_ungated_transfer": false, - "is_deleted": false, - "untransferrable": true - }, - { - "transaction_version": 537250181, - "write_set_change_index": 3, - "object_address": "0x2bed7aeca079697ec1700cc48bee658b2331d80996b05e56dfcb39fae22cbb63", - "owner_address": "0xb82a0077ab08cc414bd283aefe62e6dd42311150ed851ccd307d02a0f765bff2", - "state_key_hash": "0xf98b9b9994f8f5060a0bbc0d6758927d92ba59ee6d6dc0607d653ef7cd382118", - "guid_creation_num": "1125899906842628", - "allow_ungated_transfer": false, - "is_deleted": false, - "untransferrable": true - }, - { - "transaction_version": 537250181, - "write_set_change_index": 4, - "object_address": "0x2bed7aeca079697ec1700cc48bee658b2331d80996b05e56dfcb39fae22cbb63", - "owner_address": "0xb82a0077ab08cc414bd283aefe62e6dd42311150ed851ccd307d02a0f765bff2", - "state_key_hash": "0xf98b9b9994f8f5060a0bbc0d6758927d92ba59ee6d6dc0607d653ef7cd382118", - "guid_creation_num": "1125899906842628", - "allow_ungated_transfer": false, - "is_deleted": false, - "untransferrable": true - }, - { - "transaction_version": 537250181, - "write_set_change_index": 5, - "object_address": "0x88fbd363b60336c664a3114000d723efffa6f745be049e42ca98aa631b018ac9", - "owner_address": "0xb82a0077ab08cc414bd283aefe62e6dd42311150ed851ccd307d02a0f765bff2", - "state_key_hash": "0x0a9eab47710801487ee97446da0337c850a71f76b137fc723581df8da89c72f9", - "guid_creation_num": "1125899906842626", - "allow_ungated_transfer": true, - "is_deleted": false, - "untransferrable": false - }, - { - "transaction_version": 537250181, - "write_set_change_index": 6, - "object_address": "0x88fbd363b60336c664a3114000d723efffa6f745be049e42ca98aa631b018ac9", - "owner_address": "0xb82a0077ab08cc414bd283aefe62e6dd42311150ed851ccd307d02a0f765bff2", - "state_key_hash": "0x0a9eab47710801487ee97446da0337c850a71f76b137fc723581df8da89c72f9", - "guid_creation_num": "1125899906842626", - "allow_ungated_transfer": true, - "is_deleted": false, - "untransferrable": false - }, - { - "transaction_version": 537250181, - "write_set_change_index": 7, - "object_address": "0x88fbd363b60336c664a3114000d723efffa6f745be049e42ca98aa631b018ac9", - "owner_address": "0xb82a0077ab08cc414bd283aefe62e6dd42311150ed851ccd307d02a0f765bff2", - "state_key_hash": "0x0a9eab47710801487ee97446da0337c850a71f76b137fc723581df8da89c72f9", - "guid_creation_num": "1125899906842626", - "allow_ungated_transfer": true, - "is_deleted": false, - "untransferrable": false - }, - { - "transaction_version": 537250181, - "write_set_change_index": 8, - "object_address": "0x88fbd363b60336c664a3114000d723efffa6f745be049e42ca98aa631b018ac9", - "owner_address": "0xb82a0077ab08cc414bd283aefe62e6dd42311150ed851ccd307d02a0f765bff2", - "state_key_hash": "0x0a9eab47710801487ee97446da0337c850a71f76b137fc723581df8da89c72f9", - "guid_creation_num": "1125899906842626", - "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_mainnet_txns/objects_processor/602320562/current_objects.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/602320562/current_objects.json deleted file mode 100644 index 61852a5a9..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/602320562/current_objects.json +++ /dev/null @@ -1,22 +0,0 @@ -[ - { - "object_address": "0x03738dc12733429d94935a8cace840eb3615cbcc2031c6491f6616b8e58e0e7f", - "owner_address": "0x12479ac53f2d918bb7ad9259bfc4fe10eb0688d4a54ef36be0c23b5174da8f21", - "state_key_hash": "0x080bc6227f89a2b3eca42b9b80c7c442d024795f7f179b6ed81e6b38a7ae5879", - "allow_ungated_transfer": false, - "last_guid_creation_num": "1125899906842626", - "last_transaction_version": 602320562, - "is_deleted": false, - "untransferrable": true - }, - { - "object_address": "0x5d42972f67d68e51862f7c1c5ece9f4135a9a3150ae08be19274b591c77587f2", - "owner_address": "0x12479ac53f2d918bb7ad9259bfc4fe10eb0688d4a54ef36be0c23b5174da8f21", - "state_key_hash": "0x15b5b1873c5ab54201076a30a177efdb98d62f7980c0c4169101677b10a0213d", - "allow_ungated_transfer": true, - "last_guid_creation_num": "1125899906842626", - "last_transaction_version": 602320562, - "is_deleted": false, - "untransferrable": false - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/602320562/objects.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/602320562/objects.json deleted file mode 100644 index f226d10ac..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/602320562/objects.json +++ /dev/null @@ -1,112 +0,0 @@ -[ - { - "transaction_version": 602320562, - "write_set_change_index": 0, - "object_address": "0x03738dc12733429d94935a8cace840eb3615cbcc2031c6491f6616b8e58e0e7f", - "owner_address": "0x12479ac53f2d918bb7ad9259bfc4fe10eb0688d4a54ef36be0c23b5174da8f21", - "state_key_hash": "0x080bc6227f89a2b3eca42b9b80c7c442d024795f7f179b6ed81e6b38a7ae5879", - "guid_creation_num": "1125899906842626", - "allow_ungated_transfer": false, - "is_deleted": false, - "untransferrable": true - }, - { - "transaction_version": 602320562, - "write_set_change_index": 1, - "object_address": "0x03738dc12733429d94935a8cace840eb3615cbcc2031c6491f6616b8e58e0e7f", - "owner_address": "0x12479ac53f2d918bb7ad9259bfc4fe10eb0688d4a54ef36be0c23b5174da8f21", - "state_key_hash": "0x080bc6227f89a2b3eca42b9b80c7c442d024795f7f179b6ed81e6b38a7ae5879", - "guid_creation_num": "1125899906842626", - "allow_ungated_transfer": false, - "is_deleted": false, - "untransferrable": true - }, - { - "transaction_version": 602320562, - "write_set_change_index": 2, - "object_address": "0x03738dc12733429d94935a8cace840eb3615cbcc2031c6491f6616b8e58e0e7f", - "owner_address": "0x12479ac53f2d918bb7ad9259bfc4fe10eb0688d4a54ef36be0c23b5174da8f21", - "state_key_hash": "0x080bc6227f89a2b3eca42b9b80c7c442d024795f7f179b6ed81e6b38a7ae5879", - "guid_creation_num": "1125899906842626", - "allow_ungated_transfer": false, - "is_deleted": false, - "untransferrable": true - }, - { - "transaction_version": 602320562, - "write_set_change_index": 3, - "object_address": "0x03738dc12733429d94935a8cace840eb3615cbcc2031c6491f6616b8e58e0e7f", - "owner_address": "0x12479ac53f2d918bb7ad9259bfc4fe10eb0688d4a54ef36be0c23b5174da8f21", - "state_key_hash": "0x080bc6227f89a2b3eca42b9b80c7c442d024795f7f179b6ed81e6b38a7ae5879", - "guid_creation_num": "1125899906842626", - "allow_ungated_transfer": false, - "is_deleted": false, - "untransferrable": true - }, - { - "transaction_version": 602320562, - "write_set_change_index": 4, - "object_address": "0x03738dc12733429d94935a8cace840eb3615cbcc2031c6491f6616b8e58e0e7f", - "owner_address": "0x12479ac53f2d918bb7ad9259bfc4fe10eb0688d4a54ef36be0c23b5174da8f21", - "state_key_hash": "0x080bc6227f89a2b3eca42b9b80c7c442d024795f7f179b6ed81e6b38a7ae5879", - "guid_creation_num": "1125899906842626", - "allow_ungated_transfer": false, - "is_deleted": false, - "untransferrable": true - }, - { - "transaction_version": 602320562, - "write_set_change_index": 7, - "object_address": "0x5d42972f67d68e51862f7c1c5ece9f4135a9a3150ae08be19274b591c77587f2", - "owner_address": "0x12479ac53f2d918bb7ad9259bfc4fe10eb0688d4a54ef36be0c23b5174da8f21", - "state_key_hash": "0x15b5b1873c5ab54201076a30a177efdb98d62f7980c0c4169101677b10a0213d", - "guid_creation_num": "1125899906842626", - "allow_ungated_transfer": true, - "is_deleted": false, - "untransferrable": false - }, - { - "transaction_version": 602320562, - "write_set_change_index": 8, - "object_address": "0x5d42972f67d68e51862f7c1c5ece9f4135a9a3150ae08be19274b591c77587f2", - "owner_address": "0x12479ac53f2d918bb7ad9259bfc4fe10eb0688d4a54ef36be0c23b5174da8f21", - "state_key_hash": "0x15b5b1873c5ab54201076a30a177efdb98d62f7980c0c4169101677b10a0213d", - "guid_creation_num": "1125899906842626", - "allow_ungated_transfer": true, - "is_deleted": false, - "untransferrable": false - }, - { - "transaction_version": 602320562, - "write_set_change_index": 9, - "object_address": "0x5d42972f67d68e51862f7c1c5ece9f4135a9a3150ae08be19274b591c77587f2", - "owner_address": "0x12479ac53f2d918bb7ad9259bfc4fe10eb0688d4a54ef36be0c23b5174da8f21", - "state_key_hash": "0x15b5b1873c5ab54201076a30a177efdb98d62f7980c0c4169101677b10a0213d", - "guid_creation_num": "1125899906842626", - "allow_ungated_transfer": true, - "is_deleted": false, - "untransferrable": false - }, - { - "transaction_version": 602320562, - "write_set_change_index": 10, - "object_address": "0x5d42972f67d68e51862f7c1c5ece9f4135a9a3150ae08be19274b591c77587f2", - "owner_address": "0x12479ac53f2d918bb7ad9259bfc4fe10eb0688d4a54ef36be0c23b5174da8f21", - "state_key_hash": "0x15b5b1873c5ab54201076a30a177efdb98d62f7980c0c4169101677b10a0213d", - "guid_creation_num": "1125899906842626", - "allow_ungated_transfer": true, - "is_deleted": false, - "untransferrable": false - }, - { - "transaction_version": 602320562, - "write_set_change_index": 11, - "object_address": "0x5d42972f67d68e51862f7c1c5ece9f4135a9a3150ae08be19274b591c77587f2", - "owner_address": "0x12479ac53f2d918bb7ad9259bfc4fe10eb0688d4a54ef36be0c23b5174da8f21", - "state_key_hash": "0x15b5b1873c5ab54201076a30a177efdb98d62f7980c0c4169101677b10a0213d", - "guid_creation_num": "1125899906842626", - "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_mainnet_txns/objects_processor/967255533/current_objects.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/967255533/current_objects.json deleted file mode 100644 index 669a1d711..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/967255533/current_objects.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "object_address": "0x1910ed3769bf094c43cf0c81470265304014c4ae7cbb4991fcc194f2c42bb4b4", - "owner_address": "0x23246b2ad4ea793d6c061f415c58f9c442f434a9a888b2f6bd73e6b611e6774b", - "state_key_hash": "0x46062b050b32127b0939f63ea81c9d1529131721f32b43afbf08ff72b9ad1766", - "allow_ungated_transfer": true, - "last_guid_creation_num": "1125899906842626", - "last_transaction_version": 967255533, - "is_deleted": false, - "untransferrable": false - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/967255533/objects.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/967255533/objects.json deleted file mode 100644 index 406551373..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/967255533/objects.json +++ /dev/null @@ -1,57 +0,0 @@ -[ - { - "transaction_version": 967255533, - "write_set_change_index": 2, - "object_address": "0x1910ed3769bf094c43cf0c81470265304014c4ae7cbb4991fcc194f2c42bb4b4", - "owner_address": "0x23246b2ad4ea793d6c061f415c58f9c442f434a9a888b2f6bd73e6b611e6774b", - "state_key_hash": "0x46062b050b32127b0939f63ea81c9d1529131721f32b43afbf08ff72b9ad1766", - "guid_creation_num": "1125899906842626", - "allow_ungated_transfer": true, - "is_deleted": false, - "untransferrable": false - }, - { - "transaction_version": 967255533, - "write_set_change_index": 3, - "object_address": "0x1910ed3769bf094c43cf0c81470265304014c4ae7cbb4991fcc194f2c42bb4b4", - "owner_address": "0x23246b2ad4ea793d6c061f415c58f9c442f434a9a888b2f6bd73e6b611e6774b", - "state_key_hash": "0x46062b050b32127b0939f63ea81c9d1529131721f32b43afbf08ff72b9ad1766", - "guid_creation_num": "1125899906842626", - "allow_ungated_transfer": true, - "is_deleted": false, - "untransferrable": false - }, - { - "transaction_version": 967255533, - "write_set_change_index": 4, - "object_address": "0x1910ed3769bf094c43cf0c81470265304014c4ae7cbb4991fcc194f2c42bb4b4", - "owner_address": "0x23246b2ad4ea793d6c061f415c58f9c442f434a9a888b2f6bd73e6b611e6774b", - "state_key_hash": "0x46062b050b32127b0939f63ea81c9d1529131721f32b43afbf08ff72b9ad1766", - "guid_creation_num": "1125899906842626", - "allow_ungated_transfer": true, - "is_deleted": false, - "untransferrable": false - }, - { - "transaction_version": 967255533, - "write_set_change_index": 5, - "object_address": "0x1910ed3769bf094c43cf0c81470265304014c4ae7cbb4991fcc194f2c42bb4b4", - "owner_address": "0x23246b2ad4ea793d6c061f415c58f9c442f434a9a888b2f6bd73e6b611e6774b", - "state_key_hash": "0x46062b050b32127b0939f63ea81c9d1529131721f32b43afbf08ff72b9ad1766", - "guid_creation_num": "1125899906842626", - "allow_ungated_transfer": true, - "is_deleted": false, - "untransferrable": false - }, - { - "transaction_version": 967255533, - "write_set_change_index": 6, - "object_address": "0x1910ed3769bf094c43cf0c81470265304014c4ae7cbb4991fcc194f2c42bb4b4", - "owner_address": "0x23246b2ad4ea793d6c061f415c58f9c442f434a9a888b2f6bd73e6b611e6774b", - "state_key_hash": "0x46062b050b32127b0939f63ea81c9d1529131721f32b43afbf08ff72b9ad1766", - "guid_creation_num": "1125899906842626", - "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_mainnet_txns/objects_processor/999929475/current_objects.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/999929475/current_objects.json deleted file mode 100644 index 1b385c10b..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/999929475/current_objects.json +++ /dev/null @@ -1,62 +0,0 @@ -[ - { - "object_address": "0x234f0be57d6acfb2f0f19c17053617311a8d03c9ce358bdf9cd5c460e4a02b7c", - "owner_address": "0x4bf51972879e3b95c4781a5cdcb9e1ee24ef483e7d22f2d903626f126df62bd1", - "state_key_hash": "0x706b801b5e16677cc713c617e84fd435b622adfce970de0e4a2b45bb08554a56", - "allow_ungated_transfer": true, - "last_guid_creation_num": "1125899906842632", - "last_transaction_version": 999929475, - "is_deleted": false, - "untransferrable": false - }, - { - "object_address": "0x50fdfa97914bd00b656e3041e143f157c84931eb1ca7224b8a8570e7d5be70f2", - "owner_address": "0x3b38735644d0be8ac37ebd84a1e42fa5c2487495ef8782f6c694b1a147f82426", - "state_key_hash": "0xe1c41250a0cefcdefa4b063f10537a1788e2acff3e8d09bb1a3827c4c5827412", - "allow_ungated_transfer": true, - "last_guid_creation_num": "1125899906842625", - "last_transaction_version": 999929475, - "is_deleted": false, - "untransferrable": false - }, - { - "object_address": "0x89cee32338902b6f79f9c75c317d32ac061771817c0d5b0802f97ec44ebfc7d4", - "owner_address": "0x234f0be57d6acfb2f0f19c17053617311a8d03c9ce358bdf9cd5c460e4a02b7c", - "state_key_hash": "0xa8e2b5b712aef28f872ac6843b6da4962cf615d96d0a78e3c093b8af1e4d6f78", - "allow_ungated_transfer": true, - "last_guid_creation_num": "1125899906842628", - "last_transaction_version": 999929475, - "is_deleted": false, - "untransferrable": false - }, - { - "object_address": "0x9120a6a57b1463607f27c140b3a8c5542c74a2411d632eb6f25bab0b40a987a4", - "owner_address": "0x234f0be57d6acfb2f0f19c17053617311a8d03c9ce358bdf9cd5c460e4a02b7c", - "state_key_hash": "0x0bd14a9b7d13ae857fcf245cada40b3a25138adc0f351fb44a853aac9b6ee310", - "allow_ungated_transfer": true, - "last_guid_creation_num": "1125899906842628", - "last_transaction_version": 999929475, - "is_deleted": false, - "untransferrable": false - }, - { - "object_address": "0x97325d3a5abbfe422b8dece076302efd20c0a2dc5c2a5b7954ba8cc203d2f08e", - "owner_address": "0x234f0be57d6acfb2f0f19c17053617311a8d03c9ce358bdf9cd5c460e4a02b7c", - "state_key_hash": "0x12a6c8807f671b00f10528bfbbdfc29a424729e52fd8ecc55a1f2c5776bf22e5", - "allow_ungated_transfer": true, - "last_guid_creation_num": "1125899906842628", - "last_transaction_version": 999929475, - "is_deleted": false, - "untransferrable": false - }, - { - "object_address": "0xedc2704f2cef417a06d1756a04a16a9fa6faaed13af469be9cdfcac5a21a8e2e", - "owner_address": "0x3b38735644d0be8ac37ebd84a1e42fa5c2487495ef8782f6c694b1a147f82426", - "state_key_hash": "0x63c7ef7bb692edfffe5379bbd393b4f87c4cd05c8fd9f97f55370445cf13797f", - "allow_ungated_transfer": true, - "last_guid_creation_num": "1125899906842625", - "last_transaction_version": 999929475, - "is_deleted": false, - "untransferrable": false - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/999929475/objects.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/999929475/objects.json deleted file mode 100644 index 851b9054a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/999929475/objects.json +++ /dev/null @@ -1,277 +0,0 @@ -[ - { - "transaction_version": 999929475, - "write_set_change_index": 0, - "object_address": "0x234f0be57d6acfb2f0f19c17053617311a8d03c9ce358bdf9cd5c460e4a02b7c", - "owner_address": "0x4bf51972879e3b95c4781a5cdcb9e1ee24ef483e7d22f2d903626f126df62bd1", - "state_key_hash": "0x706b801b5e16677cc713c617e84fd435b622adfce970de0e4a2b45bb08554a56", - "guid_creation_num": "1125899906842632", - "allow_ungated_transfer": true, - "is_deleted": false, - "untransferrable": false - }, - { - "transaction_version": 999929475, - "write_set_change_index": 1, - "object_address": "0x234f0be57d6acfb2f0f19c17053617311a8d03c9ce358bdf9cd5c460e4a02b7c", - "owner_address": "0x4bf51972879e3b95c4781a5cdcb9e1ee24ef483e7d22f2d903626f126df62bd1", - "state_key_hash": "0x706b801b5e16677cc713c617e84fd435b622adfce970de0e4a2b45bb08554a56", - "guid_creation_num": "1125899906842632", - "allow_ungated_transfer": true, - "is_deleted": false, - "untransferrable": false - }, - { - "transaction_version": 999929475, - "write_set_change_index": 2, - "object_address": "0x234f0be57d6acfb2f0f19c17053617311a8d03c9ce358bdf9cd5c460e4a02b7c", - "owner_address": "0x4bf51972879e3b95c4781a5cdcb9e1ee24ef483e7d22f2d903626f126df62bd1", - "state_key_hash": "0x706b801b5e16677cc713c617e84fd435b622adfce970de0e4a2b45bb08554a56", - "guid_creation_num": "1125899906842632", - "allow_ungated_transfer": true, - "is_deleted": false, - "untransferrable": false - }, - { - "transaction_version": 999929475, - "write_set_change_index": 3, - "object_address": "0x234f0be57d6acfb2f0f19c17053617311a8d03c9ce358bdf9cd5c460e4a02b7c", - "owner_address": "0x4bf51972879e3b95c4781a5cdcb9e1ee24ef483e7d22f2d903626f126df62bd1", - "state_key_hash": "0x706b801b5e16677cc713c617e84fd435b622adfce970de0e4a2b45bb08554a56", - "guid_creation_num": "1125899906842632", - "allow_ungated_transfer": true, - "is_deleted": false, - "untransferrable": false - }, - { - "transaction_version": 999929475, - "write_set_change_index": 4, - "object_address": "0x234f0be57d6acfb2f0f19c17053617311a8d03c9ce358bdf9cd5c460e4a02b7c", - "owner_address": "0x4bf51972879e3b95c4781a5cdcb9e1ee24ef483e7d22f2d903626f126df62bd1", - "state_key_hash": "0x706b801b5e16677cc713c617e84fd435b622adfce970de0e4a2b45bb08554a56", - "guid_creation_num": "1125899906842632", - "allow_ungated_transfer": true, - "is_deleted": false, - "untransferrable": false - }, - { - "transaction_version": 999929475, - "write_set_change_index": 5, - "object_address": "0x234f0be57d6acfb2f0f19c17053617311a8d03c9ce358bdf9cd5c460e4a02b7c", - "owner_address": "0x4bf51972879e3b95c4781a5cdcb9e1ee24ef483e7d22f2d903626f126df62bd1", - "state_key_hash": "0x706b801b5e16677cc713c617e84fd435b622adfce970de0e4a2b45bb08554a56", - "guid_creation_num": "1125899906842632", - "allow_ungated_transfer": true, - "is_deleted": false, - "untransferrable": false - }, - { - "transaction_version": 999929475, - "write_set_change_index": 6, - "object_address": "0x234f0be57d6acfb2f0f19c17053617311a8d03c9ce358bdf9cd5c460e4a02b7c", - "owner_address": "0x4bf51972879e3b95c4781a5cdcb9e1ee24ef483e7d22f2d903626f126df62bd1", - "state_key_hash": "0x706b801b5e16677cc713c617e84fd435b622adfce970de0e4a2b45bb08554a56", - "guid_creation_num": "1125899906842632", - "allow_ungated_transfer": true, - "is_deleted": false, - "untransferrable": false - }, - { - "transaction_version": 999929475, - "write_set_change_index": 7, - "object_address": "0x234f0be57d6acfb2f0f19c17053617311a8d03c9ce358bdf9cd5c460e4a02b7c", - "owner_address": "0x4bf51972879e3b95c4781a5cdcb9e1ee24ef483e7d22f2d903626f126df62bd1", - "state_key_hash": "0x706b801b5e16677cc713c617e84fd435b622adfce970de0e4a2b45bb08554a56", - "guid_creation_num": "1125899906842632", - "allow_ungated_transfer": true, - "is_deleted": false, - "untransferrable": false - }, - { - "transaction_version": 999929475, - "write_set_change_index": 10, - "object_address": "0x50fdfa97914bd00b656e3041e143f157c84931eb1ca7224b8a8570e7d5be70f2", - "owner_address": "0x3b38735644d0be8ac37ebd84a1e42fa5c2487495ef8782f6c694b1a147f82426", - "state_key_hash": "0xe1c41250a0cefcdefa4b063f10537a1788e2acff3e8d09bb1a3827c4c5827412", - "guid_creation_num": "1125899906842625", - "allow_ungated_transfer": true, - "is_deleted": false, - "untransferrable": false - }, - { - "transaction_version": 999929475, - "write_set_change_index": 11, - "object_address": "0x50fdfa97914bd00b656e3041e143f157c84931eb1ca7224b8a8570e7d5be70f2", - "owner_address": "0x3b38735644d0be8ac37ebd84a1e42fa5c2487495ef8782f6c694b1a147f82426", - "state_key_hash": "0xe1c41250a0cefcdefa4b063f10537a1788e2acff3e8d09bb1a3827c4c5827412", - "guid_creation_num": "1125899906842625", - "allow_ungated_transfer": true, - "is_deleted": false, - "untransferrable": false - }, - { - "transaction_version": 999929475, - "write_set_change_index": 12, - "object_address": "0x50fdfa97914bd00b656e3041e143f157c84931eb1ca7224b8a8570e7d5be70f2", - "owner_address": "0x3b38735644d0be8ac37ebd84a1e42fa5c2487495ef8782f6c694b1a147f82426", - "state_key_hash": "0xe1c41250a0cefcdefa4b063f10537a1788e2acff3e8d09bb1a3827c4c5827412", - "guid_creation_num": "1125899906842625", - "allow_ungated_transfer": true, - "is_deleted": false, - "untransferrable": false - }, - { - "transaction_version": 999929475, - "write_set_change_index": 13, - "object_address": "0x50fdfa97914bd00b656e3041e143f157c84931eb1ca7224b8a8570e7d5be70f2", - "owner_address": "0x3b38735644d0be8ac37ebd84a1e42fa5c2487495ef8782f6c694b1a147f82426", - "state_key_hash": "0xe1c41250a0cefcdefa4b063f10537a1788e2acff3e8d09bb1a3827c4c5827412", - "guid_creation_num": "1125899906842625", - "allow_ungated_transfer": true, - "is_deleted": false, - "untransferrable": false - }, - { - "transaction_version": 999929475, - "write_set_change_index": 14, - "object_address": "0x89cee32338902b6f79f9c75c317d32ac061771817c0d5b0802f97ec44ebfc7d4", - "owner_address": "0x234f0be57d6acfb2f0f19c17053617311a8d03c9ce358bdf9cd5c460e4a02b7c", - "state_key_hash": "0xa8e2b5b712aef28f872ac6843b6da4962cf615d96d0a78e3c093b8af1e4d6f78", - "guid_creation_num": "1125899906842628", - "allow_ungated_transfer": true, - "is_deleted": false, - "untransferrable": false - }, - { - "transaction_version": 999929475, - "write_set_change_index": 15, - "object_address": "0x89cee32338902b6f79f9c75c317d32ac061771817c0d5b0802f97ec44ebfc7d4", - "owner_address": "0x234f0be57d6acfb2f0f19c17053617311a8d03c9ce358bdf9cd5c460e4a02b7c", - "state_key_hash": "0xa8e2b5b712aef28f872ac6843b6da4962cf615d96d0a78e3c093b8af1e4d6f78", - "guid_creation_num": "1125899906842628", - "allow_ungated_transfer": true, - "is_deleted": false, - "untransferrable": false - }, - { - "transaction_version": 999929475, - "write_set_change_index": 16, - "object_address": "0x89cee32338902b6f79f9c75c317d32ac061771817c0d5b0802f97ec44ebfc7d4", - "owner_address": "0x234f0be57d6acfb2f0f19c17053617311a8d03c9ce358bdf9cd5c460e4a02b7c", - "state_key_hash": "0xa8e2b5b712aef28f872ac6843b6da4962cf615d96d0a78e3c093b8af1e4d6f78", - "guid_creation_num": "1125899906842628", - "allow_ungated_transfer": true, - "is_deleted": false, - "untransferrable": false - }, - { - "transaction_version": 999929475, - "write_set_change_index": 17, - "object_address": "0x9120a6a57b1463607f27c140b3a8c5542c74a2411d632eb6f25bab0b40a987a4", - "owner_address": "0x234f0be57d6acfb2f0f19c17053617311a8d03c9ce358bdf9cd5c460e4a02b7c", - "state_key_hash": "0x0bd14a9b7d13ae857fcf245cada40b3a25138adc0f351fb44a853aac9b6ee310", - "guid_creation_num": "1125899906842628", - "allow_ungated_transfer": true, - "is_deleted": false, - "untransferrable": false - }, - { - "transaction_version": 999929475, - "write_set_change_index": 18, - "object_address": "0x9120a6a57b1463607f27c140b3a8c5542c74a2411d632eb6f25bab0b40a987a4", - "owner_address": "0x234f0be57d6acfb2f0f19c17053617311a8d03c9ce358bdf9cd5c460e4a02b7c", - "state_key_hash": "0x0bd14a9b7d13ae857fcf245cada40b3a25138adc0f351fb44a853aac9b6ee310", - "guid_creation_num": "1125899906842628", - "allow_ungated_transfer": true, - "is_deleted": false, - "untransferrable": false - }, - { - "transaction_version": 999929475, - "write_set_change_index": 19, - "object_address": "0x9120a6a57b1463607f27c140b3a8c5542c74a2411d632eb6f25bab0b40a987a4", - "owner_address": "0x234f0be57d6acfb2f0f19c17053617311a8d03c9ce358bdf9cd5c460e4a02b7c", - "state_key_hash": "0x0bd14a9b7d13ae857fcf245cada40b3a25138adc0f351fb44a853aac9b6ee310", - "guid_creation_num": "1125899906842628", - "allow_ungated_transfer": true, - "is_deleted": false, - "untransferrable": false - }, - { - "transaction_version": 999929475, - "write_set_change_index": 20, - "object_address": "0x97325d3a5abbfe422b8dece076302efd20c0a2dc5c2a5b7954ba8cc203d2f08e", - "owner_address": "0x234f0be57d6acfb2f0f19c17053617311a8d03c9ce358bdf9cd5c460e4a02b7c", - "state_key_hash": "0x12a6c8807f671b00f10528bfbbdfc29a424729e52fd8ecc55a1f2c5776bf22e5", - "guid_creation_num": "1125899906842628", - "allow_ungated_transfer": true, - "is_deleted": false, - "untransferrable": false - }, - { - "transaction_version": 999929475, - "write_set_change_index": 21, - "object_address": "0x97325d3a5abbfe422b8dece076302efd20c0a2dc5c2a5b7954ba8cc203d2f08e", - "owner_address": "0x234f0be57d6acfb2f0f19c17053617311a8d03c9ce358bdf9cd5c460e4a02b7c", - "state_key_hash": "0x12a6c8807f671b00f10528bfbbdfc29a424729e52fd8ecc55a1f2c5776bf22e5", - "guid_creation_num": "1125899906842628", - "allow_ungated_transfer": true, - "is_deleted": false, - "untransferrable": false - }, - { - "transaction_version": 999929475, - "write_set_change_index": 22, - "object_address": "0x97325d3a5abbfe422b8dece076302efd20c0a2dc5c2a5b7954ba8cc203d2f08e", - "owner_address": "0x234f0be57d6acfb2f0f19c17053617311a8d03c9ce358bdf9cd5c460e4a02b7c", - "state_key_hash": "0x12a6c8807f671b00f10528bfbbdfc29a424729e52fd8ecc55a1f2c5776bf22e5", - "guid_creation_num": "1125899906842628", - "allow_ungated_transfer": true, - "is_deleted": false, - "untransferrable": false - }, - { - "transaction_version": 999929475, - "write_set_change_index": 26, - "object_address": "0xedc2704f2cef417a06d1756a04a16a9fa6faaed13af469be9cdfcac5a21a8e2e", - "owner_address": "0x3b38735644d0be8ac37ebd84a1e42fa5c2487495ef8782f6c694b1a147f82426", - "state_key_hash": "0x63c7ef7bb692edfffe5379bbd393b4f87c4cd05c8fd9f97f55370445cf13797f", - "guid_creation_num": "1125899906842625", - "allow_ungated_transfer": true, - "is_deleted": false, - "untransferrable": false - }, - { - "transaction_version": 999929475, - "write_set_change_index": 27, - "object_address": "0xedc2704f2cef417a06d1756a04a16a9fa6faaed13af469be9cdfcac5a21a8e2e", - "owner_address": "0x3b38735644d0be8ac37ebd84a1e42fa5c2487495ef8782f6c694b1a147f82426", - "state_key_hash": "0x63c7ef7bb692edfffe5379bbd393b4f87c4cd05c8fd9f97f55370445cf13797f", - "guid_creation_num": "1125899906842625", - "allow_ungated_transfer": true, - "is_deleted": false, - "untransferrable": false - }, - { - "transaction_version": 999929475, - "write_set_change_index": 28, - "object_address": "0xedc2704f2cef417a06d1756a04a16a9fa6faaed13af469be9cdfcac5a21a8e2e", - "owner_address": "0x3b38735644d0be8ac37ebd84a1e42fa5c2487495ef8782f6c694b1a147f82426", - "state_key_hash": "0x63c7ef7bb692edfffe5379bbd393b4f87c4cd05c8fd9f97f55370445cf13797f", - "guid_creation_num": "1125899906842625", - "allow_ungated_transfer": true, - "is_deleted": false, - "untransferrable": false - }, - { - "transaction_version": 999929475, - "write_set_change_index": 29, - "object_address": "0xedc2704f2cef417a06d1756a04a16a9fa6faaed13af469be9cdfcac5a21a8e2e", - "owner_address": "0x3b38735644d0be8ac37ebd84a1e42fa5c2487495ef8782f6c694b1a147f82426", - "state_key_hash": "0x63c7ef7bb692edfffe5379bbd393b4f87c4cd05c8fd9f97f55370445cf13797f", - "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_mainnet_txns/objects_processor/999930475/current_objects.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/999930475/current_objects.json deleted file mode 100644 index 155236de7..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/999930475/current_objects.json +++ /dev/null @@ -1,22 +0,0 @@ -[ - { - "object_address": "0x0a79561c62c2eac5f008e13aa4c2e13f67c9bd538ef7d9df54fe9215da0a0bc0", - "owner_address": "0xf31b3dac60ad3ee27399f14984d634ae5d0fd060a5b4ec30b0e4207d60cdc458", - "state_key_hash": "0xe899538195515f9c024582030517823682ad9bffa633c870aa30a7315e7b0745", - "allow_ungated_transfer": false, - "last_guid_creation_num": "1125899906842626", - "last_transaction_version": 999930475, - "is_deleted": false, - "untransferrable": true - }, - { - "object_address": "0x175d46f34304375e44870e953b5f4d34fb5b3f6dbf47a9ecc7fdfc7ee3b3e1c9", - "owner_address": "0xf31b3dac60ad3ee27399f14984d634ae5d0fd060a5b4ec30b0e4207d60cdc458", - "state_key_hash": "0xfcd38e968125fdf9431d81e680626e780be5ba9bbbdcb8b2ea549e55f0eab292", - "allow_ungated_transfer": true, - "last_guid_creation_num": "1125899906842626", - "last_transaction_version": 999930475, - "is_deleted": false, - "untransferrable": false - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/999930475/objects.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/999930475/objects.json deleted file mode 100644 index 0bedd0cc4..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/999930475/objects.json +++ /dev/null @@ -1,112 +0,0 @@ -[ - { - "transaction_version": 999930475, - "write_set_change_index": 0, - "object_address": "0x0a79561c62c2eac5f008e13aa4c2e13f67c9bd538ef7d9df54fe9215da0a0bc0", - "owner_address": "0xf31b3dac60ad3ee27399f14984d634ae5d0fd060a5b4ec30b0e4207d60cdc458", - "state_key_hash": "0xe899538195515f9c024582030517823682ad9bffa633c870aa30a7315e7b0745", - "guid_creation_num": "1125899906842626", - "allow_ungated_transfer": false, - "is_deleted": false, - "untransferrable": true - }, - { - "transaction_version": 999930475, - "write_set_change_index": 1, - "object_address": "0x0a79561c62c2eac5f008e13aa4c2e13f67c9bd538ef7d9df54fe9215da0a0bc0", - "owner_address": "0xf31b3dac60ad3ee27399f14984d634ae5d0fd060a5b4ec30b0e4207d60cdc458", - "state_key_hash": "0xe899538195515f9c024582030517823682ad9bffa633c870aa30a7315e7b0745", - "guid_creation_num": "1125899906842626", - "allow_ungated_transfer": false, - "is_deleted": false, - "untransferrable": true - }, - { - "transaction_version": 999930475, - "write_set_change_index": 2, - "object_address": "0x0a79561c62c2eac5f008e13aa4c2e13f67c9bd538ef7d9df54fe9215da0a0bc0", - "owner_address": "0xf31b3dac60ad3ee27399f14984d634ae5d0fd060a5b4ec30b0e4207d60cdc458", - "state_key_hash": "0xe899538195515f9c024582030517823682ad9bffa633c870aa30a7315e7b0745", - "guid_creation_num": "1125899906842626", - "allow_ungated_transfer": false, - "is_deleted": false, - "untransferrable": true - }, - { - "transaction_version": 999930475, - "write_set_change_index": 3, - "object_address": "0x0a79561c62c2eac5f008e13aa4c2e13f67c9bd538ef7d9df54fe9215da0a0bc0", - "owner_address": "0xf31b3dac60ad3ee27399f14984d634ae5d0fd060a5b4ec30b0e4207d60cdc458", - "state_key_hash": "0xe899538195515f9c024582030517823682ad9bffa633c870aa30a7315e7b0745", - "guid_creation_num": "1125899906842626", - "allow_ungated_transfer": false, - "is_deleted": false, - "untransferrable": true - }, - { - "transaction_version": 999930475, - "write_set_change_index": 4, - "object_address": "0x0a79561c62c2eac5f008e13aa4c2e13f67c9bd538ef7d9df54fe9215da0a0bc0", - "owner_address": "0xf31b3dac60ad3ee27399f14984d634ae5d0fd060a5b4ec30b0e4207d60cdc458", - "state_key_hash": "0xe899538195515f9c024582030517823682ad9bffa633c870aa30a7315e7b0745", - "guid_creation_num": "1125899906842626", - "allow_ungated_transfer": false, - "is_deleted": false, - "untransferrable": true - }, - { - "transaction_version": 999930475, - "write_set_change_index": 5, - "object_address": "0x175d46f34304375e44870e953b5f4d34fb5b3f6dbf47a9ecc7fdfc7ee3b3e1c9", - "owner_address": "0xf31b3dac60ad3ee27399f14984d634ae5d0fd060a5b4ec30b0e4207d60cdc458", - "state_key_hash": "0xfcd38e968125fdf9431d81e680626e780be5ba9bbbdcb8b2ea549e55f0eab292", - "guid_creation_num": "1125899906842626", - "allow_ungated_transfer": true, - "is_deleted": false, - "untransferrable": false - }, - { - "transaction_version": 999930475, - "write_set_change_index": 6, - "object_address": "0x175d46f34304375e44870e953b5f4d34fb5b3f6dbf47a9ecc7fdfc7ee3b3e1c9", - "owner_address": "0xf31b3dac60ad3ee27399f14984d634ae5d0fd060a5b4ec30b0e4207d60cdc458", - "state_key_hash": "0xfcd38e968125fdf9431d81e680626e780be5ba9bbbdcb8b2ea549e55f0eab292", - "guid_creation_num": "1125899906842626", - "allow_ungated_transfer": true, - "is_deleted": false, - "untransferrable": false - }, - { - "transaction_version": 999930475, - "write_set_change_index": 7, - "object_address": "0x175d46f34304375e44870e953b5f4d34fb5b3f6dbf47a9ecc7fdfc7ee3b3e1c9", - "owner_address": "0xf31b3dac60ad3ee27399f14984d634ae5d0fd060a5b4ec30b0e4207d60cdc458", - "state_key_hash": "0xfcd38e968125fdf9431d81e680626e780be5ba9bbbdcb8b2ea549e55f0eab292", - "guid_creation_num": "1125899906842626", - "allow_ungated_transfer": true, - "is_deleted": false, - "untransferrable": false - }, - { - "transaction_version": 999930475, - "write_set_change_index": 8, - "object_address": "0x175d46f34304375e44870e953b5f4d34fb5b3f6dbf47a9ecc7fdfc7ee3b3e1c9", - "owner_address": "0xf31b3dac60ad3ee27399f14984d634ae5d0fd060a5b4ec30b0e4207d60cdc458", - "state_key_hash": "0xfcd38e968125fdf9431d81e680626e780be5ba9bbbdcb8b2ea549e55f0eab292", - "guid_creation_num": "1125899906842626", - "allow_ungated_transfer": true, - "is_deleted": false, - "untransferrable": false - }, - { - "transaction_version": 999930475, - "write_set_change_index": 9, - "object_address": "0x175d46f34304375e44870e953b5f4d34fb5b3f6dbf47a9ecc7fdfc7ee3b3e1c9", - "owner_address": "0xf31b3dac60ad3ee27399f14984d634ae5d0fd060a5b4ec30b0e4207d60cdc458", - "state_key_hash": "0xfcd38e968125fdf9431d81e680626e780be5ba9bbbdcb8b2ea549e55f0eab292", - "guid_creation_num": "1125899906842626", - "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_mainnet_txns/stake_processor/1080786089/current_delegated_staking_pool_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/1080786089/current_delegated_staking_pool_balances.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/1080786089/current_delegated_staking_pool_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/1080786089/current_delegated_voter.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/1080786089/current_delegated_voter.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/1080786089/current_delegated_voter.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/1080786089/current_delegator_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/1080786089/current_delegator_balances.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/1080786089/current_delegator_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/1080786089/current_staking_pool_voter.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/1080786089/current_staking_pool_voter.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/1080786089/current_staking_pool_voter.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/1080786089/delegated_staking_activities.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/1080786089/delegated_staking_activities.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/1080786089/delegated_staking_activities.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/1080786089/delegated_staking_pool_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/1080786089/delegated_staking_pool_balances.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/1080786089/delegated_staking_pool_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/1080786089/delegated_staking_pools.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/1080786089/delegated_staking_pools.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/1080786089/delegated_staking_pools.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/1080786089/delegator_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/1080786089/delegator_balances.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/1080786089/delegator_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/1080786089/proposal_votes.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/1080786089/proposal_votes.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/1080786089/proposal_votes.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/145959468/current_delegated_staking_pool_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/145959468/current_delegated_staking_pool_balances.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/145959468/current_delegated_staking_pool_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/145959468/current_delegated_voter.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/145959468/current_delegated_voter.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/145959468/current_delegated_voter.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/145959468/current_delegator_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/145959468/current_delegator_balances.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/145959468/current_delegator_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/145959468/current_staking_pool_voter.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/145959468/current_staking_pool_voter.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/145959468/current_staking_pool_voter.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/145959468/delegated_staking_activities.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/145959468/delegated_staking_activities.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/145959468/delegated_staking_activities.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/145959468/delegated_staking_pool_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/145959468/delegated_staking_pool_balances.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/145959468/delegated_staking_pool_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/145959468/delegated_staking_pools.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/145959468/delegated_staking_pools.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/145959468/delegated_staking_pools.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/145959468/delegator_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/145959468/delegator_balances.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/145959468/delegator_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/145959468/proposal_votes.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/145959468/proposal_votes.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/145959468/proposal_votes.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/155112189/current_delegated_staking_pool_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/155112189/current_delegated_staking_pool_balances.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/155112189/current_delegated_staking_pool_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/155112189/current_delegated_voter.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/155112189/current_delegated_voter.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/155112189/current_delegated_voter.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/155112189/current_delegator_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/155112189/current_delegator_balances.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/155112189/current_delegator_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/155112189/current_staking_pool_voter.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/155112189/current_staking_pool_voter.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/155112189/current_staking_pool_voter.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/155112189/delegated_staking_activities.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/155112189/delegated_staking_activities.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/155112189/delegated_staking_activities.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/155112189/delegated_staking_pool_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/155112189/delegated_staking_pool_balances.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/155112189/delegated_staking_pool_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/155112189/delegated_staking_pools.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/155112189/delegated_staking_pools.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/155112189/delegated_staking_pools.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/155112189/delegator_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/155112189/delegator_balances.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/155112189/delegator_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/155112189/proposal_votes.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/155112189/proposal_votes.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/155112189/proposal_votes.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/1845035942/current_delegated_staking_pool_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/1845035942/current_delegated_staking_pool_balances.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/1845035942/current_delegated_staking_pool_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/1845035942/current_delegated_voter.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/1845035942/current_delegated_voter.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/1845035942/current_delegated_voter.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/1845035942/current_delegator_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/1845035942/current_delegator_balances.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/1845035942/current_delegator_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/1845035942/current_staking_pool_voter.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/1845035942/current_staking_pool_voter.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/1845035942/current_staking_pool_voter.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/1845035942/delegated_staking_activities.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/1845035942/delegated_staking_activities.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/1845035942/delegated_staking_activities.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/1845035942/delegated_staking_pool_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/1845035942/delegated_staking_pool_balances.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/1845035942/delegated_staking_pool_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/1845035942/delegated_staking_pools.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/1845035942/delegated_staking_pools.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/1845035942/delegated_staking_pools.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/1845035942/delegator_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/1845035942/delegator_balances.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/1845035942/delegator_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/1845035942/proposal_votes.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/1845035942/proposal_votes.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/1845035942/proposal_votes.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/308783012/current_delegated_staking_pool_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/308783012/current_delegated_voter.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/308783012/current_delegator_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/308783012/current_staking_pool_voter.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/308783012/delegated_staking_activities.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/308783012/delegated_staking_pool_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/308783012/delegated_staking_pools.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/308783012/delegator_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/308783012/proposal_votes.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/325355235/current_delegated_staking_pool_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/325355235/current_delegated_staking_pool_balances.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/325355235/current_delegated_staking_pool_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/325355235/current_delegated_voter.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/325355235/current_delegated_voter.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/325355235/current_delegated_voter.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/325355235/current_delegator_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/325355235/current_delegator_balances.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/325355235/current_delegator_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/325355235/current_staking_pool_voter.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/325355235/current_staking_pool_voter.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/325355235/current_staking_pool_voter.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/325355235/delegated_staking_activities.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/325355235/delegated_staking_activities.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/325355235/delegated_staking_activities.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/325355235/delegated_staking_pool_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/325355235/delegated_staking_pool_balances.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/325355235/delegated_staking_pool_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/325355235/delegated_staking_pools.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/325355235/delegated_staking_pools.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/325355235/delegated_staking_pools.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/325355235/delegator_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/325355235/delegator_balances.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/325355235/delegator_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/325355235/proposal_votes.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/325355235/proposal_votes.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/325355235/proposal_votes.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/453498957/current_delegated_staking_pool_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/453498957/current_delegated_staking_pool_balances.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/453498957/current_delegated_staking_pool_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/453498957/current_delegated_voter.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/453498957/current_delegated_voter.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/453498957/current_delegated_voter.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/453498957/current_delegator_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/453498957/current_delegator_balances.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/453498957/current_delegator_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/453498957/current_staking_pool_voter.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/453498957/current_staking_pool_voter.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/453498957/current_staking_pool_voter.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/453498957/delegated_staking_activities.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/453498957/delegated_staking_activities.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/453498957/delegated_staking_activities.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/453498957/delegated_staking_pool_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/453498957/delegated_staking_pool_balances.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/453498957/delegated_staking_pool_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/453498957/delegated_staking_pools.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/453498957/delegated_staking_pools.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/453498957/delegated_staking_pools.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/453498957/delegator_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/453498957/delegator_balances.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/453498957/delegator_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/453498957/proposal_votes.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/453498957/proposal_votes.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/453498957/proposal_votes.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/508365567/current_delegated_staking_pool_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/508365567/current_delegated_staking_pool_balances.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/508365567/current_delegated_staking_pool_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/508365567/current_delegated_voter.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/508365567/current_delegated_voter.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/508365567/current_delegated_voter.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/508365567/current_delegator_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/508365567/current_delegator_balances.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/508365567/current_delegator_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/508365567/current_staking_pool_voter.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/508365567/current_staking_pool_voter.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/508365567/current_staking_pool_voter.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/508365567/delegated_staking_activities.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/508365567/delegated_staking_activities.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/508365567/delegated_staking_activities.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/508365567/delegated_staking_pool_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/508365567/delegated_staking_pool_balances.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/508365567/delegated_staking_pool_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/508365567/delegated_staking_pools.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/508365567/delegated_staking_pools.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/508365567/delegated_staking_pools.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/508365567/delegator_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/508365567/delegator_balances.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/508365567/delegator_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/508365567/proposal_votes.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/508365567/proposal_votes.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/508365567/proposal_votes.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/513424821/current_delegated_staking_pool_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/513424821/current_delegated_staking_pool_balances.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/513424821/current_delegated_staking_pool_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/513424821/current_delegated_voter.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/513424821/current_delegated_voter.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/513424821/current_delegated_voter.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/513424821/current_delegator_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/513424821/current_delegator_balances.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/513424821/current_delegator_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/513424821/current_staking_pool_voter.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/513424821/current_staking_pool_voter.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/513424821/current_staking_pool_voter.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/513424821/delegated_staking_activities.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/513424821/delegated_staking_activities.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/513424821/delegated_staking_activities.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/513424821/delegated_staking_pool_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/513424821/delegated_staking_pool_balances.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/513424821/delegated_staking_pool_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/513424821/delegated_staking_pools.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/513424821/delegated_staking_pools.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/513424821/delegated_staking_pools.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/513424821/delegator_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/513424821/delegator_balances.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/513424821/delegator_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/513424821/proposal_votes.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/513424821/proposal_votes.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/513424821/proposal_votes.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/537250181/current_delegated_staking_pool_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/537250181/current_delegated_staking_pool_balances.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/537250181/current_delegated_staking_pool_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/537250181/current_delegated_voter.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/537250181/current_delegated_voter.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/537250181/current_delegated_voter.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/537250181/current_delegator_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/537250181/current_delegator_balances.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/537250181/current_delegator_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/537250181/current_staking_pool_voter.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/537250181/current_staking_pool_voter.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/537250181/current_staking_pool_voter.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/537250181/delegated_staking_activities.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/537250181/delegated_staking_activities.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/537250181/delegated_staking_activities.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/537250181/delegated_staking_pool_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/537250181/delegated_staking_pool_balances.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/537250181/delegated_staking_pool_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/537250181/delegated_staking_pools.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/537250181/delegated_staking_pools.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/537250181/delegated_staking_pools.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/537250181/delegator_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/537250181/delegator_balances.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/537250181/delegator_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/537250181/proposal_votes.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/537250181/proposal_votes.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/537250181/proposal_votes.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/578366445/current_delegated_staking_pool_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/578366445/current_delegated_staking_pool_balances.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/578366445/current_delegated_staking_pool_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/578366445/current_delegated_voter.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/578366445/current_delegated_voter.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/578366445/current_delegated_voter.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/578366445/current_delegator_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/578366445/current_delegator_balances.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/578366445/current_delegator_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/578366445/current_staking_pool_voter.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/578366445/current_staking_pool_voter.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/578366445/current_staking_pool_voter.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/578366445/delegated_staking_activities.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/578366445/delegated_staking_activities.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/578366445/delegated_staking_activities.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/578366445/delegated_staking_pool_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/578366445/delegated_staking_pool_balances.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/578366445/delegated_staking_pool_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/578366445/delegated_staking_pools.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/578366445/delegated_staking_pools.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/578366445/delegated_staking_pools.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/578366445/delegator_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/578366445/delegator_balances.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/578366445/delegator_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/578366445/proposal_votes.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/578366445/proposal_votes.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/578366445/proposal_votes.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/602320562/current_delegated_staking_pool_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/602320562/current_delegated_staking_pool_balances.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/602320562/current_delegated_staking_pool_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/602320562/current_delegated_voter.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/602320562/current_delegated_voter.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/602320562/current_delegated_voter.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/602320562/current_delegator_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/602320562/current_delegator_balances.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/602320562/current_delegator_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/602320562/current_staking_pool_voter.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/602320562/current_staking_pool_voter.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/602320562/current_staking_pool_voter.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/602320562/delegated_staking_activities.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/602320562/delegated_staking_activities.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/602320562/delegated_staking_activities.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/602320562/delegated_staking_pool_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/602320562/delegated_staking_pool_balances.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/602320562/delegated_staking_pool_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/602320562/delegated_staking_pools.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/602320562/delegated_staking_pools.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/602320562/delegated_staking_pools.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/602320562/delegator_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/602320562/delegator_balances.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/602320562/delegator_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/602320562/proposal_votes.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/602320562/proposal_votes.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/602320562/proposal_votes.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/967255533/current_delegated_staking_pool_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/967255533/current_delegated_staking_pool_balances.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/967255533/current_delegated_staking_pool_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/967255533/current_delegated_voter.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/967255533/current_delegated_voter.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/967255533/current_delegated_voter.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/967255533/current_delegator_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/967255533/current_delegator_balances.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/967255533/current_delegator_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/967255533/current_staking_pool_voter.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/967255533/current_staking_pool_voter.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/967255533/current_staking_pool_voter.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/967255533/delegated_staking_activities.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/967255533/delegated_staking_activities.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/967255533/delegated_staking_activities.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/967255533/delegated_staking_pool_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/967255533/delegated_staking_pool_balances.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/967255533/delegated_staking_pool_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/967255533/delegated_staking_pools.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/967255533/delegated_staking_pools.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/967255533/delegated_staking_pools.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/967255533/delegator_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/967255533/delegator_balances.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/967255533/delegator_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/967255533/proposal_votes.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/967255533/proposal_votes.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/967255533/proposal_votes.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/999929475/current_delegated_staking_pool_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/999929475/current_delegated_staking_pool_balances.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/999929475/current_delegated_staking_pool_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/999929475/current_delegated_voter.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/999929475/current_delegated_voter.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/999929475/current_delegated_voter.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/999929475/current_delegator_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/999929475/current_delegator_balances.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/999929475/current_delegator_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/999929475/current_staking_pool_voter.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/999929475/current_staking_pool_voter.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/999929475/current_staking_pool_voter.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/999929475/delegated_staking_activities.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/999929475/delegated_staking_activities.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/999929475/delegated_staking_activities.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/999929475/delegated_staking_pool_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/999929475/delegated_staking_pool_balances.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/999929475/delegated_staking_pool_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/999929475/delegated_staking_pools.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/999929475/delegated_staking_pools.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/999929475/delegated_staking_pools.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/999929475/delegator_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/999929475/delegator_balances.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/999929475/delegator_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/999929475/proposal_votes.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/999929475/proposal_votes.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/999929475/proposal_votes.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/999930475/current_delegated_staking_pool_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/999930475/current_delegated_staking_pool_balances.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/999930475/current_delegated_staking_pool_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/999930475/current_delegated_voter.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/999930475/current_delegated_voter.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/999930475/current_delegated_voter.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/999930475/current_delegator_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/999930475/current_delegator_balances.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/999930475/current_delegator_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/999930475/current_staking_pool_voter.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/999930475/current_staking_pool_voter.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/999930475/current_staking_pool_voter.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/999930475/delegated_staking_activities.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/999930475/delegated_staking_activities.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/999930475/delegated_staking_activities.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/999930475/delegated_staking_pool_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/999930475/delegated_staking_pool_balances.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/999930475/delegated_staking_pool_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/999930475/delegated_staking_pools.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/999930475/delegated_staking_pools.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/999930475/delegated_staking_pools.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/999930475/delegator_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/999930475/delegator_balances.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/999930475/delegator_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/999930475/proposal_votes.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/999930475/proposal_votes.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/999930475/proposal_votes.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/1080786089/collections_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/1080786089/collections_v2.json deleted file mode 100644 index ca74acd91..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/1080786089/collections_v2.json +++ /dev/null @@ -1,20 +0,0 @@ -[ - { - "transaction_version": 1080786089, - "write_set_change_index": 1, - "collection_id": "0x21d71e37dd165ee34e44086bed0832d9b30941e58f0b50beee8b5772e51ae2e8", - "creator_address": "0x09d518b9b84f327eafc5f6632200ea224a818a935ffd6be5d78ada250bbc44a6", - "collection_name": "SuperV Sidekick Capsules", - "description": "The Sidekick Capsules Collection for Supervillain: Idle RPG. Consuming a capsule yields a random Sidekick, which can be used in Supervillain: Idle RPG.", - "uri": "https://public.vir.supervlabs.io/virweb/nft/capsules/collection.png", - "current_supply": "20029", - "max_supply": null, - "total_minted_v2": "103227", - "mutable_description": null, - "mutable_uri": null, - "table_handle_v1": null, - "token_standard": "v2", - "transaction_timestamp": "2024-08-07T09:56:34.211969", - "collection_properties": null - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/1080786089/current_collections_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/1080786089/current_collections_v2.json deleted file mode 100644 index b71ad6968..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/1080786089/current_collections_v2.json +++ /dev/null @@ -1,19 +0,0 @@ -[ - { - "collection_id": "0x21d71e37dd165ee34e44086bed0832d9b30941e58f0b50beee8b5772e51ae2e8", - "creator_address": "0x09d518b9b84f327eafc5f6632200ea224a818a935ffd6be5d78ada250bbc44a6", - "collection_name": "SuperV Sidekick Capsules", - "description": "The Sidekick Capsules Collection for Supervillain: Idle RPG. Consuming a capsule yields a random Sidekick, which can be used in Supervillain: Idle RPG.", - "uri": "https://public.vir.supervlabs.io/virweb/nft/capsules/collection.png", - "current_supply": "20029", - "max_supply": null, - "total_minted_v2": "103227", - "mutable_description": null, - "mutable_uri": null, - "table_handle_v1": null, - "token_standard": "v2", - "last_transaction_version": 1080786089, - "last_transaction_timestamp": "2024-08-07T09:56:34.211969", - "collection_properties": null - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/1080786089/current_token_datas_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/1080786089/current_token_datas_v2.json deleted file mode 100644 index 899ca4035..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/1080786089/current_token_datas_v2.json +++ /dev/null @@ -1,19 +0,0 @@ -[ - { - "token_data_id": "0xf90eabf85b23988baf34872795c9cdd4ad777126d572e6befaa519b0effc2db6", - "collection_id": "0x21d71e37dd165ee34e44086bed0832d9b30941e58f0b50beee8b5772e51ae2e8", - "token_name": "", - "maximum": null, - "supply": null, - "largest_property_version_v1": null, - "token_uri": "", - "description": "", - "token_properties": null, - "token_standard": "v2", - "is_fungible_v2": false, - "last_transaction_version": 1080786089, - "last_transaction_timestamp": "2024-08-07T09:56:34.211969", - "is_deleted_v2": true, - "decimals": 0 - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/1080786089/current_token_ownerships_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/1080786089/current_token_ownerships_v2.json deleted file mode 100644 index 484bea339..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/1080786089/current_token_ownerships_v2.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "token_data_id": "0xf90eabf85b23988baf34872795c9cdd4ad777126d572e6befaa519b0effc2db6", - "property_version_v1": "0", - "owner_address": "0x7e387de2b7e8a29914dc6712cf745de00c7932adcc5fe2316976e48bdf23bb77", - "storage_id": "0xf90eabf85b23988baf34872795c9cdd4ad777126d572e6befaa519b0effc2db6", - "amount": "0", - "table_type_v1": null, - "token_properties_mutated_v1": null, - "is_soulbound_v2": true, - "token_standard": "v2", - "is_fungible_v2": false, - "last_transaction_version": 1080786089, - "last_transaction_timestamp": "2024-08-07T09:56:34.211969", - "non_transferrable_by_owner": false - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/1080786089/current_token_v2_metadata.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/1080786089/current_token_v2_metadata.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/1080786089/current_token_v2_metadata.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/1080786089/token_activities_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/1080786089/token_activities_v2.json deleted file mode 100644 index 3e742b48f..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/1080786089/token_activities_v2.json +++ /dev/null @@ -1,19 +0,0 @@ -[ - { - "transaction_version": 1080786089, - "event_index": 0, - "event_account_address": "0x21d71e37dd165ee34e44086bed0832d9b30941e58f0b50beee8b5772e51ae2e8", - "token_data_id": "0xf90eabf85b23988baf34872795c9cdd4ad777126d572e6befaa519b0effc2db6", - "property_version_v1": "0", - "type_": "0x4::collection::BurnEvent", - "from_address": "0x7e387de2b7e8a29914dc6712cf745de00c7932adcc5fe2316976e48bdf23bb77", - "to_address": null, - "token_amount": "1", - "before_value": null, - "after_value": null, - "entry_function_id_str": "0x9d518b9b84f327eafc5f6632200ea224a818a935ffd6be5d78ada250bbc44a6::sidekick_capsule::delete", - "token_standard": "v2", - "is_fungible_v2": null, - "transaction_timestamp": "2024-08-07T09:56:34.211969" - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/1080786089/token_datas_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/1080786089/token_datas_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/1080786089/token_datas_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/1080786089/token_ownerships_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/1080786089/token_ownerships_v2.json deleted file mode 100644 index c56d80e61..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/1080786089/token_ownerships_v2.json +++ /dev/null @@ -1,18 +0,0 @@ -[ - { - "transaction_version": 1080786089, - "write_set_change_index": 9, - "token_data_id": "0xf90eabf85b23988baf34872795c9cdd4ad777126d572e6befaa519b0effc2db6", - "property_version_v1": "0", - "owner_address": "0x7e387de2b7e8a29914dc6712cf745de00c7932adcc5fe2316976e48bdf23bb77", - "storage_id": "0xf90eabf85b23988baf34872795c9cdd4ad777126d572e6befaa519b0effc2db6", - "amount": "0", - "table_type_v1": null, - "token_properties_mutated_v1": null, - "is_soulbound_v2": true, - "token_standard": "v2", - "is_fungible_v2": false, - "transaction_timestamp": "2024-08-07T09:56:34.211969", - "non_transferrable_by_owner": false - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/145959468/collections_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/145959468/collections_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/145959468/collections_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/145959468/current_collections_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/145959468/current_collections_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/145959468/current_collections_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/145959468/current_token_datas_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/145959468/current_token_datas_v2.json deleted file mode 100644 index 57500cd43..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/145959468/current_token_datas_v2.json +++ /dev/null @@ -1,19 +0,0 @@ -[ - { - "token_data_id": "0x9228cfc074cf073bf0687e558ba8cdce6f8c311269774a856d7fc87ac3c70141", - "collection_id": "0x139e21974cb4ee185b95708bebd571d77cec25e51df5ebd242712ed09bda8ca4", - "token_name": "", - "maximum": null, - "supply": null, - "largest_property_version_v1": null, - "token_uri": "https://arweave.net/Nx1YbpdKDS98x_JE0iuaNSAnwZ1rcf2r4MMvbjz_8uA", - "description": "", - "token_properties": {}, - "token_standard": "v2", - "is_fungible_v2": false, - "last_transaction_version": 145959468, - "last_transaction_timestamp": "2023-05-22T20:59:44.834006", - "is_deleted_v2": false, - "decimals": 0 - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/145959468/current_token_ownerships_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/145959468/current_token_ownerships_v2.json deleted file mode 100644 index b02bfd227..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/145959468/current_token_ownerships_v2.json +++ /dev/null @@ -1,32 +0,0 @@ -[ - { - "token_data_id": "0x9228cfc074cf073bf0687e558ba8cdce6f8c311269774a856d7fc87ac3c70141", - "property_version_v1": "0", - "owner_address": "0x0000000000000000000000000000000000000000000000000000000000000000", - "storage_id": "0x9228cfc074cf073bf0687e558ba8cdce6f8c311269774a856d7fc87ac3c70141", - "amount": "1", - "table_type_v1": null, - "token_properties_mutated_v1": null, - "is_soulbound_v2": false, - "token_standard": "v2", - "is_fungible_v2": null, - "last_transaction_version": 145959468, - "last_transaction_timestamp": "2023-05-22T20:59:44.834006", - "non_transferrable_by_owner": false - }, - { - "token_data_id": "0x9228cfc074cf073bf0687e558ba8cdce6f8c311269774a856d7fc87ac3c70141", - "property_version_v1": "0", - "owner_address": "0x239589c5cfb0cc96f76fa59165a7cbb6ef99ad50d0acc34cf3a2585d861511be", - "storage_id": "0x9228cfc074cf073bf0687e558ba8cdce6f8c311269774a856d7fc87ac3c70141", - "amount": "0", - "table_type_v1": null, - "token_properties_mutated_v1": null, - "is_soulbound_v2": false, - "token_standard": "v2", - "is_fungible_v2": null, - "last_transaction_version": 145959468, - "last_transaction_timestamp": "2023-05-22T20:59:44.834006", - "non_transferrable_by_owner": false - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/145959468/current_token_v2_metadata.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/145959468/current_token_v2_metadata.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/145959468/current_token_v2_metadata.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/145959468/token_activities_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/145959468/token_activities_v2.json deleted file mode 100644 index b3a3e3b2b..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/145959468/token_activities_v2.json +++ /dev/null @@ -1,70 +0,0 @@ -[ - { - "transaction_version": 145959468, - "event_index": 0, - "event_account_address": "0x9228cfc074cf073bf0687e558ba8cdce6f8c311269774a856d7fc87ac3c70141", - "token_data_id": "0x9228cfc074cf073bf0687e558ba8cdce6f8c311269774a856d7fc87ac3c70141", - "property_version_v1": "0", - "type_": "0x4::token::MutationEvent", - "from_address": "0x0000000000000000000000000000000000000000000000000000000000000000", - "to_address": null, - "token_amount": "0", - "before_value": "Undefined", - "after_value": "", - "entry_function_id_str": null, - "token_standard": "v2", - "is_fungible_v2": null, - "transaction_timestamp": "2023-05-22T20:59:44.834006" - }, - { - "transaction_version": 145959468, - "event_index": 1, - "event_account_address": "0x9228cfc074cf073bf0687e558ba8cdce6f8c311269774a856d7fc87ac3c70141", - "token_data_id": "0x9228cfc074cf073bf0687e558ba8cdce6f8c311269774a856d7fc87ac3c70141", - "property_version_v1": "0", - "type_": "0x4::token::MutationEvent", - "from_address": "0x0000000000000000000000000000000000000000000000000000000000000000", - "to_address": null, - "token_amount": "0", - "before_value": "Abby", - "after_value": "", - "entry_function_id_str": null, - "token_standard": "v2", - "is_fungible_v2": null, - "transaction_timestamp": "2023-05-22T20:59:44.834006" - }, - { - "transaction_version": 145959468, - "event_index": 2, - "event_account_address": "0x9228cfc074cf073bf0687e558ba8cdce6f8c311269774a856d7fc87ac3c70141", - "token_data_id": "0x9228cfc074cf073bf0687e558ba8cdce6f8c311269774a856d7fc87ac3c70141", - "property_version_v1": "0", - "type_": "0x4::token::MutationEvent", - "from_address": "0x0000000000000000000000000000000000000000000000000000000000000000", - "to_address": null, - "token_amount": "0", - "before_value": "https://slack-files.com/T032LMSJ0T0-F058JALVABC-32bc77fbd0", - "after_value": "https://arweave.net/Nx1YbpdKDS98x_JE0iuaNSAnwZ1rcf2r4MMvbjz_8uA", - "entry_function_id_str": null, - "token_standard": "v2", - "is_fungible_v2": null, - "transaction_timestamp": "2023-05-22T20:59:44.834006" - }, - { - "transaction_version": 145959468, - "event_index": 3, - "event_account_address": "0x9228cfc074cf073bf0687e558ba8cdce6f8c311269774a856d7fc87ac3c70141", - "token_data_id": "0x9228cfc074cf073bf0687e558ba8cdce6f8c311269774a856d7fc87ac3c70141", - "property_version_v1": "0", - "type_": "0x1::object::TransferEvent", - "from_address": "0x239589c5cfb0cc96f76fa59165a7cbb6ef99ad50d0acc34cf3a2585d861511be", - "to_address": "0x0000000000000000000000000000000000000000000000000000000000000000", - "token_amount": "1", - "before_value": null, - "after_value": null, - "entry_function_id_str": null, - "token_standard": "v2", - "is_fungible_v2": null, - "transaction_timestamp": "2023-05-22T20:59:44.834006" - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/145959468/token_datas_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/145959468/token_datas_v2.json deleted file mode 100644 index 8be05a0e8..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/145959468/token_datas_v2.json +++ /dev/null @@ -1,20 +0,0 @@ -[ - { - "transaction_version": 145959468, - "write_set_change_index": 5, - "token_data_id": "0x9228cfc074cf073bf0687e558ba8cdce6f8c311269774a856d7fc87ac3c70141", - "collection_id": "0x139e21974cb4ee185b95708bebd571d77cec25e51df5ebd242712ed09bda8ca4", - "token_name": "", - "maximum": null, - "supply": null, - "largest_property_version_v1": null, - "token_uri": "https://arweave.net/Nx1YbpdKDS98x_JE0iuaNSAnwZ1rcf2r4MMvbjz_8uA", - "token_properties": {}, - "description": "", - "token_standard": "v2", - "is_fungible_v2": false, - "transaction_timestamp": "2023-05-22T20:59:44.834006", - "is_deleted_v2": null, - "decimals": 0 - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/145959468/token_ownerships_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/145959468/token_ownerships_v2.json deleted file mode 100644 index 37d29734c..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/145959468/token_ownerships_v2.json +++ /dev/null @@ -1,34 +0,0 @@ -[ - { - "transaction_version": 145959468, - "write_set_change_index": -3, - "token_data_id": "0x9228cfc074cf073bf0687e558ba8cdce6f8c311269774a856d7fc87ac3c70141", - "property_version_v1": "0", - "owner_address": "0x239589c5cfb0cc96f76fa59165a7cbb6ef99ad50d0acc34cf3a2585d861511be", - "storage_id": "0x9228cfc074cf073bf0687e558ba8cdce6f8c311269774a856d7fc87ac3c70141", - "amount": "0", - "table_type_v1": null, - "token_properties_mutated_v1": null, - "is_soulbound_v2": false, - "token_standard": "v2", - "is_fungible_v2": null, - "transaction_timestamp": "2023-05-22T20:59:44.834006", - "non_transferrable_by_owner": false - }, - { - "transaction_version": 145959468, - "write_set_change_index": 5, - "token_data_id": "0x9228cfc074cf073bf0687e558ba8cdce6f8c311269774a856d7fc87ac3c70141", - "property_version_v1": "0", - "owner_address": "0x0000000000000000000000000000000000000000000000000000000000000000", - "storage_id": "0x9228cfc074cf073bf0687e558ba8cdce6f8c311269774a856d7fc87ac3c70141", - "amount": "1", - "table_type_v1": null, - "token_properties_mutated_v1": null, - "is_soulbound_v2": false, - "token_standard": "v2", - "is_fungible_v2": null, - "transaction_timestamp": "2023-05-22T20:59:44.834006", - "non_transferrable_by_owner": false - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/155112189/collections_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/155112189/collections_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/155112189/collections_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/155112189/current_collections_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/155112189/current_collections_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/155112189/current_collections_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/155112189/current_token_datas_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/155112189/current_token_datas_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/155112189/current_token_datas_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/155112189/current_token_ownerships_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/155112189/current_token_ownerships_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/155112189/current_token_ownerships_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/155112189/current_token_v2_metadata.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/155112189/current_token_v2_metadata.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/155112189/current_token_v2_metadata.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/155112189/token_activities_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/155112189/token_activities_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/155112189/token_activities_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/155112189/token_datas_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/155112189/token_datas_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/155112189/token_datas_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/155112189/token_ownerships_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/155112189/token_ownerships_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/155112189/token_ownerships_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/1845035942/collections_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/1845035942/collections_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/1845035942/collections_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/1845035942/current_collections_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/1845035942/current_collections_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/1845035942/current_collections_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/1845035942/current_token_datas_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/1845035942/current_token_datas_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/1845035942/current_token_datas_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/1845035942/current_token_ownerships_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/1845035942/current_token_ownerships_v2.json deleted file mode 100644 index 76130c9f5..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/1845035942/current_token_ownerships_v2.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "token_data_id": "0xca02b5619c4c0bf13691a324bd421eb7a718f1d80ba70fe2fd909a83cae100ed", - "property_version_v1": "0", - "owner_address": "0xd9701b178ea81161e998ff2a545654d8eefe6f54035ab931bc02eef03fd1645f", - "storage_id": "0xe5f482394040569082220b42ee87f8a626bbaa81f3aebd004322b7d81a75382f", - "amount": "1", - "table_type_v1": "0x3::token::TokenStore", - "token_properties_mutated_v1": {}, - "is_soulbound_v2": null, - "token_standard": "v1", - "is_fungible_v2": null, - "last_transaction_version": 1845035942, - "last_transaction_timestamp": "2024-10-26T18:31:00.902365", - "non_transferrable_by_owner": null - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/1845035942/current_token_v2_metadata.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/1845035942/current_token_v2_metadata.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/1845035942/current_token_v2_metadata.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/1845035942/token_activities_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/1845035942/token_activities_v2.json deleted file mode 100644 index db5bb5c05..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/1845035942/token_activities_v2.json +++ /dev/null @@ -1,70 +0,0 @@ -[ - { - "transaction_version": 1845035942, - "event_index": 0, - "event_account_address": "0x128b657b70be52e3f5a7e998d4ca7d1bca886394c5ccf24036d2171368599f21", - "token_data_id": "0xca02b5619c4c0bf13691a324bd421eb7a718f1d80ba70fe2fd909a83cae100ed", - "property_version_v1": "0", - "type_": "0x3::token::MintTokenEvent", - "from_address": "0x128b657b70be52e3f5a7e998d4ca7d1bca886394c5ccf24036d2171368599f21", - "to_address": null, - "token_amount": "1", - "before_value": null, - "after_value": null, - "entry_function_id_str": "0x128b657b70be52e3f5a7e998d4ca7d1bca886394c5ccf24036d2171368599f21::LyncCards::mint_nft", - "token_standard": "v1", - "is_fungible_v2": null, - "transaction_timestamp": "2024-10-26T18:31:00.902365" - }, - { - "transaction_version": 1845035942, - "event_index": 1, - "event_account_address": "0x128b657b70be52e3f5a7e998d4ca7d1bca886394c5ccf24036d2171368599f21", - "token_data_id": "0xca02b5619c4c0bf13691a324bd421eb7a718f1d80ba70fe2fd909a83cae100ed", - "property_version_v1": "0", - "type_": "0x3::token::DepositEvent", - "from_address": null, - "to_address": "0x128b657b70be52e3f5a7e998d4ca7d1bca886394c5ccf24036d2171368599f21", - "token_amount": "1", - "before_value": null, - "after_value": null, - "entry_function_id_str": "0x128b657b70be52e3f5a7e998d4ca7d1bca886394c5ccf24036d2171368599f21::LyncCards::mint_nft", - "token_standard": "v1", - "is_fungible_v2": null, - "transaction_timestamp": "2024-10-26T18:31:00.902365" - }, - { - "transaction_version": 1845035942, - "event_index": 2, - "event_account_address": "0x128b657b70be52e3f5a7e998d4ca7d1bca886394c5ccf24036d2171368599f21", - "token_data_id": "0xca02b5619c4c0bf13691a324bd421eb7a718f1d80ba70fe2fd909a83cae100ed", - "property_version_v1": "0", - "type_": "0x3::token::WithdrawEvent", - "from_address": "0x128b657b70be52e3f5a7e998d4ca7d1bca886394c5ccf24036d2171368599f21", - "to_address": null, - "token_amount": "1", - "before_value": null, - "after_value": null, - "entry_function_id_str": "0x128b657b70be52e3f5a7e998d4ca7d1bca886394c5ccf24036d2171368599f21::LyncCards::mint_nft", - "token_standard": "v1", - "is_fungible_v2": null, - "transaction_timestamp": "2024-10-26T18:31:00.902365" - }, - { - "transaction_version": 1845035942, - "event_index": 3, - "event_account_address": "0xd9701b178ea81161e998ff2a545654d8eefe6f54035ab931bc02eef03fd1645f", - "token_data_id": "0xca02b5619c4c0bf13691a324bd421eb7a718f1d80ba70fe2fd909a83cae100ed", - "property_version_v1": "0", - "type_": "0x3::token::DepositEvent", - "from_address": null, - "to_address": "0xd9701b178ea81161e998ff2a545654d8eefe6f54035ab931bc02eef03fd1645f", - "token_amount": "1", - "before_value": null, - "after_value": null, - "entry_function_id_str": "0x128b657b70be52e3f5a7e998d4ca7d1bca886394c5ccf24036d2171368599f21::LyncCards::mint_nft", - "token_standard": "v1", - "is_fungible_v2": null, - "transaction_timestamp": "2024-10-26T18:31:00.902365" - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/1845035942/token_datas_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/1845035942/token_datas_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/1845035942/token_datas_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/1845035942/token_ownerships_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/1845035942/token_ownerships_v2.json deleted file mode 100644 index 3ca61c088..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/1845035942/token_ownerships_v2.json +++ /dev/null @@ -1,18 +0,0 @@ -[ - { - "transaction_version": 1845035942, - "write_set_change_index": 6, - "token_data_id": "0xca02b5619c4c0bf13691a324bd421eb7a718f1d80ba70fe2fd909a83cae100ed", - "property_version_v1": "0", - "owner_address": "0xd9701b178ea81161e998ff2a545654d8eefe6f54035ab931bc02eef03fd1645f", - "storage_id": "0xe5f482394040569082220b42ee87f8a626bbaa81f3aebd004322b7d81a75382f", - "amount": "1", - "table_type_v1": "0x3::token::TokenStore", - "token_properties_mutated_v1": {}, - "is_soulbound_v2": null, - "token_standard": "v1", - "is_fungible_v2": null, - "transaction_timestamp": "2024-10-26T18:31:00.902365", - "non_transferrable_by_owner": null - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/308783012/collections_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/308783012/collections_v2.json deleted file mode 100644 index 92186e1f9..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/308783012/collections_v2.json +++ /dev/null @@ -1,20 +0,0 @@ -[ - { - "transaction_version": 308783012, - "write_set_change_index": 6, - "collection_id": "0xc791df699189a8fdfb4faaacf834f036d37670d6fd1ef06d3efb2d14c081512a", - "creator_address": "0x7efbc33cf69ad534412eab0ccd0f5fbec7793bdebf08a3620afe8e5f89ef13a0", - "collection_name": "Lollipop", - "description": "Lollipop NFT Gift", - "uri": "https://chingari.io", - "current_supply": "3723914", - "max_supply": null, - "total_minted_v2": "3723914", - "mutable_description": null, - "mutable_uri": null, - "table_handle_v1": null, - "token_standard": "v2", - "transaction_timestamp": "2023-10-24T09:08:03.606880", - "collection_properties": null - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/308783012/current_collections_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/308783012/current_collections_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/308783012/current_collections_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/308783012/current_token_datas_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/308783012/current_token_datas_v2.json deleted file mode 100644 index 6e1f419bf..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/308783012/current_token_datas_v2.json +++ /dev/null @@ -1,19 +0,0 @@ -[ - { - "token_data_id": "0x6fd8ee875fb55e03b1f9643d3f229f0b077a71cfe7ffc8ba7e09ff4392950e5c", - "collection_id": "0xc791df699189a8fdfb4faaacf834f036d37670d6fd1ef06d3efb2d14c081512a", - "token_name": "Lollipop", - "maximum": null, - "supply": null, - "largest_property_version_v1": null, - "token_uri": "https://ipfs.io/ipfs/bafybeib5uyxz5ycvakfjjq3zj2qknb2go4fgnqo67snrj6aecjlg4cmwrq/Lollipop.json", - "description": "Lollipop NFT Gift", - "token_properties": null, - "token_standard": "v2", - "is_fungible_v2": false, - "last_transaction_version": 308783012, - "last_transaction_timestamp": "2023-10-24T09:08:03.606880", - "is_deleted_v2": false, - "decimals": 0 - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/308783012/current_token_ownerships_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/308783012/current_token_ownerships_v2.json deleted file mode 100644 index df7cb0d9b..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/308783012/current_token_ownerships_v2.json +++ /dev/null @@ -1,32 +0,0 @@ -[ - { - "token_data_id": "0x6fd8ee875fb55e03b1f9643d3f229f0b077a71cfe7ffc8ba7e09ff4392950e5c", - "property_version_v1": "0", - "owner_address": "0x7efbc33cf69ad534412eab0ccd0f5fbec7793bdebf08a3620afe8e5f89ef13a0", - "storage_id": "0x6fd8ee875fb55e03b1f9643d3f229f0b077a71cfe7ffc8ba7e09ff4392950e5c", - "amount": "0", - "table_type_v1": null, - "token_properties_mutated_v1": null, - "is_soulbound_v2": false, - "token_standard": "v2", - "is_fungible_v2": null, - "last_transaction_version": 308783012, - "last_transaction_timestamp": "2023-10-24T09:08:03.606880", - "non_transferrable_by_owner": false - }, - { - "token_data_id": "0x6fd8ee875fb55e03b1f9643d3f229f0b077a71cfe7ffc8ba7e09ff4392950e5c", - "property_version_v1": "0", - "owner_address": "0x9dbbb06745c8f0242199bf5ce60ace04ff3bad41a9c697440009c9689587e694", - "storage_id": "0x6fd8ee875fb55e03b1f9643d3f229f0b077a71cfe7ffc8ba7e09ff4392950e5c", - "amount": "1", - "table_type_v1": null, - "token_properties_mutated_v1": null, - "is_soulbound_v2": false, - "token_standard": "v2", - "is_fungible_v2": null, - "last_transaction_version": 308783012, - "last_transaction_timestamp": "2023-10-24T09:08:03.606880", - "non_transferrable_by_owner": false - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/308783012/current_token_v2_metadata.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/308783012/current_token_v2_metadata.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/308783012/current_token_v2_metadata.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0fdaa5eeb..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/308783012/token_activities_v2.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "transaction_version": 308783012, - "event_index": 0, - "event_account_address": "0xc791df699189a8fdfb4faaacf834f036d37670d6fd1ef06d3efb2d14c081512a", - "token_data_id": "0x6fd8ee875fb55e03b1f9643d3f229f0b077a71cfe7ffc8ba7e09ff4392950e5c", - "property_version_v1": "0", - "type_": "0x4::collection::MintEvent", - "from_address": "0x9dbbb06745c8f0242199bf5ce60ace04ff3bad41a9c697440009c9689587e694", - "to_address": null, - "token_amount": "1", - "before_value": null, - "after_value": null, - "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" - }, - { - "transaction_version": 308783012, - "event_index": 1, - "event_account_address": "0x6fd8ee875fb55e03b1f9643d3f229f0b077a71cfe7ffc8ba7e09ff4392950e5c", - "token_data_id": "0x6fd8ee875fb55e03b1f9643d3f229f0b077a71cfe7ffc8ba7e09ff4392950e5c", - "property_version_v1": "0", - "type_": "0x1::object::TransferEvent", - "from_address": "0x7efbc33cf69ad534412eab0ccd0f5fbec7793bdebf08a3620afe8e5f89ef13a0", - "to_address": "0x9dbbb06745c8f0242199bf5ce60ace04ff3bad41a9c697440009c9689587e694", - "token_amount": "1", - "before_value": null, - "after_value": null, - "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" - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/308783012/token_datas_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/308783012/token_datas_v2.json deleted file mode 100644 index e00356592..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/308783012/token_datas_v2.json +++ /dev/null @@ -1,20 +0,0 @@ -[ - { - "transaction_version": 308783012, - "write_set_change_index": 3, - "token_data_id": "0x6fd8ee875fb55e03b1f9643d3f229f0b077a71cfe7ffc8ba7e09ff4392950e5c", - "collection_id": "0xc791df699189a8fdfb4faaacf834f036d37670d6fd1ef06d3efb2d14c081512a", - "token_name": "Lollipop", - "maximum": null, - "supply": null, - "largest_property_version_v1": null, - "token_uri": "https://ipfs.io/ipfs/bafybeib5uyxz5ycvakfjjq3zj2qknb2go4fgnqo67snrj6aecjlg4cmwrq/Lollipop.json", - "token_properties": null, - "description": "Lollipop NFT Gift", - "token_standard": "v2", - "is_fungible_v2": false, - "transaction_timestamp": "2023-10-24T09:08:03.606880", - "is_deleted_v2": null, - "decimals": 0 - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/308783012/token_ownerships_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/308783012/token_ownerships_v2.json deleted file mode 100644 index 8323ffce1..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/308783012/token_ownerships_v2.json +++ /dev/null @@ -1,34 +0,0 @@ -[ - { - "transaction_version": 308783012, - "write_set_change_index": -1, - "token_data_id": "0x6fd8ee875fb55e03b1f9643d3f229f0b077a71cfe7ffc8ba7e09ff4392950e5c", - "property_version_v1": "0", - "owner_address": "0x7efbc33cf69ad534412eab0ccd0f5fbec7793bdebf08a3620afe8e5f89ef13a0", - "storage_id": "0x6fd8ee875fb55e03b1f9643d3f229f0b077a71cfe7ffc8ba7e09ff4392950e5c", - "amount": "0", - "table_type_v1": null, - "token_properties_mutated_v1": null, - "is_soulbound_v2": false, - "token_standard": "v2", - "is_fungible_v2": null, - "transaction_timestamp": "2023-10-24T09:08:03.606880", - "non_transferrable_by_owner": false - }, - { - "transaction_version": 308783012, - "write_set_change_index": 3, - "token_data_id": "0x6fd8ee875fb55e03b1f9643d3f229f0b077a71cfe7ffc8ba7e09ff4392950e5c", - "property_version_v1": "0", - "owner_address": "0x9dbbb06745c8f0242199bf5ce60ace04ff3bad41a9c697440009c9689587e694", - "storage_id": "0x6fd8ee875fb55e03b1f9643d3f229f0b077a71cfe7ffc8ba7e09ff4392950e5c", - "amount": "1", - "table_type_v1": null, - "token_properties_mutated_v1": null, - "is_soulbound_v2": false, - "token_standard": "v2", - "is_fungible_v2": null, - "transaction_timestamp": "2023-10-24T09:08:03.606880", - "non_transferrable_by_owner": false - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/325355235/collections_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/325355235/collections_v2.json deleted file mode 100644 index e49331160..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/325355235/collections_v2.json +++ /dev/null @@ -1,20 +0,0 @@ -[ - { - "transaction_version": 325355235, - "write_set_change_index": 2, - "collection_id": "0xc791df699189a8fdfb4faaacf834f036d37670d6fd1ef06d3efb2d14c081512a", - "creator_address": "0x7efbc33cf69ad534412eab0ccd0f5fbec7793bdebf08a3620afe8e5f89ef13a0", - "collection_name": "Lollipop", - "description": "Lollipop NFT Gift", - "uri": "https://chingari.io", - "current_supply": "4392522", - "max_supply": null, - "total_minted_v2": "4392522", - "mutable_description": null, - "mutable_uri": null, - "table_handle_v1": null, - "token_standard": "v2", - "transaction_timestamp": "2023-11-09T23:58:14.442073", - "collection_properties": null - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/325355235/current_collections_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/325355235/current_collections_v2.json deleted file mode 100644 index 7f96641fe..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/325355235/current_collections_v2.json +++ /dev/null @@ -1,19 +0,0 @@ -[ - { - "collection_id": "0xc791df699189a8fdfb4faaacf834f036d37670d6fd1ef06d3efb2d14c081512a", - "creator_address": "0x7efbc33cf69ad534412eab0ccd0f5fbec7793bdebf08a3620afe8e5f89ef13a0", - "collection_name": "Lollipop", - "description": "Lollipop NFT Gift", - "uri": "https://chingari.io", - "current_supply": "4392522", - "max_supply": null, - "total_minted_v2": "4392522", - "mutable_description": null, - "mutable_uri": null, - "table_handle_v1": null, - "token_standard": "v2", - "last_transaction_version": 325355235, - "last_transaction_timestamp": "2023-11-09T23:58:14.442073", - "collection_properties": null - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/325355235/current_token_datas_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/325355235/current_token_datas_v2.json deleted file mode 100644 index 715a0fb11..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/325355235/current_token_datas_v2.json +++ /dev/null @@ -1,19 +0,0 @@ -[ - { - "token_data_id": "0xff4ab259fd6773861c2046d1f89b5ff944d0229dd9c1f6952a3b6fd2d2885dfa", - "collection_id": "0xc791df699189a8fdfb4faaacf834f036d37670d6fd1ef06d3efb2d14c081512a", - "token_name": "Lollipop", - "maximum": null, - "supply": null, - "largest_property_version_v1": null, - "token_uri": "https://ipfs.io/ipfs/bafybeib5uyxz5ycvakfjjq3zj2qknb2go4fgnqo67snrj6aecjlg4cmwrq/Lollipop.json", - "description": "Lollipop NFT Gift", - "token_properties": null, - "token_standard": "v2", - "is_fungible_v2": false, - "last_transaction_version": 325355235, - "last_transaction_timestamp": "2023-11-09T23:58:14.442073", - "is_deleted_v2": false, - "decimals": 0 - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/325355235/current_token_ownerships_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/325355235/current_token_ownerships_v2.json deleted file mode 100644 index f0d56f704..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/325355235/current_token_ownerships_v2.json +++ /dev/null @@ -1,32 +0,0 @@ -[ - { - "token_data_id": "0xff4ab259fd6773861c2046d1f89b5ff944d0229dd9c1f6952a3b6fd2d2885dfa", - "property_version_v1": "0", - "owner_address": "0x7efbc33cf69ad534412eab0ccd0f5fbec7793bdebf08a3620afe8e5f89ef13a0", - "storage_id": "0xff4ab259fd6773861c2046d1f89b5ff944d0229dd9c1f6952a3b6fd2d2885dfa", - "amount": "0", - "table_type_v1": null, - "token_properties_mutated_v1": null, - "is_soulbound_v2": false, - "token_standard": "v2", - "is_fungible_v2": null, - "last_transaction_version": 325355235, - "last_transaction_timestamp": "2023-11-09T23:58:14.442073", - "non_transferrable_by_owner": false - }, - { - "token_data_id": "0xff4ab259fd6773861c2046d1f89b5ff944d0229dd9c1f6952a3b6fd2d2885dfa", - "property_version_v1": "0", - "owner_address": "0xa281f5b2d909bfadf70099f6b9c24369e12c49f9035437526c53cd3e75d6f08f", - "storage_id": "0xff4ab259fd6773861c2046d1f89b5ff944d0229dd9c1f6952a3b6fd2d2885dfa", - "amount": "1", - "table_type_v1": null, - "token_properties_mutated_v1": null, - "is_soulbound_v2": false, - "token_standard": "v2", - "is_fungible_v2": null, - "last_transaction_version": 325355235, - "last_transaction_timestamp": "2023-11-09T23:58:14.442073", - "non_transferrable_by_owner": false - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/325355235/current_token_v2_metadata.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/325355235/current_token_v2_metadata.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/325355235/current_token_v2_metadata.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/325355235/token_activities_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/325355235/token_activities_v2.json deleted file mode 100644 index 32420251f..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/325355235/token_activities_v2.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "transaction_version": 325355235, - "event_index": 0, - "event_account_address": "0xc791df699189a8fdfb4faaacf834f036d37670d6fd1ef06d3efb2d14c081512a", - "token_data_id": "0xff4ab259fd6773861c2046d1f89b5ff944d0229dd9c1f6952a3b6fd2d2885dfa", - "property_version_v1": "0", - "type_": "0x4::collection::MintEvent", - "from_address": "0xa281f5b2d909bfadf70099f6b9c24369e12c49f9035437526c53cd3e75d6f08f", - "to_address": null, - "token_amount": "1", - "before_value": null, - "after_value": null, - "entry_function_id_str": "0x8d2d7bcde13b2513617df3f98cdd5d0e4b9f714c6308b9204fe18ad900d92609::mint::resource_mint_token_memo", - "token_standard": "v2", - "is_fungible_v2": null, - "transaction_timestamp": "2023-11-09T23:58:14.442073" - }, - { - "transaction_version": 325355235, - "event_index": 1, - "event_account_address": "0xff4ab259fd6773861c2046d1f89b5ff944d0229dd9c1f6952a3b6fd2d2885dfa", - "token_data_id": "0xff4ab259fd6773861c2046d1f89b5ff944d0229dd9c1f6952a3b6fd2d2885dfa", - "property_version_v1": "0", - "type_": "0x1::object::TransferEvent", - "from_address": "0x7efbc33cf69ad534412eab0ccd0f5fbec7793bdebf08a3620afe8e5f89ef13a0", - "to_address": "0xa281f5b2d909bfadf70099f6b9c24369e12c49f9035437526c53cd3e75d6f08f", - "token_amount": "1", - "before_value": null, - "after_value": null, - "entry_function_id_str": "0x8d2d7bcde13b2513617df3f98cdd5d0e4b9f714c6308b9204fe18ad900d92609::mint::resource_mint_token_memo", - "token_standard": "v2", - "is_fungible_v2": null, - "transaction_timestamp": "2023-11-09T23:58:14.442073" - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/325355235/token_datas_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/325355235/token_datas_v2.json deleted file mode 100644 index 4b870f54f..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/325355235/token_datas_v2.json +++ /dev/null @@ -1,20 +0,0 @@ -[ - { - "transaction_version": 325355235, - "write_set_change_index": 7, - "token_data_id": "0xff4ab259fd6773861c2046d1f89b5ff944d0229dd9c1f6952a3b6fd2d2885dfa", - "collection_id": "0xc791df699189a8fdfb4faaacf834f036d37670d6fd1ef06d3efb2d14c081512a", - "token_name": "Lollipop", - "maximum": null, - "supply": null, - "largest_property_version_v1": null, - "token_uri": "https://ipfs.io/ipfs/bafybeib5uyxz5ycvakfjjq3zj2qknb2go4fgnqo67snrj6aecjlg4cmwrq/Lollipop.json", - "token_properties": null, - "description": "Lollipop NFT Gift", - "token_standard": "v2", - "is_fungible_v2": false, - "transaction_timestamp": "2023-11-09T23:58:14.442073", - "is_deleted_v2": null, - "decimals": 0 - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/325355235/token_ownerships_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/325355235/token_ownerships_v2.json deleted file mode 100644 index 541390af9..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/325355235/token_ownerships_v2.json +++ /dev/null @@ -1,34 +0,0 @@ -[ - { - "transaction_version": 325355235, - "write_set_change_index": -1, - "token_data_id": "0xff4ab259fd6773861c2046d1f89b5ff944d0229dd9c1f6952a3b6fd2d2885dfa", - "property_version_v1": "0", - "owner_address": "0x7efbc33cf69ad534412eab0ccd0f5fbec7793bdebf08a3620afe8e5f89ef13a0", - "storage_id": "0xff4ab259fd6773861c2046d1f89b5ff944d0229dd9c1f6952a3b6fd2d2885dfa", - "amount": "0", - "table_type_v1": null, - "token_properties_mutated_v1": null, - "is_soulbound_v2": false, - "token_standard": "v2", - "is_fungible_v2": null, - "transaction_timestamp": "2023-11-09T23:58:14.442073", - "non_transferrable_by_owner": false - }, - { - "transaction_version": 325355235, - "write_set_change_index": 7, - "token_data_id": "0xff4ab259fd6773861c2046d1f89b5ff944d0229dd9c1f6952a3b6fd2d2885dfa", - "property_version_v1": "0", - "owner_address": "0xa281f5b2d909bfadf70099f6b9c24369e12c49f9035437526c53cd3e75d6f08f", - "storage_id": "0xff4ab259fd6773861c2046d1f89b5ff944d0229dd9c1f6952a3b6fd2d2885dfa", - "amount": "1", - "table_type_v1": null, - "token_properties_mutated_v1": null, - "is_soulbound_v2": false, - "token_standard": "v2", - "is_fungible_v2": null, - "transaction_timestamp": "2023-11-09T23:58:14.442073", - "non_transferrable_by_owner": false - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/453498957/collections_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/453498957/collections_v2.json deleted file mode 100644 index 833d0f39a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/453498957/collections_v2.json +++ /dev/null @@ -1,20 +0,0 @@ -[ - { - "transaction_version": 453498957, - "write_set_change_index": 12, - "collection_id": "0xbd0ac9755fe762df448ee99e356ebe262c3ec535c2c7d0b835da3709cb22df97", - "creator_address": "0x40fc28526d4c093fac5cd2bb43e7adf41a48dbbe5edf7a1dd57a3a89c627d17a", - "collection_name": "NFT Name", - "description": "NFT Description", - "uri": "https://media.tenor.com/BzQbr22cbwIAAAAi/1inch-1inch-exchange.gif", - "current_supply": "2", - "max_supply": "1000000000", - "total_minted_v2": "2", - "mutable_description": false, - "mutable_uri": false, - "table_handle_v1": null, - "token_standard": "v2", - "transaction_timestamp": "2024-02-16T00:04:25.089448", - "collection_properties": null - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/453498957/current_collections_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/453498957/current_collections_v2.json deleted file mode 100644 index bee1a506a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/453498957/current_collections_v2.json +++ /dev/null @@ -1,19 +0,0 @@ -[ - { - "collection_id": "0xbd0ac9755fe762df448ee99e356ebe262c3ec535c2c7d0b835da3709cb22df97", - "creator_address": "0x40fc28526d4c093fac5cd2bb43e7adf41a48dbbe5edf7a1dd57a3a89c627d17a", - "collection_name": "NFT Name", - "description": "NFT Description", - "uri": "https://media.tenor.com/BzQbr22cbwIAAAAi/1inch-1inch-exchange.gif", - "current_supply": "2", - "max_supply": "1000000000", - "total_minted_v2": "2", - "mutable_description": false, - "mutable_uri": false, - "table_handle_v1": null, - "token_standard": "v2", - "last_transaction_version": 453498957, - "last_transaction_timestamp": "2024-02-16T00:04:25.089448", - "collection_properties": null - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/453498957/current_token_datas_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/453498957/current_token_datas_v2.json deleted file mode 100644 index 313961bff..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/453498957/current_token_datas_v2.json +++ /dev/null @@ -1,36 +0,0 @@ -[ - { - "token_data_id": "0x2a8822cbd320abf7e363a7197626161eaf8b8de51f1da239e84255336b1e8923", - "collection_id": "0xbd0ac9755fe762df448ee99e356ebe262c3ec535c2c7d0b835da3709cb22df97", - "token_name": "NFT Description", - "maximum": null, - "supply": null, - "largest_property_version_v1": null, - "token_uri": "https://media.tenor.com/BzQbr22cbwIAAAAi/1inch-1inch-exchange.gif", - "description": "NFT Description", - "token_properties": {}, - "token_standard": "v2", - "is_fungible_v2": false, - "last_transaction_version": 453498957, - "last_transaction_timestamp": "2024-02-16T00:04:25.089448", - "is_deleted_v2": false, - "decimals": 0 - }, - { - "token_data_id": "0x41428e9025efe2c2a97de15b25d753ebb19264e8ecee56cb3d9bdd62a19d7a51", - "collection_id": "0xbd0ac9755fe762df448ee99e356ebe262c3ec535c2c7d0b835da3709cb22df97", - "token_name": "NFT Description", - "maximum": null, - "supply": null, - "largest_property_version_v1": null, - "token_uri": "https://media.tenor.com/BzQbr22cbwIAAAAi/1inch-1inch-exchange.gif", - "description": "NFT Description", - "token_properties": {}, - "token_standard": "v2", - "is_fungible_v2": false, - "last_transaction_version": 453498957, - "last_transaction_timestamp": "2024-02-16T00:04:25.089448", - "is_deleted_v2": false, - "decimals": 0 - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/453498957/current_token_ownerships_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/453498957/current_token_ownerships_v2.json deleted file mode 100644 index 9ff6a21ff..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/453498957/current_token_ownerships_v2.json +++ /dev/null @@ -1,62 +0,0 @@ -[ - { - "token_data_id": "0x2a8822cbd320abf7e363a7197626161eaf8b8de51f1da239e84255336b1e8923", - "property_version_v1": "0", - "owner_address": "0x40fc28526d4c093fac5cd2bb43e7adf41a48dbbe5edf7a1dd57a3a89c627d17a", - "storage_id": "0x2a8822cbd320abf7e363a7197626161eaf8b8de51f1da239e84255336b1e8923", - "amount": "0", - "table_type_v1": null, - "token_properties_mutated_v1": null, - "is_soulbound_v2": false, - "token_standard": "v2", - "is_fungible_v2": null, - "last_transaction_version": 453498957, - "last_transaction_timestamp": "2024-02-16T00:04:25.089448", - "non_transferrable_by_owner": false - }, - { - "token_data_id": "0x2a8822cbd320abf7e363a7197626161eaf8b8de51f1da239e84255336b1e8923", - "property_version_v1": "0", - "owner_address": "0xf4202dd85700667e130a89af97634266d012a83a7945b2d1640f848cd4556e20", - "storage_id": "0x2a8822cbd320abf7e363a7197626161eaf8b8de51f1da239e84255336b1e8923", - "amount": "1", - "table_type_v1": null, - "token_properties_mutated_v1": null, - "is_soulbound_v2": false, - "token_standard": "v2", - "is_fungible_v2": null, - "last_transaction_version": 453498957, - "last_transaction_timestamp": "2024-02-16T00:04:25.089448", - "non_transferrable_by_owner": false - }, - { - "token_data_id": "0x41428e9025efe2c2a97de15b25d753ebb19264e8ecee56cb3d9bdd62a19d7a51", - "property_version_v1": "0", - "owner_address": "0x1746a006565e5b25c20539d429402e652eef906731d00622cda6e3425c1efa73", - "storage_id": "0x41428e9025efe2c2a97de15b25d753ebb19264e8ecee56cb3d9bdd62a19d7a51", - "amount": "1", - "table_type_v1": null, - "token_properties_mutated_v1": null, - "is_soulbound_v2": false, - "token_standard": "v2", - "is_fungible_v2": null, - "last_transaction_version": 453498957, - "last_transaction_timestamp": "2024-02-16T00:04:25.089448", - "non_transferrable_by_owner": false - }, - { - "token_data_id": "0x41428e9025efe2c2a97de15b25d753ebb19264e8ecee56cb3d9bdd62a19d7a51", - "property_version_v1": "0", - "owner_address": "0x40fc28526d4c093fac5cd2bb43e7adf41a48dbbe5edf7a1dd57a3a89c627d17a", - "storage_id": "0x41428e9025efe2c2a97de15b25d753ebb19264e8ecee56cb3d9bdd62a19d7a51", - "amount": "0", - "table_type_v1": null, - "token_properties_mutated_v1": null, - "is_soulbound_v2": false, - "token_standard": "v2", - "is_fungible_v2": null, - "last_transaction_version": 453498957, - "last_transaction_timestamp": "2024-02-16T00:04:25.089448", - "non_transferrable_by_owner": false - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/453498957/current_token_v2_metadata.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/453498957/current_token_v2_metadata.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/453498957/current_token_v2_metadata.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/453498957/token_activities_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/453498957/token_activities_v2.json deleted file mode 100644 index 52e2284ff..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/453498957/token_activities_v2.json +++ /dev/null @@ -1,70 +0,0 @@ -[ - { - "transaction_version": 453498957, - "event_index": 0, - "event_account_address": "0xbd0ac9755fe762df448ee99e356ebe262c3ec535c2c7d0b835da3709cb22df97", - "token_data_id": "0x2a8822cbd320abf7e363a7197626161eaf8b8de51f1da239e84255336b1e8923", - "property_version_v1": "0", - "type_": "0x4::collection::MintEvent", - "from_address": "0xf4202dd85700667e130a89af97634266d012a83a7945b2d1640f848cd4556e20", - "to_address": null, - "token_amount": "1", - "before_value": null, - "after_value": null, - "entry_function_id_str": "0x40fc28526d4c093fac5cd2bb43e7adf41a48dbbe5edf7a1dd57a3a89c627d17a::test2::mint_nft_batch", - "token_standard": "v2", - "is_fungible_v2": null, - "transaction_timestamp": "2024-02-16T00:04:25.089448" - }, - { - "transaction_version": 453498957, - "event_index": 1, - "event_account_address": "0x2a8822cbd320abf7e363a7197626161eaf8b8de51f1da239e84255336b1e8923", - "token_data_id": "0x2a8822cbd320abf7e363a7197626161eaf8b8de51f1da239e84255336b1e8923", - "property_version_v1": "0", - "type_": "0x1::object::TransferEvent", - "from_address": "0x40fc28526d4c093fac5cd2bb43e7adf41a48dbbe5edf7a1dd57a3a89c627d17a", - "to_address": "0xf4202dd85700667e130a89af97634266d012a83a7945b2d1640f848cd4556e20", - "token_amount": "1", - "before_value": null, - "after_value": null, - "entry_function_id_str": "0x40fc28526d4c093fac5cd2bb43e7adf41a48dbbe5edf7a1dd57a3a89c627d17a::test2::mint_nft_batch", - "token_standard": "v2", - "is_fungible_v2": null, - "transaction_timestamp": "2024-02-16T00:04:25.089448" - }, - { - "transaction_version": 453498957, - "event_index": 2, - "event_account_address": "0xbd0ac9755fe762df448ee99e356ebe262c3ec535c2c7d0b835da3709cb22df97", - "token_data_id": "0x41428e9025efe2c2a97de15b25d753ebb19264e8ecee56cb3d9bdd62a19d7a51", - "property_version_v1": "0", - "type_": "0x4::collection::MintEvent", - "from_address": "0x1746a006565e5b25c20539d429402e652eef906731d00622cda6e3425c1efa73", - "to_address": null, - "token_amount": "1", - "before_value": null, - "after_value": null, - "entry_function_id_str": "0x40fc28526d4c093fac5cd2bb43e7adf41a48dbbe5edf7a1dd57a3a89c627d17a::test2::mint_nft_batch", - "token_standard": "v2", - "is_fungible_v2": null, - "transaction_timestamp": "2024-02-16T00:04:25.089448" - }, - { - "transaction_version": 453498957, - "event_index": 3, - "event_account_address": "0x41428e9025efe2c2a97de15b25d753ebb19264e8ecee56cb3d9bdd62a19d7a51", - "token_data_id": "0x41428e9025efe2c2a97de15b25d753ebb19264e8ecee56cb3d9bdd62a19d7a51", - "property_version_v1": "0", - "type_": "0x1::object::TransferEvent", - "from_address": "0x40fc28526d4c093fac5cd2bb43e7adf41a48dbbe5edf7a1dd57a3a89c627d17a", - "to_address": "0x1746a006565e5b25c20539d429402e652eef906731d00622cda6e3425c1efa73", - "token_amount": "1", - "before_value": null, - "after_value": null, - "entry_function_id_str": "0x40fc28526d4c093fac5cd2bb43e7adf41a48dbbe5edf7a1dd57a3a89c627d17a::test2::mint_nft_batch", - "token_standard": "v2", - "is_fungible_v2": null, - "transaction_timestamp": "2024-02-16T00:04:25.089448" - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/453498957/token_datas_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/453498957/token_datas_v2.json deleted file mode 100644 index 85480340f..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/453498957/token_datas_v2.json +++ /dev/null @@ -1,38 +0,0 @@ -[ - { - "transaction_version": 453498957, - "write_set_change_index": 3, - "token_data_id": "0x2a8822cbd320abf7e363a7197626161eaf8b8de51f1da239e84255336b1e8923", - "collection_id": "0xbd0ac9755fe762df448ee99e356ebe262c3ec535c2c7d0b835da3709cb22df97", - "token_name": "NFT Description", - "maximum": null, - "supply": null, - "largest_property_version_v1": null, - "token_uri": "https://media.tenor.com/BzQbr22cbwIAAAAi/1inch-1inch-exchange.gif", - "token_properties": {}, - "description": "NFT Description", - "token_standard": "v2", - "is_fungible_v2": false, - "transaction_timestamp": "2024-02-16T00:04:25.089448", - "is_deleted_v2": null, - "decimals": 0 - }, - { - "transaction_version": 453498957, - "write_set_change_index": 9, - "token_data_id": "0x41428e9025efe2c2a97de15b25d753ebb19264e8ecee56cb3d9bdd62a19d7a51", - "collection_id": "0xbd0ac9755fe762df448ee99e356ebe262c3ec535c2c7d0b835da3709cb22df97", - "token_name": "NFT Description", - "maximum": null, - "supply": null, - "largest_property_version_v1": null, - "token_uri": "https://media.tenor.com/BzQbr22cbwIAAAAi/1inch-1inch-exchange.gif", - "token_properties": {}, - "description": "NFT Description", - "token_standard": "v2", - "is_fungible_v2": false, - "transaction_timestamp": "2024-02-16T00:04:25.089448", - "is_deleted_v2": null, - "decimals": 0 - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/453498957/token_ownerships_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/453498957/token_ownerships_v2.json deleted file mode 100644 index 4da42fc25..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/453498957/token_ownerships_v2.json +++ /dev/null @@ -1,66 +0,0 @@ -[ - { - "transaction_version": 453498957, - "write_set_change_index": -3, - "token_data_id": "0x41428e9025efe2c2a97de15b25d753ebb19264e8ecee56cb3d9bdd62a19d7a51", - "property_version_v1": "0", - "owner_address": "0x40fc28526d4c093fac5cd2bb43e7adf41a48dbbe5edf7a1dd57a3a89c627d17a", - "storage_id": "0x41428e9025efe2c2a97de15b25d753ebb19264e8ecee56cb3d9bdd62a19d7a51", - "amount": "0", - "table_type_v1": null, - "token_properties_mutated_v1": null, - "is_soulbound_v2": false, - "token_standard": "v2", - "is_fungible_v2": null, - "transaction_timestamp": "2024-02-16T00:04:25.089448", - "non_transferrable_by_owner": false - }, - { - "transaction_version": 453498957, - "write_set_change_index": -1, - "token_data_id": "0x2a8822cbd320abf7e363a7197626161eaf8b8de51f1da239e84255336b1e8923", - "property_version_v1": "0", - "owner_address": "0x40fc28526d4c093fac5cd2bb43e7adf41a48dbbe5edf7a1dd57a3a89c627d17a", - "storage_id": "0x2a8822cbd320abf7e363a7197626161eaf8b8de51f1da239e84255336b1e8923", - "amount": "0", - "table_type_v1": null, - "token_properties_mutated_v1": null, - "is_soulbound_v2": false, - "token_standard": "v2", - "is_fungible_v2": null, - "transaction_timestamp": "2024-02-16T00:04:25.089448", - "non_transferrable_by_owner": false - }, - { - "transaction_version": 453498957, - "write_set_change_index": 3, - "token_data_id": "0x2a8822cbd320abf7e363a7197626161eaf8b8de51f1da239e84255336b1e8923", - "property_version_v1": "0", - "owner_address": "0xf4202dd85700667e130a89af97634266d012a83a7945b2d1640f848cd4556e20", - "storage_id": "0x2a8822cbd320abf7e363a7197626161eaf8b8de51f1da239e84255336b1e8923", - "amount": "1", - "table_type_v1": null, - "token_properties_mutated_v1": null, - "is_soulbound_v2": false, - "token_standard": "v2", - "is_fungible_v2": null, - "transaction_timestamp": "2024-02-16T00:04:25.089448", - "non_transferrable_by_owner": false - }, - { - "transaction_version": 453498957, - "write_set_change_index": 9, - "token_data_id": "0x41428e9025efe2c2a97de15b25d753ebb19264e8ecee56cb3d9bdd62a19d7a51", - "property_version_v1": "0", - "owner_address": "0x1746a006565e5b25c20539d429402e652eef906731d00622cda6e3425c1efa73", - "storage_id": "0x41428e9025efe2c2a97de15b25d753ebb19264e8ecee56cb3d9bdd62a19d7a51", - "amount": "1", - "table_type_v1": null, - "token_properties_mutated_v1": null, - "is_soulbound_v2": false, - "token_standard": "v2", - "is_fungible_v2": null, - "transaction_timestamp": "2024-02-16T00:04:25.089448", - "non_transferrable_by_owner": false - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/508365567/collections_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/508365567/collections_v2.json deleted file mode 100644 index e32b2f67c..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/508365567/collections_v2.json +++ /dev/null @@ -1,20 +0,0 @@ -[ - { - "transaction_version": 508365567, - "write_set_change_index": 3, - "collection_id": "0x30e2f18b1f9c447e7dadd7a05966e721ab6512b81ee977cb053edb86cc1b1d65", - "creator_address": "0x4bf51972879e3b95c4781a5cdcb9e1ee24ef483e7d22f2d903626f126df62bd1", - "collection_name": "Cellana Voting Tokens", - "description": "Cellana Voting Tokens", - "uri": "https://api.cellana.finance/api/v1/ve-nft/uri/", - "current_supply": "127168", - "max_supply": null, - "total_minted_v2": "133445", - "mutable_description": null, - "mutable_uri": null, - "table_handle_v1": null, - "token_standard": "v2", - "transaction_timestamp": "2024-03-19T08:05:56.983680", - "collection_properties": null - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/508365567/current_collections_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/508365567/current_collections_v2.json deleted file mode 100644 index 6176ccd4a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/508365567/current_collections_v2.json +++ /dev/null @@ -1,19 +0,0 @@ -[ - { - "collection_id": "0x30e2f18b1f9c447e7dadd7a05966e721ab6512b81ee977cb053edb86cc1b1d65", - "creator_address": "0x4bf51972879e3b95c4781a5cdcb9e1ee24ef483e7d22f2d903626f126df62bd1", - "collection_name": "Cellana Voting Tokens", - "description": "Cellana Voting Tokens", - "uri": "https://api.cellana.finance/api/v1/ve-nft/uri/", - "current_supply": "127168", - "max_supply": null, - "total_minted_v2": "133445", - "mutable_description": null, - "mutable_uri": null, - "table_handle_v1": null, - "token_standard": "v2", - "last_transaction_version": 508365567, - "last_transaction_timestamp": "2024-03-19T08:05:56.983680", - "collection_properties": null - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/508365567/current_token_datas_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/508365567/current_token_datas_v2.json deleted file mode 100644 index 07a1ed1ce..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/508365567/current_token_datas_v2.json +++ /dev/null @@ -1,19 +0,0 @@ -[ - { - "token_data_id": "0xeaa02d37c4896e95813543a3df80d09863d1a4d91f3f14c02db033f2f7a3f665", - "collection_id": "0x30e2f18b1f9c447e7dadd7a05966e721ab6512b81ee977cb053edb86cc1b1d65", - "token_name": "veCELL", - "maximum": null, - "supply": null, - "largest_property_version_v1": null, - "token_uri": "https://api.cellana.finance/api/v1/ve-nft/uri/@0xeaa02d37c4896e95813543a3df80d09863d1a4d91f3f14c02db033f2f7a3f665", - "description": "NFT representing voting power in Cellana corresponding to $CELL locked up", - "token_properties": null, - "token_standard": "v2", - "is_fungible_v2": false, - "last_transaction_version": 508365567, - "last_transaction_timestamp": "2024-03-19T08:05:56.983680", - "is_deleted_v2": false, - "decimals": 0 - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/508365567/current_token_ownerships_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/508365567/current_token_ownerships_v2.json deleted file mode 100644 index 236f09d2f..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/508365567/current_token_ownerships_v2.json +++ /dev/null @@ -1,32 +0,0 @@ -[ - { - "token_data_id": "0xeaa02d37c4896e95813543a3df80d09863d1a4d91f3f14c02db033f2f7a3f665", - "property_version_v1": "0", - "owner_address": "0x4bf51972879e3b95c4781a5cdcb9e1ee24ef483e7d22f2d903626f126df62bd1", - "storage_id": "0xeaa02d37c4896e95813543a3df80d09863d1a4d91f3f14c02db033f2f7a3f665", - "amount": "0", - "table_type_v1": null, - "token_properties_mutated_v1": null, - "is_soulbound_v2": false, - "token_standard": "v2", - "is_fungible_v2": null, - "last_transaction_version": 508365567, - "last_transaction_timestamp": "2024-03-19T08:05:56.983680", - "non_transferrable_by_owner": false - }, - { - "token_data_id": "0xeaa02d37c4896e95813543a3df80d09863d1a4d91f3f14c02db033f2f7a3f665", - "property_version_v1": "0", - "owner_address": "0xc8af29debf02369958769a77388c84a3040b9ffe9ba1f82c1c9f5c6dcb61030e", - "storage_id": "0xeaa02d37c4896e95813543a3df80d09863d1a4d91f3f14c02db033f2f7a3f665", - "amount": "1", - "table_type_v1": null, - "token_properties_mutated_v1": null, - "is_soulbound_v2": false, - "token_standard": "v2", - "is_fungible_v2": null, - "last_transaction_version": 508365567, - "last_transaction_timestamp": "2024-03-19T08:05:56.983680", - "non_transferrable_by_owner": false - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/508365567/current_token_v2_metadata.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/508365567/current_token_v2_metadata.json deleted file mode 100644 index c1ef7f2a5..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/508365567/current_token_v2_metadata.json +++ /dev/null @@ -1,54 +0,0 @@ -[ - { - "object_address": "0xeaa02d37c4896e95813543a3df80d09863d1a4d91f3f14c02db033f2f7a3f665", - "resource_type": "0x4bf51972879e3b95c4781a5cdcb9e1ee24ef483e7d22f2d903626f126df62bd1::voting_escrow::VeCellanaToken", - "data": { - "end_epoch": "2880", - "snapshots": { - "big_vec": { - "vec": [] - }, - "inline_vec": [ - { - "epoch": "2828", - "end_epoch": "2880", - "locked_amount": "14644184" - } - ], - "bucket_size": { - "vec": [] - }, - "inline_capacity": { - "vec": [] - } - }, - "locked_amount": "14644184", - "next_rebase_epoch": "2828" - }, - "state_key_hash": "0x8ff39c220595e9fcc0bc4c40c6dce4f518e36f8fdbdc9570a33e1942802ba763", - "last_transaction_version": 508365567 - }, - { - "object_address": "0xeaa02d37c4896e95813543a3df80d09863d1a4d91f3f14c02db033f2f7a3f665", - "resource_type": "0x4bf51972879e3b95c4781a5cdcb9e1ee24ef483e7d22f2d903626f126df62bd1::voting_escrow::VeCellanaTokenRefs", - "data": { - "burn_ref": { - "self": { - "vec": [] - }, - "inner": { - "vec": [ - { - "self": "0xeaa02d37c4896e95813543a3df80d09863d1a4d91f3f14c02db033f2f7a3f665" - } - ] - } - }, - "transfer_ref": { - "self": "0xeaa02d37c4896e95813543a3df80d09863d1a4d91f3f14c02db033f2f7a3f665" - } - }, - "state_key_hash": "0x8ff39c220595e9fcc0bc4c40c6dce4f518e36f8fdbdc9570a33e1942802ba763", - "last_transaction_version": 508365567 - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/508365567/token_activities_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/508365567/token_activities_v2.json deleted file mode 100644 index fe5aa9be1..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/508365567/token_activities_v2.json +++ /dev/null @@ -1,53 +0,0 @@ -[ - { - "transaction_version": 508365567, - "event_index": 1, - "event_account_address": "0x30e2f18b1f9c447e7dadd7a05966e721ab6512b81ee977cb053edb86cc1b1d65", - "token_data_id": "0xeaa02d37c4896e95813543a3df80d09863d1a4d91f3f14c02db033f2f7a3f665", - "property_version_v1": "0", - "type_": "0x4::collection::MintEvent", - "from_address": "0xc8af29debf02369958769a77388c84a3040b9ffe9ba1f82c1c9f5c6dcb61030e", - "to_address": null, - "token_amount": "1", - "before_value": null, - "after_value": null, - "entry_function_id_str": "0x4bf51972879e3b95c4781a5cdcb9e1ee24ef483e7d22f2d903626f126df62bd1::voting_escrow::create_lock_entry", - "token_standard": "v2", - "is_fungible_v2": null, - "transaction_timestamp": "2024-03-19T08:05:56.983680" - }, - { - "transaction_version": 508365567, - "event_index": 4, - "event_account_address": "0xeaa02d37c4896e95813543a3df80d09863d1a4d91f3f14c02db033f2f7a3f665", - "token_data_id": "0xeaa02d37c4896e95813543a3df80d09863d1a4d91f3f14c02db033f2f7a3f665", - "property_version_v1": "0", - "type_": "0x1::object::TransferEvent", - "from_address": "0x4bf51972879e3b95c4781a5cdcb9e1ee24ef483e7d22f2d903626f126df62bd1", - "to_address": "0xc8af29debf02369958769a77388c84a3040b9ffe9ba1f82c1c9f5c6dcb61030e", - "token_amount": "1", - "before_value": null, - "after_value": null, - "entry_function_id_str": "0x4bf51972879e3b95c4781a5cdcb9e1ee24ef483e7d22f2d903626f126df62bd1::voting_escrow::create_lock_entry", - "token_standard": "v2", - "is_fungible_v2": null, - "transaction_timestamp": "2024-03-19T08:05:56.983680" - }, - { - "transaction_version": 508365567, - "event_index": 5, - "event_account_address": "0xeaa02d37c4896e95813543a3df80d09863d1a4d91f3f14c02db033f2f7a3f665", - "token_data_id": "0xeaa02d37c4896e95813543a3df80d09863d1a4d91f3f14c02db033f2f7a3f665", - "property_version_v1": "0", - "type_": "0x4::token::MutationEvent", - "from_address": "0xc8af29debf02369958769a77388c84a3040b9ffe9ba1f82c1c9f5c6dcb61030e", - "to_address": null, - "token_amount": "0", - "before_value": "https://api.cellana.finance/api/v1/ve-nft/uri/", - "after_value": "https://api.cellana.finance/api/v1/ve-nft/uri/@0xeaa02d37c4896e95813543a3df80d09863d1a4d91f3f14c02db033f2f7a3f665", - "entry_function_id_str": "0x4bf51972879e3b95c4781a5cdcb9e1ee24ef483e7d22f2d903626f126df62bd1::voting_escrow::create_lock_entry", - "token_standard": "v2", - "is_fungible_v2": null, - "transaction_timestamp": "2024-03-19T08:05:56.983680" - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/508365567/token_datas_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/508365567/token_datas_v2.json deleted file mode 100644 index 163b223af..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/508365567/token_datas_v2.json +++ /dev/null @@ -1,20 +0,0 @@ -[ - { - "transaction_version": 508365567, - "write_set_change_index": 15, - "token_data_id": "0xeaa02d37c4896e95813543a3df80d09863d1a4d91f3f14c02db033f2f7a3f665", - "collection_id": "0x30e2f18b1f9c447e7dadd7a05966e721ab6512b81ee977cb053edb86cc1b1d65", - "token_name": "veCELL", - "maximum": null, - "supply": null, - "largest_property_version_v1": null, - "token_uri": "https://api.cellana.finance/api/v1/ve-nft/uri/@0xeaa02d37c4896e95813543a3df80d09863d1a4d91f3f14c02db033f2f7a3f665", - "token_properties": null, - "description": "NFT representing voting power in Cellana corresponding to $CELL locked up", - "token_standard": "v2", - "is_fungible_v2": false, - "transaction_timestamp": "2024-03-19T08:05:56.983680", - "is_deleted_v2": null, - "decimals": 0 - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/508365567/token_ownerships_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/508365567/token_ownerships_v2.json deleted file mode 100644 index df854452d..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/508365567/token_ownerships_v2.json +++ /dev/null @@ -1,34 +0,0 @@ -[ - { - "transaction_version": 508365567, - "write_set_change_index": -4, - "token_data_id": "0xeaa02d37c4896e95813543a3df80d09863d1a4d91f3f14c02db033f2f7a3f665", - "property_version_v1": "0", - "owner_address": "0x4bf51972879e3b95c4781a5cdcb9e1ee24ef483e7d22f2d903626f126df62bd1", - "storage_id": "0xeaa02d37c4896e95813543a3df80d09863d1a4d91f3f14c02db033f2f7a3f665", - "amount": "0", - "table_type_v1": null, - "token_properties_mutated_v1": null, - "is_soulbound_v2": false, - "token_standard": "v2", - "is_fungible_v2": null, - "transaction_timestamp": "2024-03-19T08:05:56.983680", - "non_transferrable_by_owner": false - }, - { - "transaction_version": 508365567, - "write_set_change_index": 15, - "token_data_id": "0xeaa02d37c4896e95813543a3df80d09863d1a4d91f3f14c02db033f2f7a3f665", - "property_version_v1": "0", - "owner_address": "0xc8af29debf02369958769a77388c84a3040b9ffe9ba1f82c1c9f5c6dcb61030e", - "storage_id": "0xeaa02d37c4896e95813543a3df80d09863d1a4d91f3f14c02db033f2f7a3f665", - "amount": "1", - "table_type_v1": null, - "token_properties_mutated_v1": null, - "is_soulbound_v2": false, - "token_standard": "v2", - "is_fungible_v2": null, - "transaction_timestamp": "2024-03-19T08:05:56.983680", - "non_transferrable_by_owner": false - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/513424821/collections_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/513424821/collections_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/513424821/collections_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/513424821/current_collections_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/513424821/current_collections_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/513424821/current_collections_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/513424821/current_token_datas_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/513424821/current_token_datas_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/513424821/current_token_datas_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/513424821/current_token_ownerships_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/513424821/current_token_ownerships_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/513424821/current_token_ownerships_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/513424821/current_token_v2_metadata.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/513424821/current_token_v2_metadata.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/513424821/current_token_v2_metadata.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/513424821/token_activities_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/513424821/token_activities_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/513424821/token_activities_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/513424821/token_datas_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/513424821/token_datas_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/513424821/token_datas_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/513424821/token_ownerships_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/513424821/token_ownerships_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/513424821/token_ownerships_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/537250181/collections_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/537250181/collections_v2.json deleted file mode 100644 index 93ac99117..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/537250181/collections_v2.json +++ /dev/null @@ -1,20 +0,0 @@ -[ - { - "transaction_version": 537250181, - "write_set_change_index": 2, - "collection_id": "0x2bed7aeca079697ec1700cc48bee658b2331d80996b05e56dfcb39fae22cbb63", - "creator_address": "0xb82a0077ab08cc414bd283aefe62e6dd42311150ed851ccd307d02a0f765bff2", - "collection_name": "STAN EsportsElite Collection V3", - "description": "Welcome to the EsportsElite Collection, where every NFT is a gateway to unparalleled gaming benefits and exclusive experiences. Unleash the full potential of your collection as each NFT comes packed with a multitude of perks, unlocking new levels of excitement and rewards as you ascend from Level 1 to 100. Whether you're a seasoned gamer or a collector seeking the ultimate thrill, the EsportsElite Collection offers an immersive journey through the world of esports, where each NFT upgrade brings you closer to gaming greatness. Join the ranks of the elite and elevate your gaming experience with the EsportsElite Collection.", - "uri": " ", - "current_supply": "30143", - "max_supply": "18446744073709551615", - "total_minted_v2": "30143", - "mutable_description": true, - "mutable_uri": true, - "table_handle_v1": null, - "token_standard": "v2", - "transaction_timestamp": "2024-04-04T22:38:56.926423", - "collection_properties": null - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/537250181/current_collections_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/537250181/current_collections_v2.json deleted file mode 100644 index b70877354..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/537250181/current_collections_v2.json +++ /dev/null @@ -1,19 +0,0 @@ -[ - { - "collection_id": "0x2bed7aeca079697ec1700cc48bee658b2331d80996b05e56dfcb39fae22cbb63", - "creator_address": "0xb82a0077ab08cc414bd283aefe62e6dd42311150ed851ccd307d02a0f765bff2", - "collection_name": "STAN EsportsElite Collection V3", - "description": "Welcome to the EsportsElite Collection, where every NFT is a gateway to unparalleled gaming benefits and exclusive experiences. Unleash the full potential of your collection as each NFT comes packed with a multitude of perks, unlocking new levels of excitement and rewards as you ascend from Level 1 to 100. Whether you're a seasoned gamer or a collector seeking the ultimate thrill, the EsportsElite Collection offers an immersive journey through the world of esports, where each NFT upgrade brings you closer to gaming greatness. Join the ranks of the elite and elevate your gaming experience with the EsportsElite Collection.", - "uri": " ", - "current_supply": "30143", - "max_supply": "18446744073709551615", - "total_minted_v2": "30143", - "mutable_description": true, - "mutable_uri": true, - "table_handle_v1": null, - "token_standard": "v2", - "last_transaction_version": 537250181, - "last_transaction_timestamp": "2024-04-04T22:38:56.926423", - "collection_properties": null - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/537250181/current_token_datas_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/537250181/current_token_datas_v2.json deleted file mode 100644 index 05b94250a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/537250181/current_token_datas_v2.json +++ /dev/null @@ -1,19 +0,0 @@ -[ - { - "token_data_id": "0x88fbd363b60336c664a3114000d723efffa6f745be049e42ca98aa631b018ac9", - "collection_id": "0x2bed7aeca079697ec1700cc48bee658b2331d80996b05e56dfcb39fae22cbb63", - "token_name": "TSG Legend", - "maximum": null, - "supply": null, - "largest_property_version_v1": null, - "token_uri": "https://bafybeierhssqdg7fv64xkkjuvsq4bikj2yfmuxm4dvb6jxb2un4yw37ohi.ipfs.w3s.link/83.webp", - "description": "This is TSG Legend NFT", - "token_properties": {}, - "token_standard": "v2", - "is_fungible_v2": false, - "last_transaction_version": 537250181, - "last_transaction_timestamp": "2024-04-04T22:38:56.926423", - "is_deleted_v2": false, - "decimals": 0 - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/537250181/current_token_ownerships_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/537250181/current_token_ownerships_v2.json deleted file mode 100644 index a7b58ea33..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/537250181/current_token_ownerships_v2.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "token_data_id": "0x88fbd363b60336c664a3114000d723efffa6f745be049e42ca98aa631b018ac9", - "property_version_v1": "0", - "owner_address": "0xb82a0077ab08cc414bd283aefe62e6dd42311150ed851ccd307d02a0f765bff2", - "storage_id": "0x88fbd363b60336c664a3114000d723efffa6f745be049e42ca98aa631b018ac9", - "amount": "1", - "table_type_v1": null, - "token_properties_mutated_v1": null, - "is_soulbound_v2": false, - "token_standard": "v2", - "is_fungible_v2": null, - "last_transaction_version": 537250181, - "last_transaction_timestamp": "2024-04-04T22:38:56.926423", - "non_transferrable_by_owner": false - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/537250181/current_token_v2_metadata.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/537250181/current_token_v2_metadata.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/537250181/current_token_v2_metadata.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/537250181/token_activities_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/537250181/token_activities_v2.json deleted file mode 100644 index eece624cb..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/537250181/token_activities_v2.json +++ /dev/null @@ -1,19 +0,0 @@ -[ - { - "transaction_version": 537250181, - "event_index": 0, - "event_account_address": "0x2bed7aeca079697ec1700cc48bee658b2331d80996b05e56dfcb39fae22cbb63", - "token_data_id": "0x88fbd363b60336c664a3114000d723efffa6f745be049e42ca98aa631b018ac9", - "property_version_v1": "0", - "type_": "0x4::collection::MintEvent", - "from_address": "0xb82a0077ab08cc414bd283aefe62e6dd42311150ed851ccd307d02a0f765bff2", - "to_address": null, - "token_amount": "1", - "before_value": null, - "after_value": null, - "entry_function_id_str": "0x4::aptos_token::mint", - "token_standard": "v2", - "is_fungible_v2": null, - "transaction_timestamp": "2024-04-04T22:38:56.926423" - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/537250181/token_datas_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/537250181/token_datas_v2.json deleted file mode 100644 index c436deea2..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/537250181/token_datas_v2.json +++ /dev/null @@ -1,20 +0,0 @@ -[ - { - "transaction_version": 537250181, - "write_set_change_index": 8, - "token_data_id": "0x88fbd363b60336c664a3114000d723efffa6f745be049e42ca98aa631b018ac9", - "collection_id": "0x2bed7aeca079697ec1700cc48bee658b2331d80996b05e56dfcb39fae22cbb63", - "token_name": "TSG Legend", - "maximum": null, - "supply": null, - "largest_property_version_v1": null, - "token_uri": "https://bafybeierhssqdg7fv64xkkjuvsq4bikj2yfmuxm4dvb6jxb2un4yw37ohi.ipfs.w3s.link/83.webp", - "token_properties": {}, - "description": "This is TSG Legend NFT", - "token_standard": "v2", - "is_fungible_v2": false, - "transaction_timestamp": "2024-04-04T22:38:56.926423", - "is_deleted_v2": null, - "decimals": 0 - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/537250181/token_ownerships_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/537250181/token_ownerships_v2.json deleted file mode 100644 index b615735f5..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/537250181/token_ownerships_v2.json +++ /dev/null @@ -1,18 +0,0 @@ -[ - { - "transaction_version": 537250181, - "write_set_change_index": 8, - "token_data_id": "0x88fbd363b60336c664a3114000d723efffa6f745be049e42ca98aa631b018ac9", - "property_version_v1": "0", - "owner_address": "0xb82a0077ab08cc414bd283aefe62e6dd42311150ed851ccd307d02a0f765bff2", - "storage_id": "0x88fbd363b60336c664a3114000d723efffa6f745be049e42ca98aa631b018ac9", - "amount": "1", - "table_type_v1": null, - "token_properties_mutated_v1": null, - "is_soulbound_v2": false, - "token_standard": "v2", - "is_fungible_v2": null, - "transaction_timestamp": "2024-04-04T22:38:56.926423", - "non_transferrable_by_owner": false - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/578366445/collections_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/578366445/collections_v2.json deleted file mode 100644 index 1cb96c4c5..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/578366445/collections_v2.json +++ /dev/null @@ -1,20 +0,0 @@ -[ - { - "transaction_version": 578366445, - "write_set_change_index": 2, - "collection_id": "0x1ac3cb52493947623cd727e2db9e4cfd828d5f9cd264920d253828276a5e314e", - "creator_address": "0x3fda2b751a0d209e17069ae72ccde256efeaad39e5403ea0e65ef5dcebdf6763", - "collection_name": "Aptos Airdrop", - "description": "Congratulations, your account is eligible to receive airdrop tokens!", - "uri": "https://pwncdn.com/nft/img/collection", - "current_supply": "137694", - "max_supply": "1000000000", - "total_minted_v2": "137696", - "mutable_description": false, - "mutable_uri": false, - "table_handle_v1": null, - "token_standard": "v2", - "transaction_timestamp": "2024-04-30T23:50:44.443590", - "collection_properties": null - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/578366445/current_collections_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/578366445/current_collections_v2.json deleted file mode 100644 index 5757f07a0..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/578366445/current_collections_v2.json +++ /dev/null @@ -1,19 +0,0 @@ -[ - { - "collection_id": "0x1ac3cb52493947623cd727e2db9e4cfd828d5f9cd264920d253828276a5e314e", - "creator_address": "0x3fda2b751a0d209e17069ae72ccde256efeaad39e5403ea0e65ef5dcebdf6763", - "collection_name": "Aptos Airdrop", - "description": "Congratulations, your account is eligible to receive airdrop tokens!", - "uri": "https://pwncdn.com/nft/img/collection", - "current_supply": "137694", - "max_supply": "1000000000", - "total_minted_v2": "137696", - "mutable_description": false, - "mutable_uri": false, - "table_handle_v1": null, - "token_standard": "v2", - "last_transaction_version": 578366445, - "last_transaction_timestamp": "2024-04-30T23:50:44.443590", - "collection_properties": null - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/578366445/current_token_datas_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/578366445/current_token_datas_v2.json deleted file mode 100644 index 4660cde24..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/578366445/current_token_datas_v2.json +++ /dev/null @@ -1,19 +0,0 @@ -[ - { - "token_data_id": "0x57a56bff4472da6c2b28149d192ef0186ff6647bc3c2ba5c28439662fdaa284d", - "collection_id": "0x1ac3cb52493947623cd727e2db9e4cfd828d5f9cd264920d253828276a5e314e", - "token_name": "", - "maximum": null, - "supply": null, - "largest_property_version_v1": null, - "token_uri": "", - "description": "", - "token_properties": null, - "token_standard": "v2", - "is_fungible_v2": false, - "last_transaction_version": 578366445, - "last_transaction_timestamp": "2024-04-30T23:50:44.443590", - "is_deleted_v2": true, - "decimals": 0 - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/578366445/current_token_ownerships_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/578366445/current_token_ownerships_v2.json deleted file mode 100644 index 7e813d221..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/578366445/current_token_ownerships_v2.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "token_data_id": "0x57a56bff4472da6c2b28149d192ef0186ff6647bc3c2ba5c28439662fdaa284d", - "property_version_v1": "0", - "owner_address": "0x3fda2b751a0d209e17069ae72ccde256efeaad39e5403ea0e65ef5dcebdf6763", - "storage_id": "0x57a56bff4472da6c2b28149d192ef0186ff6647bc3c2ba5c28439662fdaa284d", - "amount": "0", - "table_type_v1": null, - "token_properties_mutated_v1": null, - "is_soulbound_v2": null, - "token_standard": "v2", - "is_fungible_v2": null, - "last_transaction_version": 578366445, - "last_transaction_timestamp": "2024-04-30T23:50:44.443590", - "non_transferrable_by_owner": null - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/578366445/current_token_v2_metadata.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/578366445/current_token_v2_metadata.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/578366445/current_token_v2_metadata.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/578366445/token_activities_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/578366445/token_activities_v2.json deleted file mode 100644 index 51d36b593..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/578366445/token_activities_v2.json +++ /dev/null @@ -1,19 +0,0 @@ -[ - { - "transaction_version": 578366445, - "event_index": 0, - "event_account_address": "0x0000000000000000000000000000000000000000000000000000000000000000", - "token_data_id": "0x57a56bff4472da6c2b28149d192ef0186ff6647bc3c2ba5c28439662fdaa284d", - "property_version_v1": "0", - "type_": "0x4::collection::Burn", - "from_address": "0x3fda2b751a0d209e17069ae72ccde256efeaad39e5403ea0e65ef5dcebdf6763", - "to_address": null, - "token_amount": "1", - "before_value": null, - "after_value": null, - "entry_function_id_str": "0x4::aptos_token::burn", - "token_standard": "v2", - "is_fungible_v2": null, - "transaction_timestamp": "2024-04-30T23:50:44.443590" - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/578366445/token_datas_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/578366445/token_datas_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/578366445/token_datas_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/578366445/token_ownerships_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/578366445/token_ownerships_v2.json deleted file mode 100644 index a0042a79d..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/578366445/token_ownerships_v2.json +++ /dev/null @@ -1,18 +0,0 @@ -[ - { - "transaction_version": 578366445, - "write_set_change_index": 7, - "token_data_id": "0x57a56bff4472da6c2b28149d192ef0186ff6647bc3c2ba5c28439662fdaa284d", - "property_version_v1": "0", - "owner_address": "0x3fda2b751a0d209e17069ae72ccde256efeaad39e5403ea0e65ef5dcebdf6763", - "storage_id": "0x57a56bff4472da6c2b28149d192ef0186ff6647bc3c2ba5c28439662fdaa284d", - "amount": "0", - "table_type_v1": null, - "token_properties_mutated_v1": null, - "is_soulbound_v2": null, - "token_standard": "v2", - "is_fungible_v2": null, - "transaction_timestamp": "2024-04-30T23:50:44.443590", - "non_transferrable_by_owner": null - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/602320562/collections_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/602320562/collections_v2.json deleted file mode 100644 index d4f3db264..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/602320562/collections_v2.json +++ /dev/null @@ -1,20 +0,0 @@ -[ - { - "transaction_version": 602320562, - "write_set_change_index": 2, - "collection_id": "0x03738dc12733429d94935a8cace840eb3615cbcc2031c6491f6616b8e58e0e7f", - "creator_address": "0x12479ac53f2d918bb7ad9259bfc4fe10eb0688d4a54ef36be0c23b5174da8f21", - "collection_name": "STAN EsportsElite Collection V18", - "description": "Welcome to the EsportsElite Collection, where every NFT is a gateway to unparalleled gaming benefits and exclusive experiences. Unleash the full potential of your collection as each NFT comes packed with a multitude of perks, unlocking new levels of excitement and rewards as you ascend from Level 1 to 100. Whether you're a seasoned gamer or a collector seeking the ultimate thrill, the EsportsElite Collection offers an immersive journey through the world of esports, where each NFT upgrade brings you closer to gaming greatness. Join the ranks of the elite and elevate your gaming experience with the EsportsElite Collection.", - "uri": " ", - "current_supply": "15436", - "max_supply": null, - "total_minted_v2": "15436", - "mutable_description": true, - "mutable_uri": true, - "table_handle_v1": null, - "token_standard": "v2", - "transaction_timestamp": "2024-05-15T00:13:40.850375", - "collection_properties": null - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/602320562/current_collections_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/602320562/current_collections_v2.json deleted file mode 100644 index 9ad52d097..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/602320562/current_collections_v2.json +++ /dev/null @@ -1,19 +0,0 @@ -[ - { - "collection_id": "0x03738dc12733429d94935a8cace840eb3615cbcc2031c6491f6616b8e58e0e7f", - "creator_address": "0x12479ac53f2d918bb7ad9259bfc4fe10eb0688d4a54ef36be0c23b5174da8f21", - "collection_name": "STAN EsportsElite Collection V18", - "description": "Welcome to the EsportsElite Collection, where every NFT is a gateway to unparalleled gaming benefits and exclusive experiences. Unleash the full potential of your collection as each NFT comes packed with a multitude of perks, unlocking new levels of excitement and rewards as you ascend from Level 1 to 100. Whether you're a seasoned gamer or a collector seeking the ultimate thrill, the EsportsElite Collection offers an immersive journey through the world of esports, where each NFT upgrade brings you closer to gaming greatness. Join the ranks of the elite and elevate your gaming experience with the EsportsElite Collection.", - "uri": " ", - "current_supply": "15436", - "max_supply": null, - "total_minted_v2": "15436", - "mutable_description": true, - "mutable_uri": true, - "table_handle_v1": null, - "token_standard": "v2", - "last_transaction_version": 602320562, - "last_transaction_timestamp": "2024-05-15T00:13:40.850375", - "collection_properties": null - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/602320562/current_token_datas_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/602320562/current_token_datas_v2.json deleted file mode 100644 index 286090d01..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/602320562/current_token_datas_v2.json +++ /dev/null @@ -1,19 +0,0 @@ -[ - { - "token_data_id": "0x5d42972f67d68e51862f7c1c5ece9f4135a9a3150ae08be19274b591c77587f2", - "collection_id": "0x03738dc12733429d94935a8cace840eb3615cbcc2031c6491f6616b8e58e0e7f", - "token_name": "Fozy Ajay", - "maximum": null, - "supply": null, - "largest_property_version_v1": null, - "token_uri": "https://bafybeierhssqdg7fv64xkkjuvsq4bikj2yfmuxm4dvb6jxb2un4yw37ohi.ipfs.w3s.link/82.webp", - "description": "This is Fozy Ajay NFT", - "token_properties": {}, - "token_standard": "v2", - "is_fungible_v2": false, - "last_transaction_version": 602320562, - "last_transaction_timestamp": "2024-05-15T00:13:40.850375", - "is_deleted_v2": false, - "decimals": 0 - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/602320562/current_token_ownerships_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/602320562/current_token_ownerships_v2.json deleted file mode 100644 index af7f4d7fd..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/602320562/current_token_ownerships_v2.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "token_data_id": "0x5d42972f67d68e51862f7c1c5ece9f4135a9a3150ae08be19274b591c77587f2", - "property_version_v1": "0", - "owner_address": "0x12479ac53f2d918bb7ad9259bfc4fe10eb0688d4a54ef36be0c23b5174da8f21", - "storage_id": "0x5d42972f67d68e51862f7c1c5ece9f4135a9a3150ae08be19274b591c77587f2", - "amount": "1", - "table_type_v1": null, - "token_properties_mutated_v1": null, - "is_soulbound_v2": false, - "token_standard": "v2", - "is_fungible_v2": null, - "last_transaction_version": 602320562, - "last_transaction_timestamp": "2024-05-15T00:13:40.850375", - "non_transferrable_by_owner": false - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/602320562/current_token_v2_metadata.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/602320562/current_token_v2_metadata.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/602320562/current_token_v2_metadata.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/602320562/token_activities_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/602320562/token_activities_v2.json deleted file mode 100644 index dbf6f74eb..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/602320562/token_activities_v2.json +++ /dev/null @@ -1,19 +0,0 @@ -[ - { - "transaction_version": 602320562, - "event_index": 0, - "event_account_address": "0x0000000000000000000000000000000000000000000000000000000000000000", - "token_data_id": "0x5d42972f67d68e51862f7c1c5ece9f4135a9a3150ae08be19274b591c77587f2", - "property_version_v1": "0", - "type_": "0x4::collection::MintEvent", - "from_address": "0x12479ac53f2d918bb7ad9259bfc4fe10eb0688d4a54ef36be0c23b5174da8f21", - "to_address": null, - "token_amount": "1", - "before_value": null, - "after_value": null, - "entry_function_id_str": "0x4::aptos_token::mint", - "token_standard": "v2", - "is_fungible_v2": null, - "transaction_timestamp": "2024-05-15T00:13:40.850375" - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/602320562/token_datas_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/602320562/token_datas_v2.json deleted file mode 100644 index 6a7a6234f..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/602320562/token_datas_v2.json +++ /dev/null @@ -1,20 +0,0 @@ -[ - { - "transaction_version": 602320562, - "write_set_change_index": 10, - "token_data_id": "0x5d42972f67d68e51862f7c1c5ece9f4135a9a3150ae08be19274b591c77587f2", - "collection_id": "0x03738dc12733429d94935a8cace840eb3615cbcc2031c6491f6616b8e58e0e7f", - "token_name": "Fozy Ajay", - "maximum": null, - "supply": null, - "largest_property_version_v1": null, - "token_uri": "https://bafybeierhssqdg7fv64xkkjuvsq4bikj2yfmuxm4dvb6jxb2un4yw37ohi.ipfs.w3s.link/82.webp", - "token_properties": {}, - "description": "This is Fozy Ajay NFT", - "token_standard": "v2", - "is_fungible_v2": false, - "transaction_timestamp": "2024-05-15T00:13:40.850375", - "is_deleted_v2": null, - "decimals": 0 - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/602320562/token_ownerships_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/602320562/token_ownerships_v2.json deleted file mode 100644 index 21f7b1db7..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/602320562/token_ownerships_v2.json +++ /dev/null @@ -1,18 +0,0 @@ -[ - { - "transaction_version": 602320562, - "write_set_change_index": 10, - "token_data_id": "0x5d42972f67d68e51862f7c1c5ece9f4135a9a3150ae08be19274b591c77587f2", - "property_version_v1": "0", - "owner_address": "0x12479ac53f2d918bb7ad9259bfc4fe10eb0688d4a54ef36be0c23b5174da8f21", - "storage_id": "0x5d42972f67d68e51862f7c1c5ece9f4135a9a3150ae08be19274b591c77587f2", - "amount": "1", - "table_type_v1": null, - "token_properties_mutated_v1": null, - "is_soulbound_v2": false, - "token_standard": "v2", - "is_fungible_v2": null, - "transaction_timestamp": "2024-05-15T00:13:40.850375", - "non_transferrable_by_owner": false - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/967255533/collections_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/967255533/collections_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/967255533/collections_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/967255533/current_collections_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/967255533/current_collections_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/967255533/current_collections_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/967255533/current_token_datas_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/967255533/current_token_datas_v2.json deleted file mode 100644 index a29a6f397..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/967255533/current_token_datas_v2.json +++ /dev/null @@ -1,19 +0,0 @@ -[ - { - "token_data_id": "0x1910ed3769bf094c43cf0c81470265304014c4ae7cbb4991fcc194f2c42bb4b4", - "collection_id": "0x3d1b16f4597bdf5f385dbbedf21c4dae7198c00af8933bea87b947658af92d65", - "token_name": "Aptomojis #373", - "maximum": null, - "supply": null, - "largest_property_version_v1": null, - "token_uri": "https://arweave.net/-_cc-_HbzDofAF1_WkfGMfyJyejqU64ZdZmGFahNZlg", - "description": "", - "token_properties": {}, - "token_standard": "v2", - "is_fungible_v2": false, - "last_transaction_version": 967255533, - "last_transaction_timestamp": "2024-06-06T04:43:15.798869", - "is_deleted_v2": false, - "decimals": 0 - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/967255533/current_token_ownerships_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/967255533/current_token_ownerships_v2.json deleted file mode 100644 index e07c3f71a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/967255533/current_token_ownerships_v2.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "token_data_id": "0x1910ed3769bf094c43cf0c81470265304014c4ae7cbb4991fcc194f2c42bb4b4", - "property_version_v1": "0", - "owner_address": "0x23246b2ad4ea793d6c061f415c58f9c442f434a9a888b2f6bd73e6b611e6774b", - "storage_id": "0x1910ed3769bf094c43cf0c81470265304014c4ae7cbb4991fcc194f2c42bb4b4", - "amount": "1", - "table_type_v1": null, - "token_properties_mutated_v1": null, - "is_soulbound_v2": false, - "token_standard": "v2", - "is_fungible_v2": null, - "last_transaction_version": 967255533, - "last_transaction_timestamp": "2024-06-06T04:43:15.798869", - "non_transferrable_by_owner": false - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/967255533/current_token_v2_metadata.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/967255533/current_token_v2_metadata.json deleted file mode 100644 index 3f6f5c5aa..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/967255533/current_token_v2_metadata.json +++ /dev/null @@ -1,54 +0,0 @@ -[ - { - "object_address": "0x1910ed3769bf094c43cf0c81470265304014c4ae7cbb4991fcc194f2c42bb4b4", - "resource_type": "0xa8a3cdff3068ee47cb0419cbd93ad1f71bdabb50431fc0f5b971a00c613b13d2::token_components::TokenRefs", - "data": { - "burn_ref": { - "vec": [ - { - "self": { - "vec": [] - }, - "inner": { - "vec": [ - { - "self": "0x1910ed3769bf094c43cf0c81470265304014c4ae7cbb4991fcc194f2c42bb4b4" - } - ] - } - } - ] - }, - "extend_ref": { - "vec": [ - { - "self": "0x1910ed3769bf094c43cf0c81470265304014c4ae7cbb4991fcc194f2c42bb4b4" - } - ] - }, - "mutator_ref": { - "vec": [ - { - "self": "0x1910ed3769bf094c43cf0c81470265304014c4ae7cbb4991fcc194f2c42bb4b4" - } - ] - }, - "transfer_ref": { - "vec": [ - { - "self": "0x1910ed3769bf094c43cf0c81470265304014c4ae7cbb4991fcc194f2c42bb4b4" - } - ] - }, - "property_mutator_ref": { - "vec": [ - { - "self": "0x1910ed3769bf094c43cf0c81470265304014c4ae7cbb4991fcc194f2c42bb4b4" - } - ] - } - }, - "state_key_hash": "0x46062b050b32127b0939f63ea81c9d1529131721f32b43afbf08ff72b9ad1766", - "last_transaction_version": 967255533 - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/967255533/token_activities_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/967255533/token_activities_v2.json deleted file mode 100644 index 276097d03..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/967255533/token_activities_v2.json +++ /dev/null @@ -1,19 +0,0 @@ -[ - { - "transaction_version": 967255533, - "event_index": 0, - "event_account_address": "0x1910ed3769bf094c43cf0c81470265304014c4ae7cbb4991fcc194f2c42bb4b4", - "token_data_id": "0x1910ed3769bf094c43cf0c81470265304014c4ae7cbb4991fcc194f2c42bb4b4", - "property_version_v1": "0", - "type_": "0x4::token::MutationEvent", - "from_address": "0x23246b2ad4ea793d6c061f415c58f9c442f434a9a888b2f6bd73e6b611e6774b", - "to_address": null, - "token_amount": "0", - "before_value": "", - "after_value": "https://arweave.net/-_cc-_HbzDofAF1_WkfGMfyJyejqU64ZdZmGFahNZlg", - "entry_function_id_str": "0xa8a3cdff3068ee47cb0419cbd93ad1f71bdabb50431fc0f5b971a00c613b13d2::odyssey_v2::update_token_uri", - "token_standard": "v2", - "is_fungible_v2": null, - "transaction_timestamp": "2024-06-06T04:43:15.798869" - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/967255533/token_datas_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/967255533/token_datas_v2.json deleted file mode 100644 index 868449c99..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/967255533/token_datas_v2.json +++ /dev/null @@ -1,20 +0,0 @@ -[ - { - "transaction_version": 967255533, - "write_set_change_index": 4, - "token_data_id": "0x1910ed3769bf094c43cf0c81470265304014c4ae7cbb4991fcc194f2c42bb4b4", - "collection_id": "0x3d1b16f4597bdf5f385dbbedf21c4dae7198c00af8933bea87b947658af92d65", - "token_name": "Aptomojis #373", - "maximum": null, - "supply": null, - "largest_property_version_v1": null, - "token_uri": "https://arweave.net/-_cc-_HbzDofAF1_WkfGMfyJyejqU64ZdZmGFahNZlg", - "token_properties": {}, - "description": "", - "token_standard": "v2", - "is_fungible_v2": false, - "transaction_timestamp": "2024-06-06T04:43:15.798869", - "is_deleted_v2": null, - "decimals": 0 - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/967255533/token_ownerships_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/967255533/token_ownerships_v2.json deleted file mode 100644 index 10645f3a6..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/967255533/token_ownerships_v2.json +++ /dev/null @@ -1,18 +0,0 @@ -[ - { - "transaction_version": 967255533, - "write_set_change_index": 4, - "token_data_id": "0x1910ed3769bf094c43cf0c81470265304014c4ae7cbb4991fcc194f2c42bb4b4", - "property_version_v1": "0", - "owner_address": "0x23246b2ad4ea793d6c061f415c58f9c442f434a9a888b2f6bd73e6b611e6774b", - "storage_id": "0x1910ed3769bf094c43cf0c81470265304014c4ae7cbb4991fcc194f2c42bb4b4", - "amount": "1", - "table_type_v1": null, - "token_properties_mutated_v1": null, - "is_soulbound_v2": false, - "token_standard": "v2", - "is_fungible_v2": null, - "transaction_timestamp": "2024-06-06T04:43:15.798869", - "non_transferrable_by_owner": false - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/999929475/collections_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/999929475/collections_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/999929475/collections_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/999929475/current_collections_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/999929475/current_collections_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/999929475/current_collections_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/999929475/current_token_datas_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/999929475/current_token_datas_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/999929475/current_token_datas_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/999929475/current_token_ownerships_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/999929475/current_token_ownerships_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/999929475/current_token_ownerships_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/999929475/current_token_v2_metadata.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/999929475/current_token_v2_metadata.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/999929475/current_token_v2_metadata.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/999929475/token_activities_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/999929475/token_activities_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/999929475/token_activities_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/999929475/token_datas_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/999929475/token_datas_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/999929475/token_datas_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/999929475/token_ownerships_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/999929475/token_ownerships_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/999929475/token_ownerships_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/999930475/collections_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/999930475/collections_v2.json deleted file mode 100644 index 9e42b3fe4..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/999930475/collections_v2.json +++ /dev/null @@ -1,20 +0,0 @@ -[ - { - "transaction_version": 999930475, - "write_set_change_index": 2, - "collection_id": "0x0a79561c62c2eac5f008e13aa4c2e13f67c9bd538ef7d9df54fe9215da0a0bc0", - "creator_address": "0xf31b3dac60ad3ee27399f14984d634ae5d0fd060a5b4ec30b0e4207d60cdc458", - "collection_name": "STAN EsportsElite Collection V15", - "description": "Welcome to the EsportsElite Collection, where every NFT is a gateway to unparalleled gaming benefits and exclusive experiences. Unleash the full potential of your collection as each NFT comes packed with a multitude of perks, unlocking new levels of excitement and rewards as you ascend from Level 1 to 100. Whether you're a seasoned gamer or a collector seeking the ultimate thrill, the EsportsElite Collection offers an immersive journey through the world of esports, where each NFT upgrade brings you closer to gaming greatness. Join the ranks of the elite and elevate your gaming experience with the EsportsElite Collection.", - "uri": " ", - "current_supply": "85328", - "max_supply": null, - "total_minted_v2": "85328", - "mutable_description": true, - "mutable_uri": true, - "table_handle_v1": null, - "token_standard": "v2", - "transaction_timestamp": "2024-06-25T23:56:58.254577", - "collection_properties": null - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/999930475/current_collections_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/999930475/current_collections_v2.json deleted file mode 100644 index 6b16a8dc3..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/999930475/current_collections_v2.json +++ /dev/null @@ -1,19 +0,0 @@ -[ - { - "collection_id": "0x0a79561c62c2eac5f008e13aa4c2e13f67c9bd538ef7d9df54fe9215da0a0bc0", - "creator_address": "0xf31b3dac60ad3ee27399f14984d634ae5d0fd060a5b4ec30b0e4207d60cdc458", - "collection_name": "STAN EsportsElite Collection V15", - "description": "Welcome to the EsportsElite Collection, where every NFT is a gateway to unparalleled gaming benefits and exclusive experiences. Unleash the full potential of your collection as each NFT comes packed with a multitude of perks, unlocking new levels of excitement and rewards as you ascend from Level 1 to 100. Whether you're a seasoned gamer or a collector seeking the ultimate thrill, the EsportsElite Collection offers an immersive journey through the world of esports, where each NFT upgrade brings you closer to gaming greatness. Join the ranks of the elite and elevate your gaming experience with the EsportsElite Collection.", - "uri": " ", - "current_supply": "85328", - "max_supply": null, - "total_minted_v2": "85328", - "mutable_description": true, - "mutable_uri": true, - "table_handle_v1": null, - "token_standard": "v2", - "last_transaction_version": 999930475, - "last_transaction_timestamp": "2024-06-25T23:56:58.254577", - "collection_properties": null - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/999930475/current_token_datas_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/999930475/current_token_datas_v2.json deleted file mode 100644 index e6c378a88..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/999930475/current_token_datas_v2.json +++ /dev/null @@ -1,19 +0,0 @@ -[ - { - "token_data_id": "0x175d46f34304375e44870e953b5f4d34fb5b3f6dbf47a9ecc7fdfc7ee3b3e1c9", - "collection_id": "0x0a79561c62c2eac5f008e13aa4c2e13f67c9bd538ef7d9df54fe9215da0a0bc0", - "token_name": "SK SABIR", - "maximum": null, - "supply": null, - "largest_property_version_v1": null, - "token_uri": "https://bafybeierhssqdg7fv64xkkjuvsq4bikj2yfmuxm4dvb6jxb2un4yw37ohi.ipfs.w3s.link/75.webp", - "description": "This is SK SABIR NFT", - "token_properties": {}, - "token_standard": "v2", - "is_fungible_v2": false, - "last_transaction_version": 999930475, - "last_transaction_timestamp": "2024-06-25T23:56:58.254577", - "is_deleted_v2": false, - "decimals": 0 - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/999930475/current_token_ownerships_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/999930475/current_token_ownerships_v2.json deleted file mode 100644 index 0dd71f97f..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/999930475/current_token_ownerships_v2.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "token_data_id": "0x175d46f34304375e44870e953b5f4d34fb5b3f6dbf47a9ecc7fdfc7ee3b3e1c9", - "property_version_v1": "0", - "owner_address": "0xf31b3dac60ad3ee27399f14984d634ae5d0fd060a5b4ec30b0e4207d60cdc458", - "storage_id": "0x175d46f34304375e44870e953b5f4d34fb5b3f6dbf47a9ecc7fdfc7ee3b3e1c9", - "amount": "1", - "table_type_v1": null, - "token_properties_mutated_v1": null, - "is_soulbound_v2": false, - "token_standard": "v2", - "is_fungible_v2": null, - "last_transaction_version": 999930475, - "last_transaction_timestamp": "2024-06-25T23:56:58.254577", - "non_transferrable_by_owner": false - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/999930475/current_token_v2_metadata.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/999930475/current_token_v2_metadata.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/999930475/current_token_v2_metadata.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/999930475/token_activities_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/999930475/token_activities_v2.json deleted file mode 100644 index 2805b276f..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/999930475/token_activities_v2.json +++ /dev/null @@ -1,19 +0,0 @@ -[ - { - "transaction_version": 999930475, - "event_index": 0, - "event_account_address": "0x0000000000000000000000000000000000000000000000000000000000000000", - "token_data_id": "0x175d46f34304375e44870e953b5f4d34fb5b3f6dbf47a9ecc7fdfc7ee3b3e1c9", - "property_version_v1": "0", - "type_": "0x4::collection::MintEvent", - "from_address": "0xf31b3dac60ad3ee27399f14984d634ae5d0fd060a5b4ec30b0e4207d60cdc458", - "to_address": null, - "token_amount": "1", - "before_value": null, - "after_value": null, - "entry_function_id_str": "0x4::aptos_token::mint", - "token_standard": "v2", - "is_fungible_v2": null, - "transaction_timestamp": "2024-06-25T23:56:58.254577" - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/999930475/token_datas_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/999930475/token_datas_v2.json deleted file mode 100644 index e12aa7130..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/999930475/token_datas_v2.json +++ /dev/null @@ -1,20 +0,0 @@ -[ - { - "transaction_version": 999930475, - "write_set_change_index": 8, - "token_data_id": "0x175d46f34304375e44870e953b5f4d34fb5b3f6dbf47a9ecc7fdfc7ee3b3e1c9", - "collection_id": "0x0a79561c62c2eac5f008e13aa4c2e13f67c9bd538ef7d9df54fe9215da0a0bc0", - "token_name": "SK SABIR", - "maximum": null, - "supply": null, - "largest_property_version_v1": null, - "token_uri": "https://bafybeierhssqdg7fv64xkkjuvsq4bikj2yfmuxm4dvb6jxb2un4yw37ohi.ipfs.w3s.link/75.webp", - "token_properties": {}, - "description": "This is SK SABIR NFT", - "token_standard": "v2", - "is_fungible_v2": false, - "transaction_timestamp": "2024-06-25T23:56:58.254577", - "is_deleted_v2": null, - "decimals": 0 - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/999930475/token_ownerships_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/999930475/token_ownerships_v2.json deleted file mode 100644 index d9932cc6c..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/999930475/token_ownerships_v2.json +++ /dev/null @@ -1,18 +0,0 @@ -[ - { - "transaction_version": 999930475, - "write_set_change_index": 8, - "token_data_id": "0x175d46f34304375e44870e953b5f4d34fb5b3f6dbf47a9ecc7fdfc7ee3b3e1c9", - "property_version_v1": "0", - "owner_address": "0xf31b3dac60ad3ee27399f14984d634ae5d0fd060a5b4ec30b0e4207d60cdc458", - "storage_id": "0x175d46f34304375e44870e953b5f4d34fb5b3f6dbf47a9ecc7fdfc7ee3b3e1c9", - "amount": "1", - "table_type_v1": null, - "token_properties_mutated_v1": null, - "is_soulbound_v2": false, - "token_standard": "v2", - "is_fungible_v2": null, - "transaction_timestamp": "2024-06-25T23:56:58.254577", - "non_transferrable_by_owner": false - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/1080786089/signatures.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/1080786089/signatures.json deleted file mode 100644 index 4011035af..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/1080786089/signatures.json +++ /dev/null @@ -1,15 +0,0 @@ -[ - { - "transaction_version": 1080786089, - "multi_agent_index": 0, - "multi_sig_index": 0, - "transaction_block_height": 210969872, - "signer": "0x8eb76c7294a50b594c48ef13c7ce0a953320c9b25cdf1dd681fbeb9937524703", - "is_sender_primary": true, - "type_": "ed25519_signature", - "public_key": "0x7888b21138e0d1933484fe859df0997d7284e3eb3160e6e34cb3fda77a6e864a", - "signature": "0x4cd022e2151611b9db7d552c57fac9feb71188451078c0bbaa08a75ccf7a59cebe25984da96f880f4e177c16dae39c69f845a1a9b42ac8511404cf4cfb91db0e", - "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/1080786089/user_transactions.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/1080786089/user_transactions.json deleted file mode 100644 index 40eb74c77..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/1080786089/user_transactions.json +++ /dev/null @@ -1,15 +0,0 @@ -[ - { - "version": 1080786089, - "block_height": 210969872, - "parent_signature_type": "ed25519_signature", - "sender": "0x8eb76c7294a50b594c48ef13c7ce0a953320c9b25cdf1dd681fbeb9937524703", - "sequence_number": 53968, - "max_gas_amount": "200000", - "expiration_timestamp_secs": "2024-08-07T09:56:53", - "gas_unit_price": "100", - "timestamp": "2024-08-07T09:56:34.211969", - "entry_function_id_str": "0x9d518b9b84f327eafc5f6632200ea224a818a935ffd6be5d78ada250bbc44a6::sidekick_capsule::delete", - "epoch": 8023 - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/145959468/signatures.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/145959468/signatures.json deleted file mode 100644 index d1f5df716..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/145959468/signatures.json +++ /dev/null @@ -1,15 +0,0 @@ -[ - { - "transaction_version": 145959468, - "multi_agent_index": 0, - "multi_sig_index": 0, - "transaction_block_height": 56700326, - "signer": "0x239589c5cfb0cc96f76fa59165a7cbb6ef99ad50d0acc34cf3a2585d861511be", - "is_sender_primary": true, - "type_": "ed25519_signature", - "public_key": "0x6350bfbabd1f0b8a7bdb35c6881819d9e00e6c0cb06b2a5998ee360516c24975", - "signature": "0x49b38a969be3943adf3fca9ad0a19c518de40d44dc3bc2c01bc51cb881f1c5677f07c861e9933a0b65b542b68100674133c42736ca1a23e834303d6b4a04ad02", - "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/145959468/user_transactions.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/145959468/user_transactions.json deleted file mode 100644 index 8b4628587..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/145959468/user_transactions.json +++ /dev/null @@ -1,15 +0,0 @@ -[ - { - "version": 145959468, - "block_height": 56700326, - "parent_signature_type": "ed25519_signature", - "sender": "0x239589c5cfb0cc96f76fa59165a7cbb6ef99ad50d0acc34cf3a2585d861511be", - "sequence_number": 1500, - "max_gas_amount": "100000", - "expiration_timestamp_secs": "2023-05-22T21:09:43", - "gas_unit_price": "100", - "timestamp": "2023-05-22T20:59:44.834006", - "entry_function_id_str": "", - "epoch": 2670 - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/155112189/signatures.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/155112189/signatures.json deleted file mode 100644 index c609a6ee6..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/155112189/signatures.json +++ /dev/null @@ -1,15 +0,0 @@ -[ - { - "transaction_version": 155112189, - "multi_agent_index": 0, - "multi_sig_index": 0, - "transaction_block_height": 59919203, - "signer": "0x25a606fdb1534fe2fd6f639e4c2fb0c46b3e5b8b3d84d1fa8632fd979fc55fa5", - "is_sender_primary": true, - "type_": "ed25519_signature", - "public_key": "0xe817f8e739eb625f024f56639f75d757d24e124e1b961d355ce1258d3cfde180", - "signature": "0x94d2ec98f8ed3c2a9fb46b68d470332db6530d9ac4df3bb48b5796ef0cc4f99a16ae427b68fd4d394a08fa0fcdc166e361a7ceae6af58cbe79fbf36c46ffad03", - "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/155112189/user_transactions.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/155112189/user_transactions.json deleted file mode 100644 index 457362ad6..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/155112189/user_transactions.json +++ /dev/null @@ -1,15 +0,0 @@ -[ - { - "version": 155112189, - "block_height": 59919203, - "parent_signature_type": "ed25519_signature", - "sender": "0x25a606fdb1534fe2fd6f639e4c2fb0c46b3e5b8b3d84d1fa8632fd979fc55fa5", - "sequence_number": 17216, - "max_gas_amount": "990000", - "expiration_timestamp_secs": "2023-06-07T13:29:34", - "gas_unit_price": "100", - "timestamp": "2023-06-07T13:29:24.956225", - "entry_function_id_str": "0x1786191d0ce793debfdef9890868abdcdc7053f982ccdd102a72732b3082f31d::keeper::fulfill_any_order", - "epoch": 2858 - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/1845035942/signatures.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/1845035942/signatures.json deleted file mode 100644 index 0ca1513f4..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/1845035942/signatures.json +++ /dev/null @@ -1,15 +0,0 @@ -[ - { - "transaction_version": 1845035942, - "multi_agent_index": 0, - "multi_sig_index": 0, - "transaction_block_height": 244136188, - "signer": "0xd9701b178ea81161e998ff2a545654d8eefe6f54035ab931bc02eef03fd1645f", - "is_sender_primary": true, - "type_": "ed25519_signature", - "public_key": "0x39bc96896ef0bc99b0ec904b2698172fbdb242cf94cd7e32d499ee7930acda50", - "signature": "0x9cc5c274870f966801b73e488e2590ca0be088c263f87641f4aa13ba19bbe7c7e1e6529f35a9734567d7a37083175c2e929136652bb608ae3aaa0da80623c90c", - "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/1845035942/user_transactions.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/1845035942/user_transactions.json deleted file mode 100644 index 68f560f2d..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/1845035942/user_transactions.json +++ /dev/null @@ -1,15 +0,0 @@ -[ - { - "version": 1845035942, - "block_height": 244136188, - "parent_signature_type": "fee_payer_signature", - "sender": "0xd9701b178ea81161e998ff2a545654d8eefe6f54035ab931bc02eef03fd1645f", - "sequence_number": 3, - "max_gas_amount": "200000", - "expiration_timestamp_secs": "2024-10-26T18:31:18", - "gas_unit_price": "100", - "timestamp": "2024-10-26T18:31:00.902365", - "entry_function_id_str": "0x128b657b70be52e3f5a7e998d4ca7d1bca886394c5ccf24036d2171368599f21::LyncCards::mint_nft", - "epoch": 8992 - } -] \ 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 deleted file mode 100644 index 99e277d23..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/308783012/signatures.json +++ /dev/null @@ -1,15 +0,0 @@ -[ - { - "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 deleted file mode 100644 index 14c953fdf..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/308783012/user_transactions.json +++ /dev/null @@ -1,15 +0,0 @@ -[ - { - "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_mainnet_txns/user_transaction_processor/325355235/signatures.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/325355235/signatures.json deleted file mode 100644 index a7ae3cc64..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/325355235/signatures.json +++ /dev/null @@ -1,15 +0,0 @@ -[ - { - "transaction_version": 325355235, - "multi_agent_index": 0, - "multi_sig_index": 0, - "transaction_block_height": 111985120, - "signer": "0xff0a486a69619d9e5661cf323d39e1cb7a005b945a9ebdf0df4f1f6b5947c2af", - "is_sender_primary": true, - "type_": "ed25519_signature", - "public_key": "0xf544c799d1a50b87fd6b42699d84cc56af06b4f4f8a3bdafde1bf5a4cad5333c", - "signature": "0xf363be91f4cab87ba6553261fe19eefbffaed79116ff2e47cd36311310c79f79b3f5674eb88d2942794480eeee713b685e16c7d95a3bf7bb02c1f5eb910bae02", - "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/325355235/user_transactions.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/325355235/user_transactions.json deleted file mode 100644 index 73eb384a8..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/325355235/user_transactions.json +++ /dev/null @@ -1,15 +0,0 @@ -[ - { - "version": 325355235, - "block_height": 111985120, - "parent_signature_type": "ed25519_signature", - "sender": "0xff0a486a69619d9e5661cf323d39e1cb7a005b945a9ebdf0df4f1f6b5947c2af", - "sequence_number": 74, - "max_gas_amount": "900", - "expiration_timestamp_secs": "2023-11-10T00:38:13", - "gas_unit_price": "100", - "timestamp": "2023-11-09T23:58:14.442073", - "entry_function_id_str": "0x8d2d7bcde13b2513617df3f98cdd5d0e4b9f714c6308b9204fe18ad900d92609::mint::resource_mint_token_memo", - "epoch": 4733 - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/453498957/signatures.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/453498957/signatures.json deleted file mode 100644 index 16d9e1e81..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/453498957/signatures.json +++ /dev/null @@ -1,15 +0,0 @@ -[ - { - "transaction_version": 453498957, - "multi_agent_index": 0, - "multi_sig_index": 0, - "transaction_block_height": 146272590, - "signer": "0x40fc28526d4c093fac5cd2bb43e7adf41a48dbbe5edf7a1dd57a3a89c627d17a", - "is_sender_primary": true, - "type_": "ed25519_signature", - "public_key": "0x8dd5125343b1803c4b2bd0dcffce5ded8eaff6cd8a81ea14c62f6f77e3043bfe", - "signature": "0xe18156abd5c28e4aeae670ee109fb17d53f710744bee95ea683d57393ce1e45e7f8a5393d15dd06d59508ea60b0489187537ac90c53ae1c581b3b3c56394210c", - "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/453498957/user_transactions.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/453498957/user_transactions.json deleted file mode 100644 index 9df681947..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/453498957/user_transactions.json +++ /dev/null @@ -1,15 +0,0 @@ -[ - { - "version": 453498957, - "block_height": 146272590, - "parent_signature_type": "ed25519_signature", - "sender": "0x40fc28526d4c093fac5cd2bb43e7adf41a48dbbe5edf7a1dd57a3a89c627d17a", - "sequence_number": 8, - "max_gas_amount": "2026", - "expiration_timestamp_secs": "2024-02-16T00:05:54", - "gas_unit_price": "100", - "timestamp": "2024-02-16T00:04:25.089448", - "entry_function_id_str": "0x40fc28526d4c093fac5cd2bb43e7adf41a48dbbe5edf7a1dd57a3a89c627d17a::test2::mint_nft_batch", - "epoch": 5918 - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/508365567/signatures.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/508365567/signatures.json deleted file mode 100644 index 097dc8749..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/508365567/signatures.json +++ /dev/null @@ -1,15 +0,0 @@ -[ - { - "transaction_version": 508365567, - "multi_agent_index": 0, - "multi_sig_index": 0, - "transaction_block_height": 159068756, - "signer": "0xc8af29debf02369958769a77388c84a3040b9ffe9ba1f82c1c9f5c6dcb61030e", - "is_sender_primary": true, - "type_": "ed25519_signature", - "public_key": "0x0baa77e3bb4e93674c7f92c7fbca57e370c66c2dc575b04689de5e848a44b14e", - "signature": "0xc44647f092fcf410053b7c018fa440dba1e0900e8eef4ec46b64e8698418c992c5a60ac03413036e6b1582ce7780ecf67d194f199d473222863b8662a4a98506", - "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/508365567/user_transactions.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/508365567/user_transactions.json deleted file mode 100644 index 97adfc876..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/508365567/user_transactions.json +++ /dev/null @@ -1,15 +0,0 @@ -[ - { - "version": 508365567, - "block_height": 159068756, - "parent_signature_type": "ed25519_signature", - "sender": "0xc8af29debf02369958769a77388c84a3040b9ffe9ba1f82c1c9f5c6dcb61030e", - "sequence_number": 2, - "max_gas_amount": "5000", - "expiration_timestamp_secs": "2024-03-19T08:15:56", - "gas_unit_price": "100", - "timestamp": "2024-03-19T08:05:56.983680", - "entry_function_id_str": "0x4bf51972879e3b95c4781a5cdcb9e1ee24ef483e7d22f2d903626f126df62bd1::voting_escrow::create_lock_entry", - "epoch": 6306 - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/513424821/signatures.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/513424821/signatures.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/513424821/signatures.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/513424821/user_transactions.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/513424821/user_transactions.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/513424821/user_transactions.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/537250181/signatures.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/537250181/signatures.json deleted file mode 100644 index c2b720b5a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/537250181/signatures.json +++ /dev/null @@ -1,15 +0,0 @@ -[ - { - "transaction_version": 537250181, - "multi_agent_index": 0, - "multi_sig_index": 0, - "transaction_block_height": 165399051, - "signer": "0xb82a0077ab08cc414bd283aefe62e6dd42311150ed851ccd307d02a0f765bff2", - "is_sender_primary": true, - "type_": "ed25519_signature", - "public_key": "0xb79ddbfa684bbe46300eceefb812471e61d9465a08b761a0b6475745326b91d1", - "signature": "0x878732b29cae1da09e4ca4073ef4da7e1187794b9c0846ad0251e3d1e407459a5960fb7e7a26425e833398327f73e6795bad2e30b264bbb2a19ba2eb77624607", - "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/537250181/user_transactions.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/537250181/user_transactions.json deleted file mode 100644 index 667369452..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/537250181/user_transactions.json +++ /dev/null @@ -1,15 +0,0 @@ -[ - { - "version": 537250181, - "block_height": 165399051, - "parent_signature_type": "ed25519_signature", - "sender": "0xb82a0077ab08cc414bd283aefe62e6dd42311150ed851ccd307d02a0f765bff2", - "sequence_number": 58286, - "max_gas_amount": "1000", - "expiration_timestamp_secs": "2024-04-04T23:38:55", - "gas_unit_price": "100", - "timestamp": "2024-04-04T22:38:56.926423", - "entry_function_id_str": "0x4::aptos_token::mint", - "epoch": 6505 - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/578366445/signatures.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/578366445/signatures.json deleted file mode 100644 index 26911d81b..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/578366445/signatures.json +++ /dev/null @@ -1,15 +0,0 @@ -[ - { - "transaction_version": 578366445, - "multi_agent_index": 0, - "multi_sig_index": 0, - "transaction_block_height": 174826957, - "signer": "0x3fda2b751a0d209e17069ae72ccde256efeaad39e5403ea0e65ef5dcebdf6763", - "is_sender_primary": true, - "type_": "ed25519_signature", - "public_key": "0x09a0437b67514941f39bec7afdfa4c1ab9f14a5b8219d317ec4d4125885895e3", - "signature": "0x8f36f3b11f8193686b5ff764b76275604fbe70ca98edc7170ee79395f1de02c01a3eed31c85c636c507c6ac781e7cbe46bf09981c1a6a7be40316e8fa90ddb08", - "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/578366445/user_transactions.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/578366445/user_transactions.json deleted file mode 100644 index 472a6fb97..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/578366445/user_transactions.json +++ /dev/null @@ -1,15 +0,0 @@ -[ - { - "version": 578366445, - "block_height": 174826957, - "parent_signature_type": "ed25519_signature", - "sender": "0x3fda2b751a0d209e17069ae72ccde256efeaad39e5403ea0e65ef5dcebdf6763", - "sequence_number": 2774, - "max_gas_amount": "18", - "expiration_timestamp_secs": "2024-04-30T23:52:14", - "gas_unit_price": "100", - "timestamp": "2024-04-30T23:50:44.443590", - "entry_function_id_str": "0x4::aptos_token::burn", - "epoch": 6827 - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/602320562/signatures.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/602320562/signatures.json deleted file mode 100644 index a00d8a0ef..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/602320562/signatures.json +++ /dev/null @@ -1,15 +0,0 @@ -[ - { - "transaction_version": 602320562, - "multi_agent_index": 0, - "multi_sig_index": 0, - "transaction_block_height": 179784414, - "signer": "0x12479ac53f2d918bb7ad9259bfc4fe10eb0688d4a54ef36be0c23b5174da8f21", - "is_sender_primary": true, - "type_": "ed25519_signature", - "public_key": "0xc536d47227ade0a2f002023e848276241ab810d4855da919efc1920746b8da42", - "signature": "0x99dc156a7d9b74ce547393497bcf76b5c6cdcad3d8d84a5c9693a4fcb53f40274fa0903d0438c61e6aa8778548ad6fa60a0b66c0b0a12e3a5c0093020b4da204", - "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/602320562/user_transactions.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/602320562/user_transactions.json deleted file mode 100644 index 290d569ac..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/602320562/user_transactions.json +++ /dev/null @@ -1,15 +0,0 @@ -[ - { - "version": 602320562, - "block_height": 179784414, - "parent_signature_type": "ed25519_signature", - "sender": "0x12479ac53f2d918bb7ad9259bfc4fe10eb0688d4a54ef36be0c23b5174da8f21", - "sequence_number": 28950, - "max_gas_amount": "1000", - "expiration_timestamp_secs": "2024-05-15T01:13:39", - "gas_unit_price": "100", - "timestamp": "2024-05-15T00:13:40.850375", - "entry_function_id_str": "0x4::aptos_token::mint", - "epoch": 6996 - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/967255533/signatures.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/967255533/signatures.json deleted file mode 100644 index e2becd763..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/967255533/signatures.json +++ /dev/null @@ -1,15 +0,0 @@ -[ - { - "transaction_version": 967255533, - "multi_agent_index": 0, - "multi_sig_index": 0, - "transaction_block_height": 187592972, - "signer": "0x08c9f3cc69b110791747d4d2be794bd2cdc003d1fc50af399bf4aabfde8aafc9", - "is_sender_primary": true, - "type_": "ed25519_signature", - "public_key": "0xdc077e1a245c551af0eb85514ba3d88c604fe920f1466de11b32560dbdb8ef34", - "signature": "0xcdb8ce877c54ba1025a90cc8f4a622082f005b93cf226623ec0847c3387476b66ac7e80fbcdca96fb9306ff042b534b83746c8c8fa2a3fd6cc38ac3e5b5e4803", - "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/967255533/user_transactions.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/967255533/user_transactions.json deleted file mode 100644 index 089eb0dcf..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/967255533/user_transactions.json +++ /dev/null @@ -1,15 +0,0 @@ -[ - { - "version": 967255533, - "block_height": 187592972, - "parent_signature_type": "ed25519_signature", - "sender": "0x08c9f3cc69b110791747d4d2be794bd2cdc003d1fc50af399bf4aabfde8aafc9", - "sequence_number": 1850, - "max_gas_amount": "200000", - "expiration_timestamp_secs": "2024-06-06T04:43:35", - "gas_unit_price": "100", - "timestamp": "2024-06-06T04:43:15.798869", - "entry_function_id_str": "0xa8a3cdff3068ee47cb0419cbd93ad1f71bdabb50431fc0f5b971a00c613b13d2::odyssey_v2::update_token_uri", - "epoch": 7267 - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/999929475/signatures.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/999929475/signatures.json deleted file mode 100644 index e0c52d039..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/999929475/signatures.json +++ /dev/null @@ -1,15 +0,0 @@ -[ - { - "transaction_version": 999929475, - "multi_agent_index": 0, - "multi_sig_index": 0, - "transaction_block_height": 194508912, - "signer": "0xaf1fbd1c118239498c0fec0e5cec54a50d03250fe1aca589a6b903566ba1d4db", - "is_sender_primary": true, - "type_": "ed25519_signature", - "public_key": "0x258f90622170e9c274e873bbae949abe77f735e808a266b2c08035c1994da3aa", - "signature": "0x846601921951dcac90036f2a7f240ee0f0b4eabf6b19afca7190994d80f86743055a8cf20aea007258b2d6906208f5d447f3df143e0777c36ac1dd77f24b200f", - "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/999929475/user_transactions.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/999929475/user_transactions.json deleted file mode 100644 index 9d003e193..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/999929475/user_transactions.json +++ /dev/null @@ -1,15 +0,0 @@ -[ - { - "version": 999929475, - "block_height": 194508912, - "parent_signature_type": "ed25519_signature", - "sender": "0xaf1fbd1c118239498c0fec0e5cec54a50d03250fe1aca589a6b903566ba1d4db", - "sequence_number": 608, - "max_gas_amount": "48", - "expiration_timestamp_secs": "2024-06-25T23:57:23", - "gas_unit_price": "150", - "timestamp": "2024-06-25T23:55:53.903373", - "entry_function_id_str": "0x4bf51972879e3b95c4781a5cdcb9e1ee24ef483e7d22f2d903626f126df62bd1::router::swap_route_entry_both_coins", - "epoch": 7509 - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/999930475/signatures.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/999930475/signatures.json deleted file mode 100644 index efb9bf373..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/999930475/signatures.json +++ /dev/null @@ -1,15 +0,0 @@ -[ - { - "transaction_version": 999930475, - "multi_agent_index": 0, - "multi_sig_index": 0, - "transaction_block_height": 194509179, - "signer": "0xf31b3dac60ad3ee27399f14984d634ae5d0fd060a5b4ec30b0e4207d60cdc458", - "is_sender_primary": true, - "type_": "ed25519_signature", - "public_key": "0x9641bf54511c1e6cb31790fd7e5884a9f7d3128f7bfc59cf68ef76f9760c814a", - "signature": "0xcc0083d97ac2f0d7460e2be0fe452b4b324ddcac3c66bdc1f9d8784246c4aeb054ec21ce2cd592e66ef5f7893f4f2c65853ebc4a03d018d75776428dd2082b02", - "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/999930475/user_transactions.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/999930475/user_transactions.json deleted file mode 100644 index 9adeea433..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/999930475/user_transactions.json +++ /dev/null @@ -1,15 +0,0 @@ -[ - { - "version": 999930475, - "block_height": 194509179, - "parent_signature_type": "ed25519_signature", - "sender": "0xf31b3dac60ad3ee27399f14984d634ae5d0fd060a5b4ec30b0e4207d60cdc458", - "sequence_number": 85328, - "max_gas_amount": "1000", - "expiration_timestamp_secs": "2024-06-26T00:56:57", - "gas_unit_price": "100", - "timestamp": "2024-06-25T23:56:58.254577", - "entry_function_id_str": "0x4::aptos_token::mint", - "epoch": 7509 - } -] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/1/ans_lookup_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/1/ans_primary_name_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/1/current_ans_lookup_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/1/current_ans_primary_name_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/1200394037/ans_lookup_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/1200394037/ans_lookup_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/1200394037/ans_lookup_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/1200394037/ans_primary_name_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/1200394037/ans_primary_name_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/1200394037/ans_primary_name_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/1200394037/current_ans_lookup_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/1200394037/current_ans_lookup_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/1200394037/current_ans_lookup_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/1200394037/current_ans_primary_name_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/1200394037/current_ans_primary_name_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/1200394037/current_ans_primary_name_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/1255836496/ans_lookup_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/1255836496/ans_primary_name_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/1255836496/current_ans_lookup_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/1255836496/current_ans_primary_name_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/2/ans_lookup_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/2/ans_primary_name_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/2/current_ans_lookup_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/2/current_ans_primary_name_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/2646510387/ans_lookup_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/2646510387/ans_lookup_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/2646510387/ans_lookup_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/2646510387/ans_primary_name_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/2646510387/ans_primary_name_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/2646510387/ans_primary_name_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/2646510387/current_ans_lookup_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/2646510387/current_ans_lookup_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/2646510387/current_ans_lookup_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/2646510387/current_ans_primary_name_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/2646510387/current_ans_primary_name_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/2646510387/current_ans_primary_name_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/278556781/ans_lookup_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/278556781/ans_primary_name_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/278556781/current_ans_lookup_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/278556781/current_ans_primary_name_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/3/ans_lookup_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/3/ans_primary_name_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/3/current_ans_lookup_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/3/current_ans_primary_name_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/5523474016/ans_lookup_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/5523474016/ans_primary_name_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/5523474016/current_ans_lookup_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/5523474016/current_ans_primary_name_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/5979639459/ans_lookup_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/5979639459/ans_primary_name_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/5979639459/current_ans_lookup_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/5979639459/current_ans_primary_name_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/5992795934/ans_lookup_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/5992795934/ans_primary_name_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/5992795934/current_ans_lookup_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/ans_processor/5992795934/current_ans_primary_name_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 3c7e83448..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/1/block_metadata_transactions.json +++ /dev/null @@ -1,18 +0,0 @@ -[ - { - "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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/1/current_table_items.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 03894958e..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/1/table_items.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "key": "0x0619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", - "transaction_version": 1, - "write_set_change_index": 15, - "transaction_block_height": 1, - "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 deleted file mode 100644 index 33d9c2700..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/1/table_metadatas.json +++ /dev/null @@ -1,22 +0,0 @@ -[ - { - "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/1200394037/block_metadata_transactions.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/1200394037/block_metadata_transactions.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/1200394037/block_metadata_transactions.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/1200394037/current_table_items.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/1200394037/current_table_items.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/1200394037/current_table_items.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/1200394037/table_items.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/1200394037/table_items.json deleted file mode 100644 index 2cdc351e0..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/1200394037/table_items.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "key": "0x0619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", - "transaction_version": 1200394037, - "write_set_change_index": 4, - "transaction_block_height": 275972253, - "table_handle": "0x1b854694ae746cdbd8d44186ca4929b2b337df21d1c74633be19b2710552fdca", - "decoded_key": "0x619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", - "decoded_value": "19151940986583212718", - "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/block_metadata_transactions.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/1255836496/block_metadata_transactions.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/1255836496/block_metadata_transactions.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 330dd2a07..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/1255836496/current_table_items.json +++ /dev/null @@ -1,267 +0,0 @@ -[ - { - "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 deleted file mode 100644 index cbdfc479b..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/1255836496/table_items.json +++ /dev/null @@ -1,280 +0,0 @@ -[ - { - "key": "0x0900000000000000", - "transaction_version": 1255836496, - "write_set_change_index": 19, - "transaction_block_height": 295534162, - "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 - }, - { - "key": "0x0619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", - "transaction_version": 1255836496, - "write_set_change_index": 20, - "transaction_block_height": 295534162, - "table_handle": "0x1b854694ae746cdbd8d44186ca4929b2b337df21d1c74633be19b2710552fdca", - "decoded_key": "0x619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", - "decoded_value": "29152644549222814344", - "is_deleted": false - }, - { - "key": "0x0900000000000000", - "transaction_version": 1255836496, - "write_set_change_index": 21, - "transaction_block_height": 295534162, - "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 - }, - { - "key": "0x0900000000000000", - "transaction_version": 1255836496, - "write_set_change_index": 22, - "transaction_block_height": 295534162, - "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 deleted file mode 100644 index 33d9c2700..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/1255836496/table_metadatas.json +++ /dev/null @@ -1,22 +0,0 @@ -[ - { - "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 deleted file mode 100644 index 27eda9576..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/2/block_metadata_transactions.json +++ /dev/null @@ -1,15 +0,0 @@ -[ - { - "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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/2/current_table_items.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/2/table_items.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 33d9c2700..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/2/table_metadatas.json +++ /dev/null @@ -1,22 +0,0 @@ -[ - { - "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/2646510387/block_metadata_transactions.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/2646510387/block_metadata_transactions.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/2646510387/block_metadata_transactions.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/2646510387/current_table_items.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/2646510387/current_table_items.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/2646510387/current_table_items.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/2646510387/table_items.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/2646510387/table_items.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/2646510387/table_items.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/278556781/block_metadata_transactions.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/278556781/current_table_items.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index cba9a3aad..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/278556781/table_items.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "key": "0x0619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", - "transaction_version": 278556781, - "write_set_change_index": 7, - "transaction_block_height": 20040326, - "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 deleted file mode 100644 index 33d9c2700..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/278556781/table_metadatas.json +++ /dev/null @@ -1,22 +0,0 @@ -[ - { - "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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/3/block_metadata_transactions.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/3/current_table_items.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/3/table_items.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 33d9c2700..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/3/table_metadatas.json +++ /dev/null @@ -1,22 +0,0 @@ -[ - { - "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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/5523474016/block_metadata_transactions.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/5523474016/current_table_items.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index c18172930..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/5523474016/table_items.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "key": "0x0619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", - "transaction_version": 5523474016, - "write_set_change_index": 44, - "transaction_block_height": 322305240, - "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 deleted file mode 100644 index 33d9c2700..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/5523474016/table_metadatas.json +++ /dev/null @@ -1,22 +0,0 @@ -[ - { - "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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/5979639459/block_metadata_transactions.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 1037fe6f5..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/5979639459/current_table_items.json +++ /dev/null @@ -1,11 +0,0 @@ -[ - { - "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 deleted file mode 100644 index df8a5b3d4..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/5979639459/table_items.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "key": "0x0619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", - "transaction_version": 5979639459, - "write_set_change_index": 4, - "transaction_block_height": 354619634, - "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 deleted file mode 100644 index 7e2e1fab8..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/5979639459/table_metadatas.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/5992795934/block_metadata_transactions.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index bc3bbf053..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/5992795934/current_table_items.json +++ /dev/null @@ -1,11 +0,0 @@ -[ - { - "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 deleted file mode 100644 index a5745dfc7..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/5992795934/table_items.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "key": "0x0619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", - "transaction_version": 5992795934, - "write_set_change_index": 6, - "transaction_block_height": 356437526, - "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 deleted file mode 100644 index 33d9c2700..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/default_processor/5992795934/table_metadatas.json +++ /dev/null @@ -1,22 +0,0 @@ -[ - { - "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/events_processor/1/events.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/events_processor/1/events.json deleted file mode 100644 index 338e7e633..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/events_processor/1/events.json +++ /dev/null @@ -1,94 +0,0 @@ -[ - { - "sequence_number": 1, - "creation_number": 3, - "account_address": "0x0000000000000000000000000000000000000000000000000000000000000001", - "transaction_version": 1, - "transaction_block_height": 1, - "type_": "0x1::block::NewBlockEvent", - "data": { - "hash": "0x1f4392dc07a74b39eaea58b912855cbbd1ab67e5089ae6166329e883c2085f0", - "epoch": "1", - "round": "3", - "height": "1", - "proposer": "0xdffe3c93b756bf6fec59b052d6fe71b40c3f9b7899d69ab06ba385b1c6728d16", - "time_microseconds": "1662686657227425", - "failed_proposer_indices": [ - "2", - "1" - ], - "previous_block_votes_bitvec": "0x00" - }, - "indexed_type": "0x1::block::NewBlockEvent", - "event_index": 0 - }, - { - "sequence_number": 0, - "creation_number": 12, - "account_address": "0xb7c7d12080209e9dc14498c80200706e760363fb31782247e82cf57d1d6e5d6c", - "transaction_version": 1, - "transaction_block_height": 1, - "type_": "0x1::stake::DistributeRewardsEvent", - "data": { - "pool_address": "0xb7c7d12080209e9dc14498c80200706e760363fb31782247e82cf57d1d6e5d6c", - "rewards_amount": "0" - }, - "indexed_type": "0x1::stake::DistributeRewardsEvent", - "event_index": 1 - }, - { - "sequence_number": 0, - "creation_number": 12, - "account_address": "0xdffe3c93b756bf6fec59b052d6fe71b40c3f9b7899d69ab06ba385b1c6728d16", - "transaction_version": 1, - "transaction_block_height": 1, - "type_": "0x1::stake::DistributeRewardsEvent", - "data": { - "pool_address": "0xdffe3c93b756bf6fec59b052d6fe71b40c3f9b7899d69ab06ba385b1c6728d16", - "rewards_amount": "4566200000" - }, - "indexed_type": "0x1::stake::DistributeRewardsEvent", - "event_index": 2 - }, - { - "sequence_number": 0, - "creation_number": 12, - "account_address": "0x828ca971e35c8b9a807439e5a328fdc9a5ed0efbfb12f40bc451d17f6998be3f", - "transaction_version": 1, - "transaction_block_height": 1, - "type_": "0x1::stake::DistributeRewardsEvent", - "data": { - "pool_address": "0x828ca971e35c8b9a807439e5a328fdc9a5ed0efbfb12f40bc451d17f6998be3f", - "rewards_amount": "0" - }, - "indexed_type": "0x1::stake::DistributeRewardsEvent", - "event_index": 3 - }, - { - "sequence_number": 0, - "creation_number": 12, - "account_address": "0xacb107b98cd634ca32d39d38ab13df8cbcd5fe7856ce2a3c3d123e53f95d0b6f", - "transaction_version": 1, - "transaction_block_height": 1, - "type_": "0x1::stake::DistributeRewardsEvent", - "data": { - "pool_address": "0xacb107b98cd634ca32d39d38ab13df8cbcd5fe7856ce2a3c3d123e53f95d0b6f", - "rewards_amount": "0" - }, - "indexed_type": "0x1::stake::DistributeRewardsEvent", - "event_index": 4 - }, - { - "sequence_number": 1, - "creation_number": 2, - "account_address": "0x0000000000000000000000000000000000000000000000000000000000000001", - "transaction_version": 1, - "transaction_block_height": 1, - "type_": "0x1::reconfiguration::NewEpochEvent", - "data": { - "epoch": "2" - }, - "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/1200394037/events.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/events_processor/1200394037/events.json deleted file mode 100644 index fa02c1060..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/events_processor/1200394037/events.json +++ /dev/null @@ -1,33 +0,0 @@ -[ - { - "sequence_number": 0, - "creation_number": 0, - "account_address": "0x0000000000000000000000000000000000000000000000000000000000000000", - "transaction_version": 1200394037, - "transaction_block_height": 275972253, - "type_": "0x1::fungible_asset::Frozen", - "data": { - "store": "0x1fff287896925cd278649c9c18ccf22e8ee879964f0284f61df4fd811574cdb4", - "frozen": true - }, - "indexed_type": "0x1::fungible_asset::Frozen", - "event_index": 0 - }, - { - "sequence_number": 0, - "creation_number": 0, - "account_address": "0x0000000000000000000000000000000000000000000000000000000000000000", - "transaction_version": 1200394037, - "transaction_block_height": 275972253, - "type_": "0x1::transaction_fee::FeeStatement", - "data": { - "io_gas_units": "5", - "storage_fee_octas": "53240", - "execution_gas_units": "5", - "total_charge_gas_units": "542", - "storage_fee_refund_octas": "0" - }, - "indexed_type": "0x1::transaction_fee::FeeStatement", - "event_index": 1 - } -] \ 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 deleted file mode 100644 index a10bb69f9..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/events_processor/1255836496/events.json +++ /dev/null @@ -1,77 +0,0 @@ -[ - { - "sequence_number": 0, - "creation_number": 3, - "account_address": "0xf21d4c76354db6492841e31fefeaa5a3e8a1071d2bcbbdd1cf1cbc6fa3954b88", - "transaction_version": 1255836496, - "transaction_block_height": 295534162, - "type_": "0x1::coin::WithdrawEvent", - "data": { - "amount": "300000" - }, - "indexed_type": "0x1::coin::WithdrawEvent", - "event_index": 0 - }, - { - "sequence_number": 707, - "creation_number": 4, - "account_address": "0x6cbd58aec3b1eb5aff37ece4dff62b829ecbc6b851ee94056e852bcde5690ab4", - "transaction_version": 1255836496, - "transaction_block_height": 295534162, - "type_": "0x1::coin::DepositEvent", - "data": { - "amount": "300000" - }, - "indexed_type": "0x1::coin::DepositEvent", - "event_index": 1 - }, - { - "sequence_number": 0, - "creation_number": 0, - "account_address": "0x0000000000000000000000000000000000000000000000000000000000000000", - "transaction_version": 1255836496, - "transaction_block_height": 295534162, - "type_": "0x1::fungible_asset::Deposit", - "data": { - "store": "0x8f4f0991e18bd9620a4b3756dbe15afd20135eaaa93e0d0b82e6e2412a8e12b8", - "amount": "300000" - }, - "indexed_type": "0x1::fungible_asset::Deposit", - "event_index": 2 - }, - { - "sequence_number": 0, - "creation_number": 0, - "account_address": "0x0000000000000000000000000000000000000000000000000000000000000000", - "transaction_version": 1255836496, - "transaction_block_height": 295534162, - "type_": "0xfabb471223cefd7064b1f19f6e0e06468d2bd830d8ae832916406dd8297098af::lending_pool::Deposit", - "data": { - "pool": { - "inner": "0x8f4f0991e18bd9620a4b3756dbe15afd20135eaaa93e0d0b82e6e2412a8e12b8" - }, - "user": "0xf21d4c76354db6492841e31fefeaa5a3e8a1071d2bcbbdd1cf1cbc6fa3954b88", - "token": "0x1::aptos_coin::AptosCoin", - "amount": "300000" - }, - "indexed_type": "0xfabb471223cefd7064b1f19f6e0e06468d2bd830d8ae832916406dd8297098af::lending_pool::Deposit", - "event_index": 3 - }, - { - "sequence_number": 0, - "creation_number": 0, - "account_address": "0x0000000000000000000000000000000000000000000000000000000000000000", - "transaction_version": 1255836496, - "transaction_block_height": 295534162, - "type_": "0x1::transaction_fee::FeeStatement", - "data": { - "io_gas_units": "16", - "storage_fee_octas": "45720", - "execution_gas_units": "32", - "total_charge_gas_units": "505", - "storage_fee_refund_octas": "0" - }, - "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/2/events.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/events_processor/2/events.json deleted file mode 100644 index 1c54ddcd9..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/events_processor/2/events.json +++ /dev/null @@ -1,22 +0,0 @@ -[ - { - "sequence_number": 2, - "creation_number": 3, - "account_address": "0x0000000000000000000000000000000000000000000000000000000000000001", - "transaction_version": 2, - "transaction_block_height": 2, - "type_": "0x1::block::NewBlockEvent", - "data": { - "hash": "0x7155ede2ab87b66e7beba3210b43367eb90daff8891d44ed05eed20a71b9b55a", - "epoch": "2", - "round": "1", - "height": "2", - "proposer": "0xacb107b98cd634ca32d39d38ab13df8cbcd5fe7856ce2a3c3d123e53f95d0b6f", - "time_microseconds": "1662686657332551", - "failed_proposer_indices": [], - "previous_block_votes_bitvec": "0x00" - }, - "indexed_type": "0x1::block::NewBlockEvent", - "event_index": 0 - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/events_processor/2646510387/events.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/events_processor/2646510387/events.json deleted file mode 100644 index 7684dbf5a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/events_processor/2646510387/events.json +++ /dev/null @@ -1,33 +0,0 @@ -[ - { - "sequence_number": 0, - "creation_number": 0, - "account_address": "0x0000000000000000000000000000000000000000000000000000000000000000", - "transaction_version": 2646510387, - "transaction_block_height": 305131416, - "type_": "0x1::fungible_asset::Withdraw", - "data": { - "store": "0x6999cbf188405f4732f0561e196c5fdde1e057415dd16c6c9e83e30c9a0e3019", - "amount": "300" - }, - "indexed_type": "0x1::fungible_asset::Withdraw", - "event_index": 0 - }, - { - "sequence_number": 0, - "creation_number": 0, - "account_address": "0x0000000000000000000000000000000000000000000000000000000000000000", - "transaction_version": 2646510387, - "transaction_block_height": 305131416, - "type_": "0x1::transaction_fee::FeeStatement", - "data": { - "io_gas_units": "1", - "storage_fee_octas": "0", - "execution_gas_units": "3", - "total_charge_gas_units": "3", - "storage_fee_refund_octas": "0" - }, - "indexed_type": "0x1::transaction_fee::FeeStatement", - "event_index": 1 - } -] \ 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 deleted file mode 100644 index b3c4de024..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/events_processor/278556781/events.json +++ /dev/null @@ -1,32 +0,0 @@ -[ - { - "sequence_number": 2, - "creation_number": 0, - "account_address": "0x589dabf3b43ef5c331ea3c0f9b6b005860c1f0ef94a5948d133e051b20c22862", - "transaction_version": 278556781, - "transaction_block_height": 20040326, - "type_": "0x1::account::CoinRegisterEvent", - "data": { - "type_info": { - "module_name": "0x70726f746f6e5f63626479", - "struct_name": "0x5052545f4b4642434343", - "account_address": "0x589dabf3b43ef5c331ea3c0f9b6b005860c1f0ef94a5948d133e051b20c22862" - } - }, - "indexed_type": "0x1::account::CoinRegisterEvent", - "event_index": 0 - }, - { - "sequence_number": 0, - "creation_number": 10, - "account_address": "0x589dabf3b43ef5c331ea3c0f9b6b005860c1f0ef94a5948d133e051b20c22862", - "transaction_version": 278556781, - "transaction_block_height": 20040326, - "type_": "0x1::coin::DepositEvent", - "data": { - "amount": "1000000000000000000" - }, - "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/3/events.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/events_processor/3/events.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/events_processor/3/events.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index d1a0d7d76..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/events_processor/5523474016/events.json +++ /dev/null @@ -1,281 +0,0 @@ -[ - { - "sequence_number": 9814, - "creation_number": 12, - "account_address": "0x0a4113560d0b18ba38797f2a899c4b27e0c5b0476be5d8f6be68fba8b1861ed0", - "transaction_version": 5523474016, - "transaction_block_height": 322305240, - "type_": "0x1::stake::DistributeRewardsEvent", - "data": { - "pool_address": "0xa4113560d0b18ba38797f2a899c4b27e0c5b0476be5d8f6be68fba8b1861ed0", - "rewards_amount": "789371656" - }, - "indexed_type": "0x1::stake::DistributeRewardsEvent", - "event_index": 0 - }, - { - "sequence_number": 4252, - "creation_number": 12, - "account_address": "0x286e8af6717ef6b1e361aae8ab28dd6664bf562c2805dd9a53432246ec66566e", - "transaction_version": 5523474016, - "transaction_block_height": 322305240, - "type_": "0x1::stake::DistributeRewardsEvent", - "data": { - "pool_address": "0x286e8af6717ef6b1e361aae8ab28dd6664bf562c2805dd9a53432246ec66566e", - "rewards_amount": "19174256316" - }, - "indexed_type": "0x1::stake::DistributeRewardsEvent", - "event_index": 1 - }, - { - "sequence_number": 9823, - "creation_number": 12, - "account_address": "0x116176e2af223a8b7f8db80dc52f7a423b4d7f8c0553a1747e92ef58849aff4f", - "transaction_version": 5523474016, - "transaction_block_height": 322305240, - "type_": "0x1::stake::DistributeRewardsEvent", - "data": { - "pool_address": "0x116176e2af223a8b7f8db80dc52f7a423b4d7f8c0553a1747e92ef58849aff4f", - "rewards_amount": "19178730843" - }, - "indexed_type": "0x1::stake::DistributeRewardsEvent", - "event_index": 2 - }, - { - "sequence_number": 3697, - "creation_number": 12, - "account_address": "0xba08cec00a8cfa1deff6c9212dda8d198c8fa6ee1992f3ada76d645f99e3402b", - "transaction_version": 5523474016, - "transaction_block_height": 322305240, - "type_": "0x1::stake::DistributeRewardsEvent", - "data": { - "pool_address": "0xba08cec00a8cfa1deff6c9212dda8d198c8fa6ee1992f3ada76d645f99e3402b", - "rewards_amount": "818123890" - }, - "indexed_type": "0x1::stake::DistributeRewardsEvent", - "event_index": 3 - }, - { - "sequence_number": 9813, - "creation_number": 12, - "account_address": "0x12000330d7cd8a748f46c25e6ce5d236a27e13d0b510d4516ac84ecc5fddd002", - "transaction_version": 5523474016, - "transaction_block_height": 322305240, - "type_": "0x1::stake::DistributeRewardsEvent", - "data": { - "pool_address": "0x12000330d7cd8a748f46c25e6ce5d236a27e13d0b510d4516ac84ecc5fddd002", - "rewards_amount": "19178287161" - }, - "indexed_type": "0x1::stake::DistributeRewardsEvent", - "event_index": 4 - }, - { - "sequence_number": 14143, - "creation_number": 12, - "account_address": "0x5176f2252762e527e3598c22f1bdb3a1ac0ff0db2d7518cabbc99305330a864a", - "transaction_version": 5523474016, - "transaction_block_height": 322305240, - "type_": "0x1::stake::DistributeRewardsEvent", - "data": { - "pool_address": "0x5176f2252762e527e3598c22f1bdb3a1ac0ff0db2d7518cabbc99305330a864a", - "rewards_amount": "963055869" - }, - "indexed_type": "0x1::stake::DistributeRewardsEvent", - "event_index": 5 - }, - { - "sequence_number": 9812, - "creation_number": 12, - "account_address": "0xf0a156ed79ab6ccb5a643af48716263b565fd985ba36560966b4a91bdc8521f4", - "transaction_version": 5523474016, - "transaction_block_height": 322305240, - "type_": "0x1::stake::DistributeRewardsEvent", - "data": { - "pool_address": "0xf0a156ed79ab6ccb5a643af48716263b565fd985ba36560966b4a91bdc8521f4", - "rewards_amount": "19177688699" - }, - "indexed_type": "0x1::stake::DistributeRewardsEvent", - "event_index": 6 - }, - { - "sequence_number": 7807, - "creation_number": 12, - "account_address": "0xa562415be88d9f08ba98fa3f6af9be0e36580c0f8fff5100a50b519e8f4a15c9", - "transaction_version": 5523474016, - "transaction_block_height": 322305240, - "type_": "0x1::stake::DistributeRewardsEvent", - "data": { - "pool_address": "0xa562415be88d9f08ba98fa3f6af9be0e36580c0f8fff5100a50b519e8f4a15c9", - "rewards_amount": "841058926" - }, - "indexed_type": "0x1::stake::DistributeRewardsEvent", - "event_index": 7 - }, - { - "sequence_number": 9823, - "creation_number": 12, - "account_address": "0x676f640c90cb6c45f21be50974531d440309aa4ddad919ae0429039789a3d8a9", - "transaction_version": 5523474016, - "transaction_block_height": 322305240, - "type_": "0x1::stake::DistributeRewardsEvent", - "data": { - "pool_address": "0x676f640c90cb6c45f21be50974531d440309aa4ddad919ae0429039789a3d8a9", - "rewards_amount": "19178518163" - }, - "indexed_type": "0x1::stake::DistributeRewardsEvent", - "event_index": 8 - }, - { - "sequence_number": 9829, - "creation_number": 12, - "account_address": "0x03c04549114877c55f45649aba48ac0a4ff086ab7bdce3b8cc8d3d9947bc0d99", - "transaction_version": 5523474016, - "transaction_block_height": 322305240, - "type_": "0x1::stake::DistributeRewardsEvent", - "data": { - "pool_address": "0x3c04549114877c55f45649aba48ac0a4ff086ab7bdce3b8cc8d3d9947bc0d99", - "rewards_amount": "19185171265" - }, - "indexed_type": "0x1::stake::DistributeRewardsEvent", - "event_index": 9 - }, - { - "sequence_number": 4252, - "creation_number": 12, - "account_address": "0x6d00a8a82bd0b6d187f9a328118ad61b5c80237362e8f5dd2454f2d3a1b03890", - "transaction_version": 5523474016, - "transaction_block_height": 322305240, - "type_": "0x1::stake::DistributeRewardsEvent", - "data": { - "pool_address": "0x6d00a8a82bd0b6d187f9a328118ad61b5c80237362e8f5dd2454f2d3a1b03890", - "rewards_amount": "19174925092" - }, - "indexed_type": "0x1::stake::DistributeRewardsEvent", - "event_index": 10 - }, - { - "sequence_number": 8256, - "creation_number": 12, - "account_address": "0x7a2ddb6af66beb0d9987c6c9010cb9053454f067e16775a8ecf19961195c3d28", - "transaction_version": 5523474016, - "transaction_block_height": 322305240, - "type_": "0x1::stake::DistributeRewardsEvent", - "data": { - "pool_address": "0x7a2ddb6af66beb0d9987c6c9010cb9053454f067e16775a8ecf19961195c3d28", - "rewards_amount": "18813123628" - }, - "indexed_type": "0x1::stake::DistributeRewardsEvent", - "event_index": 11 - }, - { - "sequence_number": 8641, - "creation_number": 10, - "account_address": "0xeecd6e9fb71f3a67db6321e93deecf7a9d7c3f4fac6cd170deb3e8b183281943", - "transaction_version": 5523474016, - "transaction_block_height": 322305240, - "type_": "0x1::stake::DistributeRewardsEvent", - "data": { - "pool_address": "0xeecd6e9fb71f3a67db6321e93deecf7a9d7c3f4fac6cd170deb3e8b183281943", - "rewards_amount": "828031401" - }, - "indexed_type": "0x1::stake::DistributeRewardsEvent", - "event_index": 12 - }, - { - "sequence_number": 1882, - "creation_number": 12, - "account_address": "0xfd47a2fb988c959839ea2fe4d7169b48536a42bf5e4933790701a08252ba2039", - "transaction_version": 5523474016, - "transaction_block_height": 322305240, - "type_": "0x1::stake::DistributeRewardsEvent", - "data": { - "pool_address": "0xfd47a2fb988c959839ea2fe4d7169b48536a42bf5e4933790701a08252ba2039", - "rewards_amount": "798768182" - }, - "indexed_type": "0x1::stake::DistributeRewardsEvent", - "event_index": 13 - }, - { - "sequence_number": 2197, - "creation_number": 12, - "account_address": "0x479ca442491cfd636f84fa8e56fa420c8038587e459e886d16a0b9d3993b16ba", - "transaction_version": 5523474016, - "transaction_block_height": 322305240, - "type_": "0x1::stake::DistributeRewardsEvent", - "data": { - "pool_address": "0x479ca442491cfd636f84fa8e56fa420c8038587e459e886d16a0b9d3993b16ba", - "rewards_amount": "18896078163" - }, - "indexed_type": "0x1::stake::DistributeRewardsEvent", - "event_index": 14 - }, - { - "sequence_number": 2199, - "creation_number": 12, - "account_address": "0x95a0e6b1105ba7ef9382e585d32e9dbf1a73833975af77d9b6924aa33468df07", - "transaction_version": 5523474016, - "transaction_block_height": 322305240, - "type_": "0x1::stake::DistributeRewardsEvent", - "data": { - "pool_address": "0x95a0e6b1105ba7ef9382e585d32e9dbf1a73833975af77d9b6924aa33468df07", - "rewards_amount": "18894077814" - }, - "indexed_type": "0x1::stake::DistributeRewardsEvent", - "event_index": 15 - }, - { - "sequence_number": 225, - "creation_number": 12, - "account_address": "0xb59c2db675c086d0c07b0f5d5ebd95ea9ead4429d836284fc4a576c4eed5799c", - "transaction_version": 5523474016, - "transaction_block_height": 322305240, - "type_": "0x1::stake::DistributeRewardsEvent", - "data": { - "pool_address": "0xb59c2db675c086d0c07b0f5d5ebd95ea9ead4429d836284fc4a576c4eed5799c", - "rewards_amount": "787639333" - }, - "indexed_type": "0x1::stake::DistributeRewardsEvent", - "event_index": 16 - }, - { - "sequence_number": 405, - "creation_number": 12, - "account_address": "0x50e52098d22c91f4c6a0065d03b2602cc2643089b218096e3cfe5f1bd98d80e6", - "transaction_version": 5523474016, - "transaction_block_height": 322305240, - "type_": "0x1::stake::DistributeRewardsEvent", - "data": { - "pool_address": "0x50e52098d22c91f4c6a0065d03b2602cc2643089b218096e3cfe5f1bd98d80e6", - "rewards_amount": "789473752" - }, - "indexed_type": "0x1::stake::DistributeRewardsEvent", - "event_index": 17 - }, - { - "sequence_number": 330, - "creation_number": 10, - "account_address": "0xa5ed5d5e8c892165b18c2062596e8d1139fbb2cc451d430f787cd707122ce023", - "transaction_version": 5523474016, - "transaction_block_height": 322305240, - "type_": "0x1::stake::DistributeRewardsEvent", - "data": { - "pool_address": "0xa5ed5d5e8c892165b18c2062596e8d1139fbb2cc451d430f787cd707122ce023", - "rewards_amount": "787913628" - }, - "indexed_type": "0x1::stake::DistributeRewardsEvent", - "event_index": 18 - }, - { - "sequence_number": 16643, - "creation_number": 2, - "account_address": "0x0000000000000000000000000000000000000000000000000000000000000001", - "transaction_version": 5523474016, - "transaction_block_height": 322305240, - "type_": "0x1::reconfiguration::NewEpochEvent", - "data": { - "epoch": "16644" - }, - "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 deleted file mode 100644 index ed5feab5f..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/events_processor/5979639459/events.json +++ /dev/null @@ -1,62 +0,0 @@ -[ - { - "sequence_number": 0, - "creation_number": 0, - "account_address": "0xb7a4a81a3d513e3e18ee6bec61a001d7e18c5d92bb6645a2f21f0b0fec2531a6", - "transaction_version": 5979639459, - "transaction_block_height": 354619634, - "type_": "0x1::account::CoinRegisterEvent", - "data": { - "type_info": { - "module_name": "0x6170746f735f636f696e", - "struct_name": "0x4170746f73436f696e", - "account_address": "0x1" - } - }, - "indexed_type": "0x1::account::CoinRegisterEvent", - "event_index": 0 - }, - { - "sequence_number": 21684, - "creation_number": 3, - "account_address": "0x54ce130990ecf55cd12de74bff03dcfaacf63066e0945d3c415d61644303da39", - "transaction_version": 5979639459, - "transaction_block_height": 354619634, - "type_": "0x1::coin::WithdrawEvent", - "data": { - "amount": "10" - }, - "indexed_type": "0x1::coin::WithdrawEvent", - "event_index": 1 - }, - { - "sequence_number": 0, - "creation_number": 2, - "account_address": "0xb7a4a81a3d513e3e18ee6bec61a001d7e18c5d92bb6645a2f21f0b0fec2531a6", - "transaction_version": 5979639459, - "transaction_block_height": 354619634, - "type_": "0x1::coin::DepositEvent", - "data": { - "amount": "10" - }, - "indexed_type": "0x1::coin::DepositEvent", - "event_index": 2 - }, - { - "sequence_number": 0, - "creation_number": 0, - "account_address": "0x0000000000000000000000000000000000000000000000000000000000000000", - "transaction_version": 5979639459, - "transaction_block_height": 354619634, - "type_": "0x1::transaction_fee::FeeStatement", - "data": { - "io_gas_units": "5", - "storage_fee_octas": "98800", - "execution_gas_units": "6", - "total_charge_gas_units": "999", - "storage_fee_refund_octas": "0" - }, - "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 deleted file mode 100644 index dd105cc73..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/events_processor/5992795934/events.json +++ /dev/null @@ -1,47 +0,0 @@ -[ - { - "sequence_number": 0, - "creation_number": 0, - "account_address": "0x0000000000000000000000000000000000000000000000000000000000000000", - "transaction_version": 5992795934, - "transaction_block_height": 356437526, - "type_": "0x1::fungible_asset::Withdraw", - "data": { - "store": "0x8bd5745daa2d6e5817819c6bf37600196e55cfba8c5bcdfdf55684bf4accbb9c", - "amount": "100000000" - }, - "indexed_type": "0x1::fungible_asset::Withdraw", - "event_index": 0 - }, - { - "sequence_number": 0, - "creation_number": 0, - "account_address": "0x0000000000000000000000000000000000000000000000000000000000000000", - "transaction_version": 5992795934, - "transaction_block_height": 356437526, - "type_": "0x1::fungible_asset::Deposit", - "data": { - "store": "0xfe90bdd996728b93e09f5d59fd91d6d44be85ab7acea5d1ed535b4c13b2c32c0", - "amount": "100000000" - }, - "indexed_type": "0x1::fungible_asset::Deposit", - "event_index": 1 - }, - { - "sequence_number": 0, - "creation_number": 0, - "account_address": "0x0000000000000000000000000000000000000000000000000000000000000000", - "transaction_version": 5992795934, - "transaction_block_height": 356437526, - "type_": "0x1::transaction_fee::FeeStatement", - "data": { - "io_gas_units": "7", - "storage_fee_octas": "0", - "execution_gas_units": "5", - "total_charge_gas_units": "12", - "storage_fee_refund_octas": "0" - }, - "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 deleted file mode 100644 index 05dd7f35b..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/1/coin_supply.json +++ /dev/null @@ -1,10 +0,0 @@ -[ - { - "transaction_version": 1, - "coin_type_hash": "91ceb1308a98389691e05158b07ed5f079ab78461a6bb8d5a4054b1bb5cb8bb6", - "coin_type": "0x1::aptos_coin::AptosCoin", - "supply": "18448344078275751615", - "transaction_timestamp": "2022-09-09T01:24:17", - "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/1/current_fungible_asset_balances.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/1/current_fungible_asset_balances.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/1/current_fungible_asset_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/1/fungible_asset_activities.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/1/fungible_asset_activities.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/1/fungible_asset_activities.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/1/fungible_asset_balances.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/1/fungible_asset_balances.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/1/fungible_asset_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/1/fungible_asset_metadata.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/1/fungible_asset_metadata.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/1/fungible_asset_metadata.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/1200394037/coin_supply.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/1200394037/coin_supply.json deleted file mode 100644 index ecf32ae69..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/1200394037/coin_supply.json +++ /dev/null @@ -1,10 +0,0 @@ -[ - { - "transaction_version": 1200394037, - "coin_type_hash": "91ceb1308a98389691e05158b07ed5f079ab78461a6bb8d5a4054b1bb5cb8bb6", - "coin_type": "0x1::aptos_coin::AptosCoin", - "supply": "19151940986583212718", - "transaction_timestamp": "2024-05-22T05:52:52", - "transaction_epoch": 14987 - } -] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/1200394037/current_fungible_asset_balances.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/1200394037/current_fungible_asset_balances.json deleted file mode 100644 index 27b7244ad..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/1200394037/current_fungible_asset_balances.json +++ /dev/null @@ -1,24 +0,0 @@ -[ - { - "storage_id": "0x1fff287896925cd278649c9c18ccf22e8ee879964f0284f61df4fd811574cdb4", - "owner_address": "0xbc054b63705ba1440cd48527756adc0861310658dcb3b13b13f5193d447c1f1e", - "asset_type": "0xa0e8bee18e7ed6c7f52ff2708c367c7214083e16dc69827c0311dab87f17f554", - "is_primary": true, - "is_frozen": true, - "amount": "0", - "last_transaction_timestamp": "2024-05-22T05:52:52", - "last_transaction_version": 1200394037, - "token_standard": "v2" - }, - { - "storage_id": "0x30ada02023d8f633496e5119bdf88f898ddb11e95bb2f1f73aedbf75b042e502", - "owner_address": "0x8a735d61f2c98aa97f62fa3c328b63fc97b8a7d50cd8eda633124137639ce4fc", - "asset_type": "0x1::aptos_coin::AptosCoin", - "is_primary": true, - "is_frozen": false, - "amount": "99580400", - "last_transaction_timestamp": "2024-05-22T05:52:52", - "last_transaction_version": 1200394037, - "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/1200394037/fungible_asset_activities.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/1200394037/fungible_asset_activities.json deleted file mode 100644 index f7fe2bb48..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/1200394037/fungible_asset_activities.json +++ /dev/null @@ -1,38 +0,0 @@ -[ - { - "transaction_version": 1200394037, - "event_index": -1, - "owner_address": "0x8a735d61f2c98aa97f62fa3c328b63fc97b8a7d50cd8eda633124137639ce4fc", - "storage_id": "0x30ada02023d8f633496e5119bdf88f898ddb11e95bb2f1f73aedbf75b042e502", - "asset_type": "0x1::aptos_coin::AptosCoin", - "is_frozen": null, - "amount": "54200", - "type_": "0x1::aptos_coin::GasFeeEvent", - "is_gas_fee": true, - "gas_fee_payer_address": null, - "is_transaction_success": true, - "entry_function_id_str": "0x8a735d61f2c98aa97f62fa3c328b63fc97b8a7d50cd8eda633124137639ce4fc::fa_coin::freeze_account", - "block_height": 275972253, - "token_standard": "v1", - "transaction_timestamp": "2024-05-22T05:52:52", - "storage_refund_amount": "0" - }, - { - "transaction_version": 1200394037, - "event_index": 0, - "owner_address": "0xbc054b63705ba1440cd48527756adc0861310658dcb3b13b13f5193d447c1f1e", - "storage_id": "0x1fff287896925cd278649c9c18ccf22e8ee879964f0284f61df4fd811574cdb4", - "asset_type": "0xa0e8bee18e7ed6c7f52ff2708c367c7214083e16dc69827c0311dab87f17f554", - "is_frozen": true, - "amount": null, - "type_": "0x1::fungible_asset::Frozen", - "is_gas_fee": false, - "gas_fee_payer_address": null, - "is_transaction_success": true, - "entry_function_id_str": "0x8a735d61f2c98aa97f62fa3c328b63fc97b8a7d50cd8eda633124137639ce4fc::fa_coin::freeze_account", - "block_height": 275972253, - "token_standard": "v2", - "transaction_timestamp": "2024-05-22T05:52:52", - "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/1200394037/fungible_asset_balances.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/1200394037/fungible_asset_balances.json deleted file mode 100644 index b1894b963..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/1200394037/fungible_asset_balances.json +++ /dev/null @@ -1,26 +0,0 @@ -[ - { - "transaction_version": 1200394037, - "write_set_change_index": 0, - "storage_id": "0x1fff287896925cd278649c9c18ccf22e8ee879964f0284f61df4fd811574cdb4", - "owner_address": "0xbc054b63705ba1440cd48527756adc0861310658dcb3b13b13f5193d447c1f1e", - "asset_type": "0xa0e8bee18e7ed6c7f52ff2708c367c7214083e16dc69827c0311dab87f17f554", - "is_primary": true, - "is_frozen": true, - "amount": "0", - "transaction_timestamp": "2024-05-22T05:52:52", - "token_standard": "v2" - }, - { - "transaction_version": 1200394037, - "write_set_change_index": 2, - "storage_id": "0x30ada02023d8f633496e5119bdf88f898ddb11e95bb2f1f73aedbf75b042e502", - "owner_address": "0x8a735d61f2c98aa97f62fa3c328b63fc97b8a7d50cd8eda633124137639ce4fc", - "asset_type": "0x1::aptos_coin::AptosCoin", - "is_primary": true, - "is_frozen": false, - "amount": "99580400", - "transaction_timestamp": "2024-05-22T05:52:52", - "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/1200394037/fungible_asset_metadata.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/1200394037/fungible_asset_metadata.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/1200394037/fungible_asset_metadata.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 937a86719..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/1255836496/coin_supply.json +++ /dev/null @@ -1,10 +0,0 @@ -[ - { - "transaction_version": 1255836496, - "coin_type_hash": "91ceb1308a98389691e05158b07ed5f079ab78461a6bb8d5a4054b1bb5cb8bb6", - "coin_type": "0x1::aptos_coin::AptosCoin", - "supply": "29152644549222814344", - "transaction_timestamp": "2024-06-18T05:07:55", - "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 deleted file mode 100644 index e5c643eb6..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/1255836496/current_fungible_asset_balances.json +++ /dev/null @@ -1,46 +0,0 @@ -[ - { - "storage_id": "0x2086a7aaf18928233884d1725d4f92c5f26c67ac03cb98fe2dc40c99671282dc", - "owner_address": "0xf21d4c76354db6492841e31fefeaa5a3e8a1071d2bcbbdd1cf1cbc6fa3954b88", - "asset_type": "0x1::aptos_coin::AptosCoin", - "is_primary": true, - "is_frozen": false, - "amount": "29450400", - "last_transaction_timestamp": "2024-06-18T05:07:55", - "last_transaction_version": 1255836496, - "token_standard": "v1" - }, - { - "storage_id": "0x56c216a20a151df2e917008e27f3b70250f1cbb80eeef24e64e2335630825fa3", - "owner_address": "0x6cbd58aec3b1eb5aff37ece4dff62b829ecbc6b851ee94056e852bcde5690ab4", - "asset_type": "0x1::aptos_coin::AptosCoin", - "is_primary": true, - "is_frozen": false, - "amount": "17374075418", - "last_transaction_timestamp": "2024-06-18T05:07:55", - "last_transaction_version": 1255836496, - "token_standard": "v1" - }, - { - "storage_id": "0x7ea259eaaacce518a7479baca008e17fab2d0267a16e11979d52eb6c5433aad6", - "owner_address": "0xbe1390db94c2f8e83fd870c195656921ed4a2a5dee644c6d9c3168fea082a828", - "asset_type": "0x4551f2167c446b219c4dee2aa5496395c82a465cd57c5b362621af451c5d062b", - "is_primary": false, - "is_frozen": false, - "amount": "93054699", - "last_transaction_timestamp": "2024-06-18T05:07:55", - "last_transaction_version": 1255836496, - "token_standard": "v2" - }, - { - "storage_id": "0x8f4f0991e18bd9620a4b3756dbe15afd20135eaaa93e0d0b82e6e2412a8e12b8", - "owner_address": "0xbe1390db94c2f8e83fd870c195656921ed4a2a5dee644c6d9c3168fea082a828", - "asset_type": "0x4551f2167c446b219c4dee2aa5496395c82a465cd57c5b362621af451c5d062b", - "is_primary": false, - "is_frozen": false, - "amount": "17272186129", - "last_transaction_timestamp": "2024-06-18T05:07:55", - "last_transaction_version": 1255836496, - "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 deleted file mode 100644 index deda77d29..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/1255836496/fungible_asset_activities.json +++ /dev/null @@ -1,74 +0,0 @@ -[ - { - "transaction_version": 1255836496, - "event_index": -1, - "owner_address": "0xf21d4c76354db6492841e31fefeaa5a3e8a1071d2bcbbdd1cf1cbc6fa3954b88", - "storage_id": "0x2086a7aaf18928233884d1725d4f92c5f26c67ac03cb98fe2dc40c99671282dc", - "asset_type": "0x1::aptos_coin::AptosCoin", - "is_frozen": null, - "amount": "50500", - "type_": "0x1::aptos_coin::GasFeeEvent", - "is_gas_fee": true, - "gas_fee_payer_address": null, - "is_transaction_success": true, - "entry_function_id_str": "0xfabb471223cefd7064b1f19f6e0e06468d2bd830d8ae832916406dd8297098af::meso::deposit_coin", - "block_height": 295534162, - "token_standard": "v1", - "transaction_timestamp": "2024-06-18T05:07:55", - "storage_refund_amount": "0" - }, - { - "transaction_version": 1255836496, - "event_index": 0, - "owner_address": "0xf21d4c76354db6492841e31fefeaa5a3e8a1071d2bcbbdd1cf1cbc6fa3954b88", - "storage_id": "0x2086a7aaf18928233884d1725d4f92c5f26c67ac03cb98fe2dc40c99671282dc", - "asset_type": "0x1::aptos_coin::AptosCoin", - "is_frozen": null, - "amount": "300000", - "type_": "0x1::coin::WithdrawEvent", - "is_gas_fee": false, - "gas_fee_payer_address": null, - "is_transaction_success": true, - "entry_function_id_str": "0xfabb471223cefd7064b1f19f6e0e06468d2bd830d8ae832916406dd8297098af::meso::deposit_coin", - "block_height": 295534162, - "token_standard": "v1", - "transaction_timestamp": "2024-06-18T05:07:55", - "storage_refund_amount": "0" - }, - { - "transaction_version": 1255836496, - "event_index": 1, - "owner_address": "0x6cbd58aec3b1eb5aff37ece4dff62b829ecbc6b851ee94056e852bcde5690ab4", - "storage_id": "0x56c216a20a151df2e917008e27f3b70250f1cbb80eeef24e64e2335630825fa3", - "asset_type": "0x1::aptos_coin::AptosCoin", - "is_frozen": null, - "amount": "300000", - "type_": "0x1::coin::DepositEvent", - "is_gas_fee": false, - "gas_fee_payer_address": null, - "is_transaction_success": true, - "entry_function_id_str": "0xfabb471223cefd7064b1f19f6e0e06468d2bd830d8ae832916406dd8297098af::meso::deposit_coin", - "block_height": 295534162, - "token_standard": "v1", - "transaction_timestamp": "2024-06-18T05:07:55", - "storage_refund_amount": "0" - }, - { - "transaction_version": 1255836496, - "event_index": 2, - "owner_address": "0xbe1390db94c2f8e83fd870c195656921ed4a2a5dee644c6d9c3168fea082a828", - "storage_id": "0x8f4f0991e18bd9620a4b3756dbe15afd20135eaaa93e0d0b82e6e2412a8e12b8", - "asset_type": "0x4551f2167c446b219c4dee2aa5496395c82a465cd57c5b362621af451c5d062b", - "is_frozen": null, - "amount": "300000", - "type_": "0x1::fungible_asset::Deposit", - "is_gas_fee": false, - "gas_fee_payer_address": null, - "is_transaction_success": true, - "entry_function_id_str": "0xfabb471223cefd7064b1f19f6e0e06468d2bd830d8ae832916406dd8297098af::meso::deposit_coin", - "block_height": 295534162, - "token_standard": "v2", - "transaction_timestamp": "2024-06-18T05:07:55", - "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 deleted file mode 100644 index 2dd21aa02..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/1255836496/fungible_asset_balances.json +++ /dev/null @@ -1,50 +0,0 @@ -[ - { - "transaction_version": 1255836496, - "write_set_change_index": 4, - "storage_id": "0x56c216a20a151df2e917008e27f3b70250f1cbb80eeef24e64e2335630825fa3", - "owner_address": "0x6cbd58aec3b1eb5aff37ece4dff62b829ecbc6b851ee94056e852bcde5690ab4", - "asset_type": "0x1::aptos_coin::AptosCoin", - "is_primary": true, - "is_frozen": false, - "amount": "17374075418", - "transaction_timestamp": "2024-06-18T05:07:55", - "token_standard": "v1" - }, - { - "transaction_version": 1255836496, - "write_set_change_index": 5, - "storage_id": "0x7ea259eaaacce518a7479baca008e17fab2d0267a16e11979d52eb6c5433aad6", - "owner_address": "0xbe1390db94c2f8e83fd870c195656921ed4a2a5dee644c6d9c3168fea082a828", - "asset_type": "0x4551f2167c446b219c4dee2aa5496395c82a465cd57c5b362621af451c5d062b", - "is_primary": false, - "is_frozen": false, - "amount": "93054699", - "transaction_timestamp": "2024-06-18T05:07:55", - "token_standard": "v2" - }, - { - "transaction_version": 1255836496, - "write_set_change_index": 8, - "storage_id": "0x8f4f0991e18bd9620a4b3756dbe15afd20135eaaa93e0d0b82e6e2412a8e12b8", - "owner_address": "0xbe1390db94c2f8e83fd870c195656921ed4a2a5dee644c6d9c3168fea082a828", - "asset_type": "0x4551f2167c446b219c4dee2aa5496395c82a465cd57c5b362621af451c5d062b", - "is_primary": false, - "is_frozen": false, - "amount": "17272186129", - "transaction_timestamp": "2024-06-18T05:07:55", - "token_standard": "v2" - }, - { - "transaction_version": 1255836496, - "write_set_change_index": 16, - "storage_id": "0x2086a7aaf18928233884d1725d4f92c5f26c67ac03cb98fe2dc40c99671282dc", - "owner_address": "0xf21d4c76354db6492841e31fefeaa5a3e8a1071d2bcbbdd1cf1cbc6fa3954b88", - "asset_type": "0x1::aptos_coin::AptosCoin", - "is_primary": true, - "is_frozen": false, - "amount": "29450400", - "transaction_timestamp": "2024-06-18T05:07:55", - "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 deleted file mode 100644 index cce12e785..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/1255836496/fungible_asset_metadata.json +++ /dev/null @@ -1,19 +0,0 @@ -[ - { - "asset_type": "0x4551f2167c446b219c4dee2aa5496395c82a465cd57c5b362621af451c5d062b", - "creator_address": "0x6cbd58aec3b1eb5aff37ece4dff62b829ecbc6b851ee94056e852bcde5690ab4", - "name": "Aptos Coin", - "symbol": "APT", - "decimals": 8, - "icon_uri": "", - "project_uri": "", - "last_transaction_version": 1255836496, - "last_transaction_timestamp": "2024-06-18T05:07:55", - "supply_aggregator_table_handle_v1": null, - "supply_aggregator_table_key_v1": null, - "token_standard": "v2", - "maximum_v2": "340282366920938463463374607431768211455", - "is_token_v2": null, - "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/2/coin_supply.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/2/coin_supply.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/2/coin_supply.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/2/current_fungible_asset_balances.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/2/current_fungible_asset_balances.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/2/current_fungible_asset_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/2/fungible_asset_activities.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/2/fungible_asset_activities.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/2/fungible_asset_activities.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/2/fungible_asset_balances.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/2/fungible_asset_balances.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/2/fungible_asset_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/2/fungible_asset_metadata.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/2/fungible_asset_metadata.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/2/fungible_asset_metadata.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/2646510387/coin_supply.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/2646510387/coin_supply.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/2646510387/coin_supply.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/2646510387/current_fungible_asset_balances.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/2646510387/current_fungible_asset_balances.json deleted file mode 100644 index 0925ff889..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/2646510387/current_fungible_asset_balances.json +++ /dev/null @@ -1,13 +0,0 @@ -[ - { - "storage_id": "0x6999cbf188405f4732f0561e196c5fdde1e057415dd16c6c9e83e30c9a0e3019", - "owner_address": "0x75fc2a90fa8ef566ddc3d82e84944eb886415bc19226ae1d88d5e7577aec1be5", - "asset_type": "0x000000000000000000000000000000000000000000000000000000000000000a", - "is_primary": true, - "is_frozen": false, - "amount": "398922140", - "last_transaction_timestamp": "2024-07-01T22:15:07", - "last_transaction_version": 2646510387, - "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/2646510387/fungible_asset_activities.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/2646510387/fungible_asset_activities.json deleted file mode 100644 index 07de287ba..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/2646510387/fungible_asset_activities.json +++ /dev/null @@ -1,38 +0,0 @@ -[ - { - "transaction_version": 2646510387, - "event_index": -1, - "owner_address": "0x25b7c0bcd05c7ca74dfd664345f0c7a80678eea427a73cbd0792a8ceb34f59aa", - "storage_id": "0x36f7aaf44e5c6ffcf68cc8ceb4d09a1cca4f353dab08698b830433944b1084d4", - "asset_type": "0x1::aptos_coin::AptosCoin", - "is_frozen": null, - "amount": "300", - "type_": "0x1::aptos_coin::GasFeeEvent", - "is_gas_fee": true, - "gas_fee_payer_address": "0x75fc2a90fa8ef566ddc3d82e84944eb886415bc19226ae1d88d5e7577aec1be5", - "is_transaction_success": true, - "entry_function_id_str": "0x75fc2a90fa8ef566ddc3d82e84944eb886415bc19226ae1d88d5e7577aec1be5::fungible_asset_example::no_op", - "block_height": 305131416, - "token_standard": "v1", - "transaction_timestamp": "2024-07-01T22:15:07", - "storage_refund_amount": "0" - }, - { - "transaction_version": 2646510387, - "event_index": 0, - "owner_address": "0x75fc2a90fa8ef566ddc3d82e84944eb886415bc19226ae1d88d5e7577aec1be5", - "storage_id": "0x6999cbf188405f4732f0561e196c5fdde1e057415dd16c6c9e83e30c9a0e3019", - "asset_type": "0x000000000000000000000000000000000000000000000000000000000000000a", - "is_frozen": null, - "amount": "300", - "type_": "0x1::fungible_asset::Withdraw", - "is_gas_fee": false, - "gas_fee_payer_address": null, - "is_transaction_success": true, - "entry_function_id_str": "0x75fc2a90fa8ef566ddc3d82e84944eb886415bc19226ae1d88d5e7577aec1be5::fungible_asset_example::no_op", - "block_height": 305131416, - "token_standard": "v2", - "transaction_timestamp": "2024-07-01T22:15:07", - "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/2646510387/fungible_asset_balances.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/2646510387/fungible_asset_balances.json deleted file mode 100644 index 20a2632e1..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/2646510387/fungible_asset_balances.json +++ /dev/null @@ -1,14 +0,0 @@ -[ - { - "transaction_version": 2646510387, - "write_set_change_index": 9, - "storage_id": "0x6999cbf188405f4732f0561e196c5fdde1e057415dd16c6c9e83e30c9a0e3019", - "owner_address": "0x75fc2a90fa8ef566ddc3d82e84944eb886415bc19226ae1d88d5e7577aec1be5", - "asset_type": "0x000000000000000000000000000000000000000000000000000000000000000a", - "is_primary": true, - "is_frozen": false, - "amount": "398922140", - "transaction_timestamp": "2024-07-01T22:15:07", - "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/2646510387/fungible_asset_metadata.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/2646510387/fungible_asset_metadata.json deleted file mode 100644 index 3e92428fc..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/2646510387/fungible_asset_metadata.json +++ /dev/null @@ -1,19 +0,0 @@ -[ - { - "asset_type": "0x000000000000000000000000000000000000000000000000000000000000000a", - "creator_address": "0x0000000000000000000000000000000000000000000000000000000000000001", - "name": "Aptos Coin", - "symbol": "APT", - "decimals": 8, - "icon_uri": "", - "project_uri": "", - "last_transaction_version": 2646510387, - "last_transaction_timestamp": "2024-07-01T22:15:07", - "supply_aggregator_table_handle_v1": null, - "supply_aggregator_table_key_v1": null, - "token_standard": "v2", - "maximum_v2": "340282366920938463463374607431768211455", - "is_token_v2": null, - "supply_v2": "126973053239" - } -] \ 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 deleted file mode 100644 index c7455ae56..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/278556781/coin_supply.json +++ /dev/null @@ -1,10 +0,0 @@ -[ - { - "transaction_version": 278556781, - "coin_type_hash": "91ceb1308a98389691e05158b07ed5f079ab78461a6bb8d5a4054b1bb5cb8bb6", - "coin_type": "0x1::aptos_coin::AptosCoin", - "supply": "18544645433533405815", - "transaction_timestamp": "2022-10-13T01:46:57", - "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 deleted file mode 100644 index f45ae6826..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/278556781/current_fungible_asset_balances.json +++ /dev/null @@ -1,24 +0,0 @@ -[ - { - "storage_id": "0xa0f5bae99aac34d548f1c5f487800e375e451c1d9576bcdae6f3902752c83c01", - "owner_address": "0x589dabf3b43ef5c331ea3c0f9b6b005860c1f0ef94a5948d133e051b20c22862", - "asset_type": "0x1::aptos_coin::AptosCoin", - "is_primary": true, - "is_frozen": false, - "amount": "10041540182", - "last_transaction_timestamp": "2022-10-13T01:46:57", - "last_transaction_version": 278556781, - "token_standard": "v1" - }, - { - "storage_id": "0xfc6edbad85409914ab088b68fed0528e4d8e36dcee31075bb8252b4f426a6cff", - "owner_address": "0x589dabf3b43ef5c331ea3c0f9b6b005860c1f0ef94a5948d133e051b20c22862", - "asset_type": "0x589dabf3b43ef5c331ea3c0f9b6b005860c1f0ef94a5948d133e051b20c22862::proton_cbdy::PRT_KFBCCC", - "is_primary": true, - "is_frozen": false, - "amount": "1000000000000000000", - "last_transaction_timestamp": "2022-10-13T01:46:57", - "last_transaction_version": 278556781, - "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 deleted file mode 100644 index 436b43072..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/278556781/fungible_asset_activities.json +++ /dev/null @@ -1,38 +0,0 @@ -[ - { - "transaction_version": 278556781, - "event_index": -1, - "owner_address": "0x589dabf3b43ef5c331ea3c0f9b6b005860c1f0ef94a5948d133e051b20c22862", - "storage_id": "0xa0f5bae99aac34d548f1c5f487800e375e451c1d9576bcdae6f3902752c83c01", - "asset_type": "0x1::aptos_coin::AptosCoin", - "is_frozen": null, - "amount": "2787000", - "type_": "0x1::aptos_coin::GasFeeEvent", - "is_gas_fee": true, - "gas_fee_payer_address": null, - "is_transaction_success": true, - "entry_function_id_str": "0x1::code::publish_package_txn", - "block_height": 20040326, - "token_standard": "v1", - "transaction_timestamp": "2022-10-13T01:46:57", - "storage_refund_amount": "0" - }, - { - "transaction_version": 278556781, - "event_index": 1, - "owner_address": "0x589dabf3b43ef5c331ea3c0f9b6b005860c1f0ef94a5948d133e051b20c22862", - "storage_id": "0xfc6edbad85409914ab088b68fed0528e4d8e36dcee31075bb8252b4f426a6cff", - "asset_type": "0x589dabf3b43ef5c331ea3c0f9b6b005860c1f0ef94a5948d133e051b20c22862::proton_cbdy::PRT_KFBCCC", - "is_frozen": null, - "amount": "1000000000000000000", - "type_": "0x1::coin::DepositEvent", - "is_gas_fee": false, - "gas_fee_payer_address": null, - "is_transaction_success": true, - "entry_function_id_str": "0x1::code::publish_package_txn", - "block_height": 20040326, - "token_standard": "v1", - "transaction_timestamp": "2022-10-13T01:46:57", - "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 deleted file mode 100644 index 779d4957c..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/278556781/fungible_asset_balances.json +++ /dev/null @@ -1,26 +0,0 @@ -[ - { - "transaction_version": 278556781, - "write_set_change_index": 3, - "storage_id": "0xa0f5bae99aac34d548f1c5f487800e375e451c1d9576bcdae6f3902752c83c01", - "owner_address": "0x589dabf3b43ef5c331ea3c0f9b6b005860c1f0ef94a5948d133e051b20c22862", - "asset_type": "0x1::aptos_coin::AptosCoin", - "is_primary": true, - "is_frozen": false, - "amount": "10041540182", - "transaction_timestamp": "2022-10-13T01:46:57", - "token_standard": "v1" - }, - { - "transaction_version": 278556781, - "write_set_change_index": 4, - "storage_id": "0xfc6edbad85409914ab088b68fed0528e4d8e36dcee31075bb8252b4f426a6cff", - "owner_address": "0x589dabf3b43ef5c331ea3c0f9b6b005860c1f0ef94a5948d133e051b20c22862", - "asset_type": "0x589dabf3b43ef5c331ea3c0f9b6b005860c1f0ef94a5948d133e051b20c22862::proton_cbdy::PRT_KFBCCC", - "is_primary": true, - "is_frozen": false, - "amount": "1000000000000000000", - "transaction_timestamp": "2022-10-13T01:46:57", - "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 deleted file mode 100644 index e8e1451fe..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/278556781/fungible_asset_metadata.json +++ /dev/null @@ -1,19 +0,0 @@ -[ - { - "asset_type": "0x589dabf3b43ef5c331ea3c0f9b6b005860c1f0ef94a5948d133e051b20c22862::proton_cbdy::PRT_KFBCCC", - "creator_address": "0x589dabf3b43ef5c331ea3c0f9b6b005860c1f0ef94a5948d133e051b20c22862", - "name": "Aptos", - "symbol": "APT", - "decimals": 10, - "icon_uri": null, - "project_uri": null, - "last_transaction_version": 278556781, - "last_transaction_timestamp": "2022-10-13T01:46:57", - "supply_aggregator_table_handle_v1": null, - "supply_aggregator_table_key_v1": null, - "token_standard": "v1", - "maximum_v2": null, - "is_token_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/3/coin_supply.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/3/coin_supply.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/3/coin_supply.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/3/current_fungible_asset_balances.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/3/current_fungible_asset_balances.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/3/current_fungible_asset_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/3/fungible_asset_activities.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/3/fungible_asset_activities.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/3/fungible_asset_activities.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/3/fungible_asset_balances.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/3/fungible_asset_balances.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/3/fungible_asset_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/3/fungible_asset_metadata.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/3/fungible_asset_metadata.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/3/fungible_asset_metadata.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 3d51eb2f6..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/5523474016/coin_supply.json +++ /dev/null @@ -1,10 +0,0 @@ -[ - { - "transaction_version": 5523474016, - "coin_type_hash": "91ceb1308a98389691e05158b07ed5f079ab78461a6bb8d5a4054b1bb5cb8bb6", - "coin_type": "0x1::aptos_coin::AptosCoin", - "supply": "29159026553346716168", - "transaction_timestamp": "2024-07-29T00:02:18", - "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/5523474016/current_fungible_asset_balances.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/5523474016/current_fungible_asset_balances.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/5523474016/current_fungible_asset_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/5523474016/fungible_asset_activities.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/5523474016/fungible_asset_activities.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/5523474016/fungible_asset_activities.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/5523474016/fungible_asset_balances.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/5523474016/fungible_asset_balances.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/5523474016/fungible_asset_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/5523474016/fungible_asset_metadata.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/5523474016/fungible_asset_metadata.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/5523474016/fungible_asset_metadata.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 04bab61ee..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/5979639459/coin_supply.json +++ /dev/null @@ -1,10 +0,0 @@ -[ - { - "transaction_version": 5979639459, - "coin_type_hash": "91ceb1308a98389691e05158b07ed5f079ab78461a6bb8d5a4054b1bb5cb8bb6", - "coin_type": "0x1::aptos_coin::AptosCoin", - "supply": "29164832318786122251", - "transaction_timestamp": "2024-09-13T16:48:29", - "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 deleted file mode 100644 index 9727ea023..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/5979639459/current_fungible_asset_balances.json +++ /dev/null @@ -1,24 +0,0 @@ -[ - { - "storage_id": "0x239f9719aceb8223231f615e436fcfc8b7e7a6cb03350d00dc72b47678e5d78b", - "owner_address": "0xb7a4a81a3d513e3e18ee6bec61a001d7e18c5d92bb6645a2f21f0b0fec2531a6", - "asset_type": "0x1::aptos_coin::AptosCoin", - "is_primary": true, - "is_frozen": false, - "amount": "10", - "last_transaction_timestamp": "2024-09-13T16:48:29", - "last_transaction_version": 5979639459, - "token_standard": "v1" - }, - { - "storage_id": "0x32edf0b123cd57094ba7b0b5a0b1524e0f2117b547adf65e8b0c08b39e30d242", - "owner_address": "0x54ce130990ecf55cd12de74bff03dcfaacf63066e0945d3c415d61644303da39", - "asset_type": "0x1::aptos_coin::AptosCoin", - "is_primary": true, - "is_frozen": false, - "amount": "16673484350", - "last_transaction_timestamp": "2024-09-13T16:48:29", - "last_transaction_version": 5979639459, - "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 deleted file mode 100644 index 5e99ebdf9..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/5979639459/fungible_asset_activities.json +++ /dev/null @@ -1,56 +0,0 @@ -[ - { - "transaction_version": 5979639459, - "event_index": -1, - "owner_address": "0x54ce130990ecf55cd12de74bff03dcfaacf63066e0945d3c415d61644303da39", - "storage_id": "0x32edf0b123cd57094ba7b0b5a0b1524e0f2117b547adf65e8b0c08b39e30d242", - "asset_type": "0x1::aptos_coin::AptosCoin", - "is_frozen": null, - "amount": "99900", - "type_": "0x1::aptos_coin::GasFeeEvent", - "is_gas_fee": true, - "gas_fee_payer_address": null, - "is_transaction_success": true, - "entry_function_id_str": "0x1::aptos_account::transfer", - "block_height": 354619634, - "token_standard": "v1", - "transaction_timestamp": "2024-09-13T16:48:29", - "storage_refund_amount": "0" - }, - { - "transaction_version": 5979639459, - "event_index": 1, - "owner_address": "0x54ce130990ecf55cd12de74bff03dcfaacf63066e0945d3c415d61644303da39", - "storage_id": "0x32edf0b123cd57094ba7b0b5a0b1524e0f2117b547adf65e8b0c08b39e30d242", - "asset_type": "0x1::aptos_coin::AptosCoin", - "is_frozen": null, - "amount": "10", - "type_": "0x1::coin::WithdrawEvent", - "is_gas_fee": false, - "gas_fee_payer_address": null, - "is_transaction_success": true, - "entry_function_id_str": "0x1::aptos_account::transfer", - "block_height": 354619634, - "token_standard": "v1", - "transaction_timestamp": "2024-09-13T16:48:29", - "storage_refund_amount": "0" - }, - { - "transaction_version": 5979639459, - "event_index": 2, - "owner_address": "0xb7a4a81a3d513e3e18ee6bec61a001d7e18c5d92bb6645a2f21f0b0fec2531a6", - "storage_id": "0x239f9719aceb8223231f615e436fcfc8b7e7a6cb03350d00dc72b47678e5d78b", - "asset_type": "0x1::aptos_coin::AptosCoin", - "is_frozen": null, - "amount": "10", - "type_": "0x1::coin::DepositEvent", - "is_gas_fee": false, - "gas_fee_payer_address": null, - "is_transaction_success": true, - "entry_function_id_str": "0x1::aptos_account::transfer", - "block_height": 354619634, - "token_standard": "v1", - "transaction_timestamp": "2024-09-13T16:48:29", - "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 deleted file mode 100644 index 9305714f7..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/5979639459/fungible_asset_balances.json +++ /dev/null @@ -1,26 +0,0 @@ -[ - { - "transaction_version": 5979639459, - "write_set_change_index": 0, - "storage_id": "0x32edf0b123cd57094ba7b0b5a0b1524e0f2117b547adf65e8b0c08b39e30d242", - "owner_address": "0x54ce130990ecf55cd12de74bff03dcfaacf63066e0945d3c415d61644303da39", - "asset_type": "0x1::aptos_coin::AptosCoin", - "is_primary": true, - "is_frozen": false, - "amount": "16673484350", - "transaction_timestamp": "2024-09-13T16:48:29", - "token_standard": "v1" - }, - { - "transaction_version": 5979639459, - "write_set_change_index": 2, - "storage_id": "0x239f9719aceb8223231f615e436fcfc8b7e7a6cb03350d00dc72b47678e5d78b", - "owner_address": "0xb7a4a81a3d513e3e18ee6bec61a001d7e18c5d92bb6645a2f21f0b0fec2531a6", - "asset_type": "0x1::aptos_coin::AptosCoin", - "is_primary": true, - "is_frozen": false, - "amount": "10", - "transaction_timestamp": "2024-09-13T16:48:29", - "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_metadata.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/5979639459/fungible_asset_metadata.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/5979639459/fungible_asset_metadata.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 78207671f..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/5992795934/coin_supply.json +++ /dev/null @@ -1,10 +0,0 @@ -[ - { - "transaction_version": 5992795934, - "coin_type_hash": "91ceb1308a98389691e05158b07ed5f079ab78461a6bb8d5a4054b1bb5cb8bb6", - "coin_type": "0x1::aptos_coin::AptosCoin", - "supply": "29165678689185321503", - "transaction_timestamp": "2024-09-16T06:58:10", - "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 deleted file mode 100644 index fdb2aaccb..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/5992795934/current_fungible_asset_balances.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "storage_id": "0x5120dc6832daa352228ba75c1e7e73f57a80b608c900a7060382516a5c035f20", - "owner_address": "0xd34ea8c6faa9d25a9f07504759c1d92bd5ad05af89062d57cf69dd4861fe3e3c", - "asset_type": "0x1::aptos_coin::AptosCoin", - "is_primary": true, - "is_frozen": false, - "amount": "18901942640", - "last_transaction_timestamp": "2024-09-16T06:58:10", - "last_transaction_version": 5992795934, - "token_standard": "v1" - }, - { - "storage_id": "0x8bd5745daa2d6e5817819c6bf37600196e55cfba8c5bcdfdf55684bf4accbb9c", - "owner_address": "0x422e4585fdb8705aeaafb9501e7e03dc8125134da04ed8322244687c50c3fa55", - "asset_type": "0x618d700859af35c08518d1552c2601808261288cfd032461fb3424587484ac7f", - "is_primary": true, - "is_frozen": false, - "amount": "0", - "last_transaction_timestamp": "2024-09-16T06:58:10", - "last_transaction_version": 5992795934, - "token_standard": "v2" - }, - { - "storage_id": "0xfe90bdd996728b93e09f5d59fd91d6d44be85ab7acea5d1ed535b4c13b2c32c0", - "owner_address": "0x13fc6cb932ab90e65ce901460ce8d4b232d4e365294c6ea5afca94625adba47f", - "asset_type": "0x618d700859af35c08518d1552c2601808261288cfd032461fb3424587484ac7f", - "is_primary": true, - "is_frozen": false, - "amount": "9996985969300000000", - "last_transaction_timestamp": "2024-09-16T06:58:10", - "last_transaction_version": 5992795934, - "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 deleted file mode 100644 index bc3197a95..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/5992795934/fungible_asset_activities.json +++ /dev/null @@ -1,56 +0,0 @@ -[ - { - "transaction_version": 5992795934, - "event_index": -1, - "owner_address": "0xd34ea8c6faa9d25a9f07504759c1d92bd5ad05af89062d57cf69dd4861fe3e3c", - "storage_id": "0x5120dc6832daa352228ba75c1e7e73f57a80b608c900a7060382516a5c035f20", - "asset_type": "0x1::aptos_coin::AptosCoin", - "is_frozen": null, - "amount": "1200", - "type_": "0x1::aptos_coin::GasFeeEvent", - "is_gas_fee": true, - "gas_fee_payer_address": null, - "is_transaction_success": true, - "entry_function_id_str": "0x7120b5552460116c3734ec3fed721e376bf9afc10c1bba13c678d74cd4608f12::TeviStar::force_transfer", - "block_height": 356437526, - "token_standard": "v1", - "transaction_timestamp": "2024-09-16T06:58:10", - "storage_refund_amount": "0" - }, - { - "transaction_version": 5992795934, - "event_index": 0, - "owner_address": "0x422e4585fdb8705aeaafb9501e7e03dc8125134da04ed8322244687c50c3fa55", - "storage_id": "0x8bd5745daa2d6e5817819c6bf37600196e55cfba8c5bcdfdf55684bf4accbb9c", - "asset_type": "0x618d700859af35c08518d1552c2601808261288cfd032461fb3424587484ac7f", - "is_frozen": null, - "amount": "100000000", - "type_": "0x1::fungible_asset::Withdraw", - "is_gas_fee": false, - "gas_fee_payer_address": null, - "is_transaction_success": true, - "entry_function_id_str": "0x7120b5552460116c3734ec3fed721e376bf9afc10c1bba13c678d74cd4608f12::TeviStar::force_transfer", - "block_height": 356437526, - "token_standard": "v2", - "transaction_timestamp": "2024-09-16T06:58:10", - "storage_refund_amount": "0" - }, - { - "transaction_version": 5992795934, - "event_index": 1, - "owner_address": "0x13fc6cb932ab90e65ce901460ce8d4b232d4e365294c6ea5afca94625adba47f", - "storage_id": "0xfe90bdd996728b93e09f5d59fd91d6d44be85ab7acea5d1ed535b4c13b2c32c0", - "asset_type": "0x618d700859af35c08518d1552c2601808261288cfd032461fb3424587484ac7f", - "is_frozen": null, - "amount": "100000000", - "type_": "0x1::fungible_asset::Deposit", - "is_gas_fee": false, - "gas_fee_payer_address": null, - "is_transaction_success": true, - "entry_function_id_str": "0x7120b5552460116c3734ec3fed721e376bf9afc10c1bba13c678d74cd4608f12::TeviStar::force_transfer", - "block_height": 356437526, - "token_standard": "v2", - "transaction_timestamp": "2024-09-16T06:58:10", - "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 deleted file mode 100644 index 750b30768..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/5992795934/fungible_asset_balances.json +++ /dev/null @@ -1,38 +0,0 @@ -[ - { - "transaction_version": 5992795934, - "write_set_change_index": 0, - "storage_id": "0x8bd5745daa2d6e5817819c6bf37600196e55cfba8c5bcdfdf55684bf4accbb9c", - "owner_address": "0x422e4585fdb8705aeaafb9501e7e03dc8125134da04ed8322244687c50c3fa55", - "asset_type": "0x618d700859af35c08518d1552c2601808261288cfd032461fb3424587484ac7f", - "is_primary": true, - "is_frozen": false, - "amount": "0", - "transaction_timestamp": "2024-09-16T06:58:10", - "token_standard": "v2" - }, - { - "transaction_version": 5992795934, - "write_set_change_index": 2, - "storage_id": "0x5120dc6832daa352228ba75c1e7e73f57a80b608c900a7060382516a5c035f20", - "owner_address": "0xd34ea8c6faa9d25a9f07504759c1d92bd5ad05af89062d57cf69dd4861fe3e3c", - "asset_type": "0x1::aptos_coin::AptosCoin", - "is_primary": true, - "is_frozen": false, - "amount": "18901942640", - "transaction_timestamp": "2024-09-16T06:58:10", - "token_standard": "v1" - }, - { - "transaction_version": 5992795934, - "write_set_change_index": 4, - "storage_id": "0xfe90bdd996728b93e09f5d59fd91d6d44be85ab7acea5d1ed535b4c13b2c32c0", - "owner_address": "0x13fc6cb932ab90e65ce901460ce8d4b232d4e365294c6ea5afca94625adba47f", - "asset_type": "0x618d700859af35c08518d1552c2601808261288cfd032461fb3424587484ac7f", - "is_primary": true, - "is_frozen": false, - "amount": "9996985969300000000", - "transaction_timestamp": "2024-09-16T06:58:10", - "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_metadata.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/5992795934/fungible_asset_metadata.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/fungible_asset_processor/5992795934/fungible_asset_metadata.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/1/block_metadata_transactions.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/1/current_objects.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/1/current_table_items.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/1/objects.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/1/table_items.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/1200394037/current_objects.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/1200394037/current_objects.json deleted file mode 100644 index ded23f27f..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/1200394037/current_objects.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "object_address": "0x1fff287896925cd278649c9c18ccf22e8ee879964f0284f61df4fd811574cdb4", - "owner_address": "0xbc054b63705ba1440cd48527756adc0861310658dcb3b13b13f5193d447c1f1e", - "state_key_hash": "0x1df943c95c00812ba7c3315734ee1df455e7bab2b08b16e67dd23139cb6b78b5", - "allow_ungated_transfer": false, - "last_guid_creation_num": "1125899906842625", - "last_transaction_version": 1200394037, - "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/1200394037/objects.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/1200394037/objects.json deleted file mode 100644 index 433c5f19b..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/1200394037/objects.json +++ /dev/null @@ -1,24 +0,0 @@ -[ - { - "transaction_version": 1200394037, - "write_set_change_index": 0, - "object_address": "0x1fff287896925cd278649c9c18ccf22e8ee879964f0284f61df4fd811574cdb4", - "owner_address": "0xbc054b63705ba1440cd48527756adc0861310658dcb3b13b13f5193d447c1f1e", - "state_key_hash": "0x1df943c95c00812ba7c3315734ee1df455e7bab2b08b16e67dd23139cb6b78b5", - "guid_creation_num": "1125899906842625", - "allow_ungated_transfer": false, - "is_deleted": false, - "untransferrable": true - }, - { - "transaction_version": 1200394037, - "write_set_change_index": 1, - "object_address": "0x1fff287896925cd278649c9c18ccf22e8ee879964f0284f61df4fd811574cdb4", - "owner_address": "0xbc054b63705ba1440cd48527756adc0861310658dcb3b13b13f5193d447c1f1e", - "state_key_hash": "0x1df943c95c00812ba7c3315734ee1df455e7bab2b08b16e67dd23139cb6b78b5", - "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/1255836496/block_metadata_transactions.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/1255836496/block_metadata_transactions.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/1255836496/block_metadata_transactions.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0f9f6e146..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/1255836496/current_objects.json +++ /dev/null @@ -1,32 +0,0 @@ -[ - { - "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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/1255836496/current_table_items.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 633a709ac..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/1255836496/objects.json +++ /dev/null @@ -1,167 +0,0 @@ -[ - { - "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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/1255836496/table_items.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/2/block_metadata_transactions.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/2/current_objects.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/2/current_table_items.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/2/objects.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/2/table_items.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/2646510387/current_objects.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/2646510387/current_objects.json deleted file mode 100644 index f688471cc..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/2646510387/current_objects.json +++ /dev/null @@ -1,22 +0,0 @@ -[ - { - "object_address": "0x000000000000000000000000000000000000000000000000000000000000000a", - "owner_address": "0x0000000000000000000000000000000000000000000000000000000000000001", - "state_key_hash": "0x1db5441d8fa4229c5844f73fd66da4ad8176cb8793d8b3a7f6ca858722030043", - "allow_ungated_transfer": true, - "last_guid_creation_num": "1125899906842625", - "last_transaction_version": 2646510387, - "is_deleted": false, - "untransferrable": false - }, - { - "object_address": "0x6999cbf188405f4732f0561e196c5fdde1e057415dd16c6c9e83e30c9a0e3019", - "owner_address": "0x75fc2a90fa8ef566ddc3d82e84944eb886415bc19226ae1d88d5e7577aec1be5", - "state_key_hash": "0x8148ea745f194e6b279e5e62ec3133d4ff32037058fa3ae9e0c696bf48b7877b", - "allow_ungated_transfer": false, - "last_guid_creation_num": "1125899906842625", - "last_transaction_version": 2646510387, - "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/2646510387/objects.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/2646510387/objects.json deleted file mode 100644 index 962f7f9dd..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/2646510387/objects.json +++ /dev/null @@ -1,112 +0,0 @@ -[ - { - "transaction_version": 2646510387, - "write_set_change_index": 0, - "object_address": "0x000000000000000000000000000000000000000000000000000000000000000a", - "owner_address": "0x0000000000000000000000000000000000000000000000000000000000000001", - "state_key_hash": "0x1db5441d8fa4229c5844f73fd66da4ad8176cb8793d8b3a7f6ca858722030043", - "guid_creation_num": "1125899906842625", - "allow_ungated_transfer": true, - "is_deleted": false, - "untransferrable": false - }, - { - "transaction_version": 2646510387, - "write_set_change_index": 1, - "object_address": "0x000000000000000000000000000000000000000000000000000000000000000a", - "owner_address": "0x0000000000000000000000000000000000000000000000000000000000000001", - "state_key_hash": "0x1db5441d8fa4229c5844f73fd66da4ad8176cb8793d8b3a7f6ca858722030043", - "guid_creation_num": "1125899906842625", - "allow_ungated_transfer": true, - "is_deleted": false, - "untransferrable": false - }, - { - "transaction_version": 2646510387, - "write_set_change_index": 2, - "object_address": "0x000000000000000000000000000000000000000000000000000000000000000a", - "owner_address": "0x0000000000000000000000000000000000000000000000000000000000000001", - "state_key_hash": "0x1db5441d8fa4229c5844f73fd66da4ad8176cb8793d8b3a7f6ca858722030043", - "guid_creation_num": "1125899906842625", - "allow_ungated_transfer": true, - "is_deleted": false, - "untransferrable": false - }, - { - "transaction_version": 2646510387, - "write_set_change_index": 3, - "object_address": "0x000000000000000000000000000000000000000000000000000000000000000a", - "owner_address": "0x0000000000000000000000000000000000000000000000000000000000000001", - "state_key_hash": "0x1db5441d8fa4229c5844f73fd66da4ad8176cb8793d8b3a7f6ca858722030043", - "guid_creation_num": "1125899906842625", - "allow_ungated_transfer": true, - "is_deleted": false, - "untransferrable": false - }, - { - "transaction_version": 2646510387, - "write_set_change_index": 4, - "object_address": "0x000000000000000000000000000000000000000000000000000000000000000a", - "owner_address": "0x0000000000000000000000000000000000000000000000000000000000000001", - "state_key_hash": "0x1db5441d8fa4229c5844f73fd66da4ad8176cb8793d8b3a7f6ca858722030043", - "guid_creation_num": "1125899906842625", - "allow_ungated_transfer": true, - "is_deleted": false, - "untransferrable": false - }, - { - "transaction_version": 2646510387, - "write_set_change_index": 5, - "object_address": "0x000000000000000000000000000000000000000000000000000000000000000a", - "owner_address": "0x0000000000000000000000000000000000000000000000000000000000000001", - "state_key_hash": "0x1db5441d8fa4229c5844f73fd66da4ad8176cb8793d8b3a7f6ca858722030043", - "guid_creation_num": "1125899906842625", - "allow_ungated_transfer": true, - "is_deleted": false, - "untransferrable": false - }, - { - "transaction_version": 2646510387, - "write_set_change_index": 7, - "object_address": "0x6999cbf188405f4732f0561e196c5fdde1e057415dd16c6c9e83e30c9a0e3019", - "owner_address": "0x75fc2a90fa8ef566ddc3d82e84944eb886415bc19226ae1d88d5e7577aec1be5", - "state_key_hash": "0x8148ea745f194e6b279e5e62ec3133d4ff32037058fa3ae9e0c696bf48b7877b", - "guid_creation_num": "1125899906842625", - "allow_ungated_transfer": false, - "is_deleted": false, - "untransferrable": true - }, - { - "transaction_version": 2646510387, - "write_set_change_index": 8, - "object_address": "0x6999cbf188405f4732f0561e196c5fdde1e057415dd16c6c9e83e30c9a0e3019", - "owner_address": "0x75fc2a90fa8ef566ddc3d82e84944eb886415bc19226ae1d88d5e7577aec1be5", - "state_key_hash": "0x8148ea745f194e6b279e5e62ec3133d4ff32037058fa3ae9e0c696bf48b7877b", - "guid_creation_num": "1125899906842625", - "allow_ungated_transfer": false, - "is_deleted": false, - "untransferrable": true - }, - { - "transaction_version": 2646510387, - "write_set_change_index": 9, - "object_address": "0x6999cbf188405f4732f0561e196c5fdde1e057415dd16c6c9e83e30c9a0e3019", - "owner_address": "0x75fc2a90fa8ef566ddc3d82e84944eb886415bc19226ae1d88d5e7577aec1be5", - "state_key_hash": "0x8148ea745f194e6b279e5e62ec3133d4ff32037058fa3ae9e0c696bf48b7877b", - "guid_creation_num": "1125899906842625", - "allow_ungated_transfer": false, - "is_deleted": false, - "untransferrable": true - }, - { - "transaction_version": 2646510387, - "write_set_change_index": 10, - "object_address": "0x6999cbf188405f4732f0561e196c5fdde1e057415dd16c6c9e83e30c9a0e3019", - "owner_address": "0x75fc2a90fa8ef566ddc3d82e84944eb886415bc19226ae1d88d5e7577aec1be5", - "state_key_hash": "0x8148ea745f194e6b279e5e62ec3133d4ff32037058fa3ae9e0c696bf48b7877b", - "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/278556781/block_metadata_transactions.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/278556781/block_metadata_transactions.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/278556781/block_metadata_transactions.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/278556781/current_objects.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/278556781/current_table_items.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/278556781/objects.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/278556781/table_items.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/3/block_metadata_transactions.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/3/current_objects.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/3/current_table_items.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/3/objects.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/3/table_items.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/5523474016/block_metadata_transactions.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/5523474016/current_objects.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/5523474016/current_table_items.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/5523474016/objects.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/5523474016/table_items.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/5979639459/block_metadata_transactions.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/5979639459/current_objects.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/5979639459/current_table_items.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/5979639459/objects.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/5979639459/table_items.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/5992795934/block_metadata_transactions.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index fa532077e..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/5992795934/current_objects.json +++ /dev/null @@ -1,22 +0,0 @@ -[ - { - "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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/5992795934/current_table_items.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 8b7559888..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/5992795934/objects.json +++ /dev/null @@ -1,46 +0,0 @@ -[ - { - "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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/objects_processor/5992795934/table_items.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1/current_delegated_staking_pool_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1/current_delegated_voter.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1/current_delegator_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 1a612e897..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1/current_staking_pool_voter.json +++ /dev/null @@ -1,26 +0,0 @@ -[ - { - "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 deleted file mode 100644 index d56065baa..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1/delegated_staking_activities.json +++ /dev/null @@ -1,34 +0,0 @@ -[ - { - "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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1/delegated_staking_pool_balances.json +++ /dev/null @@ -1 +0,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_pools.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1/delegated_staking_pools.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1/delegated_staking_pools.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1/delegator_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1/proposal_votes.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1200394037/current_delegated_staking_pool_balances.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1200394037/current_delegated_staking_pool_balances.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1200394037/current_delegated_staking_pool_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1200394037/current_delegated_voter.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1200394037/current_delegated_voter.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1200394037/current_delegated_voter.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1200394037/current_delegator_balances.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1200394037/current_delegator_balances.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1200394037/current_delegator_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1200394037/current_staking_pool_voter.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1200394037/current_staking_pool_voter.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1200394037/current_staking_pool_voter.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1200394037/delegated_staking_activities.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1200394037/delegated_staking_activities.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1200394037/delegated_staking_activities.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1200394037/delegated_staking_pool_balances.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1200394037/delegated_staking_pool_balances.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1200394037/delegated_staking_pool_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1200394037/delegated_staking_pools.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1200394037/delegated_staking_pools.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1200394037/delegated_staking_pools.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1200394037/delegator_balances.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1200394037/delegator_balances.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1200394037/delegator_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1200394037/proposal_votes.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1200394037/proposal_votes.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1200394037/proposal_votes.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1255836496/current_delegated_staking_pool_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1255836496/current_delegated_voter.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1255836496/current_delegator_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1255836496/current_staking_pool_voter.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1255836496/delegated_staking_activities.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1255836496/delegated_staking_pool_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1255836496/delegated_staking_pools.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1255836496/delegator_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/1255836496/proposal_votes.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/2/current_delegated_staking_pool_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/2/current_delegated_voter.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/2/current_delegator_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/2/current_staking_pool_voter.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/2/delegated_staking_activities.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/2/delegated_staking_pool_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/2/delegated_staking_pools.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/2/delegator_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/2/proposal_votes.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/2646510387/current_delegated_staking_pool_balances.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/2646510387/current_delegated_staking_pool_balances.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/2646510387/current_delegated_staking_pool_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/2646510387/current_delegated_voter.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/2646510387/current_delegated_voter.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/2646510387/current_delegated_voter.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/2646510387/current_delegator_balances.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/2646510387/current_delegator_balances.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/2646510387/current_delegator_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/2646510387/current_staking_pool_voter.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/2646510387/current_staking_pool_voter.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/2646510387/current_staking_pool_voter.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/2646510387/delegated_staking_activities.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/2646510387/delegated_staking_activities.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/2646510387/delegated_staking_activities.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/2646510387/delegated_staking_pool_balances.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/2646510387/delegated_staking_pool_balances.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/2646510387/delegated_staking_pool_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/2646510387/delegated_staking_pools.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/2646510387/delegated_staking_pools.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/2646510387/delegated_staking_pools.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/2646510387/delegator_balances.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/2646510387/delegator_balances.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/2646510387/delegator_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/2646510387/proposal_votes.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/2646510387/proposal_votes.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/2646510387/proposal_votes.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/278556781/current_delegated_staking_pool_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/278556781/current_delegated_voter.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/278556781/current_delegator_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/278556781/current_staking_pool_voter.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/278556781/delegated_staking_activities.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/278556781/delegated_staking_pool_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/278556781/delegated_staking_pools.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/278556781/delegator_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/278556781/proposal_votes.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/3/current_delegated_staking_pool_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/3/current_delegated_voter.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/3/current_delegator_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/3/current_staking_pool_voter.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/3/delegated_staking_activities.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/3/delegated_staking_pool_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/3/delegated_staking_pools.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/3/delegator_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/3/proposal_votes.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5523474016/current_delegated_staking_pool_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5523474016/current_delegated_voter.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5523474016/current_delegator_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 5e092fdec..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5523474016/current_staking_pool_voter.json +++ /dev/null @@ -1,116 +0,0 @@ -[ - { - "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 deleted file mode 100644 index 3e419c9c0..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5523474016/delegated_staking_activities.json +++ /dev/null @@ -1,154 +0,0 @@ -[ - { - "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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5523474016/delegated_staking_pool_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5523474016/delegated_staking_pools.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5523474016/delegator_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5523474016/proposal_votes.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5979639459/current_delegated_staking_pool_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5979639459/current_delegated_voter.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5979639459/current_delegator_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5979639459/current_staking_pool_voter.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5979639459/delegated_staking_activities.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5979639459/delegated_staking_pool_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5979639459/delegated_staking_pools.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5979639459/delegator_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5979639459/proposal_votes.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5992795934/current_delegated_staking_pool_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5992795934/current_delegated_voter.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5992795934/current_delegator_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5992795934/current_staking_pool_voter.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5992795934/delegated_staking_activities.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5992795934/delegated_staking_pool_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5992795934/delegated_staking_pools.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5992795934/delegator_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/stake_processor/5992795934/proposal_votes.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/1/collections_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/1/collections_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/1/collections_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/1/current_collections_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/1/current_collections_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/1/current_collections_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/1/current_token_datas_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/1/current_token_datas_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/1/current_token_datas_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/1/current_token_ownerships_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/1/current_token_ownerships_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/1/current_token_ownerships_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/1/current_token_v2_metadata.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/1/current_token_v2_metadata.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/1/current_token_v2_metadata.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/1/token_activities_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/1/token_activities_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/1/token_activities_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/1/token_datas_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/1/token_datas_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/1/token_datas_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/1/token_ownerships_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/1/token_ownerships_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/1/token_ownerships_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/1200394037/collections_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/1200394037/collections_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/1200394037/collections_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/1200394037/current_collections_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/1200394037/current_collections_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/1200394037/current_collections_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/1200394037/current_token_datas_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/1200394037/current_token_datas_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/1200394037/current_token_datas_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/1200394037/current_token_ownerships_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/1200394037/current_token_ownerships_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/1200394037/current_token_ownerships_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/1200394037/current_token_v2_metadata.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/1200394037/current_token_v2_metadata.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/1200394037/current_token_v2_metadata.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/1200394037/token_activities_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/1200394037/token_activities_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/1200394037/token_activities_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/1200394037/token_datas_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/1200394037/token_datas_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/1200394037/token_datas_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/1200394037/token_ownerships_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/1200394037/token_ownerships_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/1200394037/token_ownerships_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/1255836496/collections_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/1255836496/collections_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/1255836496/collections_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/1255836496/current_collections_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/1255836496/current_collections_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/1255836496/current_collections_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/1255836496/current_token_datas_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/1255836496/current_token_datas_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/1255836496/current_token_datas_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/1255836496/current_token_ownerships_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/1255836496/current_token_ownerships_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/1255836496/current_token_ownerships_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/1255836496/current_token_v2_metadata.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/1255836496/current_token_v2_metadata.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/1255836496/current_token_v2_metadata.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/1255836496/token_activities_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/1255836496/token_activities_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/1255836496/token_activities_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/1255836496/token_datas_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/1255836496/token_datas_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/1255836496/token_datas_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/1255836496/token_ownerships_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/1255836496/token_ownerships_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/1255836496/token_ownerships_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/2/collections_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/2/collections_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/2/collections_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/2/current_collections_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/2/current_collections_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/2/current_collections_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/2/current_token_datas_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/2/current_token_datas_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/2/current_token_datas_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/2/current_token_ownerships_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/2/current_token_ownerships_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/2/current_token_ownerships_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/2/current_token_v2_metadata.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/2/current_token_v2_metadata.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/2/current_token_v2_metadata.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/2/token_activities_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/2/token_activities_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/2/token_activities_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/2/token_datas_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/2/token_datas_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/2/token_datas_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/2/token_ownerships_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/2/token_ownerships_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/2/token_ownerships_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/2646510387/collections_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/2646510387/collections_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/2646510387/collections_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/2646510387/current_collections_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/2646510387/current_collections_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/2646510387/current_collections_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/2646510387/current_token_datas_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/2646510387/current_token_datas_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/2646510387/current_token_datas_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/2646510387/current_token_ownerships_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/2646510387/current_token_ownerships_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/2646510387/current_token_ownerships_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/2646510387/current_token_v2_metadata.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/2646510387/current_token_v2_metadata.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/2646510387/current_token_v2_metadata.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/2646510387/token_activities_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/2646510387/token_activities_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/2646510387/token_activities_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/2646510387/token_datas_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/2646510387/token_datas_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/2646510387/token_datas_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/2646510387/token_ownerships_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/2646510387/token_ownerships_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/2646510387/token_ownerships_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/278556781/collections_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/278556781/collections_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/278556781/collections_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/278556781/current_collections_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/278556781/current_collections_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/278556781/current_collections_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/278556781/current_token_datas_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/278556781/current_token_datas_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/278556781/current_token_datas_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/278556781/current_token_ownerships_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/278556781/current_token_ownerships_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/278556781/current_token_ownerships_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/278556781/current_token_v2_metadata.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/278556781/current_token_v2_metadata.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/278556781/current_token_v2_metadata.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/278556781/token_activities_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/278556781/token_activities_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/278556781/token_activities_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/278556781/token_datas_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/278556781/token_datas_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/278556781/token_datas_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/278556781/token_ownerships_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/278556781/token_ownerships_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/278556781/token_ownerships_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/3/collections_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/3/collections_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/3/collections_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/3/current_collections_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/3/current_collections_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/3/current_collections_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/3/current_token_datas_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/3/current_token_datas_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/3/current_token_datas_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/3/current_token_ownerships_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/3/current_token_ownerships_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/3/current_token_ownerships_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/3/current_token_v2_metadata.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/3/current_token_v2_metadata.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/3/current_token_v2_metadata.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/3/token_activities_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/3/token_activities_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/3/token_activities_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/3/token_datas_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/3/token_datas_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/3/token_datas_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/3/token_ownerships_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/3/token_ownerships_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/3/token_ownerships_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/5523474016/collections_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/5523474016/collections_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/5523474016/collections_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/5523474016/current_collections_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/5523474016/current_collections_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/5523474016/current_collections_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/5523474016/current_token_datas_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/5523474016/current_token_datas_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/5523474016/current_token_datas_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/5523474016/current_token_ownerships_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/5523474016/current_token_ownerships_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/5523474016/current_token_ownerships_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/5523474016/current_token_v2_metadata.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/5523474016/current_token_v2_metadata.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/5523474016/current_token_v2_metadata.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/5523474016/token_activities_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/5523474016/token_activities_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/5523474016/token_activities_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/5523474016/token_datas_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/5523474016/token_datas_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/5523474016/token_datas_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/5523474016/token_ownerships_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/5523474016/token_ownerships_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/5523474016/token_ownerships_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/5979639459/collections_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/5979639459/collections_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/5979639459/collections_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/5979639459/current_collections_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/5979639459/current_collections_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/5979639459/current_collections_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/5979639459/current_token_datas_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/5979639459/current_token_datas_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/5979639459/current_token_datas_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/5979639459/current_token_ownerships_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/5979639459/current_token_ownerships_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/5979639459/current_token_ownerships_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/5979639459/current_token_v2_metadata.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/5979639459/current_token_v2_metadata.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/5979639459/current_token_v2_metadata.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/5979639459/token_activities_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/5979639459/token_activities_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/5979639459/token_activities_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/5979639459/token_datas_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/5979639459/token_datas_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/5979639459/token_datas_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/5979639459/token_ownerships_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/5979639459/token_ownerships_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/5979639459/token_ownerships_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/5992795934/collections_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/5992795934/collections_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/5992795934/collections_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/5992795934/current_collections_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/5992795934/current_collections_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/5992795934/current_collections_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/5992795934/current_token_datas_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/5992795934/current_token_datas_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/5992795934/current_token_datas_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/5992795934/current_token_ownerships_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/5992795934/current_token_ownerships_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/5992795934/current_token_ownerships_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/5992795934/current_token_v2_metadata.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/5992795934/current_token_v2_metadata.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/5992795934/current_token_v2_metadata.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/5992795934/token_activities_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/5992795934/token_activities_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/5992795934/token_activities_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/5992795934/token_datas_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/5992795934/token_datas_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/5992795934/token_datas_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/5992795934/token_ownerships_v2.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/5992795934/token_ownerships_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/5992795934/token_ownerships_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/user_transaction_processor/1/signatures.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/user_transaction_processor/1/user_transactions.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/user_transaction_processor/1200394037/signatures.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/user_transaction_processor/1200394037/signatures.json deleted file mode 100644 index d95222096..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/user_transaction_processor/1200394037/signatures.json +++ /dev/null @@ -1,15 +0,0 @@ -[ - { - "transaction_version": 1200394037, - "multi_agent_index": 0, - "multi_sig_index": 0, - "transaction_block_height": 275972253, - "signer": "0x8a735d61f2c98aa97f62fa3c328b63fc97b8a7d50cd8eda633124137639ce4fc", - "is_sender_primary": true, - "type_": "ed25519_signature", - "public_key": "0x83d42887d32983aa6e8e35df8bd85cc12f980257a69a15829c71a7158199f76d", - "signature": "0xb71a15ccdc22fd52a7ce57a2a77e55d4fb095a7578e22f5d697c5133d1a827e5f050ce54d933d6e2f462ec3d53f7064a47b5d8c1399d1b33961a7a716cec1005", - "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/1200394037/user_transactions.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/user_transaction_processor/1200394037/user_transactions.json deleted file mode 100644 index ff92f6c7b..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/user_transaction_processor/1200394037/user_transactions.json +++ /dev/null @@ -1,15 +0,0 @@ -[ - { - "version": 1200394037, - "block_height": 275972253, - "parent_signature_type": "ed25519_signature", - "sender": "0x8a735d61f2c98aa97f62fa3c328b63fc97b8a7d50cd8eda633124137639ce4fc", - "sequence_number": 2, - "max_gas_amount": "200000", - "expiration_timestamp_secs": "2024-05-22T05:53:12", - "gas_unit_price": "100", - "timestamp": "2024-05-22T05:52:52.437873", - "entry_function_id_str": "0x8a735d61f2c98aa97f62fa3c328b63fc97b8a7d50cd8eda633124137639ce4fc::fa_coin::freeze_account", - "epoch": 14987 - } -] \ 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 deleted file mode 100644 index ff880c162..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/user_transaction_processor/1255836496/signatures.json +++ /dev/null @@ -1,15 +0,0 @@ -[ - { - "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 deleted file mode 100644 index 332869b72..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/user_transaction_processor/1255836496/user_transactions.json +++ /dev/null @@ -1,15 +0,0 @@ -[ - { - "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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/user_transaction_processor/2/signatures.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/user_transaction_processor/2/user_transactions.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/user_transaction_processor/2646510387/signatures.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/user_transaction_processor/2646510387/signatures.json deleted file mode 100644 index 682e80e79..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/user_transaction_processor/2646510387/signatures.json +++ /dev/null @@ -1,15 +0,0 @@ -[ - { - "transaction_version": 2646510387, - "multi_agent_index": 0, - "multi_sig_index": 0, - "transaction_block_height": 305131416, - "signer": "0x25b7c0bcd05c7ca74dfd664345f0c7a80678eea427a73cbd0792a8ceb34f59aa", - "is_sender_primary": true, - "type_": "ed25519_signature", - "public_key": "0x57388afc8263f8f3eb71f3175df4d034d1d02dd686da88c168528c50244a1563", - "signature": "0xd05086bb5d7a1437c7922cd93f42cbd9f23e538dd86ac1dac751a840baf9dccfd68d4c667863cb6a331b25f443fcb7f49f693ad4cc71b64ce7372bd5528e2a0a", - "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/2646510387/user_transactions.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/user_transaction_processor/2646510387/user_transactions.json deleted file mode 100644 index e48834a23..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/user_transaction_processor/2646510387/user_transactions.json +++ /dev/null @@ -1,15 +0,0 @@ -[ - { - "version": 2646510387, - "block_height": 305131416, - "parent_signature_type": "fee_payer_signature", - "sender": "0x25b7c0bcd05c7ca74dfd664345f0c7a80678eea427a73cbd0792a8ceb34f59aa", - "sequence_number": 34, - "max_gas_amount": "2000000", - "expiration_timestamp_secs": "2024-07-01T22:16:07", - "gas_unit_price": "100", - "timestamp": "2024-07-01T22:15:07.928320", - "entry_function_id_str": "0x75fc2a90fa8ef566ddc3d82e84944eb886415bc19226ae1d88d5e7577aec1be5::fungible_asset_example::no_op", - "epoch": 15988 - } -] \ 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 deleted file mode 100644 index e27dcca2e..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/user_transaction_processor/278556781/signatures.json +++ /dev/null @@ -1,15 +0,0 @@ -[ - { - "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 deleted file mode 100644 index 4e2ac930c..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/user_transaction_processor/278556781/user_transactions.json +++ /dev/null @@ -1,15 +0,0 @@ -[ - { - "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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/user_transaction_processor/3/signatures.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/user_transaction_processor/3/user_transactions.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/user_transaction_processor/5523474016/signatures.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/user_transaction_processor/5523474016/user_transactions.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 39f3860bb..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/user_transaction_processor/5979639459/signatures.json +++ /dev/null @@ -1,15 +0,0 @@ -[ - { - "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 deleted file mode 100644 index e0d1fb477..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/user_transaction_processor/5979639459/user_transactions.json +++ /dev/null @@ -1,15 +0,0 @@ -[ - { - "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 deleted file mode 100644 index e518ed9c2..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/user_transaction_processor/5992795934/signatures.json +++ /dev/null @@ -1,15 +0,0 @@ -[ - { - "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 deleted file mode 100644 index 865d3aad4..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/user_transaction_processor/5992795934/user_transactions.json +++ /dev/null @@ -1,15 +0,0 @@ -[ - { - "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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/ans_processor/21/ans_lookup_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/ans_processor/21/ans_primary_name_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/ans_processor/21/current_ans_lookup_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/ans_processor/21/current_ans_primary_name_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/ans_processor/41/ans_lookup_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/ans_processor/41/ans_primary_name_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/ans_processor/41/current_ans_lookup_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/ans_processor/41/current_ans_primary_name_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/ans_processor/63/ans_lookup_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/ans_processor/63/ans_primary_name_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/ans_processor/63/current_ans_lookup_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/ans_processor/63/current_ans_primary_name_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/ans_processor/83/ans_lookup_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/ans_processor/83/ans_primary_name_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/ans_processor/83/current_ans_lookup_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/ans_processor/83/current_ans_primary_name_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/default_processor/21/block_metadata_transactions.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/default_processor/21/current_table_items.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0d8400a50..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/default_processor/21/table_items.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "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 deleted file mode 100644 index 7e2e1fab8..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/default_processor/21/table_metadatas.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/default_processor/41/block_metadata_transactions.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index ee6cbd657..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/default_processor/41/current_table_items.json +++ /dev/null @@ -1,11 +0,0 @@ -[ - { - "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 deleted file mode 100644 index 0f8cbe802..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/default_processor/41/table_items.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "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 deleted file mode 100644 index 7e2e1fab8..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/default_processor/41/table_metadatas.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/default_processor/63/block_metadata_transactions.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/default_processor/63/current_table_items.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0186a49f8..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/default_processor/63/table_items.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "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 deleted file mode 100644 index 7e2e1fab8..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/default_processor/63/table_metadatas.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/default_processor/83/block_metadata_transactions.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 7e74c210d..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/default_processor/83/table_items.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "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 deleted file mode 100644 index 7e2e1fab8..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/default_processor/83/table_metadatas.json +++ /dev/null @@ -1,7 +0,0 @@ -[ - { - "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/events_processor/23/events.json b/rust/integration-tests/expected_db_output_files/scripted_txns/events_processor/23/events.json deleted file mode 100644 index 6ff94bb16..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/events_processor/23/events.json +++ /dev/null @@ -1,19 +0,0 @@ -[ - { - "sequence_number": 0, - "creation_number": 0, - "account_address": "0x0000000000000000000000000000000000000000000000000000000000000000", - "transaction_version": 23, - "transaction_block_height": 11, - "type_": "0x1::transaction_fee::FeeStatement", - "data": { - "io_gas_units": "1", - "storage_fee_octas": "0", - "execution_gas_units": "3", - "total_charge_gas_units": "3", - "storage_fee_refund_octas": "0" - }, - "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 deleted file mode 100644 index 5f5f8ee20..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/events_processor/43/events.json +++ /dev/null @@ -1,19 +0,0 @@ -[ - { - "sequence_number": 0, - "creation_number": 0, - "account_address": "0x0000000000000000000000000000000000000000000000000000000000000000", - "transaction_version": 43, - "transaction_block_height": 20, - "type_": "0x1::transaction_fee::FeeStatement", - "data": { - "io_gas_units": "1", - "storage_fee_octas": "0", - "execution_gas_units": "3", - "total_charge_gas_units": "3", - "storage_fee_refund_octas": "0" - }, - "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 deleted file mode 100644 index dde6479b4..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/events_processor/65/events.json +++ /dev/null @@ -1,19 +0,0 @@ -[ - { - "sequence_number": 0, - "creation_number": 0, - "account_address": "0x0000000000000000000000000000000000000000000000000000000000000000", - "transaction_version": 65, - "transaction_block_height": 30, - "type_": "0x1::transaction_fee::FeeStatement", - "data": { - "io_gas_units": "1", - "storage_fee_octas": "0", - "execution_gas_units": "3", - "total_charge_gas_units": "3", - "storage_fee_refund_octas": "0" - }, - "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 deleted file mode 100644 index ed9d921df..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/events_processor/85/events.json +++ /dev/null @@ -1,19 +0,0 @@ -[ - { - "sequence_number": 0, - "creation_number": 0, - "account_address": "0x0000000000000000000000000000000000000000000000000000000000000000", - "transaction_version": 85, - "transaction_block_height": 39, - "type_": "0x1::transaction_fee::FeeStatement", - "data": { - "io_gas_units": "1", - "storage_fee_octas": "0", - "execution_gas_units": "3", - "total_charge_gas_units": "3", - "storage_fee_refund_octas": "0" - }, - "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 deleted file mode 100644 index 9b4e4e500..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/fungible_asset_processor/23/coin_supply.json +++ /dev/null @@ -1,10 +0,0 @@ -[ - { - "transaction_version": 23, - "coin_type_hash": "91ceb1308a98389691e05158b07ed5f079ab78461a6bb8d5a4054b1bb5cb8bb6", - "coin_type": "0x1::aptos_coin::AptosCoin", - "supply": "18446744073709451425", - "transaction_timestamp": "2024-10-01T22:06:51", - "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 deleted file mode 100644 index fe915e35c..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/fungible_asset_processor/23/current_fungible_asset_balances.json +++ /dev/null @@ -1,13 +0,0 @@ -[ - { - "storage_id": "0x9cfa839238cb942fbc487ff341fcdccabacd01e29864f594587900aa3a9d88b2", - "owner_address": "0x765d8c8d4d5859f43a56e2756fbf5f3d2483dbaa14f3fb62872df820d6e64eff", - "asset_type": "0x1::aptos_coin::AptosCoin", - "is_primary": true, - "is_frozen": false, - "amount": "99999700", - "last_transaction_timestamp": "2024-10-01T22:06:51", - "last_transaction_version": 23, - "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 deleted file mode 100644 index 2bfb044d3..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/fungible_asset_processor/23/fungible_asset_activities.json +++ /dev/null @@ -1,20 +0,0 @@ -[ - { - "transaction_version": 23, - "event_index": -1, - "owner_address": "0x765d8c8d4d5859f43a56e2756fbf5f3d2483dbaa14f3fb62872df820d6e64eff", - "storage_id": "0x9cfa839238cb942fbc487ff341fcdccabacd01e29864f594587900aa3a9d88b2", - "asset_type": "0x1::aptos_coin::AptosCoin", - "is_frozen": null, - "amount": "300", - "type_": "0x1::aptos_coin::GasFeeEvent", - "is_gas_fee": true, - "gas_fee_payer_address": null, - "is_transaction_success": true, - "entry_function_id_str": null, - "block_height": 11, - "token_standard": "v1", - "transaction_timestamp": "2024-10-01T22:06:51", - "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 deleted file mode 100644 index 608809af1..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/fungible_asset_processor/23/fungible_asset_balances.json +++ /dev/null @@ -1,14 +0,0 @@ -[ - { - "transaction_version": 23, - "write_set_change_index": 0, - "storage_id": "0x9cfa839238cb942fbc487ff341fcdccabacd01e29864f594587900aa3a9d88b2", - "owner_address": "0x765d8c8d4d5859f43a56e2756fbf5f3d2483dbaa14f3fb62872df820d6e64eff", - "asset_type": "0x1::aptos_coin::AptosCoin", - "is_primary": true, - "is_frozen": false, - "amount": "99999700", - "transaction_timestamp": "2024-10-01T22:06:51", - "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_metadata.json b/rust/integration-tests/expected_db_output_files/scripted_txns/fungible_asset_processor/23/fungible_asset_metadata.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/fungible_asset_processor/23/fungible_asset_metadata.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index d0ab00ec2..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/fungible_asset_processor/43/coin_supply.json +++ /dev/null @@ -1,10 +0,0 @@ -[ - { - "transaction_version": 43, - "coin_type_hash": "91ceb1308a98389691e05158b07ed5f079ab78461a6bb8d5a4054b1bb5cb8bb6", - "coin_type": "0x1::aptos_coin::AptosCoin", - "supply": "18446744073709351225", - "transaction_timestamp": "2024-10-01T22:06:56", - "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 deleted file mode 100644 index 9dd98afb9..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/fungible_asset_processor/43/current_fungible_asset_balances.json +++ /dev/null @@ -1,13 +0,0 @@ -[ - { - "storage_id": "0xee7ccdc3a833754267c71df9534640b532352f734e07509cbe48561d23d05831", - "owner_address": "0x8f0de18409d6fca18c72fac4062fc0f9baa6404296fed93a3ad0250fb671f8b3", - "asset_type": "0x1::aptos_coin::AptosCoin", - "is_primary": true, - "is_frozen": false, - "amount": "99999700", - "last_transaction_timestamp": "2024-10-01T22:06:56", - "last_transaction_version": 43, - "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 deleted file mode 100644 index 09f4f5c43..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/fungible_asset_processor/43/fungible_asset_activities.json +++ /dev/null @@ -1,20 +0,0 @@ -[ - { - "transaction_version": 43, - "event_index": -1, - "owner_address": "0x8f0de18409d6fca18c72fac4062fc0f9baa6404296fed93a3ad0250fb671f8b3", - "storage_id": "0xee7ccdc3a833754267c71df9534640b532352f734e07509cbe48561d23d05831", - "asset_type": "0x1::aptos_coin::AptosCoin", - "is_frozen": null, - "amount": "300", - "type_": "0x1::aptos_coin::GasFeeEvent", - "is_gas_fee": true, - "gas_fee_payer_address": null, - "is_transaction_success": true, - "entry_function_id_str": null, - "block_height": 20, - "token_standard": "v1", - "transaction_timestamp": "2024-10-01T22:06:56", - "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 deleted file mode 100644 index b825d94b9..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/fungible_asset_processor/43/fungible_asset_balances.json +++ /dev/null @@ -1,14 +0,0 @@ -[ - { - "transaction_version": 43, - "write_set_change_index": 0, - "storage_id": "0xee7ccdc3a833754267c71df9534640b532352f734e07509cbe48561d23d05831", - "owner_address": "0x8f0de18409d6fca18c72fac4062fc0f9baa6404296fed93a3ad0250fb671f8b3", - "asset_type": "0x1::aptos_coin::AptosCoin", - "is_primary": true, - "is_frozen": false, - "amount": "99999700", - "transaction_timestamp": "2024-10-01T22:06:56", - "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_metadata.json b/rust/integration-tests/expected_db_output_files/scripted_txns/fungible_asset_processor/43/fungible_asset_metadata.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/fungible_asset_processor/43/fungible_asset_metadata.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 3bc7c8265..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/fungible_asset_processor/65/coin_supply.json +++ /dev/null @@ -1,10 +0,0 @@ -[ - { - "transaction_version": 65, - "coin_type_hash": "91ceb1308a98389691e05158b07ed5f079ab78461a6bb8d5a4054b1bb5cb8bb6", - "coin_type": "0x1::aptos_coin::AptosCoin", - "supply": "18446744073809350825", - "transaction_timestamp": "2024-10-01T22:07:03", - "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/current_fungible_asset_balances.json b/rust/integration-tests/expected_db_output_files/scripted_txns/fungible_asset_processor/65/current_fungible_asset_balances.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/fungible_asset_processor/65/current_fungible_asset_balances.json +++ /dev/null @@ -1 +0,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_activities.json b/rust/integration-tests/expected_db_output_files/scripted_txns/fungible_asset_processor/65/fungible_asset_activities.json deleted file mode 100644 index ece462aa5..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/fungible_asset_processor/65/fungible_asset_activities.json +++ /dev/null @@ -1,20 +0,0 @@ -[ - { - "transaction_version": 65, - "event_index": -1, - "owner_address": "0xa531b7fdd7917f73ca216d89a8d9ce0cf7e7cfb9086ca6f6cbf9521532748d16", - "storage_id": "0xba2fa98d311f0adb1d6608dfbc6d66b6e583c0b8f6bbadea7d241f7e1b0b1080", - "asset_type": "0x1::aptos_coin::AptosCoin", - "is_frozen": null, - "amount": "300", - "type_": "0x1::aptos_coin::GasFeeEvent", - "is_gas_fee": true, - "gas_fee_payer_address": null, - "is_transaction_success": true, - "entry_function_id_str": null, - "block_height": 30, - "token_standard": "v1", - "transaction_timestamp": "2024-10-01T22:07:03", - "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 deleted file mode 100644 index cf9283b5e..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/fungible_asset_processor/65/fungible_asset_balances.json +++ /dev/null @@ -1,14 +0,0 @@ -[ - { - "transaction_version": 65, - "write_set_change_index": 0, - "storage_id": "0xba2fa98d311f0adb1d6608dfbc6d66b6e583c0b8f6bbadea7d241f7e1b0b1080", - "owner_address": "0xa531b7fdd7917f73ca216d89a8d9ce0cf7e7cfb9086ca6f6cbf9521532748d16", - "asset_type": "0x1::aptos_coin::AptosCoin", - "is_primary": true, - "is_frozen": false, - "amount": "99999700", - "transaction_timestamp": "2024-10-01T22:07:03", - "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/fungible_asset_metadata.json b/rust/integration-tests/expected_db_output_files/scripted_txns/fungible_asset_processor/65/fungible_asset_metadata.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/fungible_asset_processor/65/fungible_asset_metadata.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 74249401b..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/fungible_asset_processor/85/coin_supply.json +++ /dev/null @@ -1,10 +0,0 @@ -[ - { - "transaction_version": 85, - "coin_type_hash": "91ceb1308a98389691e05158b07ed5f079ab78461a6bb8d5a4054b1bb5cb8bb6", - "coin_type": "0x1::aptos_coin::AptosCoin", - "supply": "18446744073909449225", - "transaction_timestamp": "2024-10-01T22:07:09", - "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 deleted file mode 100644 index 36d44a3e7..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/fungible_asset_processor/85/current_fungible_asset_balances.json +++ /dev/null @@ -1,13 +0,0 @@ -[ - { - "storage_id": "0xba2fa98d311f0adb1d6608dfbc6d66b6e583c0b8f6bbadea7d241f7e1b0b1080", - "owner_address": "0xa531b7fdd7917f73ca216d89a8d9ce0cf7e7cfb9086ca6f6cbf9521532748d16", - "asset_type": "0x1::aptos_coin::AptosCoin", - "is_primary": true, - "is_frozen": false, - "amount": "199999400", - "last_transaction_timestamp": "2024-10-01T22:07:09", - "last_transaction_version": 85, - "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 deleted file mode 100644 index 593947fa6..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/fungible_asset_processor/85/fungible_asset_activities.json +++ /dev/null @@ -1,20 +0,0 @@ -[ - { - "transaction_version": 85, - "event_index": -1, - "owner_address": "0xa531b7fdd7917f73ca216d89a8d9ce0cf7e7cfb9086ca6f6cbf9521532748d16", - "storage_id": "0xba2fa98d311f0adb1d6608dfbc6d66b6e583c0b8f6bbadea7d241f7e1b0b1080", - "asset_type": "0x1::aptos_coin::AptosCoin", - "is_frozen": null, - "amount": "300", - "type_": "0x1::aptos_coin::GasFeeEvent", - "is_gas_fee": true, - "gas_fee_payer_address": null, - "is_transaction_success": true, - "entry_function_id_str": null, - "block_height": 39, - "token_standard": "v1", - "transaction_timestamp": "2024-10-01T22:07:09", - "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 deleted file mode 100644 index 3b92bffd5..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/fungible_asset_processor/85/fungible_asset_balances.json +++ /dev/null @@ -1,14 +0,0 @@ -[ - { - "transaction_version": 85, - "write_set_change_index": 0, - "storage_id": "0xba2fa98d311f0adb1d6608dfbc6d66b6e583c0b8f6bbadea7d241f7e1b0b1080", - "owner_address": "0xa531b7fdd7917f73ca216d89a8d9ce0cf7e7cfb9086ca6f6cbf9521532748d16", - "asset_type": "0x1::aptos_coin::AptosCoin", - "is_primary": true, - "is_frozen": false, - "amount": "199999400", - "transaction_timestamp": "2024-10-01T22:07:09", - "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_metadata.json b/rust/integration-tests/expected_db_output_files/scripted_txns/fungible_asset_processor/85/fungible_asset_metadata.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/fungible_asset_processor/85/fungible_asset_metadata.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/objects_processor/21/block_metadata_transactions.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/objects_processor/21/current_objects.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/objects_processor/21/current_table_items.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/objects_processor/21/objects.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/objects_processor/21/table_items.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/objects_processor/41/block_metadata_transactions.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/objects_processor/41/current_objects.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/objects_processor/41/current_table_items.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/objects_processor/41/objects.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/objects_processor/41/table_items.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/objects_processor/63/block_metadata_transactions.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/objects_processor/63/current_objects.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/objects_processor/63/current_table_items.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/objects_processor/63/objects.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/objects_processor/63/table_items.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/objects_processor/83/block_metadata_transactions.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/objects_processor/83/current_objects.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/objects_processor/83/current_table_items.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/objects_processor/83/objects.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/objects_processor/83/table_items.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/21/current_delegated_staking_pool_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/21/current_delegated_voter.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/21/current_delegator_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/21/current_staking_pool_voter.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/21/delegated_staking_activities.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/21/delegated_staking_pool_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/21/delegated_staking_pools.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/21/delegator_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/21/proposal_votes.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/41/current_delegated_staking_pool_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/41/current_delegated_voter.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/41/current_delegator_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/41/current_staking_pool_voter.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/41/delegated_staking_activities.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/41/delegated_staking_pool_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/41/delegated_staking_pools.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/41/delegator_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/41/proposal_votes.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/63/current_delegated_staking_pool_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/63/current_delegated_voter.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/63/current_delegator_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/63/current_staking_pool_voter.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/63/delegated_staking_activities.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/63/delegated_staking_pool_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/63/delegated_staking_pools.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/63/delegator_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/63/proposal_votes.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/83/current_delegated_staking_pool_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/83/current_delegated_voter.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/83/current_delegator_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/83/current_staking_pool_voter.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/83/delegated_staking_activities.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/83/delegated_staking_pool_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/83/delegated_staking_pools.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/83/delegator_balances.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/stake_processor/83/proposal_votes.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/token_v2_processor/23/token_activities_v2.json b/rust/integration-tests/expected_db_output_files/scripted_txns/token_v2_processor/23/token_activities_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/token_v2_processor/23/token_activities_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/token_v2_processor/43/token_activities_v2.json b/rust/integration-tests/expected_db_output_files/scripted_txns/token_v2_processor/43/token_activities_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/token_v2_processor/43/token_activities_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/token_v2_processor/65/token_activities_v2.json b/rust/integration-tests/expected_db_output_files/scripted_txns/token_v2_processor/65/token_activities_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/token_v2_processor/65/token_activities_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/token_v2_processor/85/token_activities_v2.json b/rust/integration-tests/expected_db_output_files/scripted_txns/token_v2_processor/85/token_activities_v2.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/token_v2_processor/85/token_activities_v2.json +++ /dev/null @@ -1 +0,0 @@ -[] \ 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 deleted file mode 100644 index b3bc9540e..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/user_transaction_processor/21/signatures.json +++ /dev/null @@ -1,15 +0,0 @@ -[ - { - "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 deleted file mode 100644 index 0cb1bcfdb..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/user_transaction_processor/21/user_transactions.json +++ /dev/null @@ -1,15 +0,0 @@ -[ - { - "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 deleted file mode 100644 index 1996ed05a..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/user_transaction_processor/41/signatures.json +++ /dev/null @@ -1,15 +0,0 @@ -[ - { - "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 deleted file mode 100644 index 0f984868c..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/user_transaction_processor/41/user_transactions.json +++ /dev/null @@ -1,15 +0,0 @@ -[ - { - "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 deleted file mode 100644 index d2e1144b6..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/user_transaction_processor/63/signatures.json +++ /dev/null @@ -1,15 +0,0 @@ -[ - { - "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 deleted file mode 100644 index 2dee45251..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/user_transaction_processor/63/user_transactions.json +++ /dev/null @@ -1,15 +0,0 @@ -[ - { - "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 deleted file mode 100644 index dfcec712d..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/user_transaction_processor/83/signatures.json +++ /dev/null @@ -1,15 +0,0 @@ -[ - { - "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 deleted file mode 100644 index 5f0846a1f..000000000 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/user_transaction_processor/83/user_transactions.json +++ /dev/null @@ -1,15 +0,0 @@ -[ - { - "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/sdk_expected_db_output_files/imported_mainnet_txns/account_transactions_processor/account_transaction_delete_test/account_transactions.json b/rust/integration-tests/sdk_expected_db_output_files/imported_mainnet_txns/account_transactions_processor/account_transaction_delete_test/account_transactions.json new file mode 100644 index 000000000..e1512aedf --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/imported_mainnet_txns/account_transactions_processor/account_transaction_delete_test/account_transactions.json @@ -0,0 +1,62 @@ +[ + { + "transaction_version": 423176063, + "account_address": "0x0000000000000000000000000000000000000000000000000000000000000000" + }, + { + "transaction_version": 423176063, + "account_address": "0x0c44667c4af9d4dfede5b5da590e1b575a8babae14819872b14cbf0433ac0808" + }, + { + "transaction_version": 423176063, + "account_address": "0x1fc2f33ab6b624e3e632ba861b755fd8e61d2c2e6cf8292e415880b4c198224d" + }, + { + "transaction_version": 423176063, + "account_address": "0x51941247df7eed74d4c2c12fc3e370fd8685e966ecc2296240632702b7e8fe01" + }, + { + "transaction_version": 423176063, + "account_address": "0x8d0fad636061612ab5f252afb836783666f93dcf8f6ac25414c01820caad0af3" + }, + { + "transaction_version": 423176063, + "account_address": "0x8d768d3131845c9d44aae4a0d2211e127b1d95968f6a8c4f2066eb59826109c6" + }, + { + "transaction_version": 423176063, + "account_address": "0x9f387c30bad7e61f9039e108acd92825b65547a46b213dfde3495b0f1ee69423" + }, + { + "transaction_version": 423176063, + "account_address": "0x9f41d314d043ba08ec319a6e5353c63716149855aa2258a65bdbd5a9462f6c36" + }, + { + "transaction_version": 423176063, + "account_address": "0xa3d9ad08adf8af8dc3bd6a4bdd910d2a1cc88bd5fbedae0ddaa3e89b260a785f" + }, + { + "transaction_version": 423176063, + "account_address": "0xadeb45c274f9f4f535afe8957a8cf9ffecbd2b79026fba6c207111136d963f14" + }, + { + "transaction_version": 423176063, + "account_address": "0xb9f07b6bdeb1ab7f106ebe49c1544121929b388e1c0171eda06143d8c2fce7dc" + }, + { + "transaction_version": 423176063, + "account_address": "0xbcb216aa0f66fc94068718ce725105af04d6553a97e75271dee12d0034f623d0" + }, + { + "transaction_version": 423176063, + "account_address": "0xd5060832312d097bccfbacf10f361758c066f6f6a18fa3a14e69b0142d663e8a" + }, + { + "transaction_version": 423176063, + "account_address": "0xd77e7d44ed29cdf33d1d6b161928b6b931b68bd029cd60dc6363aa22fbec3036" + }, + { + "transaction_version": 423176063, + "account_address": "0xdc4c565710b6b6beb201bba0e53fd07eace927de22059c4c8841e730ce28a38d" + } +] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/imported_mainnet_txns/account_transactions_processor/account_transaction_test/account_transactions.json b/rust/integration-tests/sdk_expected_db_output_files/imported_mainnet_txns/account_transactions_processor/account_transaction_test/account_transactions.json new file mode 100644 index 000000000..ef36d070f --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/imported_mainnet_txns/account_transactions_processor/account_transaction_test/account_transactions.json @@ -0,0 +1,14 @@ +[ + { + "transaction_version": 145959468, + "account_address": "0x0000000000000000000000000000000000000000000000000000000000000000" + }, + { + "transaction_version": 145959468, + "account_address": "0x239589c5cfb0cc96f76fa59165a7cbb6ef99ad50d0acc34cf3a2585d861511be" + }, + { + "transaction_version": 145959468, + "account_address": "0x9228cfc074cf073bf0687e558ba8cdce6f8c311269774a856d7fc87ac3c70141" + } +] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/imported_mainnet_txns/ans_processor/test_ans_lookup_v2/ans_lookup_v2.json b/rust/integration-tests/sdk_expected_db_output_files/imported_mainnet_txns/ans_processor/test_ans_lookup_v2/ans_lookup_v2.json new file mode 100644 index 000000000..c11d4df7b --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/imported_mainnet_txns/ans_processor/test_ans_lookup_v2/ans_lookup_v2.json @@ -0,0 +1,14 @@ +[ + { + "transaction_version": 303690531, + "write_set_change_index": 0, + "domain": "pepapati", + "subdomain": "", + "token_standard": "v2", + "registered_address": "0xb879a253da5c2887155600f61a5a3b7b827588f7b3c486b807975fc663ca5493", + "expiration_timestamp": "2024-08-10T16:57:36", + "token_name": "pepapati.apt", + "is_deleted": false, + "subdomain_expiration_policy": null + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/1080786089/ans_primary_name_v2.json b/rust/integration-tests/sdk_expected_db_output_files/imported_mainnet_txns/ans_processor/test_ans_lookup_v2/ans_primary_name_v2.json similarity index 100% rename from rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/1080786089/ans_primary_name_v2.json rename to rust/integration-tests/sdk_expected_db_output_files/imported_mainnet_txns/ans_processor/test_ans_lookup_v2/ans_primary_name_v2.json diff --git a/rust/integration-tests/sdk_expected_db_output_files/imported_mainnet_txns/ans_processor/test_ans_lookup_v2/current_ans_lookup_v2.json b/rust/integration-tests/sdk_expected_db_output_files/imported_mainnet_txns/ans_processor/test_ans_lookup_v2/current_ans_lookup_v2.json new file mode 100644 index 000000000..a80e41def --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/imported_mainnet_txns/ans_processor/test_ans_lookup_v2/current_ans_lookup_v2.json @@ -0,0 +1,13 @@ +[ + { + "domain": "pepapati", + "subdomain": "", + "token_standard": "v2", + "token_name": "pepapati.apt", + "registered_address": "0xb879a253da5c2887155600f61a5a3b7b827588f7b3c486b807975fc663ca5493", + "expiration_timestamp": "2024-08-10T16:57:36", + "last_transaction_version": 303690531, + "is_deleted": false, + "subdomain_expiration_policy": null + } +] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/imported_mainnet_txns/ans_processor/test_ans_lookup_v2/current_ans_primary_name_v2.json b/rust/integration-tests/sdk_expected_db_output_files/imported_mainnet_txns/ans_processor/test_ans_lookup_v2/current_ans_primary_name_v2.json new file mode 100644 index 000000000..23cf389e6 --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/imported_mainnet_txns/ans_processor/test_ans_lookup_v2/current_ans_primary_name_v2.json @@ -0,0 +1,20 @@ +[ + { + "registered_address": "0xb879a253da5c2887155600f61a5a3b7b827588f7b3c486b807975fc663ca5493", + "token_standard": "v1", + "domain": null, + "subdomain": null, + "token_name": null, + "is_deleted": true, + "last_transaction_version": 303690531 + }, + { + "registered_address": "0xb879a253da5c2887155600f61a5a3b7b827588f7b3c486b807975fc663ca5493", + "token_standard": "v2", + "domain": "pepapati", + "subdomain": "", + "token_name": "pepapati.apt", + "is_deleted": false, + "last_transaction_version": 303690531 + } +] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/imported_mainnet_txns/ans_processor/test_current_ans_lookup_v2/ans_lookup_v2.json b/rust/integration-tests/sdk_expected_db_output_files/imported_mainnet_txns/ans_processor/test_current_ans_lookup_v2/ans_lookup_v2.json new file mode 100644 index 000000000..385f2c973 --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/imported_mainnet_txns/ans_processor/test_current_ans_lookup_v2/ans_lookup_v2.json @@ -0,0 +1,14 @@ +[ + { + "transaction_version": 438536688, + "write_set_change_index": 7, + "domain": "003", + "subdomain": "", + "token_standard": "v2", + "registered_address": "0x761e4e45d8c6d56fb9fab4ebd865ce4a3dfe3a7bea3956158b4be07f268bcff5", + "expiration_timestamp": "2024-11-19T13:31:40", + "token_name": "003.apt", + "is_deleted": false, + "subdomain_expiration_policy": null + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/145959468/ans_primary_name_v2.json b/rust/integration-tests/sdk_expected_db_output_files/imported_mainnet_txns/ans_processor/test_current_ans_lookup_v2/ans_primary_name_v2.json similarity index 100% rename from rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/145959468/ans_primary_name_v2.json rename to rust/integration-tests/sdk_expected_db_output_files/imported_mainnet_txns/ans_processor/test_current_ans_lookup_v2/ans_primary_name_v2.json diff --git a/rust/integration-tests/sdk_expected_db_output_files/imported_mainnet_txns/ans_processor/test_current_ans_lookup_v2/current_ans_lookup_v2.json b/rust/integration-tests/sdk_expected_db_output_files/imported_mainnet_txns/ans_processor/test_current_ans_lookup_v2/current_ans_lookup_v2.json new file mode 100644 index 000000000..92ae8ee98 --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/imported_mainnet_txns/ans_processor/test_current_ans_lookup_v2/current_ans_lookup_v2.json @@ -0,0 +1,13 @@ +[ + { + "domain": "003", + "subdomain": "", + "token_standard": "v2", + "token_name": "003.apt", + "registered_address": "0x761e4e45d8c6d56fb9fab4ebd865ce4a3dfe3a7bea3956158b4be07f268bcff5", + "expiration_timestamp": "2024-11-19T13:31:40", + "last_transaction_version": 438536688, + "is_deleted": false, + "subdomain_expiration_policy": null + } +] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/imported_mainnet_txns/ans_processor/test_current_ans_lookup_v2/current_ans_primary_name_v2.json b/rust/integration-tests/sdk_expected_db_output_files/imported_mainnet_txns/ans_processor/test_current_ans_lookup_v2/current_ans_primary_name_v2.json new file mode 100644 index 000000000..d6ef727b6 --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/imported_mainnet_txns/ans_processor/test_current_ans_lookup_v2/current_ans_primary_name_v2.json @@ -0,0 +1,11 @@ +[ + { + "registered_address": "0x761e4e45d8c6d56fb9fab4ebd865ce4a3dfe3a7bea3956158b4be07f268bcff5", + "token_standard": "v2", + "domain": "003", + "subdomain": "", + "token_name": "003.apt", + "is_deleted": false, + "last_transaction_version": 438536688 + } +] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/imported_mainnet_txns/ans_processor/test_current_ans_primary_name_v2/ans_lookup_v2.json b/rust/integration-tests/sdk_expected_db_output_files/imported_mainnet_txns/ans_processor/test_current_ans_primary_name_v2/ans_lookup_v2.json new file mode 100644 index 000000000..d93b80e62 --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/imported_mainnet_txns/ans_processor/test_current_ans_primary_name_v2/ans_lookup_v2.json @@ -0,0 +1,14 @@ +[ + { + "transaction_version": 1056780409, + "write_set_change_index": 13, + "domain": "petra", + "subdomain": "abwehr1225", + "token_standard": "v2", + "registered_address": "0x18a88b9722c7af62308e79b713710876156c68c3e3fdbd408294af6b16dc046a", + "expiration_timestamp": "2024-07-29T17:32:30", + "token_name": "abwehr1225.petra.apt", + "is_deleted": false, + "subdomain_expiration_policy": 1 + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/155112189/ans_primary_name_v2.json b/rust/integration-tests/sdk_expected_db_output_files/imported_mainnet_txns/ans_processor/test_current_ans_primary_name_v2/ans_primary_name_v2.json similarity index 100% rename from rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/155112189/ans_primary_name_v2.json rename to rust/integration-tests/sdk_expected_db_output_files/imported_mainnet_txns/ans_processor/test_current_ans_primary_name_v2/ans_primary_name_v2.json diff --git a/rust/integration-tests/sdk_expected_db_output_files/imported_mainnet_txns/ans_processor/test_current_ans_primary_name_v2/current_ans_lookup_v2.json b/rust/integration-tests/sdk_expected_db_output_files/imported_mainnet_txns/ans_processor/test_current_ans_primary_name_v2/current_ans_lookup_v2.json new file mode 100644 index 000000000..aee51cedb --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/imported_mainnet_txns/ans_processor/test_current_ans_primary_name_v2/current_ans_lookup_v2.json @@ -0,0 +1,13 @@ +[ + { + "domain": "petra", + "subdomain": "abwehr1225", + "token_standard": "v2", + "token_name": "abwehr1225.petra.apt", + "registered_address": "0x18a88b9722c7af62308e79b713710876156c68c3e3fdbd408294af6b16dc046a", + "expiration_timestamp": "2024-07-29T17:32:30", + "last_transaction_version": 1056780409, + "is_deleted": false, + "subdomain_expiration_policy": 1 + } +] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/imported_mainnet_txns/ans_processor/test_current_ans_primary_name_v2/current_ans_primary_name_v2.json b/rust/integration-tests/sdk_expected_db_output_files/imported_mainnet_txns/ans_processor/test_current_ans_primary_name_v2/current_ans_primary_name_v2.json new file mode 100644 index 000000000..9acd56c36 --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/imported_mainnet_txns/ans_processor/test_current_ans_primary_name_v2/current_ans_primary_name_v2.json @@ -0,0 +1,11 @@ +[ + { + "registered_address": "0x18a88b9722c7af62308e79b713710876156c68c3e3fdbd408294af6b16dc046a", + "token_standard": "v2", + "domain": "petra", + "subdomain": "abwehr1225", + "token_name": "abwehr1225.petra.apt", + "is_deleted": false, + "last_transaction_version": 1056780409 + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/1080786089/block_metadata_transactions.json b/rust/integration-tests/sdk_expected_db_output_files/imported_mainnet_txns/default_processor/delete_resource_test/block_metadata_transactions.json similarity index 100% rename from rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/1080786089/block_metadata_transactions.json rename to rust/integration-tests/sdk_expected_db_output_files/imported_mainnet_txns/default_processor/delete_resource_test/block_metadata_transactions.json diff --git a/rust/integration-tests/expected_db_output_files/scripted_txns/default_processor/83/current_table_items.json b/rust/integration-tests/sdk_expected_db_output_files/imported_mainnet_txns/default_processor/delete_resource_test/current_table_items.json similarity index 81% rename from rust/integration-tests/expected_db_output_files/scripted_txns/default_processor/83/current_table_items.json rename to rust/integration-tests/sdk_expected_db_output_files/imported_mainnet_txns/default_processor/delete_resource_test/current_table_items.json index 78c09381e..cc9dd9638 100644 --- a/rust/integration-tests/expected_db_output_files/scripted_txns/default_processor/83/current_table_items.json +++ b/rust/integration-tests/sdk_expected_db_output_files/imported_mainnet_txns/default_processor/delete_resource_test/current_table_items.json @@ -4,8 +4,8 @@ "key_hash": "61ff6dde49d23af0395c534ca7bee92391910cd0ac4e4ba3d35a2619e49a1775", "key": "0x0619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", "decoded_key": "0x619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", - "decoded_value": "18446744073909449225", + "decoded_value": "107797085162400187", "is_deleted": false, - "last_transaction_version": 83 + "last_transaction_version": 423176063 } ] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/453498957/table_items.json b/rust/integration-tests/sdk_expected_db_output_files/imported_mainnet_txns/default_processor/delete_resource_test/table_items.json similarity index 65% rename from rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/453498957/table_items.json rename to rust/integration-tests/sdk_expected_db_output_files/imported_mainnet_txns/default_processor/delete_resource_test/table_items.json index 9c17a2460..e17839a4f 100644 --- a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/453498957/table_items.json +++ b/rust/integration-tests/sdk_expected_db_output_files/imported_mainnet_txns/default_processor/delete_resource_test/table_items.json @@ -1,12 +1,12 @@ [ { "key": "0x0619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", - "transaction_version": 453498957, - "write_set_change_index": 15, - "transaction_block_height": 146272590, + "transaction_version": 423176063, + "write_set_change_index": 29, + "transaction_block_height": 139029912, "table_handle": "0x1b854694ae746cdbd8d44186ca4929b2b337df21d1c74633be19b2710552fdca", "decoded_key": "0x619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", - "decoded_value": "108125185789884776", + "decoded_value": "107797085162400187", "is_deleted": false } ] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/1080786089/ans_lookup_v2.json b/rust/integration-tests/sdk_expected_db_output_files/imported_mainnet_txns/stake_processor/83883373/events.json similarity index 100% rename from rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/1080786089/ans_lookup_v2.json rename to rust/integration-tests/sdk_expected_db_output_files/imported_mainnet_txns/stake_processor/83883373/events.json diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/1080786089/current_ans_lookup_v2.json b/rust/integration-tests/sdk_expected_db_output_files/imported_mainnet_txns/stake_processor/stake_delegation_pool_test/events.json similarity index 100% rename from rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/1080786089/current_ans_lookup_v2.json rename to rust/integration-tests/sdk_expected_db_output_files/imported_mainnet_txns/stake_processor/stake_delegation_pool_test/events.json diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/1080786089/current_ans_primary_name_v2.json b/rust/integration-tests/sdk_expected_db_output_files/imported_mainnet_txns/stake_processor/stake_delegation_withdraw/events.json similarity index 100% rename from rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/1080786089/current_ans_primary_name_v2.json rename to rust/integration-tests/sdk_expected_db_output_files/imported_mainnet_txns/stake_processor/stake_delegation_withdraw/events.json diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/145959468/ans_lookup_v2.json b/rust/integration-tests/sdk_expected_db_output_files/imported_mainnet_txns/stake_processor/stake_distribute_test/events.json similarity index 100% rename from rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/145959468/ans_lookup_v2.json rename to rust/integration-tests/sdk_expected_db_output_files/imported_mainnet_txns/stake_processor/stake_distribute_test/events.json diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/145959468/current_ans_lookup_v2.json b/rust/integration-tests/sdk_expected_db_output_files/imported_mainnet_txns/stake_processor/stake_gov_record_test/events.json similarity index 100% rename from rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/145959468/current_ans_lookup_v2.json rename to rust/integration-tests/sdk_expected_db_output_files/imported_mainnet_txns/stake_processor/stake_gov_record_test/events.json diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/145959468/current_ans_primary_name_v2.json b/rust/integration-tests/sdk_expected_db_output_files/imported_mainnet_txns/stake_processor/stake_initialize_test/events.json similarity index 100% rename from rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/145959468/current_ans_primary_name_v2.json rename to rust/integration-tests/sdk_expected_db_output_files/imported_mainnet_txns/stake_processor/stake_initialize_test/events.json diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/155112189/ans_lookup_v2.json b/rust/integration-tests/sdk_expected_db_output_files/imported_mainnet_txns/stake_processor/stake_pool_del_test/events.json similarity index 100% rename from rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/155112189/ans_lookup_v2.json rename to rust/integration-tests/sdk_expected_db_output_files/imported_mainnet_txns/stake_processor/stake_pool_del_test/events.json diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/155112189/current_ans_lookup_v2.json b/rust/integration-tests/sdk_expected_db_output_files/imported_mainnet_txns/stake_processor/stake_reactivate_test/events.json similarity index 100% rename from rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/155112189/current_ans_lookup_v2.json rename to rust/integration-tests/sdk_expected_db_output_files/imported_mainnet_txns/stake_processor/stake_reactivate_test/events.json diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/155112189/current_ans_primary_name_v2.json b/rust/integration-tests/sdk_expected_db_output_files/imported_testnet_txns/stake_processor/83883373/events.json similarity index 100% rename from rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/155112189/current_ans_primary_name_v2.json rename to rust/integration-tests/sdk_expected_db_output_files/imported_testnet_txns/stake_processor/83883373/events.json diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/1845035942/ans_lookup_v2.json b/rust/integration-tests/sdk_expected_db_output_files/imported_testnet_txns/stake_processor/stake_delegation_pool_test/events.json similarity index 100% rename from rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/1845035942/ans_lookup_v2.json rename to rust/integration-tests/sdk_expected_db_output_files/imported_testnet_txns/stake_processor/stake_delegation_pool_test/events.json diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/1845035942/ans_primary_name_v2.json b/rust/integration-tests/sdk_expected_db_output_files/imported_testnet_txns/stake_processor/stake_delegation_withdraw/events.json similarity index 100% rename from rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/1845035942/ans_primary_name_v2.json rename to rust/integration-tests/sdk_expected_db_output_files/imported_testnet_txns/stake_processor/stake_delegation_withdraw/events.json diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/1845035942/current_ans_lookup_v2.json b/rust/integration-tests/sdk_expected_db_output_files/imported_testnet_txns/stake_processor/stake_distribute_test/events.json similarity index 100% rename from rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/1845035942/current_ans_lookup_v2.json rename to rust/integration-tests/sdk_expected_db_output_files/imported_testnet_txns/stake_processor/stake_distribute_test/events.json diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/1845035942/current_ans_primary_name_v2.json b/rust/integration-tests/sdk_expected_db_output_files/imported_testnet_txns/stake_processor/stake_initialize_test/events.json similarity index 100% rename from rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/1845035942/current_ans_primary_name_v2.json rename to rust/integration-tests/sdk_expected_db_output_files/imported_testnet_txns/stake_processor/stake_initialize_test/events.json diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/308783012/ans_lookup_v2.json b/rust/integration-tests/sdk_expected_db_output_files/imported_testnet_txns/stake_processor/stake_reactivate_test/events.json similarity index 100% rename from rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/308783012/ans_lookup_v2.json rename to rust/integration-tests/sdk_expected_db_output_files/imported_testnet_txns/stake_processor/stake_reactivate_test/events.json 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/sdk_expected_db_output_files/imported_testnet_txns/stake_processor/stake_unlock_test/events.json similarity index 100% rename from rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/308783012/ans_primary_name_v2.json rename to rust/integration-tests/sdk_expected_db_output_files/imported_testnet_txns/stake_processor/stake_unlock_test/events.json diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/578366445/current_objects.json b/rust/integration-tests/sdk_expected_db_output_files/objects_processor/test_delete_object_without_write/current_objects.json similarity index 100% rename from rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/578366445/current_objects.json rename to rust/integration-tests/sdk_expected_db_output_files/objects_processor/test_delete_object_without_write/current_objects.json diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/578366445/objects.json b/rust/integration-tests/sdk_expected_db_output_files/objects_processor/test_delete_object_without_write/objects.json similarity index 100% rename from rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/578366445/objects.json rename to rust/integration-tests/sdk_expected_db_output_files/objects_processor/test_delete_object_without_write/objects.json diff --git a/rust/integration-tests/sdk_expected_db_output_files/objects_processor/test_objects_write_and_delete_resource/current_objects.json b/rust/integration-tests/sdk_expected_db_output_files/objects_processor/test_objects_write_and_delete_resource/current_objects.json new file mode 100644 index 000000000..f16ddbb95 --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/objects_processor/test_objects_write_and_delete_resource/current_objects.json @@ -0,0 +1,22 @@ +[ + { + "object_address": "0x1ac3cb52493947623cd727e2db9e4cfd828d5f9cd264920d253828276a5e314e", + "owner_address": "0x3fda2b751a0d209e17069ae72ccde256efeaad39e5403ea0e65ef5dcebdf6763", + "state_key_hash": "0xd03f63d32c154a084e982a5fe910ef8e5d692d4c9e9380eb96192335adf32b83", + "allow_ungated_transfer": false, + "last_guid_creation_num": "1125899906842626", + "last_transaction_version": 578366445, + "is_deleted": false, + "untransferrable": true + }, + { + "object_address": "0x57a56bff4472da6c2b28149d192ef0186ff6647bc3c2ba5c28439662fdaa284d", + "owner_address": "0x3fda2b751a0d209e17069ae72ccde256efeaad39e5403ea0e65ef5dcebdf6763", + "state_key_hash": "0xe421a56608f1d2cb1f8b1c0ae19629795dfc05201b545cf8658bd9895d50bdc3", + "allow_ungated_transfer": true, + "last_guid_creation_num": "1125899906842626", + "last_transaction_version": 578366445, + "is_deleted": true, + "untransferrable": false + } +] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/objects_processor/test_objects_write_and_delete_resource/objects.json b/rust/integration-tests/sdk_expected_db_output_files/objects_processor/test_objects_write_and_delete_resource/objects.json new file mode 100644 index 000000000..0b72fb705 --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/objects_processor/test_objects_write_and_delete_resource/objects.json @@ -0,0 +1,123 @@ +[ + { + "transaction_version": 578318306, + "write_set_change_index": 0, + "object_address": "0x57a56bff4472da6c2b28149d192ef0186ff6647bc3c2ba5c28439662fdaa284d", + "owner_address": "0x3fda2b751a0d209e17069ae72ccde256efeaad39e5403ea0e65ef5dcebdf6763", + "state_key_hash": "0xe421a56608f1d2cb1f8b1c0ae19629795dfc05201b545cf8658bd9895d50bdc3", + "guid_creation_num": "1125899906842626", + "allow_ungated_transfer": true, + "is_deleted": false, + "untransferrable": false + }, + { + "transaction_version": 578318306, + "write_set_change_index": 1, + "object_address": "0x57a56bff4472da6c2b28149d192ef0186ff6647bc3c2ba5c28439662fdaa284d", + "owner_address": "0x3fda2b751a0d209e17069ae72ccde256efeaad39e5403ea0e65ef5dcebdf6763", + "state_key_hash": "0xe421a56608f1d2cb1f8b1c0ae19629795dfc05201b545cf8658bd9895d50bdc3", + "guid_creation_num": "1125899906842626", + "allow_ungated_transfer": true, + "is_deleted": false, + "untransferrable": false + }, + { + "transaction_version": 578318306, + "write_set_change_index": 2, + "object_address": "0x57a56bff4472da6c2b28149d192ef0186ff6647bc3c2ba5c28439662fdaa284d", + "owner_address": "0x3fda2b751a0d209e17069ae72ccde256efeaad39e5403ea0e65ef5dcebdf6763", + "state_key_hash": "0xe421a56608f1d2cb1f8b1c0ae19629795dfc05201b545cf8658bd9895d50bdc3", + "guid_creation_num": "1125899906842626", + "allow_ungated_transfer": true, + "is_deleted": false, + "untransferrable": false + }, + { + "transaction_version": 578318306, + "write_set_change_index": 3, + "object_address": "0x57a56bff4472da6c2b28149d192ef0186ff6647bc3c2ba5c28439662fdaa284d", + "owner_address": "0x3fda2b751a0d209e17069ae72ccde256efeaad39e5403ea0e65ef5dcebdf6763", + "state_key_hash": "0xe421a56608f1d2cb1f8b1c0ae19629795dfc05201b545cf8658bd9895d50bdc3", + "guid_creation_num": "1125899906842626", + "allow_ungated_transfer": true, + "is_deleted": false, + "untransferrable": false + }, + { + "transaction_version": 578318306, + "write_set_change_index": 4, + "object_address": "0x57a56bff4472da6c2b28149d192ef0186ff6647bc3c2ba5c28439662fdaa284d", + "owner_address": "0x3fda2b751a0d209e17069ae72ccde256efeaad39e5403ea0e65ef5dcebdf6763", + "state_key_hash": "0xe421a56608f1d2cb1f8b1c0ae19629795dfc05201b545cf8658bd9895d50bdc3", + "guid_creation_num": "1125899906842626", + "allow_ungated_transfer": true, + "is_deleted": false, + "untransferrable": false + }, + { + "transaction_version": 578366445, + "write_set_change_index": 0, + "object_address": "0x1ac3cb52493947623cd727e2db9e4cfd828d5f9cd264920d253828276a5e314e", + "owner_address": "0x3fda2b751a0d209e17069ae72ccde256efeaad39e5403ea0e65ef5dcebdf6763", + "state_key_hash": "0xd03f63d32c154a084e982a5fe910ef8e5d692d4c9e9380eb96192335adf32b83", + "guid_creation_num": "1125899906842626", + "allow_ungated_transfer": false, + "is_deleted": false, + "untransferrable": true + }, + { + "transaction_version": 578366445, + "write_set_change_index": 1, + "object_address": "0x1ac3cb52493947623cd727e2db9e4cfd828d5f9cd264920d253828276a5e314e", + "owner_address": "0x3fda2b751a0d209e17069ae72ccde256efeaad39e5403ea0e65ef5dcebdf6763", + "state_key_hash": "0xd03f63d32c154a084e982a5fe910ef8e5d692d4c9e9380eb96192335adf32b83", + "guid_creation_num": "1125899906842626", + "allow_ungated_transfer": false, + "is_deleted": false, + "untransferrable": true + }, + { + "transaction_version": 578366445, + "write_set_change_index": 2, + "object_address": "0x1ac3cb52493947623cd727e2db9e4cfd828d5f9cd264920d253828276a5e314e", + "owner_address": "0x3fda2b751a0d209e17069ae72ccde256efeaad39e5403ea0e65ef5dcebdf6763", + "state_key_hash": "0xd03f63d32c154a084e982a5fe910ef8e5d692d4c9e9380eb96192335adf32b83", + "guid_creation_num": "1125899906842626", + "allow_ungated_transfer": false, + "is_deleted": false, + "untransferrable": true + }, + { + "transaction_version": 578366445, + "write_set_change_index": 3, + "object_address": "0x1ac3cb52493947623cd727e2db9e4cfd828d5f9cd264920d253828276a5e314e", + "owner_address": "0x3fda2b751a0d209e17069ae72ccde256efeaad39e5403ea0e65ef5dcebdf6763", + "state_key_hash": "0xd03f63d32c154a084e982a5fe910ef8e5d692d4c9e9380eb96192335adf32b83", + "guid_creation_num": "1125899906842626", + "allow_ungated_transfer": false, + "is_deleted": false, + "untransferrable": true + }, + { + "transaction_version": 578366445, + "write_set_change_index": 4, + "object_address": "0x1ac3cb52493947623cd727e2db9e4cfd828d5f9cd264920d253828276a5e314e", + "owner_address": "0x3fda2b751a0d209e17069ae72ccde256efeaad39e5403ea0e65ef5dcebdf6763", + "state_key_hash": "0xd03f63d32c154a084e982a5fe910ef8e5d692d4c9e9380eb96192335adf32b83", + "guid_creation_num": "1125899906842626", + "allow_ungated_transfer": false, + "is_deleted": false, + "untransferrable": true + }, + { + "transaction_version": 578366445, + "write_set_change_index": 7, + "object_address": "0x57a56bff4472da6c2b28149d192ef0186ff6647bc3c2ba5c28439662fdaa284d", + "owner_address": "0x3fda2b751a0d209e17069ae72ccde256efeaad39e5403ea0e65ef5dcebdf6763", + "state_key_hash": "0xe421a56608f1d2cb1f8b1c0ae19629795dfc05201b545cf8658bd9895d50bdc3", + "guid_creation_num": "1125899906842626", + "allow_ungated_transfer": true, + "is_deleted": true, + "untransferrable": false + } +] \ 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/sdk_expected_db_output_files/token_v2_processor/test_token_v1_burn_event/collections_v2.json similarity index 100% rename from rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/308783012/current_ans_lookup_v2.json rename to rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_burn_event/collections_v2.json 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/sdk_expected_db_output_files/token_v2_processor/test_token_v1_burn_event/current_collections_v2.json similarity index 100% rename from rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/308783012/current_ans_primary_name_v2.json rename to rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_burn_event/current_collections_v2.json diff --git a/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_burn_event/current_token_datas_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_burn_event/current_token_datas_v2.json new file mode 100644 index 000000000..087c8006a --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_burn_event/current_token_datas_v2.json @@ -0,0 +1,22 @@ +[ + { + "token_data_id": "0x5f25efaa91cc4131dae76c6b21430e3cda78ec859d7e251f272614970c8434b6", + "collection_id": "0xa77534506f24582ef8a164b8e13d1b0b67989854243faef312c9fa1049e47eef", + "token_name": "kusama", + "maximum": "1", + "supply": "1", + "largest_property_version_v1": "0", + "token_uri": "https://aptpp.com/namepic/main/kusama", + "description": "APass Name", + "token_properties": { + "TOKEN_PROPERTY_MUTABLE": "true", + "TOKEN_BURNABLE_BY_OWNER": "true" + }, + "token_standard": "v1", + "is_fungible_v2": null, + "last_transaction_version": 11648867, + "last_transaction_timestamp": "2022-10-25T00:16:21.907807", + "is_deleted_v2": null, + "decimals": 0 + } +] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_burn_event/current_token_ownerships_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_burn_event/current_token_ownerships_v2.json new file mode 100644 index 000000000..1e6e6becc --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_burn_event/current_token_ownerships_v2.json @@ -0,0 +1,32 @@ +[ + { + "token_data_id": "0x5f25efaa91cc4131dae76c6b21430e3cda78ec859d7e251f272614970c8434b6", + "property_version_v1": "0", + "owner_address": "0x262662203c5ca539061e8644b8124bd6e9d475d9ab181d0674c72e8067752a1e", + "storage_id": "0xfe4bf4bb39ba78b9b87a4bd5d0b2116fa33dece102ec39992c55fd1941b338db", + "amount": "1", + "table_type_v1": "0x3::token::TokenStore", + "token_properties_mutated_v1": {}, + "is_soulbound_v2": null, + "token_standard": "v1", + "is_fungible_v2": null, + "last_transaction_version": 11648867, + "last_transaction_timestamp": "2022-10-25T00:16:21.907807", + "non_transferrable_by_owner": null + }, + { + "token_data_id": "0xedaa0ae425fc01fc52c0873e837713d3ab35009ed423ddad11fb2da06262e8fa", + "property_version_v1": "0", + "owner_address": "0x262662203c5ca539061e8644b8124bd6e9d475d9ab181d0674c72e8067752a1e", + "storage_id": "0xfe4bf4bb39ba78b9b87a4bd5d0b2116fa33dece102ec39992c55fd1941b338db", + "amount": "0", + "table_type_v1": "0x3::token::TokenStore", + "token_properties_mutated_v1": null, + "is_soulbound_v2": null, + "token_standard": "v1", + "is_fungible_v2": null, + "last_transaction_version": 11648867, + "last_transaction_timestamp": "2022-10-25T00:16:21.907807", + "non_transferrable_by_owner": null + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/325355235/ans_lookup_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_burn_event/current_token_pending_claims.json similarity index 100% rename from rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/325355235/ans_lookup_v2.json rename to rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_burn_event/current_token_pending_claims.json diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/325355235/ans_primary_name_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_burn_event/current_token_v2_metadata.json similarity index 100% rename from rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/325355235/ans_primary_name_v2.json rename to rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_burn_event/current_token_v2_metadata.json diff --git a/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_burn_event/token_activities_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_burn_event/token_activities_v2.json new file mode 100644 index 000000000..676a889d9 --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_burn_event/token_activities_v2.json @@ -0,0 +1,104 @@ +[ + { + "transaction_version": 11648867, + "event_index": 0, + "event_account_address": "0x262662203c5ca539061e8644b8124bd6e9d475d9ab181d0674c72e8067752a1e", + "token_data_id": "0xedaa0ae425fc01fc52c0873e837713d3ab35009ed423ddad11fb2da06262e8fa", + "property_version_v1": "0", + "type_": "0x3::token::WithdrawEvent", + "from_address": "0x262662203c5ca539061e8644b8124bd6e9d475d9ab181d0674c72e8067752a1e", + "to_address": null, + "token_amount": "1", + "before_value": null, + "after_value": null, + "entry_function_id_str": "0x777821c78442e17d82c3d7a371f42de7189e4248e529fe6eee6bca40ddbb::APDomain::register_with_discount", + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2022-10-25T00:16:21.907807" + }, + { + "transaction_version": 11648867, + "event_index": 1, + "event_account_address": "0x262662203c5ca539061e8644b8124bd6e9d475d9ab181d0674c72e8067752a1e", + "token_data_id": "0xedaa0ae425fc01fc52c0873e837713d3ab35009ed423ddad11fb2da06262e8fa", + "property_version_v1": "0", + "type_": "0x3::token::BurnTokenEvent", + "from_address": "0x262662203c5ca539061e8644b8124bd6e9d475d9ab181d0674c72e8067752a1e", + "to_address": null, + "token_amount": "1", + "before_value": null, + "after_value": null, + "entry_function_id_str": "0x777821c78442e17d82c3d7a371f42de7189e4248e529fe6eee6bca40ddbb::APDomain::register_with_discount", + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2022-10-25T00:16:21.907807" + }, + { + "transaction_version": 11648867, + "event_index": 3, + "event_account_address": "0xb731146f64e49695f67ec7d7cd11b58a94194c897a5c2a1fea6e00d36e220926", + "token_data_id": "0x5f25efaa91cc4131dae76c6b21430e3cda78ec859d7e251f272614970c8434b6", + "property_version_v1": "0", + "type_": "0x3::token::DepositEvent", + "from_address": null, + "to_address": "0xb731146f64e49695f67ec7d7cd11b58a94194c897a5c2a1fea6e00d36e220926", + "token_amount": "1", + "before_value": null, + "after_value": null, + "entry_function_id_str": "0x777821c78442e17d82c3d7a371f42de7189e4248e529fe6eee6bca40ddbb::APDomain::register_with_discount", + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2022-10-25T00:16:21.907807" + }, + { + "transaction_version": 11648867, + "event_index": 4, + "event_account_address": "0xb731146f64e49695f67ec7d7cd11b58a94194c897a5c2a1fea6e00d36e220926", + "token_data_id": "0x5f25efaa91cc4131dae76c6b21430e3cda78ec859d7e251f272614970c8434b6", + "property_version_v1": "0", + "type_": "0x3::token::MintTokenEvent", + "from_address": "0xb731146f64e49695f67ec7d7cd11b58a94194c897a5c2a1fea6e00d36e220926", + "to_address": null, + "token_amount": "1", + "before_value": null, + "after_value": null, + "entry_function_id_str": "0x777821c78442e17d82c3d7a371f42de7189e4248e529fe6eee6bca40ddbb::APDomain::register_with_discount", + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2022-10-25T00:16:21.907807" + }, + { + "transaction_version": 11648867, + "event_index": 5, + "event_account_address": "0xb731146f64e49695f67ec7d7cd11b58a94194c897a5c2a1fea6e00d36e220926", + "token_data_id": "0x5f25efaa91cc4131dae76c6b21430e3cda78ec859d7e251f272614970c8434b6", + "property_version_v1": "0", + "type_": "0x3::token::WithdrawEvent", + "from_address": "0xb731146f64e49695f67ec7d7cd11b58a94194c897a5c2a1fea6e00d36e220926", + "to_address": null, + "token_amount": "1", + "before_value": null, + "after_value": null, + "entry_function_id_str": "0x777821c78442e17d82c3d7a371f42de7189e4248e529fe6eee6bca40ddbb::APDomain::register_with_discount", + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2022-10-25T00:16:21.907807" + }, + { + "transaction_version": 11648867, + "event_index": 6, + "event_account_address": "0x262662203c5ca539061e8644b8124bd6e9d475d9ab181d0674c72e8067752a1e", + "token_data_id": "0x5f25efaa91cc4131dae76c6b21430e3cda78ec859d7e251f272614970c8434b6", + "property_version_v1": "0", + "type_": "0x3::token::DepositEvent", + "from_address": null, + "to_address": "0x262662203c5ca539061e8644b8124bd6e9d475d9ab181d0674c72e8067752a1e", + "token_amount": "1", + "before_value": null, + "after_value": null, + "entry_function_id_str": "0x777821c78442e17d82c3d7a371f42de7189e4248e529fe6eee6bca40ddbb::APDomain::register_with_discount", + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2022-10-25T00:16:21.907807" + } +] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_burn_event/token_datas_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_burn_event/token_datas_v2.json new file mode 100644 index 000000000..e371060de --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_burn_event/token_datas_v2.json @@ -0,0 +1,23 @@ +[ + { + "transaction_version": 11648867, + "write_set_change_index": 8, + "token_data_id": "0x5f25efaa91cc4131dae76c6b21430e3cda78ec859d7e251f272614970c8434b6", + "collection_id": "0xa77534506f24582ef8a164b8e13d1b0b67989854243faef312c9fa1049e47eef", + "token_name": "kusama", + "maximum": "1", + "supply": "1", + "largest_property_version_v1": "0", + "token_uri": "https://aptpp.com/namepic/main/kusama", + "token_properties": { + "TOKEN_PROPERTY_MUTABLE": "true", + "TOKEN_BURNABLE_BY_OWNER": "true" + }, + "description": "APass Name", + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2022-10-25T00:16:21.907807", + "is_deleted_v2": null, + "decimals": 0 + } +] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_burn_event/token_ownerships_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_burn_event/token_ownerships_v2.json new file mode 100644 index 000000000..5a5591f89 --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_burn_event/token_ownerships_v2.json @@ -0,0 +1,34 @@ +[ + { + "transaction_version": 11648867, + "write_set_change_index": 12, + "token_data_id": "0xedaa0ae425fc01fc52c0873e837713d3ab35009ed423ddad11fb2da06262e8fa", + "property_version_v1": "0", + "owner_address": "0x262662203c5ca539061e8644b8124bd6e9d475d9ab181d0674c72e8067752a1e", + "storage_id": "0xfe4bf4bb39ba78b9b87a4bd5d0b2116fa33dece102ec39992c55fd1941b338db", + "amount": "0", + "table_type_v1": "0x3::token::TokenStore", + "token_properties_mutated_v1": null, + "is_soulbound_v2": null, + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2022-10-25T00:16:21.907807", + "non_transferrable_by_owner": null + }, + { + "transaction_version": 11648867, + "write_set_change_index": 13, + "token_data_id": "0x5f25efaa91cc4131dae76c6b21430e3cda78ec859d7e251f272614970c8434b6", + "property_version_v1": "0", + "owner_address": "0x262662203c5ca539061e8644b8124bd6e9d475d9ab181d0674c72e8067752a1e", + "storage_id": "0xfe4bf4bb39ba78b9b87a4bd5d0b2116fa33dece102ec39992c55fd1941b338db", + "amount": "1", + "table_type_v1": "0x3::token::TokenStore", + "token_properties_mutated_v1": {}, + "is_soulbound_v2": null, + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2022-10-25T00:16:21.907807", + "non_transferrable_by_owner": null + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/325355235/current_ans_lookup_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_cancel_offer/collections_v2.json similarity index 100% rename from rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/325355235/current_ans_lookup_v2.json rename to rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_cancel_offer/collections_v2.json diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/325355235/current_ans_primary_name_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_cancel_offer/current_collections_v2.json similarity index 100% rename from rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/325355235/current_ans_primary_name_v2.json rename to rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_cancel_offer/current_collections_v2.json diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/453498957/ans_lookup_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_cancel_offer/current_token_datas_v2.json similarity index 100% rename from rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/453498957/ans_lookup_v2.json rename to rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_cancel_offer/current_token_datas_v2.json diff --git a/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_cancel_offer/current_token_ownerships_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_cancel_offer/current_token_ownerships_v2.json new file mode 100644 index 000000000..4aef1e4b2 --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_cancel_offer/current_token_ownerships_v2.json @@ -0,0 +1,17 @@ +[ + { + "token_data_id": "0x86cd172eba55478fdfc1c83cc8409fb2f6b73338a4221654ff8293b293ea0394", + "property_version_v1": "0", + "owner_address": "0xbe7307edb51640511a7556cad597b03bffb3e2ea6f9d7f8ba2a16cdb3cf6d4b8", + "storage_id": "0xcaaa88b30540f763e53ed4cbd363a40bdef8c20e59ffa2ca36be986f41eb9f4b", + "amount": "1", + "table_type_v1": "0x3::token::TokenStore", + "token_properties_mutated_v1": {}, + "is_soulbound_v2": null, + "token_standard": "v1", + "is_fungible_v2": null, + "last_transaction_version": 97963136, + "last_transaction_timestamp": "2023-03-06T22:17:05.827743", + "non_transferrable_by_owner": null + } +] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_cancel_offer/current_token_pending_claims.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_cancel_offer/current_token_pending_claims.json new file mode 100644 index 000000000..30f21775a --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_cancel_offer/current_token_pending_claims.json @@ -0,0 +1,18 @@ +[ + { + "token_data_id_hash": "86cd172eba55478fdfc1c83cc8409fb2f6b73338a4221654ff8293b293ea0394", + "property_version": "0", + "from_address": "0xbe7307edb51640511a7556cad597b03bffb3e2ea6f9d7f8ba2a16cdb3cf6d4b8", + "to_address": "0x02ff54fea1e710bafb56eb3d14e1b07ce86c4d06bdbc226973fea8d156cad2c1", + "collection_data_id_hash": "21fe1de18c24db28b02a13a69a7b7215164695cdebd460ed79fd004d6962eadf", + "creator_address": "0x9bc7a139e5c2c70625f30625d4f704ce11d3a305267b22f7b913fe85aa151b69", + "collection_name": "BlueEye", + "name": "NFT #25", + "amount": "0", + "table_handle": "0x3e33411747d4f778f2aeeb66aa22568db5bfbfab84f72f4943c562a3cdc4a095", + "last_transaction_version": 97963136, + "collection_id": "0x21fe1de18c24db28b02a13a69a7b7215164695cdebd460ed79fd004d6962eadf", + "last_transaction_timestamp": "2023-03-06T22:17:05.827743", + "token_data_id": "0x86cd172eba55478fdfc1c83cc8409fb2f6b73338a4221654ff8293b293ea0394" + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/453498957/ans_primary_name_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_cancel_offer/current_token_v2_metadata.json similarity index 100% rename from rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/453498957/ans_primary_name_v2.json rename to rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_cancel_offer/current_token_v2_metadata.json diff --git a/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_cancel_offer/token_activities_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_cancel_offer/token_activities_v2.json new file mode 100644 index 000000000..b7b915b13 --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_cancel_offer/token_activities_v2.json @@ -0,0 +1,36 @@ +[ + { + "transaction_version": 97963136, + "event_index": 0, + "event_account_address": "0xbe7307edb51640511a7556cad597b03bffb3e2ea6f9d7f8ba2a16cdb3cf6d4b8", + "token_data_id": "0x86cd172eba55478fdfc1c83cc8409fb2f6b73338a4221654ff8293b293ea0394", + "property_version_v1": "0", + "type_": "0x3::token::DepositEvent", + "from_address": null, + "to_address": "0xbe7307edb51640511a7556cad597b03bffb3e2ea6f9d7f8ba2a16cdb3cf6d4b8", + "token_amount": "1", + "before_value": null, + "after_value": null, + "entry_function_id_str": "0x3::token_transfers::cancel_offer_script", + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2023-03-06T22:17:05.827743" + }, + { + "transaction_version": 97963136, + "event_index": 1, + "event_account_address": "0xbe7307edb51640511a7556cad597b03bffb3e2ea6f9d7f8ba2a16cdb3cf6d4b8", + "token_data_id": "0x86cd172eba55478fdfc1c83cc8409fb2f6b73338a4221654ff8293b293ea0394", + "property_version_v1": "0", + "type_": "0x3::token_transfers::TokenCancelOfferEvent", + "from_address": "0xbe7307edb51640511a7556cad597b03bffb3e2ea6f9d7f8ba2a16cdb3cf6d4b8", + "to_address": "0x02ff54fea1e710bafb56eb3d14e1b07ce86c4d06bdbc226973fea8d156cad2c1", + "token_amount": "1", + "before_value": null, + "after_value": null, + "entry_function_id_str": "0x3::token_transfers::cancel_offer_script", + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2023-03-06T22:17:05.827743" + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/453498957/current_ans_lookup_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_cancel_offer/token_datas_v2.json similarity index 100% rename from rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/453498957/current_ans_lookup_v2.json rename to rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_cancel_offer/token_datas_v2.json diff --git a/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_cancel_offer/token_ownerships_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_cancel_offer/token_ownerships_v2.json new file mode 100644 index 000000000..6e8496bfc --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_cancel_offer/token_ownerships_v2.json @@ -0,0 +1,18 @@ +[ + { + "transaction_version": 97963136, + "write_set_change_index": 6, + "token_data_id": "0x86cd172eba55478fdfc1c83cc8409fb2f6b73338a4221654ff8293b293ea0394", + "property_version_v1": "0", + "owner_address": "0xbe7307edb51640511a7556cad597b03bffb3e2ea6f9d7f8ba2a16cdb3cf6d4b8", + "storage_id": "0xcaaa88b30540f763e53ed4cbd363a40bdef8c20e59ffa2ca36be986f41eb9f4b", + "amount": "1", + "table_type_v1": "0x3::token::TokenStore", + "token_properties_mutated_v1": {}, + "is_soulbound_v2": null, + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2023-03-06T22:17:05.827743", + "non_transferrable_by_owner": null + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/453498957/current_ans_primary_name_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_claim_offer/collections_v2.json similarity index 100% rename from rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/453498957/current_ans_primary_name_v2.json rename to rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_claim_offer/collections_v2.json diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/508365567/ans_lookup_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_claim_offer/current_collections_v2.json similarity index 100% rename from rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/508365567/ans_lookup_v2.json rename to rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_claim_offer/current_collections_v2.json diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/508365567/ans_primary_name_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_claim_offer/current_token_datas_v2.json similarity index 100% rename from rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/508365567/ans_primary_name_v2.json rename to rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_claim_offer/current_token_datas_v2.json diff --git a/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_claim_offer/current_token_ownerships_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_claim_offer/current_token_ownerships_v2.json new file mode 100644 index 000000000..68d0f8f00 --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_claim_offer/current_token_ownerships_v2.json @@ -0,0 +1,17 @@ +[ + { + "token_data_id": "0x8b5bf15b19557d943ec8af90b4f874138de7e5fd125fa7ccf28d85a49e33bf0c", + "property_version_v1": "0", + "owner_address": "0x62367f3fa5c24c07a9ebe41a5f008327dae19e10b1aa6878aa2ee1183dd983ae", + "storage_id": "0xb6ace9a0a40e40f00579433e40d9deb49fd9eda638867a2eab4469158a1e5a6f", + "amount": "1", + "table_type_v1": "0x3::token::TokenStore", + "token_properties_mutated_v1": {}, + "is_soulbound_v2": null, + "token_standard": "v1", + "is_fungible_v2": null, + "last_transaction_version": 84023785, + "last_transaction_timestamp": "2023-02-08T13:41:41.695045", + "non_transferrable_by_owner": null + } +] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_claim_offer/current_token_pending_claims.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_claim_offer/current_token_pending_claims.json new file mode 100644 index 000000000..b9560027d --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_claim_offer/current_token_pending_claims.json @@ -0,0 +1,18 @@ +[ + { + "token_data_id_hash": "8b5bf15b19557d943ec8af90b4f874138de7e5fd125fa7ccf28d85a49e33bf0c", + "property_version": "0", + "from_address": "0x02018f7b38b9c783d6385ec722490082425dc43d3a5e4afac4ebb9cfe92033e9", + "to_address": "0x62367f3fa5c24c07a9ebe41a5f008327dae19e10b1aa6878aa2ee1183dd983ae", + "collection_data_id_hash": "acf73ef1391408374882ee764d2ec113529c486a7fbeb6fbabe36ba995ad0dfe", + "creator_address": "0x01592786351606410ce368d6c58bc56f4573ed82cdc092bd16089b9eae370211", + "collection_name": "Easter-AI", + "name": "Easter-AI #265", + "amount": "0", + "table_handle": "0xf7fc9be5db4893f6cd86e7fc163ad8fba05828b1fce16a995fb01ff028d65bb2", + "last_transaction_version": 84023785, + "collection_id": "0xacf73ef1391408374882ee764d2ec113529c486a7fbeb6fbabe36ba995ad0dfe", + "last_transaction_timestamp": "2023-02-08T13:41:41.695045", + "token_data_id": "0x8b5bf15b19557d943ec8af90b4f874138de7e5fd125fa7ccf28d85a49e33bf0c" + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/508365567/current_ans_lookup_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_claim_offer/current_token_v2_metadata.json similarity index 100% rename from rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/508365567/current_ans_lookup_v2.json rename to rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_claim_offer/current_token_v2_metadata.json diff --git a/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_claim_offer/token_activities_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_claim_offer/token_activities_v2.json new file mode 100644 index 000000000..a2adc216d --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_claim_offer/token_activities_v2.json @@ -0,0 +1,36 @@ +[ + { + "transaction_version": 84023785, + "event_index": 0, + "event_account_address": "0x62367f3fa5c24c07a9ebe41a5f008327dae19e10b1aa6878aa2ee1183dd983ae", + "token_data_id": "0x8b5bf15b19557d943ec8af90b4f874138de7e5fd125fa7ccf28d85a49e33bf0c", + "property_version_v1": "0", + "type_": "0x3::token::DepositEvent", + "from_address": null, + "to_address": "0x62367f3fa5c24c07a9ebe41a5f008327dae19e10b1aa6878aa2ee1183dd983ae", + "token_amount": "1", + "before_value": null, + "after_value": null, + "entry_function_id_str": "0x3::token_transfers::claim_script", + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2023-02-08T13:41:41.695045" + }, + { + "transaction_version": 84023785, + "event_index": 1, + "event_account_address": "0x02018f7b38b9c783d6385ec722490082425dc43d3a5e4afac4ebb9cfe92033e9", + "token_data_id": "0x8b5bf15b19557d943ec8af90b4f874138de7e5fd125fa7ccf28d85a49e33bf0c", + "property_version_v1": "0", + "type_": "0x3::token_transfers::TokenClaimEvent", + "from_address": "0x02018f7b38b9c783d6385ec722490082425dc43d3a5e4afac4ebb9cfe92033e9", + "to_address": "0x62367f3fa5c24c07a9ebe41a5f008327dae19e10b1aa6878aa2ee1183dd983ae", + "token_amount": "1", + "before_value": null, + "after_value": null, + "entry_function_id_str": "0x3::token_transfers::claim_script", + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2023-02-08T13:41:41.695045" + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/508365567/current_ans_primary_name_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_claim_offer/token_datas_v2.json similarity index 100% rename from rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/508365567/current_ans_primary_name_v2.json rename to rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_claim_offer/token_datas_v2.json diff --git a/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_claim_offer/token_ownerships_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_claim_offer/token_ownerships_v2.json new file mode 100644 index 000000000..5f983e16f --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_claim_offer/token_ownerships_v2.json @@ -0,0 +1,18 @@ +[ + { + "transaction_version": 84023785, + "write_set_change_index": 5, + "token_data_id": "0x8b5bf15b19557d943ec8af90b4f874138de7e5fd125fa7ccf28d85a49e33bf0c", + "property_version_v1": "0", + "owner_address": "0x62367f3fa5c24c07a9ebe41a5f008327dae19e10b1aa6878aa2ee1183dd983ae", + "storage_id": "0xb6ace9a0a40e40f00579433e40d9deb49fd9eda638867a2eab4469158a1e5a6f", + "amount": "1", + "table_type_v1": "0x3::token::TokenStore", + "token_properties_mutated_v1": {}, + "is_soulbound_v2": null, + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2023-02-08T13:41:41.695045", + "non_transferrable_by_owner": null + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/513424821/ans_lookup_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_events/collections_v2.json similarity index 100% rename from rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/513424821/ans_lookup_v2.json rename to rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_events/collections_v2.json diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/513424821/ans_primary_name_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_events/current_collections_v2.json similarity index 100% rename from rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/513424821/ans_primary_name_v2.json rename to rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_events/current_collections_v2.json diff --git a/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_events/current_token_datas_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_events/current_token_datas_v2.json new file mode 100644 index 000000000..2a4f65230 --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_events/current_token_datas_v2.json @@ -0,0 +1,21 @@ +[ + { + "token_data_id": "0xc00d409177c3265544651b938d857a7675afe57fb4d276a37bcc18ecbecd0dac", + "collection_id": "0x2ae74f6f02bb77746263f3f32b17a4ea3196b467029c588b323d136af0c45cd4", + "token_name": "Aptos CIS x Joule Finance", + "maximum": "10000000000", + "supply": "2893", + "largest_property_version_v1": "0", + "token_uri": "https://graphigo.prd.galaxy.eco/metadata/aptos/0x092d2f7ad00630e4dfffcca01bee12c84edf004720347fb1fd57016d2cc8d3f8/GCoqbtkpAd.json", + "description": "", + "token_properties": { + "Galxe Campaign": "GCoqbtkpAd" + }, + "token_standard": "v1", + "is_fungible_v2": null, + "last_transaction_version": 1058723093, + "last_transaction_timestamp": "2024-07-29T17:42:38.476025", + "is_deleted_v2": null, + "decimals": 0 + } +] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_events/current_token_ownerships_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_events/current_token_ownerships_v2.json new file mode 100644 index 000000000..3910ab3a8 --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_events/current_token_ownerships_v2.json @@ -0,0 +1,17 @@ +[ + { + "token_data_id": "0xc00d409177c3265544651b938d857a7675afe57fb4d276a37bcc18ecbecd0dac", + "property_version_v1": "0", + "owner_address": "0xc50d395a79199699f061f49b2c06d31affd08bb53a380d3cfce5f693fb82a0a2", + "storage_id": "0xe2d4df48ee30234ecfd2e53216b000e485a304809099f77af060fb4a31153e77", + "amount": "1", + "table_type_v1": "0x3::token::TokenStore", + "token_properties_mutated_v1": {}, + "is_soulbound_v2": null, + "token_standard": "v1", + "is_fungible_v2": null, + "last_transaction_version": 1058723093, + "last_transaction_timestamp": "2024-07-29T17:42:38.476025", + "non_transferrable_by_owner": null + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/513424821/current_ans_lookup_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_events/current_token_pending_claims.json similarity index 100% rename from rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/513424821/current_ans_lookup_v2.json rename to rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_events/current_token_pending_claims.json diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/513424821/current_ans_primary_name_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_events/current_token_v2_metadata.json similarity index 100% rename from rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/513424821/current_ans_primary_name_v2.json rename to rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_events/current_token_v2_metadata.json diff --git a/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_events/token_activities_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_events/token_activities_v2.json new file mode 100644 index 000000000..2d761fcea --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_events/token_activities_v2.json @@ -0,0 +1,70 @@ +[ + { + "transaction_version": 1058723093, + "event_index": 0, + "event_account_address": "0x092d2f7ad00630e4dfffcca01bee12c84edf004720347fb1fd57016d2cc8d3f8", + "token_data_id": "0xc00d409177c3265544651b938d857a7675afe57fb4d276a37bcc18ecbecd0dac", + "property_version_v1": "0", + "type_": "0x3::token::MintTokenEvent", + "from_address": "0x092d2f7ad00630e4dfffcca01bee12c84edf004720347fb1fd57016d2cc8d3f8", + "to_address": null, + "token_amount": "1", + "before_value": null, + "after_value": null, + "entry_function_id_str": "0xe7c7bb0e53fc6fb86aa7464645fbac96b96716463b4e2269c62945c135aa26fd::oat::claim", + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2024-07-29T17:42:38.476025" + }, + { + "transaction_version": 1058723093, + "event_index": 1, + "event_account_address": "0x092d2f7ad00630e4dfffcca01bee12c84edf004720347fb1fd57016d2cc8d3f8", + "token_data_id": "0xc00d409177c3265544651b938d857a7675afe57fb4d276a37bcc18ecbecd0dac", + "property_version_v1": "0", + "type_": "0x3::token::DepositEvent", + "from_address": null, + "to_address": "0x092d2f7ad00630e4dfffcca01bee12c84edf004720347fb1fd57016d2cc8d3f8", + "token_amount": "1", + "before_value": null, + "after_value": null, + "entry_function_id_str": "0xe7c7bb0e53fc6fb86aa7464645fbac96b96716463b4e2269c62945c135aa26fd::oat::claim", + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2024-07-29T17:42:38.476025" + }, + { + "transaction_version": 1058723093, + "event_index": 2, + "event_account_address": "0x092d2f7ad00630e4dfffcca01bee12c84edf004720347fb1fd57016d2cc8d3f8", + "token_data_id": "0xc00d409177c3265544651b938d857a7675afe57fb4d276a37bcc18ecbecd0dac", + "property_version_v1": "0", + "type_": "0x3::token::WithdrawEvent", + "from_address": "0x092d2f7ad00630e4dfffcca01bee12c84edf004720347fb1fd57016d2cc8d3f8", + "to_address": null, + "token_amount": "1", + "before_value": null, + "after_value": null, + "entry_function_id_str": "0xe7c7bb0e53fc6fb86aa7464645fbac96b96716463b4e2269c62945c135aa26fd::oat::claim", + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2024-07-29T17:42:38.476025" + }, + { + "transaction_version": 1058723093, + "event_index": 3, + "event_account_address": "0xc50d395a79199699f061f49b2c06d31affd08bb53a380d3cfce5f693fb82a0a2", + "token_data_id": "0xc00d409177c3265544651b938d857a7675afe57fb4d276a37bcc18ecbecd0dac", + "property_version_v1": "0", + "type_": "0x3::token::DepositEvent", + "from_address": null, + "to_address": "0xc50d395a79199699f061f49b2c06d31affd08bb53a380d3cfce5f693fb82a0a2", + "token_amount": "1", + "before_value": null, + "after_value": null, + "entry_function_id_str": "0xe7c7bb0e53fc6fb86aa7464645fbac96b96716463b4e2269c62945c135aa26fd::oat::claim", + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2024-07-29T17:42:38.476025" + } +] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_events/token_datas_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_events/token_datas_v2.json new file mode 100644 index 000000000..8bbbbec9f --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_events/token_datas_v2.json @@ -0,0 +1,22 @@ +[ + { + "transaction_version": 1058723093, + "write_set_change_index": 7, + "token_data_id": "0xc00d409177c3265544651b938d857a7675afe57fb4d276a37bcc18ecbecd0dac", + "collection_id": "0x2ae74f6f02bb77746263f3f32b17a4ea3196b467029c588b323d136af0c45cd4", + "token_name": "Aptos CIS x Joule Finance", + "maximum": "10000000000", + "supply": "2893", + "largest_property_version_v1": "0", + "token_uri": "https://graphigo.prd.galaxy.eco/metadata/aptos/0x092d2f7ad00630e4dfffcca01bee12c84edf004720347fb1fd57016d2cc8d3f8/GCoqbtkpAd.json", + "token_properties": { + "Galxe Campaign": "GCoqbtkpAd" + }, + "description": "", + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2024-07-29T17:42:38.476025", + "is_deleted_v2": null, + "decimals": 0 + } +] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_events/token_ownerships_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_events/token_ownerships_v2.json new file mode 100644 index 000000000..313523712 --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_events/token_ownerships_v2.json @@ -0,0 +1,18 @@ +[ + { + "transaction_version": 1058723093, + "write_set_change_index": 9, + "token_data_id": "0xc00d409177c3265544651b938d857a7675afe57fb4d276a37bcc18ecbecd0dac", + "property_version_v1": "0", + "owner_address": "0xc50d395a79199699f061f49b2c06d31affd08bb53a380d3cfce5f693fb82a0a2", + "storage_id": "0xe2d4df48ee30234ecfd2e53216b000e485a304809099f77af060fb4a31153e77", + "amount": "1", + "table_type_v1": "0x3::token::TokenStore", + "token_properties_mutated_v1": {}, + "is_soulbound_v2": null, + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2024-07-29T17:42:38.476025", + "non_transferrable_by_owner": null + } +] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_mutate_event/collections_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_mutate_event/collections_v2.json new file mode 100644 index 000000000..d918fbd47 --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_mutate_event/collections_v2.json @@ -0,0 +1,20 @@ +[ + { + "transaction_version": 178179220, + "write_set_change_index": 9, + "collection_id": "0x370e2acd14849283ce83a963d5d6263d4dcf451c8d7a7d5213412bf211787a12", + "creator_address": "0x7a370c1993c5517868b93004f1f72853160e758fa30de2edfec2574237bf9a83", + "collection_name": "W&W EGG", + "description": "https://beast.werewolfandwitch.xyz/ / Eggs are the key to obtaining Beasts through hatching. There exists a diverse array of eggs, each representing a different species or variation. Rare eggs hold the promise of acquiring even rarer and more extraordinary Beasts. ", + "uri": "https://werewolfandwitch-beast-collection.s3.ap-northeast-2.amazonaws.com/egg/egg_epic.png", + "current_supply": "66", + "max_supply": "99999", + "total_minted_v2": null, + "mutable_description": true, + "mutable_uri": true, + "table_handle_v1": "0xbb26ae908fcb19ba5bb8353ce7599be7330cfa20f0c8081d7f0e8c608311962b", + "token_standard": "v1", + "transaction_timestamp": "2023-07-11T03:13:35.970315", + "collection_properties": null + } +] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_mutate_event/current_collections_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_mutate_event/current_collections_v2.json new file mode 100644 index 000000000..5644a5e8d --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_mutate_event/current_collections_v2.json @@ -0,0 +1,19 @@ +[ + { + "collection_id": "0x370e2acd14849283ce83a963d5d6263d4dcf451c8d7a7d5213412bf211787a12", + "creator_address": "0x7a370c1993c5517868b93004f1f72853160e758fa30de2edfec2574237bf9a83", + "collection_name": "W&W EGG", + "description": "https://beast.werewolfandwitch.xyz/ / Eggs are the key to obtaining Beasts through hatching. There exists a diverse array of eggs, each representing a different species or variation. Rare eggs hold the promise of acquiring even rarer and more extraordinary Beasts. ", + "uri": "https://werewolfandwitch-beast-collection.s3.ap-northeast-2.amazonaws.com/egg/egg_epic.png", + "current_supply": "66", + "max_supply": "99999", + "total_minted_v2": null, + "mutable_description": true, + "mutable_uri": true, + "table_handle_v1": "0xbb26ae908fcb19ba5bb8353ce7599be7330cfa20f0c8081d7f0e8c608311962b", + "token_standard": "v1", + "last_transaction_version": 178179220, + "last_transaction_timestamp": "2023-07-11T03:13:35.970315", + "collection_properties": null + } +] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_mutate_event/current_token_datas_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_mutate_event/current_token_datas_v2.json new file mode 100644 index 000000000..a46639ef7 --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_mutate_event/current_token_datas_v2.json @@ -0,0 +1,24 @@ +[ + { + "token_data_id": "0x6a0c359c0f404a9975dc97bcbba2be53937295fa555ea08a59b7c8accd8bdcbd", + "collection_id": "0x370e2acd14849283ce83a963d5d6263d4dcf451c8d7a7d5213412bf211787a12", + "token_name": "W&W EGG #65", + "maximum": "1", + "supply": "1", + "largest_property_version_v1": "0", + "token_uri": "https://werewolfandwitch-beast-collection.s3.ap-northeast-2.amazonaws.com/egg/egg_common.png", + "description": "https://beast.werewolfandwitch.xyz/ / Eggs are the key to obtaining Beasts through hatching. There exists a diverse array of eggs, each representing a different species or variation. Rare eggs hold the promise of acquiring even rarer and more extraordinary Beasts. ", + "token_properties": { + "W_RARITY": "1", + "TOKEN_BURNABLE_BY_OWNER": "true", + "TOKEN_PROPERTY_MUTATBLE": "true", + "TOKEN_BURNABLE_BY_CREATOR": "true" + }, + "token_standard": "v1", + "is_fungible_v2": null, + "last_transaction_version": 178179220, + "last_transaction_timestamp": "2023-07-11T03:13:35.970315", + "is_deleted_v2": null, + "decimals": 0 + } +] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_mutate_event/current_token_ownerships_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_mutate_event/current_token_ownerships_v2.json new file mode 100644 index 000000000..ff5bf00a8 --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_mutate_event/current_token_ownerships_v2.json @@ -0,0 +1,40 @@ +[ + { + "token_data_id": "0x6a0c359c0f404a9975dc97bcbba2be53937295fa555ea08a59b7c8accd8bdcbd", + "property_version_v1": "0", + "owner_address": "0x2b21bcb64594e271a76ccabd7fd07d9e1474d44101d68849ca82b65393a73f57", + "storage_id": "0xf94282998db494e309eb57cd121b3d220c50aeb7fda750fa3dd4f106f9bfaf19", + "amount": "1", + "table_type_v1": "0x3::token::TokenStore", + "token_properties_mutated_v1": {}, + "is_soulbound_v2": null, + "token_standard": "v1", + "is_fungible_v2": null, + "last_transaction_version": 178179220, + "last_transaction_timestamp": "2023-07-11T03:13:35.970315", + "non_transferrable_by_owner": null + }, + { + "token_data_id": "0x9dd00d7fcf20705113406b2b566270de36d3d394832beb157816639057e3e9c6", + "property_version_v1": "1", + "owner_address": "0x2b21bcb64594e271a76ccabd7fd07d9e1474d44101d68849ca82b65393a73f57", + "storage_id": "0xf94282998db494e309eb57cd121b3d220c50aeb7fda750fa3dd4f106f9bfaf19", + "amount": "1", + "table_type_v1": "0x3::token::TokenStore", + "token_properties_mutated_v1": { + "W_EXP": "9", + "W_GRADE": "1", + "W_LEVEL": "2", + "TOKEN_BURNABLE_BY_OWNER": "true", + "TOKEN_PROPERTY_MUTATBLE": "true", + "W_NEXT_EXPLORATION_TIME": "1689131615", + "TOKEN_BURNABLE_BY_CREATOR": "true" + }, + "is_soulbound_v2": null, + "token_standard": "v1", + "is_fungible_v2": null, + "last_transaction_version": 178179220, + "last_transaction_timestamp": "2023-07-11T03:13:35.970315", + "non_transferrable_by_owner": null + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/537250181/ans_lookup_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_mutate_event/current_token_pending_claims.json similarity index 100% rename from rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/537250181/ans_lookup_v2.json rename to rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_mutate_event/current_token_pending_claims.json diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/537250181/ans_primary_name_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_mutate_event/current_token_v2_metadata.json similarity index 100% rename from rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/537250181/ans_primary_name_v2.json rename to rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_mutate_event/current_token_v2_metadata.json diff --git a/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_mutate_event/token_activities_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_mutate_event/token_activities_v2.json new file mode 100644 index 000000000..b57020f42 --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_mutate_event/token_activities_v2.json @@ -0,0 +1,87 @@ +[ + { + "transaction_version": 178179220, + "event_index": 0, + "event_account_address": "0x2b21bcb64594e271a76ccabd7fd07d9e1474d44101d68849ca82b65393a73f57", + "token_data_id": "0x9dd00d7fcf20705113406b2b566270de36d3d394832beb157816639057e3e9c6", + "property_version_v1": "1", + "type_": "0x3::token::MutateTokenPropertyMapEvent", + "from_address": "0x2b21bcb64594e271a76ccabd7fd07d9e1474d44101d68849ca82b65393a73f57", + "to_address": null, + "token_amount": "0", + "before_value": null, + "after_value": null, + "entry_function_id_str": "0x55f710b0b0330e060c41f731ffdd61b846910576bacd0a87be9fd37172012e08::trainer_exploration::trainer_exploration", + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2023-07-11T03:13:35.970315" + }, + { + "transaction_version": 178179220, + "event_index": 2, + "event_account_address": "0x7a370c1993c5517868b93004f1f72853160e758fa30de2edfec2574237bf9a83", + "token_data_id": "0x6a0c359c0f404a9975dc97bcbba2be53937295fa555ea08a59b7c8accd8bdcbd", + "property_version_v1": "0", + "type_": "0x3::token::MintTokenEvent", + "from_address": "0x7a370c1993c5517868b93004f1f72853160e758fa30de2edfec2574237bf9a83", + "to_address": null, + "token_amount": "1", + "before_value": null, + "after_value": null, + "entry_function_id_str": "0x55f710b0b0330e060c41f731ffdd61b846910576bacd0a87be9fd37172012e08::trainer_exploration::trainer_exploration", + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2023-07-11T03:13:35.970315" + }, + { + "transaction_version": 178179220, + "event_index": 3, + "event_account_address": "0x7a370c1993c5517868b93004f1f72853160e758fa30de2edfec2574237bf9a83", + "token_data_id": "0x6a0c359c0f404a9975dc97bcbba2be53937295fa555ea08a59b7c8accd8bdcbd", + "property_version_v1": "0", + "type_": "0x3::token::DepositEvent", + "from_address": null, + "to_address": "0x7a370c1993c5517868b93004f1f72853160e758fa30de2edfec2574237bf9a83", + "token_amount": "1", + "before_value": null, + "after_value": null, + "entry_function_id_str": "0x55f710b0b0330e060c41f731ffdd61b846910576bacd0a87be9fd37172012e08::trainer_exploration::trainer_exploration", + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2023-07-11T03:13:35.970315" + }, + { + "transaction_version": 178179220, + "event_index": 5, + "event_account_address": "0x7a370c1993c5517868b93004f1f72853160e758fa30de2edfec2574237bf9a83", + "token_data_id": "0x6a0c359c0f404a9975dc97bcbba2be53937295fa555ea08a59b7c8accd8bdcbd", + "property_version_v1": "0", + "type_": "0x3::token::WithdrawEvent", + "from_address": "0x7a370c1993c5517868b93004f1f72853160e758fa30de2edfec2574237bf9a83", + "to_address": null, + "token_amount": "1", + "before_value": null, + "after_value": null, + "entry_function_id_str": "0x55f710b0b0330e060c41f731ffdd61b846910576bacd0a87be9fd37172012e08::trainer_exploration::trainer_exploration", + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2023-07-11T03:13:35.970315" + }, + { + "transaction_version": 178179220, + "event_index": 6, + "event_account_address": "0x2b21bcb64594e271a76ccabd7fd07d9e1474d44101d68849ca82b65393a73f57", + "token_data_id": "0x6a0c359c0f404a9975dc97bcbba2be53937295fa555ea08a59b7c8accd8bdcbd", + "property_version_v1": "0", + "type_": "0x3::token::DepositEvent", + "from_address": null, + "to_address": "0x2b21bcb64594e271a76ccabd7fd07d9e1474d44101d68849ca82b65393a73f57", + "token_amount": "1", + "before_value": null, + "after_value": null, + "entry_function_id_str": "0x55f710b0b0330e060c41f731ffdd61b846910576bacd0a87be9fd37172012e08::trainer_exploration::trainer_exploration", + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2023-07-11T03:13:35.970315" + } +] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_mutate_event/token_datas_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_mutate_event/token_datas_v2.json new file mode 100644 index 000000000..69509584f --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_mutate_event/token_datas_v2.json @@ -0,0 +1,25 @@ +[ + { + "transaction_version": 178179220, + "write_set_change_index": 8, + "token_data_id": "0x6a0c359c0f404a9975dc97bcbba2be53937295fa555ea08a59b7c8accd8bdcbd", + "collection_id": "0x370e2acd14849283ce83a963d5d6263d4dcf451c8d7a7d5213412bf211787a12", + "token_name": "W&W EGG #65", + "maximum": "1", + "supply": "1", + "largest_property_version_v1": "0", + "token_uri": "https://werewolfandwitch-beast-collection.s3.ap-northeast-2.amazonaws.com/egg/egg_common.png", + "token_properties": { + "W_RARITY": "1", + "TOKEN_BURNABLE_BY_OWNER": "true", + "TOKEN_PROPERTY_MUTATBLE": "true", + "TOKEN_BURNABLE_BY_CREATOR": "true" + }, + "description": "https://beast.werewolfandwitch.xyz/ / Eggs are the key to obtaining Beasts through hatching. There exists a diverse array of eggs, each representing a different species or variation. Rare eggs hold the promise of acquiring even rarer and more extraordinary Beasts. ", + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2023-07-11T03:13:35.970315", + "is_deleted_v2": null, + "decimals": 0 + } +] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_mutate_event/token_ownerships_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_mutate_event/token_ownerships_v2.json new file mode 100644 index 000000000..5160dab91 --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_mutate_event/token_ownerships_v2.json @@ -0,0 +1,42 @@ +[ + { + "transaction_version": 178179220, + "write_set_change_index": 10, + "token_data_id": "0x6a0c359c0f404a9975dc97bcbba2be53937295fa555ea08a59b7c8accd8bdcbd", + "property_version_v1": "0", + "owner_address": "0x2b21bcb64594e271a76ccabd7fd07d9e1474d44101d68849ca82b65393a73f57", + "storage_id": "0xf94282998db494e309eb57cd121b3d220c50aeb7fda750fa3dd4f106f9bfaf19", + "amount": "1", + "table_type_v1": "0x3::token::TokenStore", + "token_properties_mutated_v1": {}, + "is_soulbound_v2": null, + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2023-07-11T03:13:35.970315", + "non_transferrable_by_owner": null + }, + { + "transaction_version": 178179220, + "write_set_change_index": 11, + "token_data_id": "0x9dd00d7fcf20705113406b2b566270de36d3d394832beb157816639057e3e9c6", + "property_version_v1": "1", + "owner_address": "0x2b21bcb64594e271a76ccabd7fd07d9e1474d44101d68849ca82b65393a73f57", + "storage_id": "0xf94282998db494e309eb57cd121b3d220c50aeb7fda750fa3dd4f106f9bfaf19", + "amount": "1", + "table_type_v1": "0x3::token::TokenStore", + "token_properties_mutated_v1": { + "W_EXP": "9", + "W_GRADE": "1", + "W_LEVEL": "2", + "TOKEN_BURNABLE_BY_OWNER": "true", + "TOKEN_PROPERTY_MUTATBLE": "true", + "W_NEXT_EXPLORATION_TIME": "1689131615", + "TOKEN_BURNABLE_BY_CREATOR": "true" + }, + "is_soulbound_v2": null, + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2023-07-11T03:13:35.970315", + "non_transferrable_by_owner": null + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/537250181/current_ans_lookup_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_offer/collections_v2.json similarity index 100% rename from rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/537250181/current_ans_lookup_v2.json rename to rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_offer/collections_v2.json diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/537250181/current_ans_primary_name_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_offer/current_collections_v2.json similarity index 100% rename from rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/537250181/current_ans_primary_name_v2.json rename to rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_offer/current_collections_v2.json diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/578366445/ans_lookup_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_offer/current_token_datas_v2.json similarity index 100% rename from rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/578366445/ans_lookup_v2.json rename to rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_offer/current_token_datas_v2.json diff --git a/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_offer/current_token_ownerships_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_offer/current_token_ownerships_v2.json new file mode 100644 index 000000000..425944692 --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_offer/current_token_ownerships_v2.json @@ -0,0 +1,17 @@ +[ + { + "token_data_id": "0xfbfd7848ba09f6ef63498de614844339efc9264cc41b0e50f2e3ca1dca3b0802", + "property_version_v1": "0", + "owner_address": "0x12e0de4f294305602939ebfdbcd5b267493ae1255776e7749db177bdb7148d01", + "storage_id": "0x9a6bdbe18a85fbe456660ae68a7e64e1d186b242bfe3c940d47643044e489d65", + "amount": "0", + "table_type_v1": "0x3::token::TokenStore", + "token_properties_mutated_v1": null, + "is_soulbound_v2": null, + "token_standard": "v1", + "is_fungible_v2": null, + "last_transaction_version": 141135867, + "last_transaction_timestamp": "2023-05-14T02:08:22.327431", + "non_transferrable_by_owner": null + } +] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_offer/current_token_pending_claims.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_offer/current_token_pending_claims.json new file mode 100644 index 000000000..fe0c96c98 --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_offer/current_token_pending_claims.json @@ -0,0 +1,18 @@ +[ + { + "token_data_id_hash": "fbfd7848ba09f6ef63498de614844339efc9264cc41b0e50f2e3ca1dca3b0802", + "property_version": "0", + "from_address": "0x12e0de4f294305602939ebfdbcd5b267493ae1255776e7749db177bdb7148d01", + "to_address": "0x15ca0ddee3416b0d8177c0cce554f140c99a94b72e02a55a55fd2d717999c39f", + "collection_data_id_hash": "2ae74f6f02bb77746263f3f32b17a4ea3196b467029c588b323d136af0c45cd4", + "creator_address": "0x092d2f7ad00630e4dfffcca01bee12c84edf004720347fb1fd57016d2cc8d3f8", + "collection_name": "Galxe OAT", + "name": "Gran Saga: Unlimited Title Announcement OAT", + "amount": "1", + "table_handle": "0xe67fe5afafcffe75ac55e33067d32c2a962435053d769a0ab4e476030a4de753", + "last_transaction_version": 141135867, + "collection_id": "0x2ae74f6f02bb77746263f3f32b17a4ea3196b467029c588b323d136af0c45cd4", + "last_transaction_timestamp": "2023-05-14T02:08:22.327431", + "token_data_id": "0xfbfd7848ba09f6ef63498de614844339efc9264cc41b0e50f2e3ca1dca3b0802" + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/578366445/ans_primary_name_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_offer/current_token_v2_metadata.json similarity index 100% rename from rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/578366445/ans_primary_name_v2.json rename to rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_offer/current_token_v2_metadata.json diff --git a/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_offer/token_activities_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_offer/token_activities_v2.json new file mode 100644 index 000000000..b49632d39 --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_offer/token_activities_v2.json @@ -0,0 +1,36 @@ +[ + { + "transaction_version": 141135867, + "event_index": 0, + "event_account_address": "0x12e0de4f294305602939ebfdbcd5b267493ae1255776e7749db177bdb7148d01", + "token_data_id": "0xfbfd7848ba09f6ef63498de614844339efc9264cc41b0e50f2e3ca1dca3b0802", + "property_version_v1": "0", + "type_": "0x3::token::WithdrawEvent", + "from_address": "0x12e0de4f294305602939ebfdbcd5b267493ae1255776e7749db177bdb7148d01", + "to_address": null, + "token_amount": "1", + "before_value": null, + "after_value": null, + "entry_function_id_str": "0x3::token_transfers::offer_script", + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2023-05-14T02:08:22.327431" + }, + { + "transaction_version": 141135867, + "event_index": 1, + "event_account_address": "0x12e0de4f294305602939ebfdbcd5b267493ae1255776e7749db177bdb7148d01", + "token_data_id": "0xfbfd7848ba09f6ef63498de614844339efc9264cc41b0e50f2e3ca1dca3b0802", + "property_version_v1": "0", + "type_": "0x3::token_transfers::TokenOfferEvent", + "from_address": "0x12e0de4f294305602939ebfdbcd5b267493ae1255776e7749db177bdb7148d01", + "to_address": "0x15ca0ddee3416b0d8177c0cce554f140c99a94b72e02a55a55fd2d717999c39f", + "token_amount": "1", + "before_value": null, + "after_value": null, + "entry_function_id_str": "0x3::token_transfers::offer_script", + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2023-05-14T02:08:22.327431" + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/578366445/current_ans_lookup_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_offer/token_datas_v2.json similarity index 100% rename from rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/578366445/current_ans_lookup_v2.json rename to rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_offer/token_datas_v2.json diff --git a/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_offer/token_ownerships_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_offer/token_ownerships_v2.json new file mode 100644 index 000000000..58baa8fda --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_offer/token_ownerships_v2.json @@ -0,0 +1,18 @@ +[ + { + "transaction_version": 141135867, + "write_set_change_index": 5, + "token_data_id": "0xfbfd7848ba09f6ef63498de614844339efc9264cc41b0e50f2e3ca1dca3b0802", + "property_version_v1": "0", + "owner_address": "0x12e0de4f294305602939ebfdbcd5b267493ae1255776e7749db177bdb7148d01", + "storage_id": "0x9a6bdbe18a85fbe456660ae68a7e64e1d186b242bfe3c940d47643044e489d65", + "amount": "0", + "table_type_v1": "0x3::token::TokenStore", + "token_properties_mutated_v1": null, + "is_soulbound_v2": null, + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2023-05-14T02:08:22.327431", + "non_transferrable_by_owner": null + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/578366445/current_ans_primary_name_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v2_burn_event_v1/current_token_pending_claims.json similarity index 100% rename from rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/578366445/current_ans_primary_name_v2.json rename to rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v2_burn_event_v1/current_token_pending_claims.json diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/602320562/ans_lookup_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v2_burn_event_v2/current_token_pending_claims.json similarity index 100% rename from rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/602320562/ans_lookup_v2.json rename to rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v2_burn_event_v2/current_token_pending_claims.json diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/602320562/ans_primary_name_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v2_concurrent_aptos_mint/current_token_pending_claims.json similarity index 100% rename from rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/602320562/ans_primary_name_v2.json rename to rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v2_concurrent_aptos_mint/current_token_pending_claims.json diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/602320562/current_ans_lookup_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v2_fixed_supply/current_token_pending_claims.json similarity index 100% rename from rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/602320562/current_ans_lookup_v2.json rename to rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v2_fixed_supply/current_token_pending_claims.json diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/602320562/current_ans_primary_name_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v2_mint_and_transfer_event_v1/current_token_pending_claims.json similarity index 100% rename from rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/602320562/current_ans_primary_name_v2.json rename to rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v2_mint_and_transfer_event_v1/current_token_pending_claims.json diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/967255533/ans_lookup_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v2_mutation_event/current_token_pending_claims.json similarity index 100% rename from rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/967255533/ans_lookup_v2.json rename to rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v2_mutation_event/current_token_pending_claims.json diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/967255533/ans_primary_name_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v2_unlimited_supply/current_token_pending_claims.json similarity index 100% rename from rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/967255533/ans_primary_name_v2.json rename to rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v2_unlimited_supply/current_token_pending_claims.json diff --git a/rust/integration-tests/sdk_expected_db_output_files/user_transaction_processor/test_multi_ed25519/signatures.json b/rust/integration-tests/sdk_expected_db_output_files/user_transaction_processor/test_multi_ed25519/signatures.json new file mode 100644 index 000000000..9ff67f14d --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/user_transaction_processor/test_multi_ed25519/signatures.json @@ -0,0 +1,74 @@ +[ + { + "transaction_version": 2175935, + "multi_agent_index": 0, + "multi_sig_index": 0, + "transaction_block_height": 1071136, + "signer": "0xaa90e0d9d16b63ba4a289fb0dc8d1b454058b21c9b5c76864f825d5c1f32582e", + "is_sender_primary": true, + "type_": "multi_ed25519_signature", + "public_key": "0x79c65acf6c2d39be49362a12438d09ddd8a09ac4ef2bf16c6ac12190808d4668", + "signature": "0x94fb6cc53f5a51a6d30902d74a2e175b7ae7a4deb991303c33e1cba3b543adcc06643f8d14d47bc00f1aeadbae1e0d58623ee4c033d300ba2314da3fcfd4cc0f", + "threshold": 3, + "public_key_indices": [ + 0, + 1, + 2, + 3 + ] + }, + { + "transaction_version": 2175935, + "multi_agent_index": 0, + "multi_sig_index": 1, + "transaction_block_height": 1071136, + "signer": "0xaa90e0d9d16b63ba4a289fb0dc8d1b454058b21c9b5c76864f825d5c1f32582e", + "is_sender_primary": true, + "type_": "multi_ed25519_signature", + "public_key": "0xf8609e30dcea4a3930da12c8ff7341ae4379930484c3bbc280085ee6a1455c50", + "signature": "0xe03eb15ea0dab549e34ae1d979f6de2c63ce4f64f54bd8c2283598595b0e755815d516aeb37d00128ce41b15dd219131aaaeaa1946ba44679f76ebbd9be7730b", + "threshold": 3, + "public_key_indices": [ + 0, + 1, + 2, + 3 + ] + }, + { + "transaction_version": 2175935, + "multi_agent_index": 0, + "multi_sig_index": 2, + "transaction_block_height": 1071136, + "signer": "0xaa90e0d9d16b63ba4a289fb0dc8d1b454058b21c9b5c76864f825d5c1f32582e", + "is_sender_primary": true, + "type_": "multi_ed25519_signature", + "public_key": "0x745a05201579729817f02983fd420d6072721fb87a73fbd31d7c6202c8459ae5", + "signature": "0x8ae38f8d9408ea62b33d34e8b8f9a120c36b2fb1f00c40e090810109d17041c7fb1e76be874f023a50473e7e22d0a39c65f97d9e23e8387560c9e4765470be0e", + "threshold": 3, + "public_key_indices": [ + 0, + 1, + 2, + 3 + ] + }, + { + "transaction_version": 2175935, + "multi_agent_index": 0, + "multi_sig_index": 3, + "transaction_block_height": 1071136, + "signer": "0xaa90e0d9d16b63ba4a289fb0dc8d1b454058b21c9b5c76864f825d5c1f32582e", + "is_sender_primary": true, + "type_": "multi_ed25519_signature", + "public_key": "0xa11beec494a2ae664e1b47e331d0c7c289a786ca73afcf0cfef52814c7210a2c", + "signature": "0x9882cf9628b492d713c154baa13c72aa1c94c93ed8fcf102090a6afbd078ccd6d399d4939fd39717532cc53caee0bed75614b636eddd8589c194da3b40371005", + "threshold": 3, + "public_key_indices": [ + 0, + 1, + 2, + 3 + ] + } +] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/user_transaction_processor/test_multi_ed25519/user_transactions.json b/rust/integration-tests/sdk_expected_db_output_files/user_transaction_processor/test_multi_ed25519/user_transactions.json new file mode 100644 index 000000000..547e55998 --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/user_transaction_processor/test_multi_ed25519/user_transactions.json @@ -0,0 +1,15 @@ +[ + { + "version": 2175935, + "block_height": 1071136, + "parent_signature_type": "multi_ed25519_signature", + "sender": "0xaa90e0d9d16b63ba4a289fb0dc8d1b454058b21c9b5c76864f825d5c1f32582e", + "sequence_number": 0, + "max_gas_amount": "10000", + "expiration_timestamp_secs": "2022-10-18T23:19:15", + "gas_unit_price": "100", + "timestamp": "2022-10-18T23:10:04.331016", + "entry_function_id_str": "0xa3f6a53c57395401ce64f09a188e2259dc9b156387e76c88a7a80a8fe5254476::momentum_safe::register", + "epoch": 75 + } +] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/user_transaction_processor/test_multi_key_keyless_signature/signatures.json b/rust/integration-tests/sdk_expected_db_output_files/user_transaction_processor/test_multi_key_keyless_signature/signatures.json new file mode 100644 index 000000000..3d0915458 --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/user_transaction_processor/test_multi_key_keyless_signature/signatures.json @@ -0,0 +1,17 @@ +[ + { + "transaction_version": 1803170308, + "multi_agent_index": 0, + "multi_sig_index": 0, + "transaction_block_height": 239859401, + "signer": "0xcd132e9b9827da619824510675148bf402333ab539b3ae0ce170ceeee2a37902", + "is_sender_primary": true, + "type_": "multi_key_keyless_signature", + "public_key": "0x1b68747470733a2f2f6163636f756e74732e676f6f676c652e636f6d20a3d1b2af18bbb379a4721dcaa557b8c2bde7a95e08108f83e9e37a23622a3f2a", + "signature": "0x000005b2bb1b3d5069b143ad2dcd9b0be72b432ef21fba222821fde9dd1b0fa5309681c60175463cff9ae0eb879d0b06dcfb1749facb0a6d2589701ca4804d96972ffcd23279b491735187f7e861003835d70bf473bc84de4d7cfcdef71998054e9b847c8c68113060ead4788ea97bbc0fd3cff3974938207c787f15a78c4e16c00c80969800000000000000010040011f33b0af6221f0e86d007f711971f1e3e6abc34f0ac00d9b992499c18020fdb7807173b533efdd38d0686ad3de988ee1ee5957dbaeddf21e2bbf9b3a21ed024c7b22616c67223a225253323536222c226b6964223a2261353066366537306566346235343861356664393134326565636431666238663534646365396565222c22747970223a224a5754227dd3622667000000000020fe09cb6421813f17db4d367849f7581cf7d218d071de82232f92ecf19ba72d740040e8f0777d3e0c8c7e4a50ace0dbf9d0d5b6fc7b0a2300792bd36a7690658abf83c86e1fc850b6402af7e204df74bebfc5d08a8c7841bff5089ffc39b6b0227b05", + "threshold": 1, + "public_key_indices": [ + 1 + ] + } +] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/user_transaction_processor/test_multi_key_keyless_signature/user_transactions.json b/rust/integration-tests/sdk_expected_db_output_files/user_transaction_processor/test_multi_key_keyless_signature/user_transactions.json new file mode 100644 index 000000000..72ce0bca0 --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/user_transaction_processor/test_multi_key_keyless_signature/user_transactions.json @@ -0,0 +1,15 @@ +[ + { + "version": 1803170308, + "block_height": 239859401, + "parent_signature_type": "fee_payer_signature", + "sender": "0xcd132e9b9827da619824510675148bf402333ab539b3ae0ce170ceeee2a37902", + "sequence_number": 0, + "max_gas_amount": "10010", + "expiration_timestamp_secs": "2024-10-16T17:07:41", + "gas_unit_price": "100", + "timestamp": "2024-10-16T17:07:21.987832", + "entry_function_id_str": "0x1::aptos_account::transfer", + "epoch": 8870 + } +] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/user_transaction_processor/test_single_ed25519/signatures.json b/rust/integration-tests/sdk_expected_db_output_files/user_transaction_processor/test_single_ed25519/signatures.json new file mode 100644 index 000000000..89899f813 --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/user_transaction_processor/test_single_ed25519/signatures.json @@ -0,0 +1,15 @@ +[ + { + "transaction_version": 685, + "multi_agent_index": 0, + "multi_sig_index": 0, + "transaction_block_height": 343, + "signer": "0xfda457fe15be3102b748877e674b4b076b06e4c13e8eaf4d817b5baa77889bf9", + "is_sender_primary": true, + "type_": "ed25519_signature", + "public_key": "0x52c68c2ebe3fde3e479d7b04f486745245984daee3411ac1218cf123348603fd", + "signature": "0x37b89d3d3d6e68e66c4f72be6228890690d2a9c39e0a75aed12b122400ab5812f1170ac14151ad6ce8f75dda7dd29f8c98c5f2b176bb23fc0af574d10f713d0b", + "threshold": 1, + "public_key_indices": [] + } +] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/user_transaction_processor/test_single_ed25519/user_transactions.json b/rust/integration-tests/sdk_expected_db_output_files/user_transaction_processor/test_single_ed25519/user_transactions.json new file mode 100644 index 000000000..094505ecc --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/user_transaction_processor/test_single_ed25519/user_transactions.json @@ -0,0 +1,15 @@ +[ + { + "version": 685, + "block_height": 343, + "parent_signature_type": "ed25519_signature", + "sender": "0xfda457fe15be3102b748877e674b4b076b06e4c13e8eaf4d817b5baa77889bf9", + "sequence_number": 0, + "max_gas_amount": "861", + "expiration_timestamp_secs": "2022-10-12T21:26:49", + "gas_unit_price": "100", + "timestamp": "2022-10-12T21:26:20.299882", + "entry_function_id_str": "0x1::stake::update_network_and_fullnode_addresses", + "epoch": 2 + } +] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/user_transaction_processor/test_single_key_ed25519/signatures.json b/rust/integration-tests/sdk_expected_db_output_files/user_transaction_processor/test_single_key_ed25519/signatures.json new file mode 100644 index 000000000..e96834f12 --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/user_transaction_processor/test_single_key_ed25519/signatures.json @@ -0,0 +1,15 @@ +[ + { + "transaction_version": 464961735, + "multi_agent_index": 0, + "multi_sig_index": 0, + "transaction_block_height": 149367565, + "signer": "0x21cca3a6dcf46ec6888067f7955d857d4991cd49359c2f1bf35f6d242a0f5f13", + "is_sender_primary": true, + "type_": "single_sender_ed25519_signature", + "public_key": "0x7b2fd9c7c0c7b043c13360bc35b119de5774d2ed4078429ea0f224eff1e561ca", + "signature": "0x2143fcb53d2da0d2f4c053a819ae2055c007c6902a1863fc7da72a50933feb1a630d3ae043e6713a29861fcb5071b04b536dbbf52241503d7616ec8d21b4a505", + "threshold": 1, + "public_key_indices": [] + } +] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/user_transaction_processor/test_single_key_ed25519/user_transactions.json b/rust/integration-tests/sdk_expected_db_output_files/user_transaction_processor/test_single_key_ed25519/user_transactions.json new file mode 100644 index 000000000..804af7f0b --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/user_transaction_processor/test_single_key_ed25519/user_transactions.json @@ -0,0 +1,15 @@ +[ + { + "version": 464961735, + "block_height": 149367565, + "parent_signature_type": "single_key_signature", + "sender": "0x21cca3a6dcf46ec6888067f7955d857d4991cd49359c2f1bf35f6d242a0f5f13", + "sequence_number": 0, + "max_gas_amount": "200000", + "expiration_timestamp_secs": "2024-02-23T22:22:10", + "gas_unit_price": "100", + "timestamp": "2024-02-23T22:21:53.482262", + "entry_function_id_str": "0x1::coin::transfer", + "epoch": 6013 + } +] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/user_transaction_processor/test_single_key_secp/signatures.json b/rust/integration-tests/sdk_expected_db_output_files/user_transaction_processor/test_single_key_secp/signatures.json new file mode 100644 index 000000000..6fdecd348 --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/user_transaction_processor/test_single_key_secp/signatures.json @@ -0,0 +1,15 @@ +[ + { + "transaction_version": 407418623, + "multi_agent_index": 0, + "multi_sig_index": 0, + "transaction_block_height": 134705653, + "signer": "0x1a2a80523dd7235cc88997eb6382995455148cda0479a15242f9056ae08aec41", + "is_sender_primary": true, + "type_": "single_sender_secp256k1_ecdsa_signature", + "public_key": "0x045f3197545fabcdffe43d95af03c0aaa8a56778e508e3519dceb727bc7f0752d3b82c131d3ba44006e44314384537f43a1f8aa9e92a7acfbbadb3192b2d9ded7d", + "signature": "0xa98656f8f1f1c32537df4bf00df9353daaf9bb546e30a8875900cec598fe8a7f6ed0aecd0e0d4db34b3ccfbedd7a731d63d1292f668d46d51a5cb8690c79269a", + "threshold": 1, + "public_key_indices": [] + } +] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/user_transaction_processor/test_single_key_secp/user_transactions.json b/rust/integration-tests/sdk_expected_db_output_files/user_transaction_processor/test_single_key_secp/user_transactions.json new file mode 100644 index 000000000..6b0ae973e --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/user_transaction_processor/test_single_key_secp/user_transactions.json @@ -0,0 +1,15 @@ +[ + { + "version": 407418623, + "block_height": 134705653, + "parent_signature_type": "single_key_signature", + "sender": "0x1a2a80523dd7235cc88997eb6382995455148cda0479a15242f9056ae08aec41", + "sequence_number": 0, + "max_gas_amount": "8", + "expiration_timestamp_secs": "2024-01-16T09:35:27", + "gas_unit_price": "100", + "timestamp": "2024-01-16T09:35:08.981259", + "entry_function_id_str": "0x1::coin::transfer", + "epoch": 5547 + } +] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/user_transaction_processor/test_single_sender_ed25519/signatures.json b/rust/integration-tests/sdk_expected_db_output_files/user_transaction_processor/test_single_sender_ed25519/signatures.json new file mode 100644 index 000000000..532d7742a --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/user_transaction_processor/test_single_sender_ed25519/signatures.json @@ -0,0 +1,15 @@ +[ + { + "transaction_version": 590098441, + "multi_agent_index": 0, + "multi_sig_index": 0, + "transaction_block_height": 177673906, + "signer": "0x5a2de9a743dfe5b4dd76527e6c2091f11819091d7ba1efb2fb6d57c0b83b759b", + "is_sender_primary": true, + "type_": "single_sender_ed25519_signature", + "public_key": "0xf3dd681d0ff72a7b343de6ed8f9b0d34ce6267e5ddc9a95caf21257014d98a63", + "signature": "0xbf7d74ef39a6c8cbbaf662bca8a16afc0b716f1c7e0d170ed9e400fb7333679906ead9cd7d46a3c2d5d1e6b90780bea37376f3041d1c511da8097d66b2e2c908", + "threshold": 1, + "public_key_indices": [] + } +] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/user_transaction_processor/test_single_sender_ed25519/user_transactions.json b/rust/integration-tests/sdk_expected_db_output_files/user_transaction_processor/test_single_sender_ed25519/user_transactions.json new file mode 100644 index 000000000..74f3b2381 --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/user_transaction_processor/test_single_sender_ed25519/user_transactions.json @@ -0,0 +1,15 @@ +[ + { + "version": 590098441, + "block_height": 177673906, + "parent_signature_type": "single_key_signature", + "sender": "0x5a2de9a743dfe5b4dd76527e6c2091f11819091d7ba1efb2fb6d57c0b83b759b", + "sequence_number": 0, + "max_gas_amount": "200000", + "expiration_timestamp_secs": "2024-05-09T01:19:19", + "gas_unit_price": "100", + "timestamp": "2024-05-09T01:18:59.975711", + "entry_function_id_str": "0x1::aptos_account::transfer_coins", + "epoch": 6924 + } +] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/user_transaction_processor/test_single_sender_keyless/signatures.json b/rust/integration-tests/sdk_expected_db_output_files/user_transaction_processor/test_single_sender_keyless/signatures.json new file mode 100644 index 000000000..0b2974d13 --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/user_transaction_processor/test_single_sender_keyless/signatures.json @@ -0,0 +1,15 @@ +[ + { + "transaction_version": 976087151, + "multi_agent_index": 0, + "multi_sig_index": 0, + "transaction_block_height": 189192230, + "signer": "0x2702d121810b0dd82da7fe72abc0972cb087cd8f37b55367a8fb0b2faead0763", + "is_sender_primary": true, + "type_": "single_sender_keyless_signature", + "public_key": "0x1b68747470733a2f2f6163636f756e74732e676f6f676c652e636f6d20df280a94dd75e9e243f99287dc58768713a1aa7ed79f5a55b549bfafb606aa26", + "signature": "0x0000835679c3656bfb12bb2037f1347d73fb7ead3cf44781029c30bf4e7020e8f583a08efcf8a75d2d7c61ce0a653a7d25f481b18f593bc27a70b660b96f1760d4196495c80c8c37733824f659eb09cab4071f5c0a74a8e3f6ad26b3e7f5e9f9ce9dca02f27d6374037d2509a593fc298a3aebe72eb6c11725d4872a8c5ba1abeb218096980000000000000001004067be20b1bd8ea5b3fc3a5acc52835d72435a3bd5203a2908d21355c0b113daf4d3a3b5001eecbbf056ae0b47beae3af6b29c9cb532449d1191db631474923d024c7b22616c67223a225253323536222c226b6964223a2236373464626261386661656536396163616531626331626531393034353336373866343732383033222c22747970223a224a5754227df0897966000000000020cba966518a65b303bc2101b0f493630aba3aa2ce1d41c7bc794126a599ace09d0040a2a156c6d2c0dd49499b7fbdd5eb9b9ba35dffca2ac764a46ec2f886f66d2015c8736c9468ecbd4c5adc8e83e3dd2968358d0194023fa1cf8ae43fd3ba09ff0b", + "threshold": 1, + "public_key_indices": [] + } +] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/user_transaction_processor/test_single_sender_keyless/user_transactions.json b/rust/integration-tests/sdk_expected_db_output_files/user_transaction_processor/test_single_sender_keyless/user_transactions.json new file mode 100644 index 000000000..426a9c1ba --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/user_transaction_processor/test_single_sender_keyless/user_transactions.json @@ -0,0 +1,15 @@ +[ + { + "version": 976087151, + "block_height": 189192230, + "parent_signature_type": "single_key_signature", + "sender": "0x2702d121810b0dd82da7fe72abc0972cb087cd8f37b55367a8fb0b2faead0763", + "sequence_number": 0, + "max_gas_amount": "200000", + "expiration_timestamp_secs": "2024-06-10T15:51:29", + "gas_unit_price": "100", + "timestamp": "2024-06-10T15:51:10.170250", + "entry_function_id_str": "0x1::aptos_account::transfer_coins", + "epoch": 7324 + } +] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/user_transaction_processor/test_single_sender_secp/signatures.json b/rust/integration-tests/sdk_expected_db_output_files/user_transaction_processor/test_single_sender_secp/signatures.json new file mode 100644 index 000000000..1fbf5f6f1 --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/user_transaction_processor/test_single_sender_secp/signatures.json @@ -0,0 +1,15 @@ +[ + { + "transaction_version": 527013476, + "multi_agent_index": 0, + "multi_sig_index": 0, + "transaction_block_height": 162964512, + "signer": "0x12cb0b6725601b943da69cfaee34e4952ff569c26943602a88029f446c7ef165", + "is_sender_primary": true, + "type_": "single_sender_secp256k1_ecdsa_signature", + "public_key": "0x044510e315de515f02b687c29bba8052d696151e0248bedb805cd140fc98c80b447fdb4f26ba35caf5109c2ca567eb3b08d80774076451e16443a23ccb4f1a949c", + "signature": "0xef3bc8e8d0a78e6cb10545ed4b1086a88e7c63587e728dec794c9b25397476cd32a7e8f9bb1b6339a383e03c07003596c04602ecbc5c5c473c200d81661733bc", + "threshold": 1, + "public_key_indices": [] + } +] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/user_transaction_processor/test_single_sender_secp/user_transactions.json b/rust/integration-tests/sdk_expected_db_output_files/user_transaction_processor/test_single_sender_secp/user_transactions.json new file mode 100644 index 000000000..002b8edf3 --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/user_transaction_processor/test_single_sender_secp/user_transactions.json @@ -0,0 +1,15 @@ +[ + { + "version": 527013476, + "block_height": 162964512, + "parent_signature_type": "single_key_signature", + "sender": "0x12cb0b6725601b943da69cfaee34e4952ff569c26943602a88029f446c7ef165", + "sequence_number": 6, + "max_gas_amount": "48", + "expiration_timestamp_secs": "2024-03-29T13:51:42", + "gas_unit_price": "100", + "timestamp": "2024-03-29T13:51:13.448212", + "entry_function_id_str": "0x190d44266241744264b964a37b8f09863167a12d3e70cda39376cfb4e3561e12::scripts_v2::swap", + "epoch": 6429 + } +] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/user_transaction_processor/test_single_sender_webauth/signatures.json b/rust/integration-tests/sdk_expected_db_output_files/user_transaction_processor/test_single_sender_webauth/signatures.json new file mode 100644 index 000000000..47094bf7f --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/user_transaction_processor/test_single_sender_webauth/signatures.json @@ -0,0 +1,15 @@ +[ + { + "transaction_version": 551057865, + "multi_agent_index": 0, + "multi_sig_index": 0, + "transaction_block_height": 168677104, + "signer": "0x7f94f5f1150b0669e8304613da151ef48b9b208669f49b0d42e58cc140433e54", + "is_sender_primary": true, + "type_": "single_sender_webauthn_signature", + "public_key": "0x0402dd47683d0a908249f0da345f3d15b4b329bb8310540e8918beb98e7f2758720bcdcbadb01d43b079140bcd6e56c95966dbb6f780d82974f26b41c543118f77", + "signature": "0x0040211a74c7299c4aa60f6fe75bc755694ba7276ad75d922340612fb08429e006b54ff2545268b6ea71ced3e490a9aa587165fa71a0592d1bdac1be7937a2a72a4725c58974259844ca2dcbed5655a0efae85cf745db11942678dfd90b1d5dd8542e91d000000007b7b2274797065223a22776562617574686e2e676574222c226368616c6c656e6765223a22514e316168706571534277376f6e77697668396e4d61774b657749446859613856535a3156335347725655222c226f726967696e223a2268747470733a2f2f706173736b65792d64656d6f2e70616765732e646576227d", + "threshold": 1, + "public_key_indices": [] + } +] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/user_transaction_processor/test_single_sender_webauth/user_transactions.json b/rust/integration-tests/sdk_expected_db_output_files/user_transaction_processor/test_single_sender_webauth/user_transactions.json new file mode 100644 index 000000000..1754f4db8 --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/user_transaction_processor/test_single_sender_webauth/user_transactions.json @@ -0,0 +1,15 @@ +[ + { + "version": 551057865, + "block_height": 168677104, + "parent_signature_type": "single_key_signature", + "sender": "0x7f94f5f1150b0669e8304613da151ef48b9b208669f49b0d42e58cc140433e54", + "sequence_number": 0, + "max_gas_amount": "200000", + "expiration_timestamp_secs": "2024-04-13T17:59:46", + "gas_unit_price": "100", + "timestamp": "2024-04-13T17:59:30.751467", + "entry_function_id_str": "0x1::aptos_account::transfer_coins", + "epoch": 6620 + } +] \ No newline at end of file diff --git a/rust/integration-tests/src/diff_test_helper/account_transaction_processor.rs b/rust/integration-tests/src/diff_test_helper/account_transaction_processor.rs new file mode 100644 index 000000000..5bf2718d4 --- /dev/null +++ b/rust/integration-tests/src/diff_test_helper/account_transaction_processor.rs @@ -0,0 +1,32 @@ +use crate::models::account_transaction_models::AccountTransaction; +use anyhow::Result; +use diesel::{ + pg::PgConnection, + query_dsl::methods::{FilterDsl, ThenOrderDsl}, + ExpressionMethods, RunQueryDsl, +}; +use processor::schema::account_transactions::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 acc_txn_result = account_transactions + .filter(transaction_version.eq_any(&txn_versions)) + .then_order_by(transaction_version.asc()) + .then_order_by(inserted_at.asc()) + .then_order_by(account_address.asc()) + .load::(conn)?; + + result_map.insert( + "account_transactions".to_string(), + serde_json::to_value(&acc_txn_result)?, + ); + + Ok(result_map) +} diff --git a/rust/integration-tests/src/diff_test_helper/ans_processor.rs b/rust/integration-tests/src/diff_test_helper/ans_processor.rs index ce599c910..6f5ec28df 100644 --- a/rust/integration-tests/src/diff_test_helper/ans_processor.rs +++ b/rust/integration-tests/src/diff_test_helper/ans_processor.rs @@ -2,7 +2,11 @@ use crate::models::ans_models::{ AnsLookupV2, AnsPrimaryNameV2, CurrentAnsLookupV2, CurrentAnsPrimaryNameV2, }; use anyhow::Result; -use diesel::{pg::PgConnection, query_dsl::methods::FilterDsl, ExpressionMethods, RunQueryDsl}; +use diesel::{ + pg::PgConnection, + query_dsl::methods::{FilterDsl, ThenOrderDsl}, + 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, @@ -19,6 +23,8 @@ pub fn load_data( let cal_v2_result = cal_v2_dsl::current_ans_lookup_v2 .filter(cal_v2_dsl::last_transaction_version.eq_any(&txn_versions)) + .then_order_by(cal_v2_dsl::registered_address.asc()) + .then_order_by(cal_v2_dsl::token_standard.asc()) .load::(conn)?; result_map.insert( "current_ans_lookup_v2".to_string(), @@ -27,6 +33,8 @@ pub fn load_data( let al_v2_result = al_v2_dsl::ans_lookup_v2 .filter(al_v2_dsl::transaction_version.eq_any(&txn_versions)) + .then_order_by(al_v2_dsl::registered_address.asc()) + .then_order_by(al_v2_dsl::token_standard.asc()) .load::(conn)?; result_map.insert( "ans_lookup_v2".to_string(), @@ -35,6 +43,8 @@ pub fn load_data( let capn_v2_result = capn_v2_dsl::current_ans_primary_name_v2 .filter(capn_v2_dsl::last_transaction_version.eq_any(&txn_versions)) + .then_order_by(capn_v2_dsl::registered_address.asc()) + .then_order_by(capn_v2_dsl::token_standard.asc()) .load::(conn)?; result_map.insert( "current_ans_primary_name_v2".to_string(), diff --git a/rust/integration-tests/src/diff_test_helper/mod.rs b/rust/integration-tests/src/diff_test_helper/mod.rs index 98fab3664..4c069bfe1 100644 --- a/rust/integration-tests/src/diff_test_helper/mod.rs +++ b/rust/integration-tests/src/diff_test_helper/mod.rs @@ -1,3 +1,4 @@ +pub mod account_transaction_processor; pub mod ans_processor; pub mod default_processor; pub mod event_processor; @@ -6,3 +7,27 @@ pub mod objects_processor; pub mod stake_processor; pub mod token_v2_processor; pub mod user_transaction_processor; + +use serde_json::Value; + +#[allow(dead_code)] +pub fn remove_inserted_at(value: &mut Value) { + if let Some(array) = value.as_array_mut() { + for item in array.iter_mut() { + if let Some(obj) = item.as_object_mut() { + obj.remove("inserted_at"); + } + } + } +} + +#[allow(dead_code)] +pub fn remove_transaction_timestamp(value: &mut Value) { + if let Some(array) = value.as_array_mut() { + for item in array.iter_mut() { + if let Some(obj) = item.as_object_mut() { + obj.remove("transaction_timestamp"); + } + } + } +} 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 96355094e..5a504b90b 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 @@ -8,8 +8,9 @@ use diesel::{ use processor::schema::{ collections_v2::dsl as cv2_dsl, current_collections_v2::dsl as ccv2_dsl, current_token_datas_v2::dsl as ctdv2_dsl, current_token_ownerships_v2::dsl as ctov2_dsl, - current_token_v2_metadata::dsl as ctmv2_dsl, token_activities_v2::dsl as tav2_dsl, - token_datas_v2::dsl as tdv2_dsl, token_ownerships_v2::dsl as tov2_dsl, + current_token_pending_claims::dsl as ctpc_dsl, current_token_v2_metadata::dsl as ctmv2_dsl, + token_activities_v2::dsl as tav2_dsl, token_datas_v2::dsl as tdv2_dsl, + token_ownerships_v2::dsl as tov2_dsl, }; use serde_json::Value; use std::collections::HashMap; @@ -65,7 +66,8 @@ pub fn load_data( let current_token_v2_metadata_result = ctmv2_dsl::current_token_v2_metadata .filter(ctmv2_dsl::last_transaction_version.eq_any(&txn_versions)) - .then_order_by(ctmv2_dsl::last_transaction_version.asc()) + .then_order_by(ctmv2_dsl::object_address.asc()) + .then_order_by(ctmv2_dsl::resource_type.asc()) .load::(conn); let all_current_token_v2_metadata = current_token_v2_metadata_result?; @@ -93,7 +95,7 @@ pub fn load_data( let current_collections_v2_result = ccv2_dsl::current_collections_v2 .filter(ccv2_dsl::last_transaction_version.eq_any(&txn_versions)) - .then_order_by(ccv2_dsl::last_transaction_version.asc()) + .then_order_by(ccv2_dsl::collection_id.asc()) .load::(conn); let all_current_collections_v2 = current_collections_v2_result?; @@ -107,7 +109,7 @@ pub fn load_data( let current_token_datas_v2_result = ctdv2_dsl::current_token_datas_v2 .filter(ctdv2_dsl::last_transaction_version.eq_any(&txn_versions)) - .then_order_by(ctdv2_dsl::last_transaction_version.asc()) + .then_order_by(ctdv2_dsl::token_data_id.asc()) .load::(conn); let all_current_token_datas_v2 = current_token_datas_v2_result?; @@ -121,7 +123,10 @@ pub fn load_data( let current_token_ownerships_v2_result = ctov2_dsl::current_token_ownerships_v2 .filter(ctov2_dsl::last_transaction_version.eq_any(&txn_versions)) - .then_order_by(ctov2_dsl::last_transaction_version.asc()) + .then_order_by(ctov2_dsl::token_data_id.asc()) + .then_order_by(ctov2_dsl::property_version_v1.asc()) + .then_order_by(ctov2_dsl::owner_address.asc()) + .then_order_by(ctov2_dsl::storage_id.asc()) .load::(conn); let all_current_token_ownerships_v2 = current_token_ownerships_v2_result?; @@ -133,5 +138,22 @@ pub fn load_data( serde_json::from_str(¤t_token_ownerships_v2_json_data)?, ); + let current_token_pending_claims_result = ctpc_dsl::current_token_pending_claims + .filter(ctpc_dsl::last_transaction_version.eq_any(&txn_versions)) + .then_order_by(ctpc_dsl::token_data_id_hash.asc()) + .then_order_by(ctpc_dsl::property_version.asc()) + .then_order_by(ctpc_dsl::from_address.asc()) + .then_order_by(ctpc_dsl::to_address.asc()) + .load::(conn); + + let all_current_token_pending_claims = current_token_pending_claims_result?; + let current_token_pending_claims_json_data = + serde_json::to_string_pretty(&all_current_token_pending_claims)?; + + result_map.insert( + "current_token_pending_claims".to_string(), + serde_json::from_str(¤t_token_pending_claims_json_data)?, + ); + Ok(result_map) } 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 index d267d9bf1..4f389dbad 100644 --- a/rust/integration-tests/src/diff_test_helper/user_transaction_processor.rs +++ b/rust/integration-tests/src/diff_test_helper/user_transaction_processor.rs @@ -28,6 +28,7 @@ pub fn load_data( let sig_result = sig_dsl::signatures .filter(sig_dsl::transaction_version.eq_any(&txn_versions)) .then_order_by(sig_dsl::transaction_version.asc()) + .then_order_by(sig_dsl::multi_sig_index) .load::(conn)?; result_map.insert("signatures".to_string(), serde_json::to_value(&sig_result)?); diff --git a/rust/integration-tests/src/diff_tests/all_tests.rs b/rust/integration-tests/src/diff_tests/all_tests.rs deleted file mode 100644 index 408bc8260..000000000 --- a/rust/integration-tests/src/diff_tests/all_tests.rs +++ /dev/null @@ -1,233 +0,0 @@ -#[allow(clippy::needless_return)] -#[cfg(test)] -mod tests { - - 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, - remove_inserted_at, remove_transaction_timestamp, - }, - DiffTest, TestContext, TestProcessorConfig, TestType, - }; - use aptos_indexer_test_transactions::{ALL_IMPORTED_MAINNET_TXNS, ALL_IMPORTED_TESTNET_TXNS}; - use aptos_indexer_testing_framework::{ - cli_parser::get_test_config, sdk_test_context::generate_output_file, - }; - use assert_json_diff::assert_json_eq; - use diesel::pg::PgConnection; - 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"; - - #[tokio::test] - async fn test_all_testnet_txns_schema_output_for_all_processors() { - let (generate_output_flag, custom_output_path) = get_test_config(); - let output_path = custom_output_path - .unwrap_or_else(|| DEFAULT_OUTPUT_FOLDER.to_string() + "/imported_testnet_txns"); - - let processor_configs = get_processor_configs(); - let test_context = TestContext::new(ALL_IMPORTED_TESTNET_TXNS).await.unwrap(); - - run_processor_tests( - processor_configs, - &test_context, - generate_output_flag, - output_path, - false, - get_expected_imported_testnet_txns, - ) - .await; - } - - #[tokio::test] - async fn test_all_mainnet_txns_schema_output_for_all_processors() { - let (generate_output_flag, custom_output_path) = get_test_config(); - let output_path = custom_output_path - .unwrap_or_else(|| DEFAULT_OUTPUT_FOLDER.to_string() + "/imported_mainnet_txns"); - - let processor_configs = get_processor_configs(); - let test_context = TestContext::new(ALL_IMPORTED_MAINNET_TXNS).await.unwrap(); - run_processor_tests( - processor_configs, - &test_context, - generate_output_flag, - output_path, - false, - get_expected_imported_mainnet_txns, - ) - .await; - } - - // Helper function to reduce duplicate code for running tests on all processors - async fn run_processor_tests( - processor_configs: Vec, - test_context: &TestContext, - generate_output_flag: bool, - output_path: String, - _scripted: bool, - get_expected_json_path_fn: fn(&str, &str, &str) -> String, - ) { - for processor_config in processor_configs { - let processor_name = processor_config.config.name(); - let test_type = TestType::Diff(DiffTest); - let output_path = output_path.clone(); - - let db_values_fn = match processor_name { - "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), - }; - - test_context - .run( - processor_config, - test_type, - move |conn: &mut PgConnection, txn_version: &str| { - - let mut db_values = match db_values_fn(conn, vec![txn_version.parse::().unwrap()]) { - Ok(db_data) => db_data, - Err(e) => { - eprintln!( - "[ERROR] Failed to load data for processor {} and transaction version {}: {}", - processor_name, txn_version, e - ); - return Err(e); - }, - }; - - // Iterate over each table in the map and validate its data - 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, - table_name, - txn_version, - db_value, - output_path.clone(), - None, - )?; - } - - // Generate the expected JSON file path for each table - let expected_file_path = &get_expected_json_path_fn(processor_name, txn_version, table_name); - - // Read and parse the expected JSON file for the current table - let mut expected_json = match read_and_parse_json(expected_file_path) { - Ok(json) => json, - Err(e) => { - eprintln!( - "[ERROR] Error handling JSON for processor {} table {} and transaction version {}: {}", - processor_name, table_name, txn_version, e - ); - panic!("Failed to read and parse JSON for table: {}", table_name); - }, - }; - - // TODO: Clean up non-deterministic fields (e.g., timestamps, `inserted_at`) - remove_inserted_at(db_value); - remove_transaction_timestamp(db_value); - remove_inserted_at(&mut expected_json); - remove_transaction_timestamp(&mut expected_json); - // Validate the actual vs expected JSON for the current table - println!( "[TEST] Validating JSON for processor {} table {} and transaction version {}", processor_name, table_name, txn_version); - println!("DB Value: {:?}", db_value); - println!("Expected JSON: {:?}", expected_json); - assert_json_eq!(db_value, expected_json); - } - - Ok(()) - }, - ) - .await - .unwrap(); - } - } - - // Helper function to read and parse JSON files - fn read_and_parse_json(path: &str) -> anyhow::Result { - match fs::read_to_string(path) { - Ok(content) => match serde_json::from_str::(&content) { - Ok(json) => Ok(json), - Err(e) => { - eprintln!("[ERROR] Failed to parse JSON at {}: {}", path, e); - Err(anyhow::anyhow!("Failed to parse JSON: {}", e)) - }, - }, - Err(e) => { - eprintln!("[ERROR] Failed to read file at {}: {}", path, e); - Err(anyhow::anyhow!("Failed to read file: {}", e)) - }, - } - } - - fn get_processor_configs() -> Vec { - vec![ - TestProcessorConfig { - config: processor::processors::ProcessorConfig::EventsProcessor, - }, - TestProcessorConfig { - config: processor::processors::ProcessorConfig::FungibleAssetProcessor, - }, - TestProcessorConfig { - config: processor::processors::ProcessorConfig::TokenV2Processor( - TokenV2ProcessorConfig { - query_retries: 3, - query_retry_delay_ms: 1000, - }, - ), - }, - 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/diff_tests/mod.rs b/rust/integration-tests/src/diff_tests/mod.rs deleted file mode 100644 index 0396cfce0..000000000 --- a/rust/integration-tests/src/diff_tests/mod.rs +++ /dev/null @@ -1,61 +0,0 @@ -mod all_tests; - -use serde_json::Value; - -#[allow(dead_code)] -pub fn remove_inserted_at(value: &mut Value) { - if let Some(array) = value.as_array_mut() { - for item in array.iter_mut() { - if let Some(obj) = item.as_object_mut() { - obj.remove("inserted_at"); - } - } - } -} - -#[allow(dead_code)] -pub fn remove_transaction_timestamp(value: &mut Value) { - if let Some(array) = value.as_array_mut() { - for item in array.iter_mut() { - if let Some(obj) = item.as_object_mut() { - obj.remove("transaction_timestamp"); - } - } - } -} - -#[allow(dead_code)] -pub fn get_expected_imported_testnet_txns( - processor_name: &str, - txn_version: &str, - table_name: &str, -) -> String { - format!( - "expected_db_output_files/imported_testnet_txns/{}/{}/{}.json", - processor_name, txn_version, table_name - ) -} - -#[allow(dead_code)] -pub fn get_expected_imported_mainnet_txns( - processor_name: &str, - txn_version: &str, - table_name: &str, -) -> String { - format!( - "expected_db_output_files/imported_mainnet_txns/{}/{}/{}.json", - processor_name, txn_version, table_name - ) -} - -#[allow(dead_code)] -pub fn get_expected_scripted_txns( - processor_name: &str, - txn_version: &str, - table_name: &str, -) -> String { - format!( - "expected_db_output_files/scripted_txns/{}/{}/{}.json", - processor_name, txn_version, table_name - ) -} diff --git a/rust/integration-tests/src/lib.rs b/rust/integration-tests/src/lib.rs index 7c17b1b48..09f62ed28 100644 --- a/rust/integration-tests/src/lib.rs +++ b/rust/integration-tests/src/lib.rs @@ -13,7 +13,6 @@ use testcontainers::{ }; mod diff_test_helper; -mod diff_tests; mod models; mod scenarios_tests; #[cfg(test)] diff --git a/rust/integration-tests/src/models/account_transaction_models.rs b/rust/integration-tests/src/models/account_transaction_models.rs new file mode 100644 index 000000000..2f80795ca --- /dev/null +++ b/rust/integration-tests/src/models/account_transaction_models.rs @@ -0,0 +1,110 @@ +// Copyright © Aptos Foundation +// SPDX-License-Identifier: Apache-2.0 + +// This is required because a diesel macro makes clippy sad +#![allow(clippy::extra_unused_lifetimes)] +#![allow(clippy::unused_unit)] + +use ahash::AHashSet; +use aptos_protos::transaction::v1::{transaction::TxnData, write_set_change::Change, Transaction}; +use diesel::{Identifiable, Insertable, Queryable}; +use field_count::FieldCount; +use processor::{ + db::postgres::models::{ + object_models::v2_object_utils::ObjectWithMetadata, resources::FromWriteResource, + user_transactions_models::user_transactions::UserTransaction, + }, + schema::account_transactions, + utils::{counters::PROCESSOR_UNKNOWN_TYPE_COUNT, util::standardize_address}, +}; +use serde::{Deserialize, Serialize}; + +#[derive( + Clone, Default, Debug, Deserialize, FieldCount, Identifiable, Insertable, Serialize, Queryable, +)] +#[diesel(primary_key(account_address, transaction_version))] +#[diesel(treat_none_as_null = true)] +#[diesel(table_name = account_transactions)] +pub struct AccountTransaction { + pub transaction_version: i64, + pub account_address: String, + pub inserted_at: chrono::NaiveDateTime, +} + +impl AccountTransaction { + /// This table will record every transaction that touch an account which could be + /// a user account, an object, or a resource account. + /// We will consider all transactions that modify a resource or event associated with a particular account. + /// We will do 1 level of redirection for now (e.g. if it's an object, we will record the owner as account address). + /// We will also consider transactions that the account signed or is part of a multi sig / multi agent. + /// TODO: recursively find the parent account of an object + /// TODO: include table items in the detection path + pub fn get_accounts(transaction: &Transaction) -> AHashSet { + let txn_version = transaction.version as i64; + let txn_data = match transaction.txn_data.as_ref() { + Some(data) => data, + None => { + PROCESSOR_UNKNOWN_TYPE_COUNT + .with_label_values(&["AccountTransaction"]) + .inc(); + + return AHashSet::new(); + }, + }; + let transaction_info = transaction.info.as_ref().unwrap_or_else(|| { + panic!("Transaction info doesn't exist for version {}", txn_version) + }); + let wscs = &transaction_info.changes; + let (events, signatures) = match txn_data { + TxnData::User(inner) => ( + &inner.events, + UserTransaction::get_signatures( + inner.request.as_ref().unwrap_or_else(|| { + panic!("User request doesn't exist for version {}", txn_version) + }), + txn_version, + transaction.block_height as i64, + ), + ), + TxnData::Genesis(inner) => (&inner.events, vec![]), + TxnData::BlockMetadata(inner) => (&inner.events, vec![]), + TxnData::Validator(inner) => (&inner.events, vec![]), + _ => { + return AHashSet::new(); + }, + }; + let mut accounts = AHashSet::new(); + for sig in signatures { + accounts.insert(sig.signer); + } + for event in events { + // Record event account address. We don't really have to worry about objects here + // because it'll be taken care of in the resource section. + accounts.insert(standardize_address( + event.key.as_ref().unwrap().account_address.as_str(), + )); + } + for wsc in wscs { + match wsc.change.as_ref().unwrap() { + Change::DeleteResource(res) => { + // Record resource account. + // TODO: If the resource is an object, then we need to look for the latest + // owner. This isn't really possible right now given we have parallel threads + // so it'll be very difficult to ensure that we have the correct latest owner. + accounts.insert(standardize_address(res.address.as_str())); + }, + Change::WriteResource(res) => { + // Record resource account. If the resource is an object, then we record the + // owner as well. + // This handles partial deletes as well. + accounts.insert(standardize_address(res.address.as_str())); + if let Some(inner) = &ObjectWithMetadata::from_write_resource(res).unwrap() { + accounts.insert(inner.object_core.get_owner_address()); + } + }, + _ => {}, + } + } + accounts + } +} diff --git a/rust/integration-tests/src/models/mod.rs b/rust/integration-tests/src/models/mod.rs index 06d485146..4f0c90efd 100644 --- a/rust/integration-tests/src/models/mod.rs +++ b/rust/integration-tests/src/models/mod.rs @@ -1,3 +1,4 @@ +pub mod account_transaction_models; pub mod ans_models; pub mod default_models; pub mod events_models; diff --git a/rust/integration-tests/src/models/token_v2_models.rs b/rust/integration-tests/src/models/token_v2_models.rs index 42f0c3b8b..1cf802a83 100644 --- a/rust/integration-tests/src/models/token_v2_models.rs +++ b/rust/integration-tests/src/models/token_v2_models.rs @@ -8,7 +8,8 @@ use diesel::{Identifiable, Insertable, Queryable}; use field_count::FieldCount; use processor::schema::{ collections_v2, current_collections_v2, current_token_datas_v2, current_token_ownerships_v2, - current_token_v2_metadata, token_activities_v2, token_datas_v2, token_ownerships_v2, + current_token_pending_claims, current_token_v2_metadata, token_activities_v2, token_datas_v2, + token_ownerships_v2, }; use serde::{Deserialize, Serialize}; use serde_json::Value; @@ -201,3 +202,35 @@ pub struct CurrentTokenOwnershipV2 { pub inserted_at: chrono::NaiveDateTime, pub non_transferrable_by_owner: Option, } + +#[derive( + Clone, + Debug, + Deserialize, + Eq, + FieldCount, + Identifiable, + Insertable, + PartialEq, + Serialize, + Queryable, +)] +#[diesel(primary_key(token_data_id_hash, property_version, from_address, to_address))] +#[diesel(table_name = current_token_pending_claims)] +pub struct CurrentTokenPendingClaim { + pub token_data_id_hash: String, + pub property_version: BigDecimal, + pub from_address: String, + pub to_address: String, + pub collection_data_id_hash: String, + pub creator_address: String, + pub collection_name: String, + pub name: String, + pub amount: BigDecimal, + pub table_handle: String, + pub last_transaction_version: i64, + pub inserted_at: chrono::NaiveDateTime, + pub last_transaction_timestamp: chrono::NaiveDateTime, + pub token_data_id: String, + pub collection_id: String, +} diff --git a/rust/integration-tests/src/sdk_tests/account_transaction_processor_tests.rs b/rust/integration-tests/src/sdk_tests/account_transaction_processor_tests.rs new file mode 100644 index 000000000..f8cbf8ac3 --- /dev/null +++ b/rust/integration-tests/src/sdk_tests/account_transaction_processor_tests.rs @@ -0,0 +1,132 @@ +use ahash::AHashMap; +use aptos_indexer_testing_framework::sdk_test_context::SdkTestContext; +use sdk_processor::config::{ + db_config::{DbConfig, PostgresConfig}, + indexer_processor_config::IndexerProcessorConfig, + processor_config::{DefaultProcessorConfig, ProcessorConfig}, +}; +use std::collections::HashSet; + +pub async fn setup_acc_txn_processor_config( + test_context: &SdkTestContext, + db_url: &str, +) -> (IndexerProcessorConfig, &'static str) { + let transaction_stream_config = test_context.create_transaction_stream_config(); + let postgres_config = PostgresConfig { + connection_string: db_url.to_string(), + db_pool_size: 100, + }; + + let db_config = DbConfig::PostgresConfig(postgres_config); + let default_processor_config = DefaultProcessorConfig { + per_table_chunk_sizes: AHashMap::new(), + channel_size: 100, + deprecated_tables: HashSet::new(), + }; + + let processor_config = ProcessorConfig::AccountTransactionsProcessor(default_processor_config); + let processor_name = processor_config.name(); + ( + IndexerProcessorConfig { + processor_config, + transaction_stream_config, + db_config, + backfill_config: None, + }, + processor_name, + ) +} + +#[allow(clippy::needless_return)] +#[cfg(test)] +mod tests { + use crate::{ + diff_test_helper::account_transaction_processor::load_data, + sdk_tests::{ + account_transaction_processor_tests::setup_acc_txn_processor_config, + run_processor_test, setup_test_environment, validate_json, DEFAULT_OUTPUT_FOLDER, + }, + }; + use aptos_indexer_test_transactions::{ + IMPORTED_MAINNET_TXNS_145959468_ACCOUNT_TRANSACTION, + IMPORTED_MAINNET_TXNS_423176063_ACCOUNT_TRANSACTION_DELETE, + }; + use aptos_indexer_testing_framework::{cli_parser::get_test_config, database::TestDatabase}; + use sdk_processor::processors::account_transactions_processor::AccountTransactionsProcessor; + + /** + * This test includes processing for the following: + * - Resources + * - write_resource on 0x1::account::Account + * - Events + * - 0x4::token::MutationEvent + * - 0x1::object::TransferEvent + */ + #[tokio::test(flavor = "multi_thread", worker_threads = 2)] + async fn mainnet_acc_txns_processor() { + process_single_mainnet_txn( + IMPORTED_MAINNET_TXNS_145959468_ACCOUNT_TRANSACTION, + Some("account_transaction_test".to_string()), + ) + .await; + } + + /** + * This test includes processing for the following: + * - delete_resource + */ + #[tokio::test(flavor = "multi_thread", worker_threads = 2)] + async fn mainnet_acc_txns_processor_delete() { + process_single_mainnet_txn( + IMPORTED_MAINNET_TXNS_423176063_ACCOUNT_TRANSACTION_DELETE, + Some("account_transaction_delete_test".to_string()), + ) + .await; + } + + // Helper function to abstract out the single transaction processing + async fn process_single_mainnet_txn(txn: &[u8], test_case_name: Option) { + let (diff_flag, custom_output_path) = get_test_config(); + let output_path = custom_output_path + .unwrap_or_else(|| format!("{}/imported_mainnet_txns", DEFAULT_OUTPUT_FOLDER)); + + let (db, mut test_context) = setup_test_environment(&[txn]).await; + + let db_url = db.get_db_url(); + let (indexer_processor_config, processor_name) = + setup_acc_txn_processor_config(&test_context, &db_url).await; + + let acc_txns_processor = AccountTransactionsProcessor::new(indexer_processor_config) + .await + .expect("Failed to create AccountTransactionsProcessor"); + + match run_processor_test( + &mut test_context, + acc_txns_processor, + load_data, + db_url, + diff_flag, + output_path.clone(), + test_case_name.clone(), + ) + .await + { + Ok(mut db_value) => { + let _ = validate_json( + &mut db_value, + test_context.get_request_start_version(), + processor_name, + output_path.clone(), + test_case_name, + ); + }, + Err(e) => { + panic!( + "Test failed on transactions {:?} due to processor error: {}", + test_context.get_test_transaction_versions(), + e + ); + }, + } + } +} diff --git a/rust/integration-tests/src/sdk_tests/ans_processor_tests.rs b/rust/integration-tests/src/sdk_tests/ans_processor_tests.rs new file mode 100644 index 000000000..a4d925284 --- /dev/null +++ b/rust/integration-tests/src/sdk_tests/ans_processor_tests.rs @@ -0,0 +1,161 @@ +use ahash::AHashMap; +use aptos_indexer_testing_framework::sdk_test_context::SdkTestContext; +use sdk_processor::{ + config::{ + db_config::{DbConfig, PostgresConfig}, + indexer_processor_config::IndexerProcessorConfig, + processor_config::{DefaultProcessorConfig, ProcessorConfig}, + }, + processors::ans_processor::AnsProcessorConfig, +}; +use std::collections::HashSet; + +pub async fn setup_ans_processor_config( + test_context: &SdkTestContext, + db_url: &str, +) -> (IndexerProcessorConfig, &'static str) { + let transaction_stream_config = test_context.create_transaction_stream_config(); // since this will be always 1, we can remove from the arg list + let postgres_config = PostgresConfig { + connection_string: db_url.to_string(), + db_pool_size: 100, + }; + + let db_config = DbConfig::PostgresConfig(postgres_config); + + let ans_processor_config = AnsProcessorConfig { + ans_v1_primary_names_table_handle: + "0x1d5f57aa505a2fa463b7a46341913b65757e3177c46a5e483a29d953627bee62".to_string(), + ans_v1_name_records_table_handle: + "0x21a0fd41330f3a0a38173c7c0e4ac59cd51505f0594f64d3d637c12425c3c155".to_string(), + ans_v2_contract_address: + "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c".to_string(), + default: DefaultProcessorConfig { + per_table_chunk_sizes: AHashMap::new(), + channel_size: 100, + deprecated_tables: HashSet::new(), + }, + }; + + let processor_config = ProcessorConfig::AnsProcessor(ans_processor_config); + let processor_name = processor_config.name(); + ( + IndexerProcessorConfig { + processor_config, + transaction_stream_config, + db_config, + backfill_config: None, + }, + processor_name, + ) +} + +#[allow(clippy::needless_return)] +#[cfg(test)] +mod tests { + use crate::{ + diff_test_helper::ans_processor::load_data, + sdk_tests::{ + ans_processor_tests::setup_ans_processor_config, run_processor_test, + setup_test_environment, validate_json, DEFAULT_OUTPUT_FOLDER, + }, + }; + use aptos_indexer_test_transactions::{ + IMPORTED_MAINNET_TXNS_1056780409_ANS_CURRENT_ANS_PRIMARY_NAME_V2, + IMPORTED_MAINNET_TXNS_303690531_ANS_LOOKUP_V2, + IMPORTED_MAINNET_TXNS_438536688_ANS_CURRENT_ANS_LOOKUP_V2, + }; + use aptos_indexer_testing_framework::{cli_parser::get_test_config, database::TestDatabase}; + use sdk_processor::processors::ans_processor::AnsProcessor; + + /** + * This test includes processing for the following: + * - Resources + * - 0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c::v2_1_domains::NameRecord + * - 0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c::v2_1_domains::SubdomainExt + * - Events + * - 0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c::v2_1_domains::SetReverseLookupEvent + */ + #[tokio::test(flavor = "multi_thread", worker_threads = 2)] + async fn mainnet_current_ans_primary_name_v2() { + process_single_mainnet_event_txn( + IMPORTED_MAINNET_TXNS_1056780409_ANS_CURRENT_ANS_PRIMARY_NAME_V2, + Some("test_current_ans_primary_name_v2".to_string()), + ) + .await; + } + + /** + * This test includes processing for the following: + * - Resources + * - 0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c::v2_1_domains::NameRecord + * - 0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c::v2_1_domains::SubdomainExt + */ + #[tokio::test(flavor = "multi_thread", worker_threads = 2)] + async fn mainnet_ans_lookup_v2() { + process_single_mainnet_event_txn( + IMPORTED_MAINNET_TXNS_303690531_ANS_LOOKUP_V2, + Some("test_ans_lookup_v2".to_string()), + ) + .await; + } + + /** + * This test includes processing for the following: + * - Resources + * - 0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c::v2_1_domains::RenewNameEvents + * - 0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c::v2_1_domains::NameRecord + */ + #[tokio::test(flavor = "multi_thread", worker_threads = 2)] + async fn mainnet_current_ans_lookup_v2() { + process_single_mainnet_event_txn( + IMPORTED_MAINNET_TXNS_438536688_ANS_CURRENT_ANS_LOOKUP_V2, + Some("test_current_ans_lookup_v2".to_string()), + ) + .await; + } + // Helper function to abstract out the single transaction processing + async fn process_single_mainnet_event_txn(txn: &[u8], test_case_name: Option) { + let (diff_flag, custom_output_path) = get_test_config(); + let output_path = custom_output_path + .unwrap_or_else(|| format!("{}/imported_mainnet_txns", DEFAULT_OUTPUT_FOLDER)); + + let (db, mut test_context) = setup_test_environment(&[txn]).await; + + let db_url = db.get_db_url(); + let (indexer_processor_config, processor_name) = + setup_ans_processor_config(&test_context, &db_url).await; + + let ans_processor = AnsProcessor::new(indexer_processor_config) + .await + .expect("Failed to create AnsProcessor"); + + match run_processor_test( + &mut test_context, + ans_processor, + load_data, + db_url, + diff_flag, + output_path.clone(), + test_case_name.clone(), + ) + .await + { + Ok(mut db_value) => { + let _ = validate_json( + &mut db_value, + test_context.get_request_start_version(), + processor_name, + output_path.clone(), + test_case_name, + ); + }, + Err(e) => { + panic!( + "Test failed on transactions {:?} due to processor error: {}", + test_context.get_test_transaction_versions(), + e + ); + }, + } + } +} diff --git a/rust/integration-tests/src/sdk_tests/default_processor_tests.rs b/rust/integration-tests/src/sdk_tests/default_processor_tests.rs index 410281248..a420e99e7 100644 --- a/rust/integration-tests/src/sdk_tests/default_processor_tests.rs +++ b/rust/integration-tests/src/sdk_tests/default_processor_tests.rs @@ -9,12 +9,9 @@ use std::collections::HashSet; pub async fn setup_default_processor_config( test_context: &SdkTestContext, - staring_version: u64, - txn_count: usize, db_url: &str, ) -> (IndexerProcessorConfig, &'static str) { - let transaction_stream_config = - test_context.create_transaction_stream_config(staring_version, txn_count as u64); // since this will be always 1, we can remove from the arg list + let transaction_stream_config = test_context.create_transaction_stream_config(); // since this will be always 1, we can remove from the arg list let postgres_config = PostgresConfig { connection_string: db_url.to_string(), db_pool_size: 100, @@ -53,6 +50,7 @@ mod tests { use aptos_indexer_test_transactions::{ IMPORTED_MAINNET_TXNS_155112189_DEFAULT_TABLE_ITEMS, IMPORTED_MAINNET_TXNS_1845035942_DEFAULT_CURRENT_TABLE_ITEMS, + IMPORTED_MAINNET_TXNS_423176063_ACCOUNT_TRANSACTION_DELETE, IMPORTED_MAINNET_TXNS_513424821_DEFAULT_BLOCK_METADATA_TRANSACTIONS, }; use aptos_indexer_testing_framework::{cli_parser::get_test_config, database::TestDatabase}; @@ -62,7 +60,6 @@ mod tests { async fn mainnet_table_items() { process_single_mainnet_event_txn( IMPORTED_MAINNET_TXNS_155112189_DEFAULT_TABLE_ITEMS, - 155112189, Some("test_table_items".to_string()), ) .await; @@ -72,7 +69,6 @@ mod tests { async fn mainnet_current_table_items() { process_single_mainnet_event_txn( IMPORTED_MAINNET_TXNS_1845035942_DEFAULT_CURRENT_TABLE_ITEMS, - 1845035942, Some("test_current_table_items".to_string()), ) .await; @@ -82,18 +78,22 @@ mod tests { async fn mainnet_block_metadata_txns() { process_single_mainnet_event_txn( IMPORTED_MAINNET_TXNS_513424821_DEFAULT_BLOCK_METADATA_TRANSACTIONS, - 513424821, Some("block_metadata_transactions".to_string()), ) .await; } + #[tokio::test(flavor = "multi_thread", worker_threads = 2)] + async fn delete_resource_test() { + process_single_mainnet_event_txn( + IMPORTED_MAINNET_TXNS_423176063_ACCOUNT_TRANSACTION_DELETE, + Some("delete_resource_test".to_string()), + ) + .await; + } + // Helper function to abstract out the single transaction processing - async fn process_single_mainnet_event_txn( - txn: &[u8], - txn_version: i64, - test_case_name: Option, - ) { + async fn process_single_mainnet_event_txn(txn: &[u8], test_case_name: Option) { let (diff_flag, custom_output_path) = get_test_config(); let output_path = custom_output_path .unwrap_or_else(|| format!("{}/imported_mainnet_txns", DEFAULT_OUTPUT_FOLDER)); @@ -102,7 +102,7 @@ mod tests { let db_url = db.get_db_url(); let (indexer_processor_config, processor_name) = - setup_default_processor_config(&test_context, txn_version as u64, 1, &db_url).await; + setup_default_processor_config(&test_context, &db_url).await; let default_processor = DefaultProcessor::new(indexer_processor_config) .await @@ -113,7 +113,6 @@ mod tests { default_processor, load_data, db_url, - vec![txn_version], diff_flag, output_path.clone(), test_case_name.clone(), @@ -123,18 +122,18 @@ mod tests { Ok(mut db_value) => { let _ = validate_json( &mut db_value, - txn_version as u64, + test_context.get_request_start_version(), processor_name, output_path.clone(), test_case_name, ); }, Err(e) => { - eprintln!( - "[ERROR] Failed to run processor for txn version {}: {}", - 1, e + panic!( + "Test failed on transactions {:?} due to processor error: {}", + test_context.get_test_transaction_versions(), + e ); - panic!("Test failed due to processor error"); }, } } diff --git a/rust/integration-tests/src/sdk_tests/events_processor_tests.rs b/rust/integration-tests/src/sdk_tests/events_processor_tests.rs index cda78a263..d5f6086a8 100644 --- a/rust/integration-tests/src/sdk_tests/events_processor_tests.rs +++ b/rust/integration-tests/src/sdk_tests/events_processor_tests.rs @@ -9,12 +9,9 @@ use std::collections::HashSet; pub async fn setup_events_processor_config( test_context: &SdkTestContext, - staring_version: u64, - txn_count: usize, db_url: &str, ) -> (IndexerProcessorConfig, &'static str) { - let transaction_stream_config = - test_context.create_transaction_stream_config(staring_version, txn_count as u64); // since this will be always 1, we can remove from the arg list + let transaction_stream_config = test_context.create_transaction_stream_config(); // since this will be always 1, we can remove from the arg list let postgres_config = PostgresConfig { connection_string: db_url.to_string(), db_pool_size: 100, @@ -67,7 +64,6 @@ mod tests { async fn testnet_events_processor_genesis_txn() { process_single_testnet_event_txn( IMPORTED_TESTNET_TXNS_1_GENESIS, - 1, Some("genesis_txn_test".to_string()), ) .await; @@ -77,7 +73,6 @@ mod tests { async fn testnet_events_processor_new_block_event() { process_single_testnet_event_txn( IMPORTED_TESTNET_TXNS_2_NEW_BLOCK_EVENT, - 2, Some("new_block_event_test".to_string()), ) .await; @@ -87,7 +82,6 @@ mod tests { async fn testnet_events_processor_empty_txn() { process_single_testnet_event_txn( IMPORTED_TESTNET_TXNS_3_EMPTY_TXN, - 3, Some("empty_txn_test".to_string()), ) .await; @@ -97,7 +91,6 @@ mod tests { async fn testnet_events_processor_coin_register_fa_metadata() { process_single_testnet_event_txn( IMPORTED_TESTNET_TXNS_278556781_V1_COIN_REGISTER_FA_METADATA, - 278556781, Some("coin_register_fa_metadata_test".to_string()), ) .await; @@ -107,7 +100,6 @@ mod tests { async fn testnet_events_processor_fa_metadata() { process_single_testnet_event_txn( IMPORTED_TESTNET_TXNS_1255836496_V2_FA_METADATA_, - 1255836496, Some("fa_metadata_test".to_string()), ) .await; @@ -117,7 +109,6 @@ mod tests { async fn testnet_events_processor_fa_activities() { process_single_testnet_event_txn( IMPORTED_TESTNET_TXNS_5992795934_FA_ACTIVITIES, - 5992795934, Some("fa_activities_test".to_string()), ) .await; @@ -126,12 +117,8 @@ mod tests { /// Example test case of not using custom name #[tokio::test(flavor = "multi_thread", worker_threads = 2)] async fn testnet_events_processor_coin_register() { - process_single_testnet_event_txn( - IMPORTED_TESTNET_TXNS_5979639459_COIN_REGISTER, - 5979639459, - None, - ) - .await; + process_single_testnet_event_txn(IMPORTED_TESTNET_TXNS_5979639459_COIN_REGISTER, None) + .await; } // Example 2: Test for multiple transactions handling @@ -156,13 +143,8 @@ mod tests { let starting_version = transaction_batches[0].version; let db_url = db.get_db_url(); - let (indexer_processor_config, _processor_name) = setup_events_processor_config( - &test_context, - starting_version, - transaction_batches.len(), - &db_url, - ) - .await; + let (indexer_processor_config, _processor_name) = + setup_events_processor_config(&test_context, &db_url).await; let events_processor = EventsProcessor::new(indexer_processor_config) .await @@ -173,7 +155,6 @@ mod tests { events_processor, load_data, db_url, - vec![5523474016, 5979639459], diff_flag, output_path.clone(), Some("multi_txns_handling_test".to_string()), @@ -200,11 +181,7 @@ mod tests { } // Helper function to abstract out the single transaction processing - async fn process_single_testnet_event_txn( - txn: &[u8], - txn_version: i64, - test_case_name: Option, - ) { + async fn process_single_testnet_event_txn(txn: &[u8], test_case_name: Option) { let (diff_flag, custom_output_path) = get_test_config(); let output_path = custom_output_path .unwrap_or_else(|| format!("{}/imported_testnet_txns", DEFAULT_OUTPUT_FOLDER)); @@ -213,7 +190,7 @@ mod tests { let db_url = db.get_db_url(); let (indexer_processor_config, processor_name) = - setup_events_processor_config(&test_context, txn_version as u64, 1, &db_url).await; + setup_events_processor_config(&test_context, &db_url).await; let events_processor = EventsProcessor::new(indexer_processor_config) .await @@ -224,7 +201,6 @@ mod tests { events_processor, load_data, db_url, - vec![txn_version], diff_flag, output_path.clone(), test_case_name.clone(), @@ -234,18 +210,18 @@ mod tests { Ok(mut db_value) => { let _ = validate_json( &mut db_value, - txn_version as u64, + test_context.get_request_start_version(), processor_name, output_path.clone(), test_case_name, ); }, Err(e) => { - eprintln!( - "[ERROR] Failed to run processor for txn version {}: {}", - 1, e + panic!( + "Test failed on transactions {:?} due to processor error: {}", + test_context.get_test_transaction_versions(), + e ); - panic!("Test failed due to processor error"); }, } } diff --git a/rust/integration-tests/src/sdk_tests/fungible_asset_processor_tests.rs b/rust/integration-tests/src/sdk_tests/fungible_asset_processor_tests.rs index 0f21d224d..2c9105b85 100644 --- a/rust/integration-tests/src/sdk_tests/fungible_asset_processor_tests.rs +++ b/rust/integration-tests/src/sdk_tests/fungible_asset_processor_tests.rs @@ -9,12 +9,9 @@ use std::collections::HashSet; pub fn setup_fa_processor_config( test_context: &SdkTestContext, - staring_version: u64, - txn_count: usize, db_url: &str, ) -> (IndexerProcessorConfig, &'static str) { - let transaction_stream_config = - test_context.create_transaction_stream_config(staring_version, txn_count as u64); + let transaction_stream_config = test_context.create_transaction_stream_config(); let postgres_config = PostgresConfig { connection_string: db_url.to_string(), db_pool_size: 100, @@ -68,7 +65,6 @@ mod sdk_fungible_asset_processor_tests { async fn test_fungible_asset_processor_validator_txn() { process_single_testnet_fa_txns( IMPORTED_TESTNET_TXNS_5523474016_VALIDATOR_TXN, - 5523474016, Some("validator_txn_test".to_string()), ) .await; @@ -79,7 +75,6 @@ mod sdk_fungible_asset_processor_tests { async fn test_fungible_asset_processor_coin_register_txn() { process_single_testnet_fa_txns( IMPORTED_TESTNET_TXNS_5979639459_COIN_REGISTER, - 5979639459, Some("coin_register_txn_test".to_string()), ) .await; @@ -89,7 +84,6 @@ mod sdk_fungible_asset_processor_tests { async fn test_fungible_asset_processor_fa_activities_txn() { process_single_testnet_fa_txns( IMPORTED_TESTNET_TXNS_5992795934_FA_ACTIVITIES, - 5992795934, Some("fa_activities_txn_test".to_string()), ) .await; @@ -112,7 +106,6 @@ mod sdk_fungible_asset_processor_tests { async fn test_fungible_asset_processor_coin_and_fa_transfers() { process_single_testnet_fa_txns( IMPORTED_MAINNET_TXNS_999929475_COIN_AND_FA_TRANSFERS, - 999929475, Some("coin_and_fa_transfers_test".to_string()), ) .await; @@ -129,7 +122,6 @@ mod sdk_fungible_asset_processor_tests { async fn test_fungible_asset_processor_v1_events() { process_single_testnet_fa_txns( IMPORTED_MAINNET_TXNS_508365567_FA_V1_EVENTS, - 508365567, Some("v1_events_test".to_string()), ) .await; @@ -144,7 +136,6 @@ mod sdk_fungible_asset_processor_tests { async fn test_fungible_asset_processor_v2_frozen_event() { process_single_testnet_fa_txns( IMPORTED_TESTNET_TXNS_1200394037_FA_V2_FROZEN_EVENT, - 1200394037, Some("v2_frozen_event_test".to_string()), ) .await; @@ -160,18 +151,13 @@ mod sdk_fungible_asset_processor_tests { async fn test_fungible_asset_processor_concurrent_fa() { process_single_testnet_fa_txns( IMPORTED_TESTNET_TXNS_2646510387_CONCURRENT_FA, - 2646510387, Some("concurrent_fa_test".to_string()), ) .await; } // Helper function to abstract out the transaction processing - async fn process_single_testnet_fa_txns( - txn: &[u8], - txn_version: i64, - test_case_name: Option, - ) { + async fn process_single_testnet_fa_txns(txn: &[u8], test_case_name: Option) { let (diff_flag, custom_output_path) = get_test_config(); let output_path = custom_output_path.unwrap_or_else(|| DEFAULT_OUTPUT_FOLDER.to_string()); @@ -179,7 +165,7 @@ mod sdk_fungible_asset_processor_tests { let db_url = db.get_db_url(); let (indexer_processor_config, processor_name) = - setup_fa_processor_config(&test_context, txn_version as u64, 1, &db_url); + setup_fa_processor_config(&test_context, &db_url); let fungible_asset_processor = FungibleAssetProcessor::new(indexer_processor_config) .await @@ -190,7 +176,6 @@ mod sdk_fungible_asset_processor_tests { fungible_asset_processor, load_data, db_url, - vec![txn_version], diff_flag, output_path.clone(), test_case_name.clone(), @@ -200,18 +185,18 @@ mod sdk_fungible_asset_processor_tests { Ok(mut db_value) => { let _ = validate_json( &mut db_value, - txn_version as u64, + test_context.get_request_start_version(), processor_name, output_path.clone(), test_case_name, ); }, Err(e) => { - eprintln!( - "[ERROR] Failed to run processor for txn version {}: {}", - 1, e + panic!( + "Test failed on transactions {:?} due to processor error: {}", + test_context.get_test_transaction_versions(), + e ); - panic!("Test failed due to processor error"); }, } } diff --git a/rust/integration-tests/src/sdk_tests/mod.rs b/rust/integration-tests/src/sdk_tests/mod.rs index 26a26b91a..090f96825 100644 --- a/rust/integration-tests/src/sdk_tests/mod.rs +++ b/rust/integration-tests/src/sdk_tests/mod.rs @@ -1,4 +1,4 @@ -use crate::diff_tests::remove_transaction_timestamp; +use crate::diff_test_helper::remove_transaction_timestamp; use aptos_indexer_processor_sdk::traits::processor_trait::ProcessorTrait; use aptos_indexer_testing_framework::{ database::{PostgresTestDatabase, TestDatabase}, @@ -13,6 +13,9 @@ use std::{ path::{Path, PathBuf}, }; +#[cfg(test)] +pub mod ans_processor_tests; + #[cfg(test)] pub mod events_processor_tests; #[cfg(test)] @@ -20,9 +23,20 @@ pub mod fungible_asset_processor_tests; #[cfg(test)] pub mod token_v2_processor_tests; +#[cfg(test)] +pub mod account_transaction_processor_tests; + #[cfg(test)] pub mod default_processor_tests; +#[cfg(test)] +pub mod objects_processor_tests; +#[cfg(test)] +pub mod stake_processor_tests; + +#[cfg(test)] +pub mod user_transaction_processor_tests; + #[allow(dead_code)] pub const DEFAULT_OUTPUT_FOLDER: &str = "sdk_expected_db_output_files"; @@ -43,15 +57,6 @@ pub fn read_and_parse_json(path: &str) -> anyhow::Result { } } -#[allow(dead_code)] -pub fn get_transaction_version_from_test_context(test_context: &SdkTestContext) -> Vec { - test_context - .transaction_batches - .iter() - .map(|txn| txn.version) - .collect() -} - // Common setup for database and test context #[allow(dead_code)] pub async fn setup_test_environment( @@ -60,7 +65,10 @@ pub async fn setup_test_environment( let mut db = PostgresTestDatabase::new(); db.setup().await.unwrap(); - let test_context = SdkTestContext::new(transactions).await.unwrap(); + let mut test_context = SdkTestContext::new(transactions); + if test_context.init_mock_grpc().await.is_err() { + panic!("Failed to initialize mock grpc"); + }; (db, test_context) } @@ -124,7 +132,6 @@ pub async fn run_processor_test( processor: impl ProcessorTrait, load_data: F, db_url: String, - txn_versions: Vec, generate_file_flag: bool, output_path: String, custom_file_name: Option, @@ -135,32 +142,34 @@ where + Sync + 'static, { + let txn_versions: Vec = test_context + .get_test_transaction_versions() + .into_iter() + .map(|v| v as i64) + .collect(); + let db_values = test_context .run( &processor, - txn_versions[0] as u64, generate_file_flag, output_path.clone(), custom_file_name, move || { - let mut conn = - PgConnection::establish(&db_url).expect("Failed to establish DB connection"); - - let starting_version = txn_versions[0]; - let ending_version = txn_versions[txn_versions.len() - 1]; + let mut conn = PgConnection::establish(&db_url).unwrap_or_else(|e| { + eprintln!("[ERROR] Failed to establish DB connection: {:?}", e); + panic!("Failed to establish DB connection: {:?}", e); + }); - let db_values = match load_data(&mut conn, txn_versions) { + let db_values = match load_data(&mut conn, txn_versions.clone()) { Ok(db_data) => db_data, Err(e) => { - eprintln!( - "[ERROR] Failed to load data {}", e - ); + eprintln!("[ERROR] Failed to load data {}", e); return Err(e); }, }; if db_values.is_empty() { - eprintln!("[WARNING] No data found for starting txn version: {} and ending txn version {}", starting_version, ending_version); + eprintln!("[WARNING] No data found for versions: {:?}", txn_versions); } Ok(db_values) diff --git a/rust/integration-tests/src/sdk_tests/objects_processor_tests.rs b/rust/integration-tests/src/sdk_tests/objects_processor_tests.rs new file mode 100644 index 000000000..444005cdd --- /dev/null +++ b/rust/integration-tests/src/sdk_tests/objects_processor_tests.rs @@ -0,0 +1,134 @@ +use ahash::AHashMap; +use aptos_indexer_testing_framework::sdk_test_context::SdkTestContext; +use sdk_processor::{ + config::{ + db_config::{DbConfig, PostgresConfig}, + indexer_processor_config::IndexerProcessorConfig, + processor_config::{DefaultProcessorConfig, ProcessorConfig}, + }, + processors::objects_processor::ObjectsProcessorConfig, +}; +use std::collections::HashSet; + +pub fn setup_objects_processor_config( + test_context: &SdkTestContext, + db_url: &str, +) -> (IndexerProcessorConfig, &'static str) { + let transaction_stream_config = test_context.create_transaction_stream_config(); + let postgres_config = PostgresConfig { + connection_string: db_url.to_string(), + db_pool_size: 100, + }; + + let db_config = DbConfig::PostgresConfig(postgres_config); + let default_processor_config = DefaultProcessorConfig { + per_table_chunk_sizes: AHashMap::new(), + channel_size: 100, + deprecated_tables: HashSet::new(), + }; + + let objects_processor_config = ObjectsProcessorConfig { + default_config: default_processor_config, + // Avoid doing long lookups in tests + query_retries: 1, + query_retry_delay_ms: 100, + }; + + let processor_config = ProcessorConfig::ObjectsProcessor(objects_processor_config); + + let processor_name = processor_config.name(); + ( + IndexerProcessorConfig { + processor_config, + transaction_stream_config, + db_config, + backfill_config: None, + }, + processor_name, + ) +} + +#[allow(clippy::needless_return)] +#[cfg(test)] +mod sdk_objects_processor_tests { + use super::setup_objects_processor_config; + use crate::{ + diff_test_helper::objects_processor::load_data, + sdk_tests::{ + run_processor_test, setup_test_environment, validate_json, DEFAULT_OUTPUT_FOLDER, + }, + }; + use aptos_indexer_test_transactions::{ + IMPORTED_MAINNET_TXNS_578318306_OBJECTS_WRITE_RESOURCE, + IMPORTED_MAINNET_TXNS_578366445_TOKEN_V2_BURN_EVENT_V2, + }; + use aptos_indexer_testing_framework::{cli_parser::get_test_config, database::TestDatabase}; + use sdk_processor::processors::objects_processor::ObjectsProcessor; + + #[tokio::test(flavor = "multi_thread", worker_threads = 2)] + async fn test_objects_write_and_delete_resource() { + // Need two transactions because the processor performs a lookup on previous transaction's + // object address when parsing delete resource + let txns = &[ + IMPORTED_MAINNET_TXNS_578318306_OBJECTS_WRITE_RESOURCE, + IMPORTED_MAINNET_TXNS_578366445_TOKEN_V2_BURN_EVENT_V2, + ]; + process_multiple_transactions( + txns, + Some("test_objects_write_and_delete_resource".to_string()), + ) + .await; + } + + #[tokio::test(flavor = "multi_thread", worker_threads = 2)] + async fn test_delete_object_without_write() { + // Testing that a delete resource with no matching write resource will not write that row to DB. + let txns = &[IMPORTED_MAINNET_TXNS_578366445_TOKEN_V2_BURN_EVENT_V2]; + process_multiple_transactions(txns, Some("test_delete_object_without_write".to_string())) + .await; + } + // Helper function to abstract out the transaction processing + async fn process_multiple_transactions(txns: &[&[u8]], test_case_name: Option) { + let (diff_flag, custom_output_path) = get_test_config(); + let output_path = custom_output_path.unwrap_or_else(|| DEFAULT_OUTPUT_FOLDER.to_string()); + + let (db, mut test_context) = setup_test_environment(txns).await; + + let db_url = db.get_db_url(); + let (indexer_processor_config, processor_name) = + setup_objects_processor_config(&test_context, &db_url); + + let objects_processor = ObjectsProcessor::new(indexer_processor_config) + .await + .expect("Failed to create ObjectsProcessor"); + + match run_processor_test( + &mut test_context, + objects_processor, + load_data, + db_url, + diff_flag, + output_path.clone(), + test_case_name.clone(), + ) + .await + { + Ok(mut db_value) => { + let _ = validate_json( + &mut db_value, + test_context.get_request_start_version(), + processor_name, + output_path.clone(), + test_case_name, + ); + }, + Err(e) => { + panic!( + "Test failed on transactions {:?} due to processor error: {}", + test_context.get_test_transaction_versions(), + e + ); + }, + } + } +} diff --git a/rust/integration-tests/src/sdk_tests/stake_processor_tests.rs b/rust/integration-tests/src/sdk_tests/stake_processor_tests.rs new file mode 100644 index 000000000..f9141c130 --- /dev/null +++ b/rust/integration-tests/src/sdk_tests/stake_processor_tests.rs @@ -0,0 +1,177 @@ +use ahash::AHashMap; +use aptos_indexer_testing_framework::sdk_test_context::SdkTestContext; +use sdk_processor::{ + config::{ + db_config::{DbConfig, PostgresConfig}, + indexer_processor_config::IndexerProcessorConfig, + processor_config::{DefaultProcessorConfig, ProcessorConfig}, + }, + processors::stake_processor::StakeProcessorConfig, +}; +use std::collections::HashSet; + +pub async fn setup_stake_processor_config( + test_context: &SdkTestContext, + db_url: &str, +) -> (IndexerProcessorConfig, &'static str) { + let transaction_stream_config = test_context.create_transaction_stream_config(); // since this will be always 1, we can remove from the arg list + let postgres_config = PostgresConfig { + connection_string: db_url.to_string(), + db_pool_size: 100, + }; + + let db_config = DbConfig::PostgresConfig(postgres_config); + let default_processor_config = StakeProcessorConfig { + default_config: DefaultProcessorConfig { + per_table_chunk_sizes: AHashMap::new(), + channel_size: 100, + deprecated_tables: HashSet::new(), + }, + // Avoid doing long lookups in tests + query_retries: 1, + query_retry_delay_ms: 100, + }; + + let processor_config = ProcessorConfig::StakeProcessor(default_processor_config); + let processor_name = processor_config.name(); + ( + IndexerProcessorConfig { + processor_config, + transaction_stream_config, + db_config, + backfill_config: None, + }, + processor_name, + ) +} + +#[allow(clippy::needless_return)] +#[cfg(test)] +mod tests { + use crate::{ + diff_test_helper::event_processor::load_data, + sdk_tests::{ + run_processor_test, setup_test_environment, + stake_processor_tests::setup_stake_processor_config, validate_json, + DEFAULT_OUTPUT_FOLDER, + }, + }; + use aptos_indexer_test_transactions::{ + IMPORTED_MAINNET_TXNS_121508544_STAKE_DISTRIBUTE, + IMPORTED_MAINNET_TXNS_139449359_STAKE_REACTIVATE, + IMPORTED_MAINNET_TXNS_1830706009_STAKER_GOVERNANCE_RECORD, + IMPORTED_MAINNET_TXNS_1831971037_STAKE_DELEGATION_POOL, + IMPORTED_MAINNET_TXNS_4827964_STAKE_INITIALIZE, + }; + use aptos_indexer_testing_framework::{cli_parser::get_test_config, database::TestDatabase}; + use sdk_processor::processors::stake_processor::StakeProcessor; + + /** + * - 0x1::delegation_pool::DelegationPool + * - 0x1::delegation_pool::UnlockStakeEvent + */ + #[tokio::test(flavor = "multi_thread", worker_threads = 2)] + async fn mainnet_stake_pool_delegation_txn() { + process_single_mainnet_event_txn( + IMPORTED_MAINNET_TXNS_1831971037_STAKE_DELEGATION_POOL, + Some("stake_pool_del_test".to_string()), + ) + .await; + } + + /** + * - 0x1::delegation_pool::GovernanceRecords + * - 0x1::delegation_pool::AddStakeEvent + */ + #[tokio::test(flavor = "multi_thread", worker_threads = 2)] + async fn mainnet_stake_gov_record_txn() { + process_single_mainnet_event_txn( + IMPORTED_MAINNET_TXNS_1830706009_STAKER_GOVERNANCE_RECORD, + Some("stake_gov_record_test".to_string()), + ) + .await; + } + + /** + * - 0x1::stake::WithdrawStakeEvent + * - 0x1::staking_contract::DistributeEvent + */ + #[tokio::test(flavor = "multi_thread", worker_threads = 2)] + async fn mainnet_stake_processor_genesis_txn() { + process_single_mainnet_event_txn( + IMPORTED_MAINNET_TXNS_121508544_STAKE_DISTRIBUTE, + Some("stake_distribute_test".to_string()), + ) + .await; + } + + /** + * - 0x1::stake::ReactivateStakeEvent + */ + #[tokio::test(flavor = "multi_thread", worker_threads = 2)] + async fn mainnet_stake_processor_fa_metadata() { + process_single_mainnet_event_txn( + IMPORTED_MAINNET_TXNS_139449359_STAKE_REACTIVATE, + Some("stake_reactivate_test".to_string()), + ) + .await; + } + + /** + * - 0x1::stake::AddStakeEvent + */ + #[tokio::test(flavor = "multi_thread", worker_threads = 2)] + async fn mainnet_stake_processor_fa_activities() { + process_single_mainnet_event_txn( + IMPORTED_MAINNET_TXNS_4827964_STAKE_INITIALIZE, + Some("stake_initialize_test".to_string()), + ) + .await; + } + + // Helper function to abstract out the single transaction processing + async fn process_single_mainnet_event_txn(txn: &[u8], test_case_name: Option) { + let (diff_flag, custom_output_path) = get_test_config(); + let output_path = custom_output_path + .unwrap_or_else(|| format!("{}/imported_mainnet_txns", DEFAULT_OUTPUT_FOLDER)); + + let (db, mut test_context) = setup_test_environment(&[txn]).await; + + let db_url = db.get_db_url(); + let (indexer_processor_config, processor_name) = + setup_stake_processor_config(&test_context, &db_url).await; + + let stake_processor = StakeProcessor::new(indexer_processor_config) + .await + .expect("Failed to create StakeProcessor"); + + match run_processor_test( + &mut test_context, + stake_processor, + load_data, + db_url, + diff_flag, + output_path.clone(), + test_case_name.clone(), + ) + .await + { + Ok(mut db_value) => { + let _ = validate_json( + &mut db_value, + test_context.get_request_start_version(), + processor_name, + output_path.clone(), + test_case_name, + ); + }, + Err(e) => { + panic!( + "Test failed on transactions {:?} due to processor error: {}", + test_context.get_test_transaction_versions(), + e + ); + }, + } + } +} diff --git a/rust/integration-tests/src/sdk_tests/token_v2_processor_tests.rs b/rust/integration-tests/src/sdk_tests/token_v2_processor_tests.rs index f24e83d4f..7443db1dc 100644 --- a/rust/integration-tests/src/sdk_tests/token_v2_processor_tests.rs +++ b/rust/integration-tests/src/sdk_tests/token_v2_processor_tests.rs @@ -12,12 +12,9 @@ use std::collections::HashSet; pub fn setup_token_v2_processor_config( test_context: &SdkTestContext, - staring_version: u64, - txn_count: usize, db_url: &str, ) -> (IndexerProcessorConfig, &'static str) { - let transaction_stream_config = - test_context.create_transaction_stream_config(staring_version, txn_count as u64); + let transaction_stream_config = test_context.create_transaction_stream_config(); let postgres_config = PostgresConfig { connection_string: db_url.to_string(), db_pool_size: 100, @@ -31,8 +28,9 @@ pub fn setup_token_v2_processor_config( }; let token_v2_processor_config = TokenV2ProcessorConfig { default_config: default_processor_config, - query_retries: TokenV2ProcessorConfig::default_query_retries(), - query_retry_delay_ms: TokenV2ProcessorConfig::default_query_retry_delay_ms(), + // Avoid doing long lookups in tests + query_retries: 1, + query_retry_delay_ms: 100, }; let processor_config = ProcessorConfig::TokenV2Processor(token_v2_processor_config); @@ -56,17 +54,22 @@ mod sdk_token_v2_processor_tests { use crate::{ diff_test_helper::token_v2_processor::load_data, sdk_tests::{ - get_transaction_version_from_test_context, run_processor_test, setup_test_environment, - validate_json, DEFAULT_OUTPUT_FOLDER, + run_processor_test, setup_test_environment, validate_json, DEFAULT_OUTPUT_FOLDER, }, }; use aptos_indexer_test_transactions::{ + IMPORTED_MAINNET_TXNS_1058723093_TOKEN_V1_MINT_WITHDRAW_DEPOSIT_EVENTS, IMPORTED_MAINNET_TXNS_1080786089_TOKEN_V2_BURN_EVENT_V1, + IMPORTED_MAINNET_TXNS_11648867_TOKEN_V1_BURN_EVENT, + IMPORTED_MAINNET_TXNS_141135867_TOKEN_V1_OFFER, + IMPORTED_MAINNET_TXNS_178179220_TOKEN_V1_MUTATE_EVENT, IMPORTED_MAINNET_TXNS_325355235_TOKEN_V2_UNLIMITED_SUPPLY_MINT, IMPORTED_MAINNET_TXNS_453498957_TOKEN_V2_MINT_AND_TRANSFER_EVENT_V1, IMPORTED_MAINNET_TXNS_537250181_TOKEN_V2_FIXED_SUPPLY_MINT, IMPORTED_MAINNET_TXNS_578366445_TOKEN_V2_BURN_EVENT_V2, + IMPORTED_MAINNET_TXNS_84023785_TOKEN_V2_CLAIM_OFFER, IMPORTED_MAINNET_TXNS_967255533_TOKEN_V2_MUTATION_EVENT, + IMPORTED_MAINNET_TXNS_97963136_TOKEN_V2_CANCEL_OFFER, IMPORTED_MAINNET_TXNS_999930475_TOKEN_V2_CONCURRENT_MINT, }; use aptos_indexer_testing_framework::{cli_parser::get_test_config, database::TestDatabase}; @@ -97,15 +100,11 @@ mod sdk_token_v2_processor_tests { /** * This test includes processing for the following: * - Resources - * - 0x4::aptos_token::AptosCollection * - 0x4::collection::Collection - * - 0x4::collection::ConcurrentSupply - * - 0x4::aptos_token::AptosToken - * - 0x4::property_map::PropertyMap - * - 0x4::token::Token - + * - 0x4::collection::UnlimitedSupply * - Events - * - 0x4::collection::Mint + * - 0x4::collection::BurnEvent + */ #[tokio::test(flavor = "multi_thread", worker_threads = 2)] async fn test_token_v2_burn_event_v1() { @@ -117,18 +116,15 @@ mod sdk_token_v2_processor_tests { } /** - * This test includes processing for the following: - * - Resources - * - 0x4::aptos_token::AptosCollection - * - 0x4::collection::Collection - * - 0x4::collection::ConcurrentSupply - * - 0x4::aptos_token::AptosToken - * - 0x4::property_map::PropertyMap - * - 0x4::token::Token - - * - Events - * - 0x4::collection::Mint - */ + * This test includes processing for the following: + * - Resources + * - 0x4::collection::UnlimitedSupply + * - 0x4::collection::Collection + * - 0x4::token::Token + * - Events + * - 0x4::collection::MintEvent + * - 0x1::object::TransferEvent + */ #[tokio::test(flavor = "multi_thread", worker_threads = 2)] async fn test_token_v2_unlimited_supply() { process_single_transaction( @@ -143,13 +139,14 @@ mod sdk_token_v2_processor_tests { * - Resources * - 0x4::aptos_token::AptosCollection * - 0x4::collection::Collection - * - 0x4::collection::ConcurrentSupply + * - 0x4::collection::FixedSupply * - 0x4::aptos_token::AptosToken * - 0x4::property_map::PropertyMap * - 0x4::token::Token * - Events - * - 0x4::collection::Mint + * - 0x4::collection::MintEvent + * - 0x1::object::TransferEvent */ #[tokio::test(flavor = "multi_thread", worker_threads = 2)] async fn test_token_v2_mint_and_transfer_event_v1() { @@ -165,13 +162,13 @@ mod sdk_token_v2_processor_tests { * - Resources * - 0x4::aptos_token::AptosCollection * - 0x4::collection::Collection - * - 0x4::collection::ConcurrentSupply + * - 0x4::collection::FixedSupply * - 0x4::aptos_token::AptosToken * - 0x4::property_map::PropertyMap * - 0x4::token::Token * - Events - * - 0x4::collection::Mint + * - 0x4::collection::MintEvent */ #[tokio::test(flavor = "multi_thread", worker_threads = 2)] async fn test_token_v2_fixed_supply() { @@ -188,12 +185,9 @@ mod sdk_token_v2_processor_tests { * - 0x4::aptos_token::AptosCollection * - 0x4::collection::Collection * - 0x4::collection::ConcurrentSupply - * - 0x4::aptos_token::AptosToken - * - 0x4::property_map::PropertyMap - * - 0x4::token::Token - * - Events - * - 0x4::collection::Mint + * - 0x4::collection::Burn + */ #[tokio::test(flavor = "multi_thread", worker_threads = 2)] async fn test_token_v2_burn_event_v2() { @@ -207,15 +201,12 @@ mod sdk_token_v2_processor_tests { /** * This test includes processing for the following: * - Resources - * - 0x4::aptos_token::AptosCollection - * - 0x4::collection::Collection - * - 0x4::collection::ConcurrentSupply - * - 0x4::aptos_token::AptosToken * - 0x4::property_map::PropertyMap * - 0x4::token::Token - + * - 0x4::token::TokenIdentifiers * - Events - * - 0x4::collection::Mint + * - 0x4::token::MutationEvent + */ #[tokio::test(flavor = "multi_thread", worker_threads = 2)] async fn test_token_v2_mutation_event() { @@ -226,6 +217,120 @@ mod sdk_token_v2_processor_tests { .await; } + /** + * This test includes processing for the following: + * - Resources + * - 0x4::property_map::PropertyMap + * - 0x4::token::Token + * - 0x4::token::TokenIdentifiers + * - Events + * - 0x4::token::MutationEvent + + */ + #[tokio::test(flavor = "multi_thread", worker_threads = 2)] + async fn test_token_v1_events() { + process_single_transaction( + IMPORTED_MAINNET_TXNS_1058723093_TOKEN_V1_MINT_WITHDRAW_DEPOSIT_EVENTS, + Some("test_token_v1_events".to_string()), + ) + .await; + } + + /** + * This test includes processing for the following: + * - Resources + * - 0x4::property_map::PropertyMap + * - 0x4::token::Token + * - 0x4::token::TokenIdentifiers + * - Events + * - 0x4::token::MutationEvent + + */ + #[tokio::test(flavor = "multi_thread", worker_threads = 2)] + async fn test_token_v1_burn_event() { + process_single_transaction( + IMPORTED_MAINNET_TXNS_11648867_TOKEN_V1_BURN_EVENT, + Some("test_token_v1_burn_event".to_string()), + ) + .await; + } + + /** + * This test includes processing for the following: + * - Resources + * - 0x4::property_map::PropertyMap + * - 0x4::token::Token + * - 0x4::token::TokenIdentifiers + * - Events + * - 0x4::token::MutationEvent + + */ + #[tokio::test(flavor = "multi_thread", worker_threads = 2)] + async fn test_token_v1_offer() { + process_single_transaction( + IMPORTED_MAINNET_TXNS_141135867_TOKEN_V1_OFFER, + Some("test_token_v1_offer".to_string()), + ) + .await; + } + + /** + * This test includes processing for the following: + * - Resources + * - 0x4::property_map::PropertyMap + * - 0x4::token::Token + * - 0x4::token::TokenIdentifiers + * - Events + * - 0x4::token::MutationEvent + + */ + #[tokio::test(flavor = "multi_thread", worker_threads = 2)] + async fn test_token_v1_mutate_event() { + process_single_transaction( + IMPORTED_MAINNET_TXNS_178179220_TOKEN_V1_MUTATE_EVENT, + Some("test_token_v1_mutate_event".to_string()), + ) + .await; + } + + /** + * This test includes processing for the following: + * - Resources + * - 0x4::property_map::PropertyMap + * - 0x4::token::Token + * - 0x4::token::TokenIdentifiers + * - Events + * - 0x4::token::MutationEvent + + */ + #[tokio::test(flavor = "multi_thread", worker_threads = 2)] + async fn test_token_v1_claim_offer() { + process_single_transaction( + IMPORTED_MAINNET_TXNS_84023785_TOKEN_V2_CLAIM_OFFER, + Some("test_token_v1_claim_offer".to_string()), + ) + .await; + } + + /** + * This test includes processing for the following: + * - Resources + * - 0x4::property_map::PropertyMap + * - 0x4::token::Token + * - 0x4::token::TokenIdentifiers + * - Events + * - 0x4::token::MutationEvent + + */ + #[tokio::test(flavor = "multi_thread", worker_threads = 2)] + async fn test_token_v1_cancel_offer() { + process_single_transaction( + IMPORTED_MAINNET_TXNS_97963136_TOKEN_V2_CANCEL_OFFER, + Some("test_token_v1_cancel_offer".to_string()), + ) + .await; + } + // Helper function to abstract out the transaction processing async fn process_single_transaction(txn: &[u8], test_case_name: Option) { let (diff_flag, custom_output_path) = get_test_config(); @@ -233,12 +338,9 @@ mod sdk_token_v2_processor_tests { let (db, mut test_context) = setup_test_environment(&[txn]).await; - let txn_version = *get_transaction_version_from_test_context(&test_context) - .first() - .unwrap(); let db_url = db.get_db_url(); let (indexer_processor_config, processor_name) = - setup_token_v2_processor_config(&test_context, txn_version, 1, &db_url); + setup_token_v2_processor_config(&test_context, &db_url); let token_v2_processor = TokenV2Processor::new(indexer_processor_config) .await @@ -249,7 +351,6 @@ mod sdk_token_v2_processor_tests { token_v2_processor, load_data, db_url, - vec![txn_version as i64], diff_flag, output_path.clone(), test_case_name.clone(), @@ -259,18 +360,18 @@ mod sdk_token_v2_processor_tests { Ok(mut db_value) => { let _ = validate_json( &mut db_value, - txn_version as u64, + test_context.get_request_start_version(), processor_name, output_path.clone(), test_case_name, ); }, Err(e) => { - eprintln!( - "[ERROR] Failed to run processor for txn version {}: {}", - 1, e + panic!( + "Test failed on transactions {:?} due to processor error: {}", + test_context.get_test_transaction_versions(), + e ); - panic!("Test failed due to processor error"); }, } } diff --git a/rust/integration-tests/src/sdk_tests/user_transaction_processor_tests.rs b/rust/integration-tests/src/sdk_tests/user_transaction_processor_tests.rs new file mode 100644 index 000000000..70a7986d0 --- /dev/null +++ b/rust/integration-tests/src/sdk_tests/user_transaction_processor_tests.rs @@ -0,0 +1,190 @@ +use ahash::AHashMap; +use aptos_indexer_testing_framework::sdk_test_context::SdkTestContext; +use sdk_processor::config::{ + db_config::{DbConfig, PostgresConfig}, + indexer_processor_config::IndexerProcessorConfig, + processor_config::{DefaultProcessorConfig, ProcessorConfig}, +}; +use std::collections::HashSet; + +pub fn setup_user_txn_processor_config( + test_context: &SdkTestContext, + db_url: &str, +) -> (IndexerProcessorConfig, &'static str) { + let transaction_stream_config = test_context.create_transaction_stream_config(); + let postgres_config = PostgresConfig { + connection_string: db_url.to_string(), + db_pool_size: 100, + }; + + let db_config = DbConfig::PostgresConfig(postgres_config); + let default_processor_config = DefaultProcessorConfig { + per_table_chunk_sizes: AHashMap::new(), + channel_size: 100, + deprecated_tables: HashSet::new(), + }; + + let processor_config = ProcessorConfig::UserTransactionProcessor(default_processor_config); + + let processor_name = processor_config.name(); + ( + IndexerProcessorConfig { + processor_config, + transaction_stream_config, + db_config, + backfill_config: None, + }, + processor_name, + ) +} + +#[allow(clippy::needless_return)] +#[cfg(test)] +mod sdk_user_txn_processor_tests { + use super::setup_user_txn_processor_config; + use crate::{ + diff_test_helper::user_transaction_processor::load_data, + sdk_tests::{ + run_processor_test, setup_test_environment, validate_json, DEFAULT_OUTPUT_FOLDER, + }, + }; + use aptos_indexer_test_transactions::{ + IMPORTED_MAINNET_TXNS_1803170308_USER_TXN_MULTI_KEY_KEYLESS, + IMPORTED_MAINNET_TXNS_2175935_USER_TXN_MULTI_ED25519, + IMPORTED_MAINNET_TXNS_407418623_USER_TXN_SINGLE_KEY_SECP256K1_ECDSA, + IMPORTED_MAINNET_TXNS_464961735_USER_TXN_SINGLE_KEY_ED25519, + IMPORTED_MAINNET_TXNS_527013476_USER_TXN_SINGLE_SENDER_SECP256K1_ECDSA, + IMPORTED_MAINNET_TXNS_551057865_USER_TXN_SINGLE_SENDER_WEBAUTH, + IMPORTED_MAINNET_TXNS_590098441_USER_TXN_SINGLE_SENDER_ED25519, + IMPORTED_MAINNET_TXNS_685_USER_TXN_ED25519, + IMPORTED_MAINNET_TXNS_976087151_USER_TXN_SINGLE_SENDER_KEYLESS, + }; + use aptos_indexer_testing_framework::{cli_parser::get_test_config, database::TestDatabase}; + use sdk_processor::processors::user_transaction_processor::UserTransactionProcessor; + + #[tokio::test(flavor = "multi_thread", worker_threads = 2)] + async fn test_multi_key_keyless_signature() { + process_single_transactions( + IMPORTED_MAINNET_TXNS_1803170308_USER_TXN_MULTI_KEY_KEYLESS, + Some("test_multi_key_keyless_signature".to_string()), + ) + .await; + } + + #[tokio::test(flavor = "multi_thread", worker_threads = 2)] + async fn test_multi_ed25519() { + process_single_transactions( + IMPORTED_MAINNET_TXNS_2175935_USER_TXN_MULTI_ED25519, + Some("test_multi_ed25519".to_string()), + ) + .await; + } + + #[tokio::test(flavor = "multi_thread", worker_threads = 2)] + async fn test_single_key_secp() { + process_single_transactions( + IMPORTED_MAINNET_TXNS_407418623_USER_TXN_SINGLE_KEY_SECP256K1_ECDSA, + Some("test_single_key_secp".to_string()), + ) + .await; + } + + #[tokio::test(flavor = "multi_thread", worker_threads = 2)] + async fn test_single_key_ed25519() { + process_single_transactions( + IMPORTED_MAINNET_TXNS_464961735_USER_TXN_SINGLE_KEY_ED25519, + Some("test_single_key_ed25519".to_string()), + ) + .await; + } + + #[tokio::test(flavor = "multi_thread", worker_threads = 2)] + async fn test_single_sender_secp() { + process_single_transactions( + IMPORTED_MAINNET_TXNS_527013476_USER_TXN_SINGLE_SENDER_SECP256K1_ECDSA, + Some("test_single_sender_secp".to_string()), + ) + .await; + } + + #[tokio::test(flavor = "multi_thread", worker_threads = 2)] + async fn test_single_sender_webauth() { + process_single_transactions( + IMPORTED_MAINNET_TXNS_551057865_USER_TXN_SINGLE_SENDER_WEBAUTH, + Some("test_single_sender_webauth".to_string()), + ) + .await; + } + + #[tokio::test(flavor = "multi_thread", worker_threads = 2)] + async fn test_single_sender_ed25519() { + process_single_transactions( + IMPORTED_MAINNET_TXNS_590098441_USER_TXN_SINGLE_SENDER_ED25519, + Some("test_single_sender_ed25519".to_string()), + ) + .await; + } + + #[tokio::test(flavor = "multi_thread", worker_threads = 2)] + async fn test_single_ed25519() { + process_single_transactions( + IMPORTED_MAINNET_TXNS_685_USER_TXN_ED25519, + Some("test_single_ed25519".to_string()), + ) + .await; + } + + #[tokio::test(flavor = "multi_thread", worker_threads = 2)] + async fn test_single_sender_keyless() { + process_single_transactions( + IMPORTED_MAINNET_TXNS_976087151_USER_TXN_SINGLE_SENDER_KEYLESS, + Some("test_single_sender_keyless".to_string()), + ) + .await; + } + + // Helper function to abstract out the transaction processing + async fn process_single_transactions(txn: &[u8], test_case_name: Option) { + let (diff_flag, custom_output_path) = get_test_config(); + let output_path = custom_output_path.unwrap_or_else(|| DEFAULT_OUTPUT_FOLDER.to_string()); + + let (db, mut test_context) = setup_test_environment(&[txn]).await; + + let db_url = db.get_db_url(); + let (indexer_processor_config, processor_name) = + setup_user_txn_processor_config(&test_context, &db_url); + + let user_txn_processor = UserTransactionProcessor::new(indexer_processor_config) + .await + .expect("Failed to create UserTransactionProcessor"); + + match run_processor_test( + &mut test_context, + user_txn_processor, + load_data, + db_url, + diff_flag, + output_path.clone(), + test_case_name.clone(), + ) + .await + { + Ok(mut db_value) => { + let _ = validate_json( + &mut db_value, + test_context.get_request_start_version(), + processor_name, + output_path.clone(), + test_case_name, + ); + }, + Err(e) => { + panic!( + "Test failed on transactions {:?} due to processor error: {}", + test_context.get_test_transaction_versions(), + e + ); + }, + } + } +} diff --git a/rust/processor/Cargo.toml b/rust/processor/Cargo.toml index 32c87ad6a..964e6fb63 100644 --- a/rust/processor/Cargo.toml +++ b/rust/processor/Cargo.toml @@ -27,6 +27,7 @@ bitflags = { workspace = true } canonical_json = { workspace = true } chrono = { workspace = true } clap = { workspace = true } +const_format = { workspace = true } diesel = { workspace = true } diesel-async = { workspace = true } diesel_migrations = { workspace = true } diff --git a/rust/processor/README.md b/rust/processor/README.md index f39073a5f..03b4d3908 100644 --- a/rust/processor/README.md +++ b/rust/processor/README.md @@ -1,6 +1,6 @@ -# Indexer GRPC Parser +# Transaction Stream Processor -Indexer GRPC parser is to indexer data processor that leverages the indexer grpc data. +Processors that index data from the Aptos Transaction Stream (GRPC). - **Note: We'll launch an official endpoint soon; stay tuned!** @@ -74,3 +74,8 @@ transactions are splitted into tasks and inserted with random order. ### Manually running diesel-cli - `cd` into the database folder you use under `src/db/` (e.g. `src/db/postgres`), then run it. + +## Processor Specific Notes + +### Supported Coin Type Mappings +See mapping in [v2_fungible_asset_balances.rs](https://github.com/aptos-labs/aptos-indexer-processors/blob/main/rust/processor/src/db/common/models/fungible_asset_models/v2_fungible_asset_balances.rs#L40) for a list supported coin type mappings. \ No newline at end of file diff --git a/rust/processor/src/db/common/models/default_models/mod.rs b/rust/processor/src/db/common/models/default_models/mod.rs index 0271451e6..6805c3fbf 100644 --- a/rust/processor/src/db/common/models/default_models/mod.rs +++ b/rust/processor/src/db/common/models/default_models/mod.rs @@ -1,13 +1 @@ -// Copyright © Aptos Foundation -// SPDX-License-Identifier: Apache-2.0 - -pub mod block_metadata_transactions; -pub mod move_resources; -pub mod move_tables; - -// parquet models -pub mod parquet_move_modules; -pub mod parquet_move_resources; -pub mod parquet_move_tables; -pub mod parquet_transactions; -pub mod parquet_write_set_changes; +pub mod raw_table_items; diff --git a/rust/processor/src/db/common/models/default_models/move_tables.rs b/rust/processor/src/db/common/models/default_models/move_tables.rs deleted file mode 100644 index e02a713c6..000000000 --- a/rust/processor/src/db/common/models/default_models/move_tables.rs +++ /dev/null @@ -1,137 +0,0 @@ -// Copyright © Aptos Foundation -// SPDX-License-Identifier: Apache-2.0 - -#![allow(clippy::extra_unused_lifetimes)] - -use crate::{ - schema::{current_table_items, table_items, table_metadatas}, - utils::util::{hash_str, standardize_address}, -}; -use aptos_protos::transaction::v1::{DeleteTableItem, WriteTableItem}; -use field_count::FieldCount; -use serde::{Deserialize, Serialize}; - -#[derive(Clone, Debug, Deserialize, FieldCount, Identifiable, Insertable, Serialize)] -#[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 last_transaction_version: i64, - pub is_deleted: bool, -} - -#[derive(Clone, Debug, Deserialize, FieldCount, Identifiable, Insertable, Serialize)] -#[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, -} - -#[derive(Clone, Debug, Deserialize, FieldCount, Identifiable, Insertable, Serialize)] -#[diesel(primary_key(handle))] -#[diesel(table_name = table_metadatas)] -pub struct TableMetadata { - pub handle: String, - pub key_type: String, - pub value_type: String, -} - -impl TableItem { - pub fn from_write_table_item( - write_table_item: &WriteTableItem, - write_set_change_index: i64, - transaction_version: i64, - transaction_block_height: i64, - ) -> (Self, CurrentTableItem) { - ( - Self { - transaction_version, - write_set_change_index, - transaction_block_height, - key: write_table_item.key.to_string(), - table_handle: standardize_address(&write_table_item.handle.to_string()), - decoded_key: serde_json::from_str( - write_table_item.data.as_ref().unwrap().key.as_str(), - ) - .unwrap(), - decoded_value: serde_json::from_str( - write_table_item.data.as_ref().unwrap().value.as_str(), - ) - .unwrap(), - is_deleted: false, - }, - CurrentTableItem { - table_handle: standardize_address(&write_table_item.handle.to_string()), - key_hash: hash_str(&write_table_item.key.to_string()), - key: write_table_item.key.to_string(), - decoded_key: serde_json::from_str( - write_table_item.data.as_ref().unwrap().key.as_str(), - ) - .unwrap(), - decoded_value: serde_json::from_str( - write_table_item.data.as_ref().unwrap().value.as_str(), - ) - .unwrap(), - last_transaction_version: transaction_version, - is_deleted: false, - }, - ) - } - - pub fn from_delete_table_item( - delete_table_item: &DeleteTableItem, - write_set_change_index: i64, - transaction_version: i64, - transaction_block_height: i64, - ) -> (Self, CurrentTableItem) { - ( - Self { - transaction_version, - write_set_change_index, - transaction_block_height, - key: delete_table_item.key.to_string(), - table_handle: standardize_address(&delete_table_item.handle.to_string()), - decoded_key: serde_json::from_str( - delete_table_item.data.as_ref().unwrap().key.as_str(), - ) - .unwrap(), - - decoded_value: None, - is_deleted: true, - }, - CurrentTableItem { - table_handle: standardize_address(&delete_table_item.handle.to_string()), - key_hash: hash_str(&delete_table_item.key.to_string()), - key: delete_table_item.key.to_string(), - decoded_key: serde_json::from_str( - delete_table_item.data.as_ref().unwrap().key.as_str(), - ) - .unwrap(), - decoded_value: None, - last_transaction_version: transaction_version, - is_deleted: true, - }, - ) - } -} - -impl TableMetadata { - pub fn from_write_table_item(table_item: &WriteTableItem) -> Self { - Self { - handle: table_item.handle.to_string(), - key_type: table_item.data.as_ref().unwrap().key_type.clone(), - value_type: table_item.data.as_ref().unwrap().value_type.clone(), - } - } -} diff --git a/rust/processor/src/db/common/models/default_models/raw_table_items.rs b/rust/processor/src/db/common/models/default_models/raw_table_items.rs new file mode 100644 index 000000000..77c9c1f65 --- /dev/null +++ b/rust/processor/src/db/common/models/default_models/raw_table_items.rs @@ -0,0 +1,112 @@ +use crate::{ + db::postgres::models::default_models::move_tables::{CurrentTableItem, TableItem}, + utils::util::{hash_str, standardize_address}, +}; +use aptos_protos::transaction::v1::{DeleteTableItem, WriteTableItem}; + +/// RawTableItem is a struct that will be used to converted into Postgres or Parquet TableItem +pub struct RawTableItem { + pub txn_version: i64, + pub block_timestamp: chrono::NaiveDateTime, + pub write_set_change_index: i64, + pub transaction_block_height: i64, + pub table_key: String, + pub table_handle: String, + pub decoded_key: String, + pub decoded_value: Option, + pub is_deleted: bool, +} + +impl RawTableItem { + pub fn from_write_table_item( + write_table_item: &WriteTableItem, + write_set_change_index: i64, + txn_version: i64, + transaction_block_height: i64, + block_timestamp: chrono::NaiveDateTime, + ) -> (Self, CurrentTableItem) { + ( + Self { + txn_version, + write_set_change_index, + transaction_block_height, + table_key: write_table_item.key.to_string(), + table_handle: standardize_address(&write_table_item.handle.to_string()), + decoded_key: write_table_item.data.as_ref().unwrap().key.clone(), + decoded_value: Some(write_table_item.data.as_ref().unwrap().value.clone()), + is_deleted: false, + block_timestamp, + }, + CurrentTableItem { + table_handle: standardize_address(&write_table_item.handle.to_string()), + key_hash: hash_str(&write_table_item.key.to_string()), + key: write_table_item.key.to_string(), + decoded_key: serde_json::from_str( + write_table_item.data.as_ref().unwrap().key.as_str(), + ) + .unwrap(), + decoded_value: serde_json::from_str( + write_table_item.data.as_ref().unwrap().value.as_str(), + ) + .unwrap(), + last_transaction_version: txn_version, + is_deleted: false, + }, + ) + } + + pub fn from_delete_table_item( + delete_table_item: &DeleteTableItem, + write_set_change_index: i64, + txn_version: i64, + transaction_block_height: i64, + block_timestamp: chrono::NaiveDateTime, + ) -> (Self, CurrentTableItem) { + ( + Self { + txn_version, + write_set_change_index, + transaction_block_height, + table_key: delete_table_item.key.to_string(), + table_handle: standardize_address(&delete_table_item.handle.to_string()), + decoded_key: delete_table_item.data.as_ref().unwrap().key.clone(), + decoded_value: None, + is_deleted: true, + block_timestamp, + }, + CurrentTableItem { + table_handle: standardize_address(&delete_table_item.handle.to_string()), + key_hash: hash_str(&delete_table_item.key.to_string()), + key: delete_table_item.key.to_string(), + decoded_key: serde_json::from_str( + delete_table_item.data.as_ref().unwrap().key.as_str(), + ) + .unwrap(), + decoded_value: None, + last_transaction_version: txn_version, + is_deleted: true, + }, + ) + } + + pub fn postgres_table_item_from_write_item( + write_table_item: &WriteTableItem, + write_set_change_index: i64, + txn_version: i64, + transaction_block_height: i64, + block_timestamp: chrono::NaiveDateTime, + ) -> TableItem { + let (raw_table_item, _current_table_item) = RawTableItem::from_write_table_item( + write_table_item, + write_set_change_index, + txn_version, + transaction_block_height, + block_timestamp, + ); + TableItem::from_raw(&raw_table_item) + } +} + +pub trait TableItemConvertible { + fn from_raw(raw_item: &RawTableItem) -> Self; +} diff --git a/rust/processor/src/db/common/models/fungible_asset_models/v2_fungible_asset_utils.rs b/rust/processor/src/db/common/models/fungible_asset_models/v2_fungible_asset_utils.rs deleted file mode 100644 index 3e5bc5fbe..000000000 --- a/rust/processor/src/db/common/models/fungible_asset_models/v2_fungible_asset_utils.rs +++ /dev/null @@ -1,431 +0,0 @@ -// Copyright © Aptos Foundation -// SPDX-License-Identifier: Apache-2.0 - -// This is required because a diesel macro makes clippy sad -#![allow(clippy::extra_unused_lifetimes)] - -use crate::{ - db::common::models::{ - coin_models::coin_utils::COIN_ADDR, default_models::move_resources::MoveResource, - token_models::token_utils::URI_LENGTH, token_v2_models::v2_token_utils::ResourceReference, - }, - utils::util::{deserialize_from_string, truncate_str, Aggregator}, -}; -use anyhow::{Context, Result}; -use aptos_protos::transaction::v1::WriteResource; -use bigdecimal::BigDecimal; -use field_count::FieldCount; -use serde::{Deserialize, Serialize}; - -const FUNGIBLE_ASSET_LENGTH: usize = 32; -const FUNGIBLE_ASSET_SYMBOL: usize = 10; - -#[derive(Serialize, Deserialize, Debug, Clone)] -pub struct FeeStatement { - #[serde(deserialize_with = "deserialize_from_string")] - pub storage_fee_refund_octas: u64, -} - -impl FeeStatement { - pub fn from_event(data_type: &str, data: &str, txn_version: i64) -> Option { - if data_type == "0x1::transaction_fee::FeeStatement" { - let fee_statement: FeeStatement = serde_json::from_str(data).unwrap_or_else(|_| { - tracing::error!( - transaction_version = txn_version, - data = data, - "failed to parse event for fee statement" - ); - panic!(); - }); - Some(fee_statement) - } else { - None - } - } -} - -/* Section on fungible assets resources */ -#[derive(Serialize, Deserialize, Debug, Clone, FieldCount)] -pub struct FungibleAssetMetadata { - name: String, - symbol: String, - pub decimals: i32, - icon_uri: String, - project_uri: String, -} - -impl FungibleAssetMetadata { - pub fn from_write_resource( - write_resource: &WriteResource, - txn_version: i64, - ) -> anyhow::Result> { - let type_str = MoveResource::get_outer_type_from_write_resource(write_resource); - if !V2FungibleAssetResource::is_resource_supported(type_str.as_str()) { - return Ok(None); - } - let resource = MoveResource::from_write_resource( - write_resource, - 0, // Placeholder, this isn't used anyway - txn_version, - 0, // Placeholder, this isn't used anyway - ); - - if let V2FungibleAssetResource::FungibleAssetMetadata(inner) = - V2FungibleAssetResource::from_resource( - &type_str, - resource.data.as_ref().unwrap(), - txn_version, - )? - { - Ok(Some(inner)) - } else { - Ok(None) - } - } - - pub fn get_name(&self) -> String { - truncate_str(&self.name, FUNGIBLE_ASSET_LENGTH) - } - - pub fn get_symbol(&self) -> String { - truncate_str(&self.symbol, FUNGIBLE_ASSET_SYMBOL) - } - - pub fn get_icon_uri(&self) -> String { - truncate_str(&self.icon_uri, URI_LENGTH) - } - - pub fn get_project_uri(&self) -> String { - truncate_str(&self.project_uri, URI_LENGTH) - } -} - -#[derive(Serialize, Deserialize, Debug, Clone)] -pub struct FungibleAssetStore { - pub metadata: ResourceReference, - #[serde(deserialize_with = "deserialize_from_string")] - pub balance: BigDecimal, - pub frozen: bool, -} - -impl FungibleAssetStore { - pub fn from_write_resource( - write_resource: &WriteResource, - txn_version: i64, - ) -> anyhow::Result> { - let type_str = MoveResource::get_outer_type_from_write_resource(write_resource); - if !V2FungibleAssetResource::is_resource_supported(type_str.as_str()) { - return Ok(None); - } - let resource = MoveResource::from_write_resource( - write_resource, - 0, // Placeholder, this isn't used anyway - txn_version, - 0, // Placeholder, this isn't used anyway - ); - - if let V2FungibleAssetResource::FungibleAssetStore(inner) = - V2FungibleAssetResource::from_resource( - &type_str, - resource.data.as_ref().unwrap(), - txn_version, - )? - { - Ok(Some(inner)) - } else { - Ok(None) - } - } -} - -#[derive(Serialize, Deserialize, Debug, Clone)] -pub struct FungibleAssetSupply { - #[serde(deserialize_with = "deserialize_from_string")] - pub current: BigDecimal, - pub maximum: OptionalBigDecimal, -} - -#[derive(Serialize, Deserialize, Debug, Clone)] -pub struct OptionalBigDecimal { - vec: Vec, -} - -#[derive(Serialize, Deserialize, Debug, Clone)] -struct BigDecimalWrapper(#[serde(deserialize_with = "deserialize_from_string")] pub BigDecimal); - -impl FungibleAssetSupply { - pub fn from_write_resource( - write_resource: &WriteResource, - txn_version: i64, - ) -> anyhow::Result> { - let type_str: String = MoveResource::get_outer_type_from_write_resource(write_resource); - if !V2FungibleAssetResource::is_resource_supported(type_str.as_str()) { - return Ok(None); - } - let resource = MoveResource::from_write_resource( - write_resource, - 0, // Placeholder, this isn't used anyway - txn_version, - 0, // Placeholder, this isn't used anyway - ); - - if let V2FungibleAssetResource::FungibleAssetSupply(inner) = - V2FungibleAssetResource::from_resource( - &type_str, - resource.data.as_ref().unwrap(), - txn_version, - )? - { - Ok(Some(inner)) - } else { - Ok(None) - } - } - - pub fn get_maximum(&self) -> Option { - self.maximum.vec.first().map(|x| x.0.clone()) - } -} - -#[derive(Serialize, Deserialize, Debug, Clone)] -pub struct ConcurrentFungibleAssetSupply { - pub current: Aggregator, -} - -impl ConcurrentFungibleAssetSupply { - pub fn from_write_resource( - write_resource: &WriteResource, - txn_version: i64, - ) -> anyhow::Result> { - let type_str: String = MoveResource::get_outer_type_from_write_resource(write_resource); - if !V2FungibleAssetResource::is_resource_supported(type_str.as_str()) { - return Ok(None); - } - let resource = MoveResource::from_write_resource( - write_resource, - 0, // Placeholder, this isn't used anyway - txn_version, - 0, // Placeholder, this isn't used anyway - ); - - if let V2FungibleAssetResource::ConcurrentFungibleAssetSupply(inner) = - V2FungibleAssetResource::from_resource( - &type_str, - resource.data.as_ref().unwrap(), - txn_version, - )? - { - Ok(Some(inner)) - } else { - Ok(None) - } - } -} - -#[derive(Serialize, Deserialize, Debug, Clone)] -pub struct ConcurrentFungibleAssetBalance { - pub balance: Aggregator, -} - -impl ConcurrentFungibleAssetBalance { - pub fn from_write_resource( - write_resource: &WriteResource, - txn_version: i64, - ) -> anyhow::Result> { - let type_str: String = MoveResource::get_outer_type_from_write_resource(write_resource); - if !V2FungibleAssetResource::is_resource_supported(type_str.as_str()) { - return Ok(None); - } - let resource = MoveResource::from_write_resource( - write_resource, - 0, // Placeholder, this isn't used anyway - txn_version, - 0, // Placeholder, this isn't used anyway - ); - - if let V2FungibleAssetResource::ConcurrentFungibleAssetBalance(inner) = - V2FungibleAssetResource::from_resource( - &type_str, - resource.data.as_ref().unwrap(), - txn_version, - )? - { - Ok(Some(inner)) - } else { - Ok(None) - } - } -} - -#[derive(Serialize, Deserialize, Debug, Clone)] -pub struct DepositEvent { - #[serde(deserialize_with = "deserialize_from_string")] - pub amount: BigDecimal, -} - -#[derive(Serialize, Deserialize, Debug, Clone)] -pub struct WithdrawEvent { - #[serde(deserialize_with = "deserialize_from_string")] - pub amount: BigDecimal, -} - -#[derive(Serialize, Deserialize, Debug, Clone)] -pub struct FrozenEvent { - pub frozen: bool, -} - -#[derive(Serialize, Deserialize, Debug, Clone)] -pub struct DepositEventV2 { - pub store: String, - #[serde(deserialize_with = "deserialize_from_string")] - pub amount: BigDecimal, -} - -#[derive(Serialize, Deserialize, Debug, Clone)] -pub struct WithdrawEventV2 { - pub store: String, - #[serde(deserialize_with = "deserialize_from_string")] - pub amount: BigDecimal, -} - -#[derive(Serialize, Deserialize, Debug, Clone)] -pub struct FrozenEventV2 { - pub store: String, - pub frozen: bool, -} - -#[derive(Serialize, Deserialize, Debug, Clone)] -pub enum V2FungibleAssetResource { - FungibleAssetMetadata(FungibleAssetMetadata), - FungibleAssetStore(FungibleAssetStore), - FungibleAssetSupply(FungibleAssetSupply), - ConcurrentFungibleAssetSupply(ConcurrentFungibleAssetSupply), - ConcurrentFungibleAssetBalance(ConcurrentFungibleAssetBalance), -} - -impl V2FungibleAssetResource { - pub fn is_resource_supported(data_type: &str) -> bool { - [ - format!("{}::fungible_asset::Supply", COIN_ADDR), - format!("{}::fungible_asset::ConcurrentSupply", COIN_ADDR), - format!("{}::fungible_asset::Metadata", COIN_ADDR), - format!("{}::fungible_asset::FungibleStore", COIN_ADDR), - format!("{}::fungible_asset::ConcurrentFungibleBalance", COIN_ADDR), - ] - .contains(&data_type.to_string()) - } - - pub fn from_resource( - data_type: &str, - data: &serde_json::Value, - txn_version: i64, - ) -> Result { - match data_type { - x if x == format!("{}::fungible_asset::Supply", COIN_ADDR) => { - serde_json::from_value(data.clone()) - .map(|inner| Some(Self::FungibleAssetSupply(inner))) - }, - x if x == format!("{}::fungible_asset::ConcurrentSupply", COIN_ADDR) => { - serde_json::from_value(data.clone()) - .map(|inner| Some(Self::ConcurrentFungibleAssetSupply(inner))) - }, - x if x == format!("{}::fungible_asset::Metadata", COIN_ADDR) => { - serde_json::from_value(data.clone()) - .map(|inner| Some(Self::FungibleAssetMetadata(inner))) - }, - x if x == format!("{}::fungible_asset::FungibleStore", COIN_ADDR) => { - serde_json::from_value(data.clone()) - .map(|inner| Some(Self::FungibleAssetStore(inner))) - }, - x if x == format!("{}::fungible_asset::ConcurrentFungibleBalance", COIN_ADDR) => { - serde_json::from_value(data.clone()) - .map(|inner| Some(Self::ConcurrentFungibleAssetBalance(inner))) - }, - _ => Ok(None), - } - .context(format!( - "version {} failed! failed to parse type {}, data {:?}", - txn_version, data_type, data - ))? - .context(format!( - "Resource unsupported! Call is_resource_supported first. version {} type {}", - txn_version, data_type - )) - } -} - -pub enum FungibleAssetEvent { - DepositEvent(DepositEvent), - WithdrawEvent(WithdrawEvent), - FrozenEvent(FrozenEvent), - DepositEventV2(DepositEventV2), - WithdrawEventV2(WithdrawEventV2), - FrozenEventV2(FrozenEventV2), -} - -impl FungibleAssetEvent { - pub fn from_event(data_type: &str, data: &str, txn_version: i64) -> Result> { - match data_type { - "0x1::fungible_asset::DepositEvent" => { - serde_json::from_str(data).map(|inner| Some(Self::DepositEvent(inner))) - }, - "0x1::fungible_asset::WithdrawEvent" => { - serde_json::from_str(data).map(|inner| Some(Self::WithdrawEvent(inner))) - }, - "0x1::fungible_asset::FrozenEvent" => { - serde_json::from_str(data).map(|inner| Some(Self::FrozenEvent(inner))) - }, - "0x1::fungible_asset::Deposit" => { - serde_json::from_str(data).map(|inner| Some(Self::DepositEventV2(inner))) - }, - "0x1::fungible_asset::Withdraw" => { - serde_json::from_str(data).map(|inner| Some(Self::WithdrawEventV2(inner))) - }, - "0x1::fungible_asset::Frozen" => { - serde_json::from_str(data).map(|inner| Some(Self::FrozenEventV2(inner))) - }, - _ => Ok(None), - } - .context(format!( - "version {} failed! failed to parse type {}, data {:?}", - txn_version, data_type, data - )) - } -} - -#[cfg(test)] -mod tests { - use super::*; - - #[test] - fn test_fungible_asset_supply_null() { - let test = r#"{"current": "0", "maximum": {"vec": []}}"#; - let test: serde_json::Value = serde_json::from_str(test).unwrap(); - let supply = serde_json::from_value(test) - .map(V2FungibleAssetResource::FungibleAssetSupply) - .unwrap(); - if let V2FungibleAssetResource::FungibleAssetSupply(supply) = supply { - assert_eq!(supply.current, BigDecimal::from(0)); - assert_eq!(supply.get_maximum(), None); - } else { - panic!("Wrong type") - } - } - - #[test] - fn test_fungible_asset_supply_nonnull() { - let test = r#"{"current": "100", "maximum": {"vec": ["5000"]}}"#; - let test: serde_json::Value = serde_json::from_str(test).unwrap(); - let supply = serde_json::from_value(test) - .map(V2FungibleAssetResource::FungibleAssetSupply) - .unwrap(); - if let V2FungibleAssetResource::FungibleAssetSupply(supply) = supply { - assert_eq!(supply.current, BigDecimal::from(100)); - assert_eq!(supply.get_maximum(), Some(BigDecimal::from(5000))); - } else { - panic!("Wrong type") - } - } - - // TODO: Add similar tests for ConcurrentFungibleAssetSupply. -} diff --git a/rust/processor/src/db/common/models/mod.rs b/rust/processor/src/db/common/models/mod.rs index cf80f3fc0..16e0f058f 100644 --- a/rust/processor/src/db/common/models/mod.rs +++ b/rust/processor/src/db/common/models/mod.rs @@ -1,18 +1 @@ -// Copyright © Aptos Foundation -// SPDX-License-Identifier: Apache-2.0 - -pub mod account_transaction_models; -pub mod ans_models; -pub mod coin_models; pub mod default_models; -pub mod events_models; -pub mod fungible_asset_models; -pub mod ledger_info; -pub mod object_models; -pub mod processor_status; -pub mod property_map; -pub mod stake_models; -pub mod token_models; -pub mod token_v2_models; -pub mod transaction_metadata_model; -pub mod user_transactions_models; diff --git a/rust/processor/src/db/common/models/token_v2_models/v2_token_utils.rs b/rust/processor/src/db/common/models/token_v2_models/v2_token_utils.rs deleted file mode 100644 index 714d852f2..000000000 --- a/rust/processor/src/db/common/models/token_v2_models/v2_token_utils.rs +++ /dev/null @@ -1,614 +0,0 @@ -// Copyright © Aptos Foundation -// SPDX-License-Identifier: Apache-2.0 - -// This is required because a diesel macro makes clippy sad -#![allow(clippy::extra_unused_lifetimes)] - -use crate::{ - db::common::models::{ - coin_models::coin_utils::COIN_ADDR, - default_models::move_resources::MoveResource, - object_models::v2_object_utils::{CurrentObjectPK, ObjectCore, Untransferable}, - token_models::token_utils::{NAME_LENGTH, URI_LENGTH}, - }, - utils::util::{ - deserialize_from_string, deserialize_token_object_property_map_from_bcs_hexstring, - standardize_address, truncate_str, Aggregator, AggregatorSnapshot, DerivedStringSnapshot, - }, -}; -use ahash::{AHashMap, AHashSet}; -use anyhow::{Context, Result}; -use aptos_protos::transaction::v1::{Event, WriteResource}; -use bigdecimal::BigDecimal; -use lazy_static::lazy_static; -use serde::{Deserialize, Serialize}; -use std::fmt::{self, Formatter}; - -pub const TOKEN_V2_ADDR: &str = - "0x0000000000000000000000000000000000000000000000000000000000000004"; - -pub const DEFAULT_OWNER_ADDRESS: &str = "unknown"; - -lazy_static! { - pub static ref V2_STANDARD: String = TokenStandard::V2.to_string(); -} - -/// Tracks all token related data in a hashmap for quick access (keyed on address of the object core) -/// Maps address to burn event. If it's an old event previous_owner will be empty -pub type TokenV2Burned = AHashMap; -pub type TokenV2Minted = AHashSet; - -/// Tracks which token standard a token / collection is built upon -#[derive(Serialize)] -pub enum TokenStandard { - V1, - V2, -} - -impl fmt::Display for TokenStandard { - fn fmt(&self, f: &mut Formatter) -> std::fmt::Result { - let res = match self { - TokenStandard::V1 => "v1", - TokenStandard::V2 => "v2", - }; - write!(f, "{}", res) - } -} - -/* Section on Collection / Token */ -#[derive(Serialize, Deserialize, Debug, Clone)] -pub struct Collection { - creator: String, - pub description: String, - // These are set to private because we should never get name or uri directly - name: String, - uri: String, -} - -impl Collection { - pub fn get_creator_address(&self) -> String { - standardize_address(&self.creator) - } - - pub fn get_uri_trunc(&self) -> String { - truncate_str(&self.uri, URI_LENGTH) - } - - pub fn get_name_trunc(&self) -> String { - truncate_str(&self.name, NAME_LENGTH) - } -} - -#[derive(Serialize, Deserialize, Debug, Clone)] -pub struct AptosCollection { - pub mutable_description: bool, - pub mutable_uri: bool, -} - -impl AptosCollection { - pub fn from_write_resource( - write_resource: &WriteResource, - txn_version: i64, - ) -> anyhow::Result> { - let type_str = MoveResource::get_outer_type_from_write_resource(write_resource); - if !V2TokenResource::is_resource_supported(type_str.as_str()) { - return Ok(None); - } - let resource = MoveResource::from_write_resource( - write_resource, - 0, // Placeholder, this isn't used anyway - txn_version, - 0, // Placeholder, this isn't used anyway - ); - - if let V2TokenResource::AptosCollection(inner) = - V2TokenResource::from_resource(&type_str, resource.data.as_ref().unwrap(), txn_version)? - { - Ok(Some(inner)) - } else { - Ok(None) - } - } -} - -#[derive(Serialize, Deserialize, Debug, Clone)] -pub struct TokenV2 { - collection: ResourceReference, - pub description: String, - // These are set to private because we should never get name or uri directly - name: String, - uri: String, -} - -impl TokenV2 { - pub fn get_collection_address(&self) -> String { - self.collection.get_reference_address() - } - - pub fn get_uri_trunc(&self) -> String { - truncate_str(&self.uri, URI_LENGTH) - } - - pub fn get_name_trunc(&self) -> String { - truncate_str(&self.name, NAME_LENGTH) - } - - pub fn from_write_resource( - write_resource: &WriteResource, - txn_version: i64, - ) -> anyhow::Result> { - let type_str = MoveResource::get_outer_type_from_write_resource(write_resource); - if !V2TokenResource::is_resource_supported(type_str.as_str()) { - return Ok(None); - } - let resource = MoveResource::from_write_resource( - write_resource, - 0, // Placeholder, this isn't used anyway - txn_version, - 0, // Placeholder, this isn't used anyway - ); - - if let V2TokenResource::TokenV2(inner) = - V2TokenResource::from_resource(&type_str, resource.data.as_ref().unwrap(), txn_version)? - { - if let Some(token_identifiers) = - TokenIdentifiers::from_write_resource(write_resource, txn_version).unwrap() - { - Ok(Some(TokenV2 { - name: token_identifiers.name.value, - ..inner - })) - } else { - Ok(Some(inner)) - } - } else { - Ok(None) - } - } -} - -#[derive(Serialize, Deserialize, Debug, Clone)] -pub struct ResourceReference { - inner: String, -} - -impl ResourceReference { - pub fn get_reference_address(&self) -> String { - standardize_address(&self.inner) - } -} - -/* Section on Supply */ -#[derive(Serialize, Deserialize, Debug, Clone)] -pub struct FixedSupply { - #[serde(deserialize_with = "deserialize_from_string")] - pub current_supply: BigDecimal, - #[serde(deserialize_with = "deserialize_from_string")] - pub max_supply: BigDecimal, - #[serde(deserialize_with = "deserialize_from_string")] - pub total_minted: BigDecimal, -} - -impl FixedSupply { - pub fn from_write_resource( - write_resource: &WriteResource, - txn_version: i64, - ) -> anyhow::Result> { - let type_str = MoveResource::get_outer_type_from_write_resource(write_resource); - if !V2TokenResource::is_resource_supported(type_str.as_str()) { - return Ok(None); - } - let resource = MoveResource::from_write_resource( - write_resource, - 0, // Placeholder, this isn't used anyway - txn_version, - 0, // Placeholder, this isn't used anyway - ); - - if let V2TokenResource::FixedSupply(inner) = - V2TokenResource::from_resource(&type_str, resource.data.as_ref().unwrap(), txn_version)? - { - Ok(Some(inner)) - } else { - Ok(None) - } - } -} - -#[derive(Serialize, Deserialize, Debug, Clone)] -pub struct UnlimitedSupply { - #[serde(deserialize_with = "deserialize_from_string")] - pub current_supply: BigDecimal, - #[serde(deserialize_with = "deserialize_from_string")] - pub total_minted: BigDecimal, -} - -impl UnlimitedSupply { - pub fn from_write_resource( - write_resource: &WriteResource, - txn_version: i64, - ) -> anyhow::Result> { - let type_str = MoveResource::get_outer_type_from_write_resource(write_resource); - if !V2TokenResource::is_resource_supported(type_str.as_str()) { - return Ok(None); - } - let resource = MoveResource::from_write_resource( - write_resource, - 0, // Placeholder, this isn't used anyway - txn_version, - 0, // Placeholder, this isn't used anyway - ); - - if let V2TokenResource::UnlimitedSupply(inner) = - V2TokenResource::from_resource(&type_str, resource.data.as_ref().unwrap(), txn_version)? - { - Ok(Some(inner)) - } else { - Ok(None) - } - } -} - -#[derive(Serialize, Deserialize, Debug, Clone)] -pub struct ConcurrentSupply { - pub current_supply: Aggregator, - pub total_minted: Aggregator, -} - -impl ConcurrentSupply { - pub fn from_write_resource( - write_resource: &WriteResource, - txn_version: i64, - ) -> anyhow::Result> { - let type_str = MoveResource::get_outer_type_from_write_resource(write_resource); - if !V2TokenResource::is_resource_supported(type_str.as_str()) { - return Ok(None); - } - let resource = MoveResource::from_write_resource( - write_resource, - 0, // Placeholder, this isn't used anyway - txn_version, - 0, // Placeholder, this isn't used anyway - ); - - if let V2TokenResource::ConcurrentSupply(inner) = - V2TokenResource::from_resource(&type_str, resource.data.as_ref().unwrap(), txn_version)? - { - Ok(Some(inner)) - } else { - Ok(None) - } - } -} - -/* Section on Events */ -#[derive(Serialize, Deserialize, Debug, Clone)] -pub struct MintEvent { - #[serde(deserialize_with = "deserialize_from_string")] - pub index: BigDecimal, - token: String, -} - -impl MintEvent { - pub fn from_event(event: &Event, txn_version: i64) -> anyhow::Result> { - if let Some(V2TokenEvent::MintEvent(inner)) = - V2TokenEvent::from_event(event.type_str.as_str(), &event.data, txn_version).unwrap() - { - Ok(Some(inner)) - } else { - Ok(None) - } - } - - pub fn get_token_address(&self) -> String { - standardize_address(&self.token) - } -} - -#[derive(Serialize, Deserialize, Debug, Clone)] -pub struct Mint { - collection: String, - pub index: AggregatorSnapshot, - token: String, -} - -impl Mint { - pub fn get_token_address(&self) -> String { - standardize_address(&self.token) - } -} - -#[derive(Serialize, Deserialize, Debug, Clone)] -pub struct TokenMutationEvent { - pub mutated_field_name: String, - pub old_value: String, - pub new_value: String, -} - -#[derive(Serialize, Deserialize, Debug, Clone)] -pub struct BurnEvent { - #[serde(deserialize_with = "deserialize_from_string")] - pub index: BigDecimal, - token: String, -} - -impl BurnEvent { - pub fn from_event(event: &Event, txn_version: i64) -> anyhow::Result> { - if let Some(V2TokenEvent::BurnEvent(inner)) = - V2TokenEvent::from_event(event.type_str.as_str(), &event.data, txn_version).unwrap() - { - Ok(Some(inner)) - } else { - Ok(None) - } - } - - pub fn get_token_address(&self) -> String { - standardize_address(&self.token) - } -} - -#[derive(Serialize, Deserialize, Debug, Clone)] -pub struct Burn { - collection: String, - token: String, - previous_owner: String, -} - -impl Burn { - pub fn new(collection: String, token: String, previous_owner: String) -> Self { - Burn { - collection, - token, - previous_owner, - } - } - - pub fn from_event(event: &Event, txn_version: i64) -> anyhow::Result> { - if let Some(V2TokenEvent::Burn(inner)) = - V2TokenEvent::from_event(event.type_str.as_str(), &event.data, txn_version).unwrap() - { - Ok(Some(inner)) - } else { - Ok(None) - } - } - - pub fn get_token_address(&self) -> String { - standardize_address(&self.token) - } - - pub fn get_previous_owner_address(&self) -> Option { - if self.previous_owner.is_empty() { - None - } else { - Some(standardize_address(&self.previous_owner)) - } - } - - pub fn get_collection_address(&self) -> String { - standardize_address(&self.collection) - } -} - -#[derive(Serialize, Deserialize, Debug, Clone)] -pub struct TransferEvent { - from: String, - to: String, - object: String, -} - -impl TransferEvent { - pub fn from_event(event: &Event, txn_version: i64) -> anyhow::Result> { - if let Some(V2TokenEvent::TransferEvent(inner)) = - V2TokenEvent::from_event(event.type_str.as_str(), &event.data, txn_version).unwrap() - { - Ok(Some(inner)) - } else { - Ok(None) - } - } - - pub fn get_from_address(&self) -> String { - standardize_address(&self.from) - } - - pub fn get_to_address(&self) -> String { - standardize_address(&self.to) - } - - pub fn get_object_address(&self) -> String { - standardize_address(&self.object) - } -} - -/* Section on Property Maps */ -#[derive(Serialize, Deserialize, Debug, Clone)] -pub struct PropertyMapModel { - #[serde(deserialize_with = "deserialize_token_object_property_map_from_bcs_hexstring")] - pub inner: serde_json::Value, -} - -impl PropertyMapModel { - pub fn from_write_resource( - write_resource: &WriteResource, - txn_version: i64, - ) -> anyhow::Result> { - let type_str = MoveResource::get_outer_type_from_write_resource(write_resource); - if !V2TokenResource::is_resource_supported(type_str.as_str()) { - return Ok(None); - } - let resource = MoveResource::from_write_resource( - write_resource, - 0, // Placeholder, this isn't used anyway - txn_version, - 0, // Placeholder, this isn't used anyway - ); - - if let V2TokenResource::PropertyMapModel(inner) = - V2TokenResource::from_resource(&type_str, resource.data.as_ref().unwrap(), txn_version)? - { - Ok(Some(inner)) - } else { - Ok(None) - } - } -} - -#[derive(Serialize, Deserialize, Debug, Clone)] -pub struct TokenIdentifiers { - name: DerivedStringSnapshot, -} - -impl TokenIdentifiers { - pub fn from_write_resource( - write_resource: &WriteResource, - txn_version: i64, - ) -> anyhow::Result> { - let type_str = MoveResource::get_outer_type_from_write_resource(write_resource); - if !V2TokenResource::is_resource_supported(type_str.as_str()) { - return Ok(None); - } - let resource = MoveResource::from_write_resource( - write_resource, - 0, // Placeholder, this isn't used anyway - txn_version, - 0, // Placeholder, this isn't used anyway - ); - - if let V2TokenResource::TokenIdentifiers(inner) = - V2TokenResource::from_resource(&type_str, resource.data.as_ref().unwrap(), txn_version)? - { - Ok(Some(inner)) - } else { - Ok(None) - } - } - - pub fn get_name_trunc(&self) -> String { - truncate_str(&self.name.value, NAME_LENGTH) - } -} - -#[derive(Serialize, Deserialize, Debug, Clone)] -pub enum V2TokenResource { - AptosCollection(AptosCollection), - Collection(Collection), - ConcurrentSupply(ConcurrentSupply), - FixedSupply(FixedSupply), - ObjectCore(ObjectCore), - UnlimitedSupply(UnlimitedSupply), - Untransferable(Untransferable), - TokenV2(TokenV2), - PropertyMapModel(PropertyMapModel), - TokenIdentifiers(TokenIdentifiers), -} - -impl V2TokenResource { - pub fn is_resource_supported(data_type: &str) -> bool { - [ - format!("{}::object::ObjectCore", COIN_ADDR), - format!("{}::object::Untransferable", COIN_ADDR), - format!("{}::collection::Collection", TOKEN_V2_ADDR), - format!("{}::collection::ConcurrentSupply", TOKEN_V2_ADDR), - format!("{}::collection::FixedSupply", TOKEN_V2_ADDR), - format!("{}::collection::UnlimitedSupply", TOKEN_V2_ADDR), - format!("{}::aptos_token::AptosCollection", TOKEN_V2_ADDR), - format!("{}::token::Token", TOKEN_V2_ADDR), - format!("{}::property_map::PropertyMap", TOKEN_V2_ADDR), - format!("{}::token::TokenIdentifiers", TOKEN_V2_ADDR), - ] - .contains(&data_type.to_string()) - } - - pub fn from_resource( - data_type: &str, - data: &serde_json::Value, - txn_version: i64, - ) -> Result { - match data_type { - x if x == format!("{}::object::ObjectCore", COIN_ADDR) => { - serde_json::from_value(data.clone()).map(|inner| Some(Self::ObjectCore(inner))) - }, - x if x == format!("{}::object::Untransferable", COIN_ADDR) => { - serde_json::from_value(data.clone()).map(|inner| Some(Self::Untransferable(inner))) - }, - x if x == format!("{}::collection::Collection", TOKEN_V2_ADDR) => { - serde_json::from_value(data.clone()).map(|inner| Some(Self::Collection(inner))) - }, - x if x == format!("{}::collection::ConcurrentSupply", TOKEN_V2_ADDR) => { - serde_json::from_value(data.clone()) - .map(|inner| Some(Self::ConcurrentSupply(inner))) - }, - x if x == format!("{}::collection::FixedSupply", TOKEN_V2_ADDR) => { - serde_json::from_value(data.clone()).map(|inner| Some(Self::FixedSupply(inner))) - }, - x if x == format!("{}::collection::UnlimitedSupply", TOKEN_V2_ADDR) => { - serde_json::from_value(data.clone()).map(|inner| Some(Self::UnlimitedSupply(inner))) - }, - x if x == format!("{}::aptos_token::AptosCollection", TOKEN_V2_ADDR) => { - serde_json::from_value(data.clone()).map(|inner| Some(Self::AptosCollection(inner))) - }, - x if x == format!("{}::token::Token", TOKEN_V2_ADDR) => { - serde_json::from_value(data.clone()).map(|inner| Some(Self::TokenV2(inner))) - }, - x if x == format!("{}::token::TokenIdentifiers", TOKEN_V2_ADDR) => { - serde_json::from_value(data.clone()) - .map(|inner| Some(Self::TokenIdentifiers(inner))) - }, - x if x == format!("{}::property_map::PropertyMap", TOKEN_V2_ADDR) => { - serde_json::from_value(data.clone()) - .map(|inner| Some(Self::PropertyMapModel(inner))) - }, - _ => Ok(None), - } - .context(format!( - "version {} failed! failed to parse type {}, data {:?}", - txn_version, data_type, data - ))? - .context(format!( - "Resource unsupported! Call is_resource_supported first. version {} type {}", - txn_version, data_type - )) - } -} - -#[derive(Serialize, Deserialize, Debug, Clone)] -pub enum V2TokenEvent { - Mint(Mint), - MintEvent(MintEvent), - TokenMutationEvent(TokenMutationEvent), - Burn(Burn), - BurnEvent(BurnEvent), - TransferEvent(TransferEvent), -} - -impl V2TokenEvent { - pub fn from_event(data_type: &str, data: &str, txn_version: i64) -> Result> { - match data_type { - "0x4::collection::Mint" => { - serde_json::from_str(data).map(|inner| Some(Self::Mint(inner))) - }, - "0x4::collection::MintEvent" => { - serde_json::from_str(data).map(|inner| Some(Self::MintEvent(inner))) - }, - "0x4::token::MutationEvent" => { - serde_json::from_str(data).map(|inner| Some(Self::TokenMutationEvent(inner))) - }, - "0x4::collection::Burn" => { - serde_json::from_str(data).map(|inner| Some(Self::Burn(inner))) - }, - "0x4::collection::BurnEvent" => { - serde_json::from_str(data).map(|inner| Some(Self::BurnEvent(inner))) - }, - "0x1::object::TransferEvent" => { - serde_json::from_str(data).map(|inner| Some(Self::TransferEvent(inner))) - }, - _ => Ok(None), - } - .context(format!( - "version {} failed! failed to parse type {}, data {:?}", - txn_version, data_type, data - )) - } -} diff --git a/rust/processor/src/db/mod.rs b/rust/processor/src/db/mod.rs index 34994bf5a..5526f0110 100644 --- a/rust/processor/src/db/mod.rs +++ b/rust/processor/src/db/mod.rs @@ -1 +1,3 @@ pub mod common; +pub mod parquet; +pub mod postgres; diff --git a/rust/processor/src/db/parquet/mod.rs b/rust/processor/src/db/parquet/mod.rs new file mode 100644 index 000000000..c446ac883 --- /dev/null +++ b/rust/processor/src/db/parquet/mod.rs @@ -0,0 +1 @@ +pub mod models; diff --git a/rust/processor/src/db/parquet/models/default_models/mod.rs b/rust/processor/src/db/parquet/models/default_models/mod.rs new file mode 100644 index 000000000..ce87ba1fd --- /dev/null +++ b/rust/processor/src/db/parquet/models/default_models/mod.rs @@ -0,0 +1,6 @@ +// parquet models +pub mod parquet_move_modules; +pub mod parquet_move_resources; +pub mod parquet_move_tables; +pub mod parquet_transactions; +pub mod parquet_write_set_changes; diff --git a/rust/processor/src/db/common/models/default_models/parquet_move_modules.rs b/rust/processor/src/db/parquet/models/default_models/parquet_move_modules.rs similarity index 100% rename from rust/processor/src/db/common/models/default_models/parquet_move_modules.rs rename to rust/processor/src/db/parquet/models/default_models/parquet_move_modules.rs diff --git a/rust/processor/src/db/common/models/default_models/parquet_move_resources.rs b/rust/processor/src/db/parquet/models/default_models/parquet_move_resources.rs similarity index 100% rename from rust/processor/src/db/common/models/default_models/parquet_move_resources.rs rename to rust/processor/src/db/parquet/models/default_models/parquet_move_resources.rs diff --git a/rust/processor/src/db/common/models/default_models/parquet_move_tables.rs b/rust/processor/src/db/parquet/models/default_models/parquet_move_tables.rs similarity index 87% rename from rust/processor/src/db/common/models/default_models/parquet_move_tables.rs rename to rust/processor/src/db/parquet/models/default_models/parquet_move_tables.rs index 1dc8da47c..fcb5bb74b 100644 --- a/rust/processor/src/db/common/models/default_models/parquet_move_tables.rs +++ b/rust/processor/src/db/parquet/models/default_models/parquet_move_tables.rs @@ -5,6 +5,7 @@ use crate::{ bq_analytics::generic_parquet_processor::{GetTimeStamp, HasVersion, NamedTable}, + db::common::models::default_models::raw_table_items::{RawTableItem, TableItemConvertible}, utils::util::{hash_str, standardize_address}, }; use allocative_derive::Allocative; @@ -164,3 +165,19 @@ impl TableMetadata { } } } + +impl TableItemConvertible for TableItem { + fn from_raw(raw_item: &RawTableItem) -> Self { + TableItem { + txn_version: raw_item.txn_version, + write_set_change_index: raw_item.write_set_change_index, + transaction_block_height: raw_item.transaction_block_height, + table_key: raw_item.table_key.clone(), + table_handle: raw_item.table_handle.clone(), + decoded_key: raw_item.decoded_key.clone(), + decoded_value: raw_item.decoded_value.clone(), + is_deleted: raw_item.is_deleted, + block_timestamp: raw_item.block_timestamp, + } + } +} diff --git a/rust/processor/src/db/common/models/default_models/parquet_transactions.rs b/rust/processor/src/db/parquet/models/default_models/parquet_transactions.rs similarity index 98% rename from rust/processor/src/db/common/models/default_models/parquet_transactions.rs rename to rust/processor/src/db/parquet/models/default_models/parquet_transactions.rs index 5a6adea59..e389ad06d 100644 --- a/rust/processor/src/db/common/models/default_models/parquet_transactions.rs +++ b/rust/processor/src/db/parquet/models/default_models/parquet_transactions.rs @@ -5,12 +5,10 @@ #![allow(clippy::extra_unused_lifetimes)] #![allow(clippy::unused_unit)] -use super::{ - block_metadata_transactions::BlockMetadataTransactionModel, - parquet_write_set_changes::{WriteSetChangeDetail, WriteSetChangeModel}, -}; +use super::parquet_write_set_changes::{WriteSetChangeDetail, WriteSetChangeModel}; use crate::{ bq_analytics::generic_parquet_processor::{GetTimeStamp, HasVersion, NamedTable}, + db::postgres::models::default_models::block_metadata_transactions::BlockMetadataTransactionModel, utils::{ counters::PROCESSOR_UNKNOWN_TYPE_COUNT, util::{get_clean_payload, get_clean_writeset, get_payload_type, standardize_address}, @@ -377,6 +375,7 @@ impl Transaction { let (txn, block_metadata, mut wsc_list, mut wsc_detail_list) = Self::from_transaction(txn); txns.push(txn.clone()); + // TODO: Remove once fully migrated transaction_version_to_struct_count .entry(txn.txn_version) .and_modify(|e| *e += 1) @@ -386,6 +385,7 @@ impl Transaction { block_metadata_txns.push(a.clone()); } + // TODO: Remove once fully migrated if !wsc_list.is_empty() { transaction_version_to_struct_count .entry(txn.txn_version) diff --git a/rust/processor/src/db/common/models/default_models/parquet_write_set_changes.rs b/rust/processor/src/db/parquet/models/default_models/parquet_write_set_changes.rs similarity index 100% rename from rust/processor/src/db/common/models/default_models/parquet_write_set_changes.rs rename to rust/processor/src/db/parquet/models/default_models/parquet_write_set_changes.rs diff --git a/rust/processor/src/db/parquet/models/mod.rs b/rust/processor/src/db/parquet/models/mod.rs new file mode 100644 index 000000000..16e0f058f --- /dev/null +++ b/rust/processor/src/db/parquet/models/mod.rs @@ -0,0 +1 @@ +pub mod default_models; diff --git a/rust/processor/src/db/postgres/mod.rs b/rust/processor/src/db/postgres/mod.rs new file mode 100644 index 000000000..c446ac883 --- /dev/null +++ b/rust/processor/src/db/postgres/mod.rs @@ -0,0 +1 @@ +pub mod models; diff --git a/rust/processor/src/db/common/models/account_transaction_models/account_transactions.rs b/rust/processor/src/db/postgres/models/account_transaction_models/account_transactions.rs similarity index 95% rename from rust/processor/src/db/common/models/account_transaction_models/account_transactions.rs rename to rust/processor/src/db/postgres/models/account_transaction_models/account_transactions.rs index 385d1e010..c911df689 100644 --- a/rust/processor/src/db/common/models/account_transaction_models/account_transactions.rs +++ b/rust/processor/src/db/postgres/models/account_transaction_models/account_transactions.rs @@ -6,8 +6,8 @@ #![allow(clippy::unused_unit)] use crate::{ - db::common::models::{ - object_models::v2_object_utils::ObjectWithMetadata, + db::postgres::models::{ + object_models::v2_object_utils::ObjectWithMetadata, resources::FromWriteResource, user_transactions_models::user_transactions::UserTransaction, }, schema::account_transactions, @@ -98,9 +98,7 @@ impl AccountTransaction { // owner as well. // This handles partial deletes as well. accounts.insert(standardize_address(res.address.as_str())); - if let Some(inner) = - &ObjectWithMetadata::from_write_resource(res, txn_version).unwrap() - { + if let Some(inner) = &ObjectWithMetadata::from_write_resource(res).unwrap() { accounts.insert(inner.object_core.get_owner_address()); } }, diff --git a/rust/processor/src/db/common/models/account_transaction_models/mod.rs b/rust/processor/src/db/postgres/models/account_transaction_models/mod.rs similarity index 100% rename from rust/processor/src/db/common/models/account_transaction_models/mod.rs rename to rust/processor/src/db/postgres/models/account_transaction_models/mod.rs diff --git a/rust/processor/src/db/common/models/ans_models/ans_lookup.rs b/rust/processor/src/db/postgres/models/ans_models/ans_lookup.rs similarity index 100% rename from rust/processor/src/db/common/models/ans_models/ans_lookup.rs rename to rust/processor/src/db/postgres/models/ans_models/ans_lookup.rs diff --git a/rust/processor/src/db/common/models/ans_models/ans_lookup_v2.rs b/rust/processor/src/db/postgres/models/ans_models/ans_lookup_v2.rs similarity index 99% rename from rust/processor/src/db/common/models/ans_models/ans_lookup_v2.rs rename to rust/processor/src/db/postgres/models/ans_models/ans_lookup_v2.rs index 7b68d7891..6eaceda6c 100644 --- a/rust/processor/src/db/common/models/ans_models/ans_lookup_v2.rs +++ b/rust/processor/src/db/postgres/models/ans_models/ans_lookup_v2.rs @@ -10,7 +10,7 @@ use super::{ ans_utils::{get_token_name, NameRecordV2, SetReverseLookupEvent, SubdomainExtV2}, }; use crate::{ - db::common::models::token_v2_models::v2_token_utils::TokenStandard, + db::postgres::models::token_v2_models::v2_token_utils::TokenStandard, schema::{ ans_lookup_v2, ans_primary_name_v2, current_ans_lookup_v2, current_ans_primary_name_v2, }, diff --git a/rust/processor/src/db/common/models/ans_models/ans_utils.rs b/rust/processor/src/db/postgres/models/ans_models/ans_utils.rs similarity index 99% rename from rust/processor/src/db/common/models/ans_models/ans_utils.rs rename to rust/processor/src/db/postgres/models/ans_models/ans_utils.rs index 4f6ee6ed9..6af5530bc 100644 --- a/rust/processor/src/db/common/models/ans_models/ans_utils.rs +++ b/rust/processor/src/db/postgres/models/ans_models/ans_utils.rs @@ -5,7 +5,7 @@ #![allow(clippy::extra_unused_lifetimes)] use crate::{ - db::common::models::default_models::move_resources::MoveResource, + db::postgres::models::default_models::move_resources::MoveResource, utils::util::{ bigdecimal_to_u64, deserialize_from_string, parse_timestamp_secs, standardize_address, truncate_str, diff --git a/rust/processor/src/db/common/models/ans_models/mod.rs b/rust/processor/src/db/postgres/models/ans_models/mod.rs similarity index 100% rename from rust/processor/src/db/common/models/ans_models/mod.rs rename to rust/processor/src/db/postgres/models/ans_models/mod.rs diff --git a/rust/processor/src/db/common/models/ans_models/parquet_ans_lookup_v2.rs b/rust/processor/src/db/postgres/models/ans_models/parquet_ans_lookup_v2.rs similarity index 99% rename from rust/processor/src/db/common/models/ans_models/parquet_ans_lookup_v2.rs rename to rust/processor/src/db/postgres/models/ans_models/parquet_ans_lookup_v2.rs index 1ed0ec49c..db7cf6a56 100644 --- a/rust/processor/src/db/common/models/ans_models/parquet_ans_lookup_v2.rs +++ b/rust/processor/src/db/postgres/models/ans_models/parquet_ans_lookup_v2.rs @@ -7,7 +7,7 @@ use crate::{ bq_analytics::generic_parquet_processor::{GetTimeStamp, HasVersion, NamedTable}, - db::common::models::{ + db::postgres::models::{ ans_models::{ ans_lookup::{AnsPrimaryName, CurrentAnsPrimaryName}, ans_utils::SetReverseLookupEvent, diff --git a/rust/processor/src/db/common/models/coin_models/coin_activities.rs b/rust/processor/src/db/postgres/models/coin_models/coin_activities.rs similarity index 99% rename from rust/processor/src/db/common/models/coin_models/coin_activities.rs rename to rust/processor/src/db/postgres/models/coin_models/coin_activities.rs index 674252f81..14e30c294 100644 --- a/rust/processor/src/db/common/models/coin_models/coin_activities.rs +++ b/rust/processor/src/db/postgres/models/coin_models/coin_activities.rs @@ -11,7 +11,7 @@ use super::{ coin_utils::{CoinEvent, EventGuidResource}, }; use crate::{ - db::common::models::{ + db::postgres::models::{ fungible_asset_models::{ v2_fungible_asset_activities::{ CoinType, CurrentCoinBalancePK, EventToCoinType, BURN_GAS_EVENT_CREATION_NUM, diff --git a/rust/processor/src/db/common/models/coin_models/coin_balances.rs b/rust/processor/src/db/postgres/models/coin_models/coin_balances.rs similarity index 97% rename from rust/processor/src/db/common/models/coin_models/coin_balances.rs rename to rust/processor/src/db/postgres/models/coin_models/coin_balances.rs index 7cde6fb7b..cfcb955a6 100644 --- a/rust/processor/src/db/common/models/coin_models/coin_balances.rs +++ b/rust/processor/src/db/postgres/models/coin_models/coin_balances.rs @@ -7,7 +7,7 @@ use super::coin_utils::{CoinInfoType, CoinResource}; use crate::{ - db::common::models::fungible_asset_models::v2_fungible_asset_activities::EventToCoinType, + db::postgres::models::fungible_asset_models::v2_fungible_asset_activities::EventToCoinType, schema::{coin_balances, current_coin_balances}, utils::util::standardize_address, }; diff --git a/rust/processor/src/db/common/models/coin_models/coin_infos.rs b/rust/processor/src/db/postgres/models/coin_models/coin_infos.rs similarity index 100% rename from rust/processor/src/db/common/models/coin_models/coin_infos.rs rename to rust/processor/src/db/postgres/models/coin_models/coin_infos.rs diff --git a/rust/processor/src/db/common/models/coin_models/coin_supply.rs b/rust/processor/src/db/postgres/models/coin_models/coin_supply.rs similarity index 91% rename from rust/processor/src/db/common/models/coin_models/coin_supply.rs rename to rust/processor/src/db/postgres/models/coin_models/coin_supply.rs index f3942dae8..01e8a77f2 100644 --- a/rust/processor/src/db/common/models/coin_models/coin_supply.rs +++ b/rust/processor/src/db/postgres/models/coin_models/coin_supply.rs @@ -6,7 +6,7 @@ #![allow(clippy::unused_unit)] use crate::{ - db::common::models::default_models::move_tables::TableItem, + db::common::models::default_models::raw_table_items::RawTableItem, schema::coin_supply, utils::util::{hash_str, APTOS_COIN_TYPE_STR}, }; @@ -53,8 +53,13 @@ impl CoinSupply { } // Convert to TableItem model. Some fields are just placeholders - let (table_item_model, _) = - TableItem::from_write_table_item(write_table_item, 0, txn_version, 0); + let table_item_model = RawTableItem::postgres_table_item_from_write_item( + write_table_item, + 0, + txn_version, + 0, + txn_timestamp, + ); // Return early if not aptos coin aggregator key let table_key = table_item_model.decoded_key.as_str().unwrap(); diff --git a/rust/processor/src/db/common/models/coin_models/coin_utils.rs b/rust/processor/src/db/postgres/models/coin_models/coin_utils.rs similarity index 98% rename from rust/processor/src/db/common/models/coin_models/coin_utils.rs rename to rust/processor/src/db/postgres/models/coin_models/coin_utils.rs index aeed74d2d..1c1b599dc 100644 --- a/rust/processor/src/db/common/models/coin_models/coin_utils.rs +++ b/rust/processor/src/db/postgres/models/coin_models/coin_utils.rs @@ -5,7 +5,7 @@ #![allow(clippy::extra_unused_lifetimes)] use crate::{ - db::common::models::default_models::move_resources::MoveResource, + db::postgres::models::{default_models::move_resources::MoveResource, resources::COIN_ADDR}, utils::util::{deserialize_from_string, hash_str, standardize_address, truncate_str}, }; use anyhow::{bail, Context, Result}; @@ -16,7 +16,6 @@ use regex::Regex; use serde::{Deserialize, Serialize}; use tracing::error; -pub const COIN_ADDR: &str = "0x0000000000000000000000000000000000000000000000000000000000000001"; const COIN_TYPE_HASH_LENGTH: usize = 5000; const COIN_TYPE_MAX: usize = 1000; diff --git a/rust/processor/src/db/common/models/coin_models/mod.rs b/rust/processor/src/db/postgres/models/coin_models/mod.rs similarity index 100% rename from rust/processor/src/db/common/models/coin_models/mod.rs rename to rust/processor/src/db/postgres/models/coin_models/mod.rs diff --git a/rust/processor/src/db/common/models/default_models/block_metadata_transactions.rs b/rust/processor/src/db/postgres/models/default_models/block_metadata_transactions.rs similarity index 100% rename from rust/processor/src/db/common/models/default_models/block_metadata_transactions.rs rename to rust/processor/src/db/postgres/models/default_models/block_metadata_transactions.rs diff --git a/rust/processor/src/db/postgres/models/default_models/mod.rs b/rust/processor/src/db/postgres/models/default_models/mod.rs new file mode 100644 index 000000000..aa0d98b09 --- /dev/null +++ b/rust/processor/src/db/postgres/models/default_models/mod.rs @@ -0,0 +1,6 @@ +// Copyright © Aptos Foundation +// SPDX-License-Identifier: Apache-2.0 + +pub mod block_metadata_transactions; +pub mod move_resources; +pub mod move_tables; diff --git a/rust/processor/src/db/common/models/default_models/move_resources.rs b/rust/processor/src/db/postgres/models/default_models/move_resources.rs similarity index 100% rename from rust/processor/src/db/common/models/default_models/move_resources.rs rename to rust/processor/src/db/postgres/models/default_models/move_resources.rs diff --git a/rust/processor/src/db/postgres/models/default_models/move_tables.rs b/rust/processor/src/db/postgres/models/default_models/move_tables.rs new file mode 100644 index 000000000..16294a088 --- /dev/null +++ b/rust/processor/src/db/postgres/models/default_models/move_tables.rs @@ -0,0 +1,76 @@ +// Copyright © Aptos Foundation +// SPDX-License-Identifier: Apache-2.0 + +#![allow(clippy::extra_unused_lifetimes)] + +use crate::{ + db::common::models::default_models::raw_table_items::{RawTableItem, TableItemConvertible}, + schema::{current_table_items, table_items, table_metadatas}, +}; +use aptos_protos::transaction::v1::WriteTableItem; +use field_count::FieldCount; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Debug, Deserialize, FieldCount, Identifiable, Insertable, Serialize)] +#[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 last_transaction_version: i64, + pub is_deleted: bool, +} + +#[derive(Clone, Debug, Deserialize, FieldCount, Identifiable, Insertable, Serialize)] +#[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, +} + +#[derive(Clone, Debug, Deserialize, FieldCount, Identifiable, Insertable, Serialize)] +#[diesel(primary_key(handle))] +#[diesel(table_name = table_metadatas)] +pub struct TableMetadata { + pub handle: String, + pub key_type: String, + pub value_type: String, +} + +impl TableItemConvertible for TableItem { + fn from_raw(raw_item: &RawTableItem) -> Self { + TableItem { + transaction_version: raw_item.txn_version, + write_set_change_index: raw_item.write_set_change_index, + transaction_block_height: raw_item.transaction_block_height, + key: raw_item.table_key.clone(), + table_handle: raw_item.table_handle.clone(), + decoded_key: serde_json::from_str(raw_item.decoded_key.as_str()).unwrap(), + decoded_value: raw_item + .decoded_value + .clone() + .map(|v| serde_json::from_str(v.as_str()).unwrap()), + is_deleted: raw_item.is_deleted, + } + } +} + +impl TableMetadata { + pub fn from_write_table_item(table_item: &WriteTableItem) -> Self { + Self { + handle: table_item.handle.to_string(), + key_type: table_item.data.as_ref().unwrap().key_type.clone(), + value_type: table_item.data.as_ref().unwrap().value_type.clone(), + } + } +} diff --git a/rust/processor/src/db/common/models/events_models/events.rs b/rust/processor/src/db/postgres/models/events_models/events.rs similarity index 100% rename from rust/processor/src/db/common/models/events_models/events.rs rename to rust/processor/src/db/postgres/models/events_models/events.rs diff --git a/rust/processor/src/db/common/models/events_models/mod.rs b/rust/processor/src/db/postgres/models/events_models/mod.rs similarity index 100% rename from rust/processor/src/db/common/models/events_models/mod.rs rename to rust/processor/src/db/postgres/models/events_models/mod.rs diff --git a/rust/processor/src/db/common/models/events_models/parquet_events.rs b/rust/processor/src/db/postgres/models/events_models/parquet_events.rs similarity index 100% rename from rust/processor/src/db/common/models/events_models/parquet_events.rs rename to rust/processor/src/db/postgres/models/events_models/parquet_events.rs diff --git a/rust/processor/src/db/common/models/fungible_asset_models/mod.rs b/rust/processor/src/db/postgres/models/fungible_asset_models/mod.rs similarity index 100% rename from rust/processor/src/db/common/models/fungible_asset_models/mod.rs rename to rust/processor/src/db/postgres/models/fungible_asset_models/mod.rs diff --git a/rust/processor/src/db/common/models/fungible_asset_models/parquet_coin_supply.rs b/rust/processor/src/db/postgres/models/fungible_asset_models/parquet_coin_supply.rs similarity index 92% rename from rust/processor/src/db/common/models/fungible_asset_models/parquet_coin_supply.rs rename to rust/processor/src/db/postgres/models/fungible_asset_models/parquet_coin_supply.rs index acc6936bb..016639246 100644 --- a/rust/processor/src/db/common/models/fungible_asset_models/parquet_coin_supply.rs +++ b/rust/processor/src/db/postgres/models/fungible_asset_models/parquet_coin_supply.rs @@ -7,7 +7,7 @@ use crate::{ bq_analytics::generic_parquet_processor::{GetTimeStamp, HasVersion, NamedTable}, - db::common::models::default_models::move_tables::TableItem, + db::common::models::default_models::raw_table_items::RawTableItem, utils::util::{hash_str, APTOS_COIN_TYPE_STR}, }; use allocative_derive::Allocative; @@ -70,8 +70,13 @@ impl CoinSupply { } // Convert to TableItem model. Some fields are just placeholders - let (table_item_model, _) = - TableItem::from_write_table_item(write_table_item, 0, txn_version, 0); + let table_item_model = RawTableItem::postgres_table_item_from_write_item( + write_table_item, + 0, + txn_version, + 0, + txn_timestamp, + ); // Return early if not aptos coin aggregator key let table_key = table_item_model.decoded_key.as_str().unwrap(); diff --git a/rust/processor/src/db/common/models/fungible_asset_models/parquet_v2_fungible_asset_activities.rs b/rust/processor/src/db/postgres/models/fungible_asset_models/parquet_v2_fungible_asset_activities.rs similarity index 99% rename from rust/processor/src/db/common/models/fungible_asset_models/parquet_v2_fungible_asset_activities.rs rename to rust/processor/src/db/postgres/models/fungible_asset_models/parquet_v2_fungible_asset_activities.rs index 922db71f7..d902b34bb 100644 --- a/rust/processor/src/db/common/models/fungible_asset_models/parquet_v2_fungible_asset_activities.rs +++ b/rust/processor/src/db/postgres/models/fungible_asset_models/parquet_v2_fungible_asset_activities.rs @@ -8,7 +8,7 @@ use super::v2_fungible_asset_utils::{FeeStatement, FungibleAssetEvent}; use crate::{ bq_analytics::generic_parquet_processor::{GetTimeStamp, HasVersion, NamedTable}, - db::common::models::{ + db::postgres::models::{ coin_models::{ coin_activities::CoinActivity, coin_utils::{CoinEvent, CoinInfoType, EventGuidResource}, diff --git a/rust/processor/src/db/common/models/fungible_asset_models/parquet_v2_fungible_asset_balances.rs b/rust/processor/src/db/postgres/models/fungible_asset_models/parquet_v2_fungible_asset_balances.rs similarity index 99% rename from rust/processor/src/db/common/models/fungible_asset_models/parquet_v2_fungible_asset_balances.rs rename to rust/processor/src/db/postgres/models/fungible_asset_models/parquet_v2_fungible_asset_balances.rs index 9fe62d32f..342a2dd6a 100644 --- a/rust/processor/src/db/common/models/fungible_asset_models/parquet_v2_fungible_asset_balances.rs +++ b/rust/processor/src/db/postgres/models/fungible_asset_models/parquet_v2_fungible_asset_balances.rs @@ -7,7 +7,7 @@ use crate::{ bq_analytics::generic_parquet_processor::{GetTimeStamp, HasVersion, NamedTable}, - db::common::models::{ + db::postgres::models::{ coin_models::coin_utils::{CoinInfoType, CoinResource}, fungible_asset_models::{ v2_fungible_asset_activities::EventToCoinType, @@ -17,6 +17,7 @@ use crate::{ v2_fungible_asset_utils::FungibleAssetStore, }, object_models::v2_object_utils::ObjectAggregatedDataMapping, + resources::FromWriteResource, token_v2_models::v2_token_utils::TokenStandard, }, utils::util::standardize_address, @@ -76,8 +77,7 @@ impl FungibleAssetBalance { txn_timestamp: chrono::NaiveDateTime, object_metadatas: &ObjectAggregatedDataMapping, ) -> anyhow::Result> { - if let Some(inner) = &FungibleAssetStore::from_write_resource(write_resource, txn_version)? - { + if let Some(inner) = &FungibleAssetStore::from_write_resource(write_resource)? { let storage_id = standardize_address(write_resource.address.as_str()); // Need to get the object of the store if let Some(object_data) = object_metadatas.get(&storage_id) { diff --git a/rust/processor/src/db/common/models/fungible_asset_models/v2_fungible_asset_activities.rs b/rust/processor/src/db/postgres/models/fungible_asset_models/v2_fungible_asset_activities.rs similarity index 99% rename from rust/processor/src/db/common/models/fungible_asset_models/v2_fungible_asset_activities.rs rename to rust/processor/src/db/postgres/models/fungible_asset_models/v2_fungible_asset_activities.rs index 29e625c52..75f3dbd58 100644 --- a/rust/processor/src/db/common/models/fungible_asset_models/v2_fungible_asset_activities.rs +++ b/rust/processor/src/db/postgres/models/fungible_asset_models/v2_fungible_asset_activities.rs @@ -7,7 +7,7 @@ use super::v2_fungible_asset_utils::{FeeStatement, FungibleAssetEvent}; use crate::{ - db::common::models::{ + db::postgres::models::{ coin_models::{ coin_activities::CoinActivity, coin_utils::{CoinEvent, CoinInfoType, EventGuidResource}, diff --git a/rust/processor/src/db/common/models/fungible_asset_models/v2_fungible_asset_balances.rs b/rust/processor/src/db/postgres/models/fungible_asset_models/v2_fungible_asset_balances.rs similarity index 99% rename from rust/processor/src/db/common/models/fungible_asset_models/v2_fungible_asset_balances.rs rename to rust/processor/src/db/postgres/models/fungible_asset_models/v2_fungible_asset_balances.rs index 41f9ffb18..e11f94ad4 100644 --- a/rust/processor/src/db/common/models/fungible_asset_models/v2_fungible_asset_balances.rs +++ b/rust/processor/src/db/postgres/models/fungible_asset_models/v2_fungible_asset_balances.rs @@ -9,9 +9,10 @@ use super::{ v2_fungible_asset_activities::EventToCoinType, v2_fungible_asset_utils::FungibleAssetStore, }; use crate::{ - db::common::models::{ + db::postgres::models::{ coin_models::coin_utils::{CoinInfoType, CoinResource}, object_models::v2_object_utils::ObjectAggregatedDataMapping, + resources::FromWriteResource, token_v2_models::v2_token_utils::{TokenStandard, V2_STANDARD}, }, schema::{ @@ -248,8 +249,7 @@ impl FungibleAssetBalance { txn_timestamp: chrono::NaiveDateTime, object_metadatas: &ObjectAggregatedDataMapping, ) -> anyhow::Result> { - if let Some(inner) = &FungibleAssetStore::from_write_resource(write_resource, txn_version)? - { + if let Some(inner) = &FungibleAssetStore::from_write_resource(write_resource)? { let storage_id = standardize_address(write_resource.address.as_str()); // Need to get the object of the store if let Some(object_data) = object_metadatas.get(&storage_id) { diff --git a/rust/processor/src/db/postgres/models/fungible_asset_models/v2_fungible_asset_utils.rs b/rust/processor/src/db/postgres/models/fungible_asset_models/v2_fungible_asset_utils.rs new file mode 100644 index 000000000..8bd504582 --- /dev/null +++ b/rust/processor/src/db/postgres/models/fungible_asset_models/v2_fungible_asset_utils.rs @@ -0,0 +1,265 @@ +// Copyright © Aptos Foundation +// SPDX-License-Identifier: Apache-2.0 + +// This is required because a diesel macro makes clippy sad +#![allow(clippy::extra_unused_lifetimes)] + +use crate::{ + db::postgres::models::{ + token_models::token_utils::URI_LENGTH, token_v2_models::v2_token_utils::ResourceReference, + }, + utils::util::{deserialize_from_string, truncate_str, Aggregator}, +}; +use anyhow::{Context, Result}; +use aptos_protos::transaction::v1::WriteResource; +use bigdecimal::BigDecimal; +use field_count::FieldCount; +use serde::{Deserialize, Serialize}; + +const FUNGIBLE_ASSET_LENGTH: usize = 32; +const FUNGIBLE_ASSET_SYMBOL: usize = 10; + +#[derive(Serialize, Deserialize, Debug, Clone)] +pub struct FeeStatement { + #[serde(deserialize_with = "deserialize_from_string")] + pub storage_fee_refund_octas: u64, +} + +impl FeeStatement { + pub fn from_event(data_type: &str, data: &str, txn_version: i64) -> Option { + if data_type == "0x1::transaction_fee::FeeStatement" { + let fee_statement: FeeStatement = serde_json::from_str(data).unwrap_or_else(|_| { + tracing::error!( + transaction_version = txn_version, + data = data, + "failed to parse event for fee statement" + ); + panic!(); + }); + Some(fee_statement) + } else { + None + } + } +} + +/* Section on fungible assets resources */ +#[derive(Serialize, Deserialize, Debug, Clone, FieldCount)] +pub struct FungibleAssetMetadata { + name: String, + symbol: String, + pub decimals: i32, + icon_uri: String, + project_uri: String, +} + +impl TryFrom<&WriteResource> for FungibleAssetMetadata { + type Error = anyhow::Error; + + fn try_from(write_resource: &WriteResource) -> anyhow::Result { + serde_json::from_str(write_resource.data.as_str()).map_err(anyhow::Error::msg) + } +} + +impl FungibleAssetMetadata { + pub fn get_name(&self) -> String { + truncate_str(&self.name, FUNGIBLE_ASSET_LENGTH) + } + + pub fn get_symbol(&self) -> String { + truncate_str(&self.symbol, FUNGIBLE_ASSET_SYMBOL) + } + + pub fn get_icon_uri(&self) -> String { + truncate_str(&self.icon_uri, URI_LENGTH) + } + + pub fn get_project_uri(&self) -> String { + truncate_str(&self.project_uri, URI_LENGTH) + } +} + +#[derive(Serialize, Deserialize, Debug, Clone)] +pub struct FungibleAssetStore { + pub metadata: ResourceReference, + #[serde(deserialize_with = "deserialize_from_string")] + pub balance: BigDecimal, + pub frozen: bool, +} + +impl TryFrom<&WriteResource> for FungibleAssetStore { + type Error = anyhow::Error; + + fn try_from(write_resource: &WriteResource) -> anyhow::Result { + serde_json::from_str(write_resource.data.as_str()).map_err(anyhow::Error::msg) + } +} + +#[derive(Serialize, Deserialize, Debug, Clone)] +pub struct FungibleAssetSupply { + #[serde(deserialize_with = "deserialize_from_string")] + pub current: BigDecimal, + pub maximum: OptionalBigDecimal, +} + +#[derive(Serialize, Deserialize, Debug, Clone)] +pub struct OptionalBigDecimal { + vec: Vec, +} + +#[derive(Serialize, Deserialize, Debug, Clone)] +struct BigDecimalWrapper(#[serde(deserialize_with = "deserialize_from_string")] pub BigDecimal); + +impl TryFrom<&WriteResource> for FungibleAssetSupply { + type Error = anyhow::Error; + + fn try_from(write_resource: &WriteResource) -> anyhow::Result { + serde_json::from_str(write_resource.data.as_str()).map_err(anyhow::Error::msg) + } +} + +impl FungibleAssetSupply { + pub fn get_maximum(&self) -> Option { + self.maximum.vec.first().map(|x| x.0.clone()) + } +} + +#[derive(Serialize, Deserialize, Debug, Clone)] +pub struct ConcurrentFungibleAssetSupply { + pub current: Aggregator, +} + +impl TryFrom<&WriteResource> for ConcurrentFungibleAssetSupply { + type Error = anyhow::Error; + + fn try_from(write_resource: &WriteResource) -> anyhow::Result { + serde_json::from_str(write_resource.data.as_str()).map_err(anyhow::Error::msg) + } +} + +#[derive(Serialize, Deserialize, Debug, Clone)] +pub struct ConcurrentFungibleAssetBalance { + pub balance: Aggregator, +} + +impl TryFrom<&WriteResource> for ConcurrentFungibleAssetBalance { + type Error = anyhow::Error; + + fn try_from(write_resource: &WriteResource) -> anyhow::Result { + serde_json::from_str(write_resource.data.as_str()).map_err(anyhow::Error::msg) + } +} + +#[derive(Serialize, Deserialize, Debug, Clone)] +pub struct DepositEvent { + #[serde(deserialize_with = "deserialize_from_string")] + pub amount: BigDecimal, +} + +#[derive(Serialize, Deserialize, Debug, Clone)] +pub struct WithdrawEvent { + #[serde(deserialize_with = "deserialize_from_string")] + pub amount: BigDecimal, +} + +#[derive(Serialize, Deserialize, Debug, Clone)] +pub struct FrozenEvent { + pub frozen: bool, +} + +#[derive(Serialize, Deserialize, Debug, Clone)] +pub struct DepositEventV2 { + pub store: String, + #[serde(deserialize_with = "deserialize_from_string")] + pub amount: BigDecimal, +} + +#[derive(Serialize, Deserialize, Debug, Clone)] +pub struct WithdrawEventV2 { + pub store: String, + #[serde(deserialize_with = "deserialize_from_string")] + pub amount: BigDecimal, +} + +#[derive(Serialize, Deserialize, Debug, Clone)] +pub struct FrozenEventV2 { + pub store: String, + pub frozen: bool, +} + +pub enum FungibleAssetEvent { + DepositEvent(DepositEvent), + WithdrawEvent(WithdrawEvent), + FrozenEvent(FrozenEvent), + DepositEventV2(DepositEventV2), + WithdrawEventV2(WithdrawEventV2), + FrozenEventV2(FrozenEventV2), +} + +impl FungibleAssetEvent { + pub fn from_event(data_type: &str, data: &str, txn_version: i64) -> Result> { + match data_type { + "0x1::fungible_asset::DepositEvent" => { + serde_json::from_str(data).map(|inner| Some(Self::DepositEvent(inner))) + }, + "0x1::fungible_asset::WithdrawEvent" => { + serde_json::from_str(data).map(|inner| Some(Self::WithdrawEvent(inner))) + }, + "0x1::fungible_asset::FrozenEvent" => { + serde_json::from_str(data).map(|inner| Some(Self::FrozenEvent(inner))) + }, + "0x1::fungible_asset::Deposit" => { + serde_json::from_str(data).map(|inner| Some(Self::DepositEventV2(inner))) + }, + "0x1::fungible_asset::Withdraw" => { + serde_json::from_str(data).map(|inner| Some(Self::WithdrawEventV2(inner))) + }, + "0x1::fungible_asset::Frozen" => { + serde_json::from_str(data).map(|inner| Some(Self::FrozenEventV2(inner))) + }, + _ => Ok(None), + } + .context(format!( + "version {} failed! failed to parse type {}, data {:?}", + txn_version, data_type, data + )) + } +} + +#[cfg(test)] +mod tests { + use super::*; + use crate::db::postgres::models::resources::V2FungibleAssetResource; + + #[test] + fn test_fungible_asset_supply_null() { + let test = r#"{"current": "0", "maximum": {"vec": []}}"#; + let test: serde_json::Value = serde_json::from_str(test).unwrap(); + let supply = serde_json::from_value(test) + .map(V2FungibleAssetResource::FungibleAssetSupply) + .unwrap(); + if let V2FungibleAssetResource::FungibleAssetSupply(supply) = supply { + assert_eq!(supply.current, BigDecimal::from(0)); + assert_eq!(supply.get_maximum(), None); + } else { + panic!("Wrong type") + } + } + + #[test] + fn test_fungible_asset_supply_nonnull() { + let test = r#"{"current": "100", "maximum": {"vec": ["5000"]}}"#; + let test: serde_json::Value = serde_json::from_str(test).unwrap(); + let supply = serde_json::from_value(test) + .map(V2FungibleAssetResource::FungibleAssetSupply) + .unwrap(); + if let V2FungibleAssetResource::FungibleAssetSupply(supply) = supply { + assert_eq!(supply.current, BigDecimal::from(100)); + assert_eq!(supply.get_maximum(), Some(BigDecimal::from(5000))); + } else { + panic!("Wrong type") + } + } + + // TODO: Add similar tests for ConcurrentFungibleAssetSupply. +} diff --git a/rust/processor/src/db/common/models/fungible_asset_models/v2_fungible_metadata.rs b/rust/processor/src/db/postgres/models/fungible_asset_models/v2_fungible_metadata.rs similarity index 98% rename from rust/processor/src/db/common/models/fungible_asset_models/v2_fungible_metadata.rs rename to rust/processor/src/db/postgres/models/fungible_asset_models/v2_fungible_metadata.rs index bf4ffebe8..5f4ad3079 100644 --- a/rust/processor/src/db/common/models/fungible_asset_models/v2_fungible_metadata.rs +++ b/rust/processor/src/db/postgres/models/fungible_asset_models/v2_fungible_metadata.rs @@ -7,9 +7,10 @@ use super::v2_fungible_asset_utils::FungibleAssetMetadata; use crate::{ - db::common::models::{ + db::postgres::models::{ coin_models::coin_utils::{CoinInfoType, CoinResource}, object_models::v2_object_utils::ObjectAggregatedDataMapping, + resources::FromWriteResource, token_v2_models::v2_token_utils::TokenStandard, }, schema::fungible_asset_metadata, @@ -56,9 +57,7 @@ impl FungibleAssetMetadataModel { txn_timestamp: chrono::NaiveDateTime, object_metadatas: &ObjectAggregatedDataMapping, ) -> anyhow::Result> { - if let Some(inner) = - &FungibleAssetMetadata::from_write_resource(write_resource, txn_version)? - { + if let Some(inner) = &FungibleAssetMetadata::from_write_resource(write_resource)? { // the new coin type let asset_type = standardize_address(&write_resource.address.to_string()); if let Some(object_metadata) = object_metadatas.get(&asset_type) { diff --git a/rust/processor/src/db/common/models/ledger_info.rs b/rust/processor/src/db/postgres/models/ledger_info.rs similarity index 100% rename from rust/processor/src/db/common/models/ledger_info.rs rename to rust/processor/src/db/postgres/models/ledger_info.rs diff --git a/rust/processor/src/db/postgres/models/mod.rs b/rust/processor/src/db/postgres/models/mod.rs new file mode 100644 index 000000000..6cd0614c1 --- /dev/null +++ b/rust/processor/src/db/postgres/models/mod.rs @@ -0,0 +1,19 @@ +// Copyright © Aptos Foundation +// SPDX-License-Identifier: Apache-2.0 + +pub mod account_transaction_models; +pub mod ans_models; +pub mod coin_models; +pub mod default_models; +pub mod events_models; +pub mod fungible_asset_models; +pub mod ledger_info; +pub mod object_models; +pub mod processor_status; +pub mod property_map; +pub mod resources; +pub mod stake_models; +pub mod token_models; +pub mod token_v2_models; +pub mod transaction_metadata_model; +pub mod user_transactions_models; diff --git a/rust/processor/src/db/common/models/object_models/mod.rs b/rust/processor/src/db/postgres/models/object_models/mod.rs similarity index 100% rename from rust/processor/src/db/common/models/object_models/mod.rs rename to rust/processor/src/db/postgres/models/object_models/mod.rs diff --git a/rust/processor/src/db/common/models/object_models/v2_object_utils.rs b/rust/processor/src/db/postgres/models/object_models/v2_object_utils.rs similarity index 70% rename from rust/processor/src/db/common/models/object_models/v2_object_utils.rs rename to rust/processor/src/db/postgres/models/object_models/v2_object_utils.rs index 617e98f00..f7e358bcb 100644 --- a/rust/processor/src/db/common/models/object_models/v2_object_utils.rs +++ b/rust/processor/src/db/postgres/models/object_models/v2_object_utils.rs @@ -6,15 +6,15 @@ #![allow(clippy::unused_unit)] use crate::{ - db::common::models::{ - default_models::move_resources::MoveResource, + db::postgres::models::{ fungible_asset_models::v2_fungible_asset_utils::{ ConcurrentFungibleAssetBalance, ConcurrentFungibleAssetSupply, FungibleAssetMetadata, FungibleAssetStore, FungibleAssetSupply, }, + resources::FromWriteResource, token_v2_models::v2_token_utils::{ AptosCollection, ConcurrentSupply, FixedSupply, PropertyMapModel, TokenIdentifiers, - TokenV2, TransferEvent, UnlimitedSupply, V2TokenResource, + TokenV2, TransferEvent, UnlimitedSupply, }, }, utils::util::{deserialize_from_string, standardize_address}, @@ -100,67 +100,49 @@ impl ObjectCore { } } +impl TryFrom<&WriteResource> for ObjectCore { + type Error = anyhow::Error; + + fn try_from(write_resource: &WriteResource) -> anyhow::Result { + serde_json::from_str(write_resource.data.as_str()).map_err(anyhow::Error::msg) + } +} + #[derive(Serialize, Deserialize, Debug, Clone)] pub struct ObjectWithMetadata { pub object_core: ObjectCore, pub state_key_hash: String, } -impl ObjectWithMetadata { - pub fn from_write_resource( - write_resource: &WriteResource, - txn_version: i64, - ) -> anyhow::Result> { - let type_str = MoveResource::get_outer_type_from_write_resource(write_resource); - if !V2TokenResource::is_resource_supported(type_str.as_str()) { - return Ok(None); - } - if let V2TokenResource::ObjectCore(inner) = V2TokenResource::from_resource( - &type_str, - &serde_json::from_str(write_resource.data.as_str()).unwrap(), - txn_version, - )? { - Ok(Some(Self { - object_core: inner, - state_key_hash: standardize_address( +impl FromWriteResource<'_> for ObjectWithMetadata { + fn from_write_resource(write_resource: &WriteResource) -> anyhow::Result> { + Ok( + ObjectCore::from_write_resource(write_resource)?.map(|object_core| { + let state_key_hash = standardize_address( hex::encode(write_resource.state_key_hash.as_slice()).as_str(), - ), - })) - } else { - Ok(None) - } + ); + Self { + object_core, + state_key_hash, + } + }), + ) } +} +impl ObjectWithMetadata { pub fn get_state_key_hash(&self) -> String { standardize_address(&self.state_key_hash) } } #[derive(Serialize, Deserialize, Debug, Clone)] -pub struct Untransferable {} - -impl Untransferable { - pub fn from_write_resource( - write_resource: &WriteResource, - txn_version: i64, - ) -> anyhow::Result> { - let type_str = MoveResource::get_outer_type_from_write_resource(write_resource); - if !V2TokenResource::is_resource_supported(type_str.as_str()) { - return Ok(None); - } - let resource = MoveResource::from_write_resource( - write_resource, - 0, // Placeholder, this isn't used anyway - txn_version, - 0, // Placeholder, this isn't used anyway - ); - - if let V2TokenResource::Untransferable(inner) = - V2TokenResource::from_resource(&type_str, resource.data.as_ref().unwrap(), txn_version)? - { - Ok(Some(inner)) - } else { - Ok(None) - } +pub struct Untransferable; + +impl TryFrom<&WriteResource> for Untransferable { + type Error = anyhow::Error; + + fn try_from(write_resource: &WriteResource) -> anyhow::Result { + serde_json::from_str(write_resource.data.as_str()).map_err(anyhow::Error::msg) } } diff --git a/rust/processor/src/db/common/models/object_models/v2_objects.rs b/rust/processor/src/db/postgres/models/object_models/v2_objects.rs similarity index 99% rename from rust/processor/src/db/common/models/object_models/v2_objects.rs rename to rust/processor/src/db/postgres/models/object_models/v2_objects.rs index 66d67cc63..e90ea1d90 100644 --- a/rust/processor/src/db/common/models/object_models/v2_objects.rs +++ b/rust/processor/src/db/postgres/models/object_models/v2_objects.rs @@ -7,7 +7,7 @@ use super::v2_object_utils::{CurrentObjectPK, ObjectAggregatedDataMapping}; use crate::{ - db::common::models::default_models::move_resources::MoveResource, + db::postgres::models::default_models::move_resources::MoveResource, schema::{current_objects, objects}, utils::{database::DbPoolConnection, util::standardize_address}, }; diff --git a/rust/processor/src/db/common/models/processor_status.rs b/rust/processor/src/db/postgres/models/processor_status.rs similarity index 100% rename from rust/processor/src/db/common/models/processor_status.rs rename to rust/processor/src/db/postgres/models/processor_status.rs diff --git a/rust/processor/src/db/common/models/property_map.rs b/rust/processor/src/db/postgres/models/property_map.rs similarity index 100% rename from rust/processor/src/db/common/models/property_map.rs rename to rust/processor/src/db/postgres/models/property_map.rs diff --git a/rust/processor/src/db/postgres/models/resources.rs b/rust/processor/src/db/postgres/models/resources.rs new file mode 100644 index 000000000..8610c895f --- /dev/null +++ b/rust/processor/src/db/postgres/models/resources.rs @@ -0,0 +1,212 @@ +// Copyright © Aptos Foundation +// SPDX-License-Identifier: Apache-2.0 + +use crate::db::postgres::models::{ + default_models::move_resources::MoveResource, + fungible_asset_models::v2_fungible_asset_utils::{ + ConcurrentFungibleAssetBalance, ConcurrentFungibleAssetSupply, FungibleAssetMetadata, + FungibleAssetStore, FungibleAssetSupply, + }, + object_models::v2_object_utils::{ObjectCore, Untransferable}, + token_v2_models::v2_token_utils::{ + AptosCollection, Collection, ConcurrentSupply, FixedSupply, PropertyMapModel, + TokenIdentifiers, TokenV2, UnlimitedSupply, + }, +}; +use anyhow::Result; +use aptos_protos::transaction::v1::WriteResource; +use const_format::formatcp; + +pub const COIN_ADDR: &str = "0x0000000000000000000000000000000000000000000000000000000000000001"; +pub const TOKEN_ADDR: &str = "0x0000000000000000000000000000000000000000000000000000000000000003"; +pub const TOKEN_V2_ADDR: &str = + "0x0000000000000000000000000000000000000000000000000000000000000004"; + +pub const TYPE_FUNGIBLE_ASSET_SUPPLY: &str = formatcp!("{COIN_ADDR}::fungible_asset::Supply"); +pub const TYPE_CONCURRENT_FUNGIBLE_ASSET_SUPPLY: &str = + formatcp!("{COIN_ADDR}::fungible_asset::ConcurrentSupply"); +pub const TYPE_FUNGIBLE_ASSET_METADATA: &str = formatcp!("{COIN_ADDR}::fungible_asset::Metadata"); +pub const TYPE_FUNGIBLE_ASSET_STORE: &str = formatcp!("{COIN_ADDR}::fungible_asset::FungibleStore"); +pub const TYPE_CONCURRENT_FUNGIBLE_ASSET_BALANCE: &str = + formatcp!("{COIN_ADDR}::fungible_asset::ConcurrentFungibleBalance"); + +pub const TYPE_OBJECT_CORE: &str = formatcp!("{COIN_ADDR}::object::ObjectCore"); +pub const TYPE_UNTRANSFERABLE: &str = formatcp!("{COIN_ADDR}::object::Untransferable"); +pub const TYPE_COLLECTION: &str = formatcp!("{TOKEN_V2_ADDR}::collection::Collection"); +pub const TYPE_CONCURRENT_SUPPLY: &str = formatcp!("{TOKEN_V2_ADDR}::collection::ConcurrentSupply"); +pub const TYPE_FIXED_SUPPLY: &str = formatcp!("{TOKEN_V2_ADDR}::collection::FixedSupply"); +pub const TYPE_UNLIMITED_SUPPLY: &str = formatcp!("{TOKEN_V2_ADDR}::collection::UnlimitedSupply"); +pub const TYPE_APOTS_COLLECTION: &str = formatcp!("{TOKEN_V2_ADDR}::aptos_token::AptosCollection"); +pub const TYPE_TOKEN_V2: &str = formatcp!("{TOKEN_V2_ADDR}::token::Token"); +pub const TYPE_TOKEN_IDENTIFIERS: &str = formatcp!("{TOKEN_V2_ADDR}::token::TokenIdentifiers"); +pub const TYPE_PROPERTY_MAP: &str = formatcp!("{TOKEN_V2_ADDR}::property_map::PropertyMap"); + +pub trait Resource { + fn type_str() -> &'static str; +} + +pub trait FromWriteResource<'a> { + fn from_write_resource(write_resource: &'a WriteResource) -> Result> + where + Self: Sized; +} + +impl<'a, T> FromWriteResource<'a> for T +where + T: TryFrom<&'a WriteResource, Error = anyhow::Error> + Resource, +{ + fn from_write_resource(write_resource: &'a WriteResource) -> Result> { + if MoveResource::get_outer_type_from_write_resource(write_resource) != Self::type_str() { + return Ok(None); + } + Ok(Some(write_resource.try_into()?)) + } +} + +pub enum V2FungibleAssetResource { + ConcurrentFungibleAssetBalance(ConcurrentFungibleAssetBalance), + ConcurrentFungibleAssetSupply(ConcurrentFungibleAssetSupply), + FungibleAssetMetadata(FungibleAssetMetadata), + FungibleAssetStore(FungibleAssetStore), + FungibleAssetSupply(FungibleAssetSupply), +} + +impl Resource for ConcurrentFungibleAssetBalance { + fn type_str() -> &'static str { + TYPE_CONCURRENT_FUNGIBLE_ASSET_BALANCE + } +} + +impl Resource for ConcurrentFungibleAssetSupply { + fn type_str() -> &'static str { + TYPE_CONCURRENT_FUNGIBLE_ASSET_SUPPLY + } +} + +impl Resource for FungibleAssetMetadata { + fn type_str() -> &'static str { + TYPE_FUNGIBLE_ASSET_METADATA + } +} + +impl Resource for FungibleAssetStore { + fn type_str() -> &'static str { + TYPE_FUNGIBLE_ASSET_STORE + } +} + +impl Resource for FungibleAssetSupply { + fn type_str() -> &'static str { + TYPE_FUNGIBLE_ASSET_SUPPLY + } +} + +impl V2FungibleAssetResource { + pub fn from_write_resource(write_resource: &WriteResource) -> Result> { + let type_str = MoveResource::get_outer_type_from_write_resource(write_resource); + Ok(Some(match type_str.as_str() { + TYPE_CONCURRENT_FUNGIBLE_ASSET_BALANCE => { + Self::ConcurrentFungibleAssetBalance(write_resource.try_into()?) + }, + TYPE_CONCURRENT_FUNGIBLE_ASSET_SUPPLY => { + Self::ConcurrentFungibleAssetSupply(write_resource.try_into()?) + }, + TYPE_FUNGIBLE_ASSET_METADATA => Self::FungibleAssetMetadata(write_resource.try_into()?), + TYPE_FUNGIBLE_ASSET_STORE => Self::FungibleAssetStore(write_resource.try_into()?), + TYPE_FUNGIBLE_ASSET_SUPPLY => Self::FungibleAssetSupply(write_resource.try_into()?), + _ => return Ok(None), + })) + } +} + +pub enum V2TokenResource { + AptosCollection(AptosCollection), + Collection(Collection), + ConcurrentSupply(ConcurrentSupply), + FixedSupply(FixedSupply), + ObjectCore(ObjectCore), + PropertyMapModel(PropertyMapModel), + TokenIdentifiers(TokenIdentifiers), + TokenV2(TokenV2), + UnlimitedSupply(UnlimitedSupply), + Untransferable(Untransferable), +} + +impl Resource for AptosCollection { + fn type_str() -> &'static str { + TYPE_APOTS_COLLECTION + } +} + +impl Resource for Collection { + fn type_str() -> &'static str { + TYPE_COLLECTION + } +} + +impl Resource for ConcurrentSupply { + fn type_str() -> &'static str { + TYPE_CONCURRENT_SUPPLY + } +} + +impl Resource for FixedSupply { + fn type_str() -> &'static str { + TYPE_FIXED_SUPPLY + } +} + +impl Resource for ObjectCore { + fn type_str() -> &'static str { + TYPE_OBJECT_CORE + } +} + +impl Resource for PropertyMapModel { + fn type_str() -> &'static str { + TYPE_PROPERTY_MAP + } +} + +impl Resource for TokenIdentifiers { + fn type_str() -> &'static str { + TYPE_TOKEN_IDENTIFIERS + } +} + +impl Resource for TokenV2 { + fn type_str() -> &'static str { + TYPE_TOKEN_V2 + } +} + +impl Resource for UnlimitedSupply { + fn type_str() -> &'static str { + TYPE_UNLIMITED_SUPPLY + } +} + +impl Resource for Untransferable { + fn type_str() -> &'static str { + TYPE_UNTRANSFERABLE + } +} + +impl V2TokenResource { + pub fn from_write_resource(write_resource: &WriteResource) -> Result> { + let type_str = MoveResource::get_outer_type_from_write_resource(write_resource); + Ok(Some(match type_str.as_str() { + TYPE_APOTS_COLLECTION => Self::AptosCollection(write_resource.try_into()?), + TYPE_COLLECTION => Self::Collection(write_resource.try_into()?), + TYPE_CONCURRENT_SUPPLY => Self::ConcurrentSupply(write_resource.try_into()?), + TYPE_FIXED_SUPPLY => Self::FixedSupply(write_resource.try_into()?), + TYPE_OBJECT_CORE => Self::ObjectCore(write_resource.try_into()?), + TYPE_PROPERTY_MAP => Self::PropertyMapModel(write_resource.try_into()?), + TYPE_TOKEN_IDENTIFIERS => Self::TokenIdentifiers(write_resource.try_into()?), + TYPE_TOKEN_V2 => Self::TokenV2(write_resource.try_into()?), + TYPE_UNLIMITED_SUPPLY => Self::UnlimitedSupply(write_resource.try_into()?), + TYPE_UNTRANSFERABLE => Self::Untransferable(write_resource.try_into()?), + _ => return Ok(None), + })) + } +} diff --git a/rust/processor/src/db/common/models/stake_models/current_delegated_voter.rs b/rust/processor/src/db/postgres/models/stake_models/current_delegated_voter.rs similarity index 99% rename from rust/processor/src/db/common/models/stake_models/current_delegated_voter.rs rename to rust/processor/src/db/postgres/models/stake_models/current_delegated_voter.rs index e87dcde71..c04343df1 100644 --- a/rust/processor/src/db/common/models/stake_models/current_delegated_voter.rs +++ b/rust/processor/src/db/postgres/models/stake_models/current_delegated_voter.rs @@ -147,6 +147,7 @@ impl CurrentDelegatedVoter { txn_version, 0, // placeholder active_pool_to_staking_pool, + txn_timestamp, ) .await? { diff --git a/rust/processor/src/db/common/models/stake_models/delegator_activities.rs b/rust/processor/src/db/postgres/models/stake_models/delegator_activities.rs similarity index 100% rename from rust/processor/src/db/common/models/stake_models/delegator_activities.rs rename to rust/processor/src/db/postgres/models/stake_models/delegator_activities.rs diff --git a/rust/processor/src/db/common/models/stake_models/delegator_balances.rs b/rust/processor/src/db/postgres/models/stake_models/delegator_balances.rs similarity index 95% rename from rust/processor/src/db/common/models/stake_models/delegator_balances.rs rename to rust/processor/src/db/postgres/models/stake_models/delegator_balances.rs index 54790f43b..d76feac0b 100644 --- a/rust/processor/src/db/common/models/stake_models/delegator_balances.rs +++ b/rust/processor/src/db/postgres/models/stake_models/delegator_balances.rs @@ -5,9 +5,15 @@ use super::delegator_pools::{DelegatorPool, DelegatorPoolBalanceMetadata, PoolBalanceMetadata}; use crate::{ - db::common::models::default_models::move_tables::TableItem, + db::{ + common::models::default_models::raw_table_items::RawTableItem, + postgres::models::default_models::move_tables::TableItem, + }, schema::{current_delegator_balances, delegator_balances}, - utils::{database::DbPoolConnection, util::standardize_address}, + utils::{ + database::DbPoolConnection, + util::{parse_timestamp, standardize_address}, + }, }; use ahash::AHashMap; use anyhow::Context; @@ -15,6 +21,7 @@ use aptos_protos::transaction::v1::{ write_set_change::Change, DeleteTableItem, Transaction, WriteResource, WriteTableItem, }; use bigdecimal::{BigDecimal, Zero}; +use chrono::NaiveDateTime; use diesel::prelude::*; use diesel_async::RunQueryDsl; use field_count::FieldCount; @@ -75,6 +82,7 @@ impl CurrentDelegatorBalance { txn_version: i64, write_set_change_index: i64, active_pool_to_staking_pool: &ShareToStakingPoolMapping, + block_timestamp: NaiveDateTime, ) -> anyhow::Result> { let table_handle = standardize_address(&write_table_item.handle.to_string()); // The mapping will tell us if the table item is an active share table @@ -83,8 +91,13 @@ impl CurrentDelegatorBalance { let delegator_address = standardize_address(&write_table_item.key.to_string()); // Convert to TableItem model. Some fields are just placeholders - let (table_item_model, _) = - TableItem::from_write_table_item(write_table_item, 0, txn_version, 0); + let table_item_model: TableItem = RawTableItem::postgres_table_item_from_write_item( + write_table_item, + 0, + txn_version, + 0, + block_timestamp, + ); let shares: BigDecimal = table_item_model .decoded_value @@ -136,6 +149,7 @@ impl CurrentDelegatorBalance { conn: &mut DbPoolConnection<'_>, query_retries: u32, query_retry_delay_ms: u64, + block_timestamp: chrono::NaiveDateTime, ) -> anyhow::Result> { let table_handle = standardize_address(&write_table_item.handle.to_string()); // The mapping will tell us if the table item belongs to an inactive pool @@ -171,8 +185,13 @@ impl CurrentDelegatorBalance { }; let delegator_address = standardize_address(&write_table_item.key.to_string()); // Convert to TableItem model. Some fields are just placeholders - let (table_item_model, _) = - TableItem::from_write_table_item(write_table_item, 0, txn_version, 0); + let table_item_model = RawTableItem::postgres_table_item_from_write_item( + write_table_item, + 0, + txn_version, + 0, + block_timestamp, + ); let shares: BigDecimal = table_item_model .decoded_value @@ -406,6 +425,7 @@ impl CurrentDelegatorBalance { let mut current_delegator_balances: CurrentDelegatorBalanceMap = AHashMap::new(); let mut delegator_balances = vec![]; let txn_version = transaction.version as i64; + let txn_timestamp = parse_timestamp(transaction.timestamp.as_ref().unwrap(), txn_version); let changes = &transaction.info.as_ref().unwrap().changes; // Do a first pass to get the mapping of active_share table handles to staking pool resource let txn_version = transaction.version as i64; @@ -463,6 +483,7 @@ impl CurrentDelegatorBalance { txn_version, index as i64, active_pool_to_staking_pool, + txn_timestamp, ) .await .unwrap() @@ -478,6 +499,7 @@ impl CurrentDelegatorBalance { conn, query_retries, query_retry_delay_ms, + txn_timestamp, ) .await .unwrap() diff --git a/rust/processor/src/db/common/models/stake_models/delegator_pools.rs b/rust/processor/src/db/postgres/models/stake_models/delegator_pools.rs similarity index 100% rename from rust/processor/src/db/common/models/stake_models/delegator_pools.rs rename to rust/processor/src/db/postgres/models/stake_models/delegator_pools.rs diff --git a/rust/processor/src/db/common/models/stake_models/mod.rs b/rust/processor/src/db/postgres/models/stake_models/mod.rs similarity index 100% rename from rust/processor/src/db/common/models/stake_models/mod.rs rename to rust/processor/src/db/postgres/models/stake_models/mod.rs diff --git a/rust/processor/src/db/common/models/stake_models/proposal_votes.rs b/rust/processor/src/db/postgres/models/stake_models/proposal_votes.rs similarity index 100% rename from rust/processor/src/db/common/models/stake_models/proposal_votes.rs rename to rust/processor/src/db/postgres/models/stake_models/proposal_votes.rs diff --git a/rust/processor/src/db/common/models/stake_models/stake_utils.rs b/rust/processor/src/db/postgres/models/stake_models/stake_utils.rs similarity index 99% rename from rust/processor/src/db/common/models/stake_models/stake_utils.rs rename to rust/processor/src/db/postgres/models/stake_models/stake_utils.rs index f623d3ffb..b3abae54d 100644 --- a/rust/processor/src/db/common/models/stake_models/stake_utils.rs +++ b/rust/processor/src/db/postgres/models/stake_models/stake_utils.rs @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 use crate::{ - db::common::models::{ + db::postgres::models::{ default_models::move_resources::MoveResource, token_models::token_utils::Table, }, utils::util::{deserialize_from_string, standardize_address}, diff --git a/rust/processor/src/db/common/models/stake_models/staking_pool_voter.rs b/rust/processor/src/db/postgres/models/stake_models/staking_pool_voter.rs similarity index 100% rename from rust/processor/src/db/common/models/stake_models/staking_pool_voter.rs rename to rust/processor/src/db/postgres/models/stake_models/staking_pool_voter.rs diff --git a/rust/processor/src/db/common/models/token_models/collection_datas.rs b/rust/processor/src/db/postgres/models/token_models/collection_datas.rs similarity index 100% rename from rust/processor/src/db/common/models/token_models/collection_datas.rs rename to rust/processor/src/db/postgres/models/token_models/collection_datas.rs diff --git a/rust/processor/src/db/common/models/token_models/mod.rs b/rust/processor/src/db/postgres/models/token_models/mod.rs similarity index 100% rename from rust/processor/src/db/common/models/token_models/mod.rs rename to rust/processor/src/db/postgres/models/token_models/mod.rs diff --git a/rust/processor/src/db/common/models/token_models/nft_points.rs b/rust/processor/src/db/postgres/models/token_models/nft_points.rs similarity index 100% rename from rust/processor/src/db/common/models/token_models/nft_points.rs rename to rust/processor/src/db/postgres/models/token_models/nft_points.rs diff --git a/rust/processor/src/db/common/models/token_models/token_activities.rs b/rust/processor/src/db/postgres/models/token_models/token_activities.rs similarity index 100% rename from rust/processor/src/db/common/models/token_models/token_activities.rs rename to rust/processor/src/db/postgres/models/token_models/token_activities.rs diff --git a/rust/processor/src/db/common/models/token_models/token_claims.rs b/rust/processor/src/db/postgres/models/token_models/token_claims.rs similarity index 100% rename from rust/processor/src/db/common/models/token_models/token_claims.rs rename to rust/processor/src/db/postgres/models/token_models/token_claims.rs diff --git a/rust/processor/src/db/common/models/token_models/token_datas.rs b/rust/processor/src/db/postgres/models/token_models/token_datas.rs similarity index 100% rename from rust/processor/src/db/common/models/token_models/token_datas.rs rename to rust/processor/src/db/postgres/models/token_models/token_datas.rs diff --git a/rust/processor/src/db/common/models/token_models/token_ownerships.rs b/rust/processor/src/db/postgres/models/token_models/token_ownerships.rs similarity index 100% rename from rust/processor/src/db/common/models/token_models/token_ownerships.rs rename to rust/processor/src/db/postgres/models/token_models/token_ownerships.rs diff --git a/rust/processor/src/db/common/models/token_models/token_utils.rs b/rust/processor/src/db/postgres/models/token_models/token_utils.rs similarity index 98% rename from rust/processor/src/db/common/models/token_models/token_utils.rs rename to rust/processor/src/db/postgres/models/token_models/token_utils.rs index aa2d74c18..49f967ffb 100644 --- a/rust/processor/src/db/common/models/token_models/token_utils.rs +++ b/rust/processor/src/db/postgres/models/token_models/token_utils.rs @@ -4,16 +4,18 @@ // This is required because a diesel macro makes clippy sad #![allow(clippy::extra_unused_lifetimes)] -use crate::utils::util::{ - deserialize_from_string, deserialize_property_map_from_bcs_hexstring, - deserialize_string_from_hexstring, hash_str, standardize_address, truncate_str, +use crate::{ + db::postgres::models::resources::TOKEN_ADDR, + utils::util::{ + deserialize_from_string, deserialize_property_map_from_bcs_hexstring, + deserialize_string_from_hexstring, hash_str, standardize_address, truncate_str, + }, }; use anyhow::{Context, Result}; use bigdecimal::BigDecimal; use serde::{Deserialize, Serialize}; use std::fmt::{self, Formatter}; -pub const TOKEN_ADDR: &str = "0x0000000000000000000000000000000000000000000000000000000000000003"; pub const NAME_LENGTH: usize = 128; pub const URI_LENGTH: usize = 512; diff --git a/rust/processor/src/db/common/models/token_models/tokens.rs b/rust/processor/src/db/postgres/models/token_models/tokens.rs similarity index 99% rename from rust/processor/src/db/common/models/token_models/tokens.rs rename to rust/processor/src/db/postgres/models/token_models/tokens.rs index 90c993e0b..99993ce7e 100644 --- a/rust/processor/src/db/common/models/token_models/tokens.rs +++ b/rust/processor/src/db/postgres/models/token_models/tokens.rs @@ -12,7 +12,7 @@ use super::{ token_utils::{TokenResource, TokenWriteSet}, }; use crate::{ - db::common::models::default_models::move_resources::MoveResource, + db::postgres::models::default_models::move_resources::MoveResource, schema::tokens, utils::{ counters::PROCESSOR_UNKNOWN_TYPE_COUNT, diff --git a/rust/processor/src/db/common/models/token_v2_models/mod.rs b/rust/processor/src/db/postgres/models/token_v2_models/mod.rs similarity index 100% rename from rust/processor/src/db/common/models/token_v2_models/mod.rs rename to rust/processor/src/db/postgres/models/token_v2_models/mod.rs diff --git a/rust/processor/src/db/common/models/token_v2_models/parquet_v2_collections.rs b/rust/processor/src/db/postgres/models/token_v2_models/parquet_v2_collections.rs similarity index 97% rename from rust/processor/src/db/common/models/token_v2_models/parquet_v2_collections.rs rename to rust/processor/src/db/postgres/models/token_v2_models/parquet_v2_collections.rs index 02510c419..9b3c31e9d 100644 --- a/rust/processor/src/db/common/models/token_v2_models/parquet_v2_collections.rs +++ b/rust/processor/src/db/postgres/models/token_v2_models/parquet_v2_collections.rs @@ -7,7 +7,7 @@ use crate::{ bq_analytics::generic_parquet_processor::{GetTimeStamp, HasVersion, NamedTable}, - db::common::models::{ + db::postgres::models::{ object_models::v2_object_utils::ObjectAggregatedDataMapping, token_models::{ collection_datas::CollectionData, @@ -77,11 +77,11 @@ impl CollectionV2 { txn_timestamp: chrono::NaiveDateTime, object_metadatas: &ObjectAggregatedDataMapping, ) -> anyhow::Result> { - let type_str = crate::db::common::models::default_models::move_resources::MoveResource::get_outer_type_from_write_resource(write_resource); + let type_str = crate::db::postgres::models::default_models::move_resources::MoveResource::get_outer_type_from_write_resource(write_resource); if !V2TokenResource::is_resource_supported(type_str.as_str()) { return Ok(None); } - let resource = crate::db::common::models::default_models::move_resources::MoveResource::from_write_resource( + let resource = crate::db::postgres::models::default_models::move_resources::MoveResource::from_write_resource( write_resource, 0, // Placeholder, this isn't used anyway txn_version, diff --git a/rust/processor/src/db/common/models/token_v2_models/parquet_v2_token_datas.rs b/rust/processor/src/db/postgres/models/token_v2_models/parquet_v2_token_datas.rs similarity index 99% rename from rust/processor/src/db/common/models/token_v2_models/parquet_v2_token_datas.rs rename to rust/processor/src/db/postgres/models/token_v2_models/parquet_v2_token_datas.rs index 0f06fc1d6..300abd189 100644 --- a/rust/processor/src/db/common/models/token_v2_models/parquet_v2_token_datas.rs +++ b/rust/processor/src/db/postgres/models/token_v2_models/parquet_v2_token_datas.rs @@ -7,8 +7,9 @@ use crate::{ bq_analytics::generic_parquet_processor::{GetTimeStamp, HasVersion, NamedTable}, - db::common::models::{ + db::postgres::models::{ object_models::v2_object_utils::ObjectAggregatedDataMapping, + resources::FromWriteResource, token_models::token_utils::TokenWriteSet, token_v2_models::{ v2_token_datas::CurrentTokenDataV2, @@ -71,7 +72,7 @@ impl TokenDataV2 { txn_timestamp: chrono::NaiveDateTime, object_metadatas: &ObjectAggregatedDataMapping, ) -> anyhow::Result> { - if let Some(inner) = &TokenV2::from_write_resource(write_resource, txn_version)? { + if let Some(inner) = &TokenV2::from_write_resource(write_resource)? { let token_data_id = standardize_address(&write_resource.address.to_string()); let mut token_name = inner.get_name_trunc(); let is_fungible_v2; diff --git a/rust/processor/src/db/common/models/token_v2_models/parquet_v2_token_ownerships.rs b/rust/processor/src/db/postgres/models/token_v2_models/parquet_v2_token_ownerships.rs similarity index 99% rename from rust/processor/src/db/common/models/token_v2_models/parquet_v2_token_ownerships.rs rename to rust/processor/src/db/postgres/models/token_v2_models/parquet_v2_token_ownerships.rs index 267d332c0..4c4315816 100644 --- a/rust/processor/src/db/common/models/token_v2_models/parquet_v2_token_ownerships.rs +++ b/rust/processor/src/db/postgres/models/token_v2_models/parquet_v2_token_ownerships.rs @@ -7,9 +7,10 @@ use crate::{ bq_analytics::generic_parquet_processor::{GetTimeStamp, HasVersion, NamedTable}, - db::common::models::{ + db::postgres::models::{ fungible_asset_models::parquet_v2_fungible_asset_balances::DEFAULT_AMOUNT_VALUE, object_models::v2_object_utils::{ObjectAggregatedDataMapping, ObjectWithMetadata}, + resources::FromWriteResource, token_models::{token_utils::TokenWriteSet, tokens::TableHandleToOwner}, token_v2_models::{ parquet_v2_token_datas::TokenDataV2, @@ -373,9 +374,7 @@ impl TokenOwnershipV2 { .get(&standardize_address(&token_data_id)) .is_some() { - if let Some(object) = - &ObjectWithMetadata::from_write_resource(write_resource, txn_version)? - { + if let Some(object) = &ObjectWithMetadata::from_write_resource(write_resource)? { let object_core = &object.object_core; let owner_address = object_core.get_owner_address(); let storage_id = token_data_id.clone(); diff --git a/rust/processor/src/db/common/models/token_v2_models/v1_token_royalty.rs b/rust/processor/src/db/postgres/models/token_v2_models/v1_token_royalty.rs similarity index 97% rename from rust/processor/src/db/common/models/token_v2_models/v1_token_royalty.rs rename to rust/processor/src/db/postgres/models/token_v2_models/v1_token_royalty.rs index f7e1cb124..e9b13825d 100644 --- a/rust/processor/src/db/common/models/token_v2_models/v1_token_royalty.rs +++ b/rust/processor/src/db/postgres/models/token_v2_models/v1_token_royalty.rs @@ -6,7 +6,8 @@ #![allow(clippy::unused_unit)] use crate::{ - db::common::models::token_models::token_utils::TokenWriteSet, schema::current_token_royalty_v1, + db::postgres::models::token_models::token_utils::TokenWriteSet, + schema::current_token_royalty_v1, }; use aptos_protos::transaction::v1::WriteTableItem; use bigdecimal::BigDecimal; diff --git a/rust/processor/src/db/common/models/token_v2_models/v2_collections.rs b/rust/processor/src/db/postgres/models/token_v2_models/v2_collections.rs similarity index 94% rename from rust/processor/src/db/common/models/token_v2_models/v2_collections.rs rename to rust/processor/src/db/postgres/models/token_v2_models/v2_collections.rs index 75cce2cd3..41a41dd24 100644 --- a/rust/processor/src/db/common/models/token_v2_models/v2_collections.rs +++ b/rust/processor/src/db/postgres/models/token_v2_models/v2_collections.rs @@ -5,11 +5,11 @@ #![allow(clippy::extra_unused_lifetimes)] #![allow(clippy::unused_unit)] -use super::v2_token_utils::{TokenStandard, V2TokenResource}; +use super::v2_token_utils::{Collection, TokenStandard}; use crate::{ - db::common::models::{ - default_models::move_resources::MoveResource, + db::postgres::models::{ object_models::v2_object_utils::ObjectAggregatedDataMapping, + resources::FromWriteResource, token_models::{ collection_datas::CollectionData, token_utils::{CollectionDataIdType, TokenWriteSet}, @@ -87,27 +87,13 @@ impl CollectionV2 { txn_timestamp: chrono::NaiveDateTime, object_metadatas: &ObjectAggregatedDataMapping, ) -> anyhow::Result> { - let type_str = MoveResource::get_outer_type_from_write_resource(write_resource); - if !V2TokenResource::is_resource_supported(type_str.as_str()) { - return Ok(None); - } - let resource = MoveResource::from_write_resource( - write_resource, - 0, // Placeholder, this isn't used anyway - txn_version, - 0, // Placeholder, this isn't used anyway - ); - - if let V2TokenResource::Collection(inner) = &V2TokenResource::from_resource( - &type_str, - resource.data.as_ref().unwrap(), - txn_version, - )? { + if let Some(inner) = Collection::from_write_resource(write_resource)? { let (mut current_supply, mut max_supply, mut total_minted_v2) = (BigDecimal::zero(), None, None); let (mut mutable_description, mut mutable_uri) = (None, None); let mut collection_properties = serde_json::Value::Null; - if let Some(object_data) = object_metadatas.get(&resource.address) { + let address = standardize_address(&write_resource.address); + if let Some(object_data) = object_metadatas.get(&address) { // Getting supply data (prefer fixed supply over unlimited supply although they should never appear at the same time anyway) let fixed_supply = object_data.fixed_supply.as_ref(); let unlimited_supply = object_data.unlimited_supply.as_ref(); @@ -157,7 +143,7 @@ impl CollectionV2 { return Ok(None); } - let collection_id = resource.address.clone(); + let collection_id = address; let creator_address = inner.get_creator_address(); let collection_name = inner.get_name_trunc(); let description = inner.description.clone(); diff --git a/rust/processor/src/db/common/models/token_v2_models/v2_token_activities.rs b/rust/processor/src/db/postgres/models/token_v2_models/v2_token_activities.rs similarity index 99% rename from rust/processor/src/db/common/models/token_v2_models/v2_token_activities.rs rename to rust/processor/src/db/postgres/models/token_v2_models/v2_token_activities.rs index 83ee38388..b76da7d5c 100644 --- a/rust/processor/src/db/common/models/token_v2_models/v2_token_activities.rs +++ b/rust/processor/src/db/postgres/models/token_v2_models/v2_token_activities.rs @@ -7,7 +7,7 @@ use super::v2_token_utils::{TokenStandard, V2TokenEvent}; use crate::{ - db::common::models::{ + db::postgres::models::{ object_models::v2_object_utils::ObjectAggregatedDataMapping, token_models::token_utils::{TokenDataIdType, TokenEvent}, }, diff --git a/rust/processor/src/db/common/models/token_v2_models/v2_token_datas.rs b/rust/processor/src/db/postgres/models/token_v2_models/v2_token_datas.rs similarity index 99% rename from rust/processor/src/db/common/models/token_v2_models/v2_token_datas.rs rename to rust/processor/src/db/postgres/models/token_v2_models/v2_token_datas.rs index 3be211eb0..577d23caa 100644 --- a/rust/processor/src/db/common/models/token_v2_models/v2_token_datas.rs +++ b/rust/processor/src/db/postgres/models/token_v2_models/v2_token_datas.rs @@ -7,8 +7,8 @@ use super::v2_token_utils::{TokenStandard, TokenV2, TokenV2Burned}; use crate::{ - db::common::models::{ - object_models::v2_object_utils::ObjectAggregatedDataMapping, + db::postgres::models::{ + object_models::v2_object_utils::ObjectAggregatedDataMapping, resources::FromWriteResource, token_models::token_utils::TokenWriteSet, }, schema::{current_token_datas_v2, token_datas_v2}, @@ -79,7 +79,7 @@ impl TokenDataV2 { txn_timestamp: chrono::NaiveDateTime, object_metadatas: &ObjectAggregatedDataMapping, ) -> anyhow::Result> { - if let Some(inner) = &TokenV2::from_write_resource(write_resource, txn_version)? { + if let Some(inner) = &TokenV2::from_write_resource(write_resource)? { let token_data_id = standardize_address(&write_resource.address.to_string()); let mut token_name = inner.get_name_trunc(); let is_fungible_v2; diff --git a/rust/processor/src/db/common/models/token_v2_models/v2_token_metadata.rs b/rust/processor/src/db/postgres/models/token_v2_models/v2_token_metadata.rs similarity index 94% rename from rust/processor/src/db/common/models/token_v2_models/v2_token_metadata.rs rename to rust/processor/src/db/postgres/models/token_v2_models/v2_token_metadata.rs index 0ed1b7cb7..c383bc07a 100644 --- a/rust/processor/src/db/common/models/token_v2_models/v2_token_metadata.rs +++ b/rust/processor/src/db/postgres/models/token_v2_models/v2_token_metadata.rs @@ -5,13 +5,12 @@ #![allow(clippy::extra_unused_lifetimes)] #![allow(clippy::unused_unit)] -use super::v2_token_utils::TOKEN_V2_ADDR; use crate::{ - db::common::models::{ - coin_models::coin_utils::COIN_ADDR, + db::postgres::models::{ default_models::move_resources::MoveResource, object_models::v2_object_utils::ObjectAggregatedDataMapping, - token_models::token_utils::{NAME_LENGTH, TOKEN_ADDR}, + resources::{COIN_ADDR, TOKEN_ADDR, TOKEN_V2_ADDR}, + token_models::token_utils::NAME_LENGTH, }, schema::current_token_v2_metadata, utils::util::{standardize_address, truncate_str}, diff --git a/rust/processor/src/db/common/models/token_v2_models/v2_token_ownerships.rs b/rust/processor/src/db/postgres/models/token_v2_models/v2_token_ownerships.rs similarity index 99% rename from rust/processor/src/db/common/models/token_v2_models/v2_token_ownerships.rs rename to rust/processor/src/db/postgres/models/token_v2_models/v2_token_ownerships.rs index 46cd57d11..d7228486f 100644 --- a/rust/processor/src/db/common/models/token_v2_models/v2_token_ownerships.rs +++ b/rust/processor/src/db/postgres/models/token_v2_models/v2_token_ownerships.rs @@ -10,8 +10,9 @@ use super::{ v2_token_utils::{TokenStandard, TokenV2Burned}, }; use crate::{ - db::common::models::{ + db::postgres::models::{ object_models::v2_object_utils::{ObjectAggregatedDataMapping, ObjectWithMetadata}, + resources::FromWriteResource, token_models::{token_utils::TokenWriteSet, tokens::TableHandleToOwner}, token_v2_models::v2_token_utils::DEFAULT_OWNER_ADDRESS, }, @@ -264,9 +265,7 @@ impl TokenOwnershipV2 { .get(&standardize_address(&token_data_id)) .is_some() { - if let Some(object) = - &ObjectWithMetadata::from_write_resource(write_resource, txn_version)? - { + if let Some(object) = &ObjectWithMetadata::from_write_resource(write_resource)? { let object_core = &object.object_core; let owner_address = object_core.get_owner_address(); let storage_id = token_data_id.clone(); diff --git a/rust/processor/src/db/postgres/models/token_v2_models/v2_token_utils.rs b/rust/processor/src/db/postgres/models/token_v2_models/v2_token_utils.rs new file mode 100644 index 000000000..5fac55943 --- /dev/null +++ b/rust/processor/src/db/postgres/models/token_v2_models/v2_token_utils.rs @@ -0,0 +1,403 @@ +// Copyright © Aptos Foundation +// SPDX-License-Identifier: Apache-2.0 + +// This is required because a diesel macro makes clippy sad +#![allow(clippy::extra_unused_lifetimes)] + +use crate::{ + db::postgres::models::{ + object_models::v2_object_utils::CurrentObjectPK, + token_models::token_utils::{NAME_LENGTH, URI_LENGTH}, + }, + utils::util::{ + deserialize_from_string, deserialize_token_object_property_map_from_bcs_hexstring, + standardize_address, truncate_str, Aggregator, AggregatorSnapshot, DerivedStringSnapshot, + }, +}; +use ahash::{AHashMap, AHashSet}; +use anyhow::{Context, Result}; +use aptos_protos::transaction::v1::{Event, WriteResource}; +use bigdecimal::BigDecimal; +use lazy_static::lazy_static; +use serde::{Deserialize, Serialize}; +use std::fmt::{self, Formatter}; + +pub const DEFAULT_OWNER_ADDRESS: &str = "unknown"; + +lazy_static! { + pub static ref V2_STANDARD: String = TokenStandard::V2.to_string(); +} + +/// Tracks all token related data in a hashmap for quick access (keyed on address of the object core) +/// Maps address to burn event. If it's an old event previous_owner will be empty +pub type TokenV2Burned = AHashMap; +pub type TokenV2Minted = AHashSet; + +/// Tracks which token standard a token / collection is built upon +#[derive(Serialize)] +pub enum TokenStandard { + V1, + V2, +} + +impl fmt::Display for TokenStandard { + fn fmt(&self, f: &mut Formatter) -> std::fmt::Result { + let res = match self { + TokenStandard::V1 => "v1", + TokenStandard::V2 => "v2", + }; + write!(f, "{}", res) + } +} + +/* Section on Collection / Token */ +#[derive(Serialize, Deserialize, Debug, Clone)] +pub struct Collection { + creator: String, + pub description: String, + // These are set to private because we should never get name or uri directly + name: String, + uri: String, +} + +impl Collection { + pub fn get_creator_address(&self) -> String { + standardize_address(&self.creator) + } + + pub fn get_uri_trunc(&self) -> String { + truncate_str(&self.uri, URI_LENGTH) + } + + pub fn get_name_trunc(&self) -> String { + truncate_str(&self.name, NAME_LENGTH) + } +} + +impl TryFrom<&WriteResource> for Collection { + type Error = anyhow::Error; + + fn try_from(write_resource: &WriteResource) -> anyhow::Result { + serde_json::from_str(write_resource.data.as_str()).map_err(anyhow::Error::msg) + } +} + +#[derive(Serialize, Deserialize, Debug, Clone)] +pub struct AptosCollection { + pub mutable_description: bool, + pub mutable_uri: bool, +} + +impl TryFrom<&WriteResource> for AptosCollection { + type Error = anyhow::Error; + + fn try_from(write_resource: &WriteResource) -> anyhow::Result { + serde_json::from_str(write_resource.data.as_str()).map_err(anyhow::Error::msg) + } +} + +#[derive(Serialize, Deserialize, Debug, Clone)] +pub struct TokenV2 { + collection: ResourceReference, + pub description: String, + // These are set to private because we should never get name or uri directly + name: String, + uri: String, +} + +impl TryFrom<&WriteResource> for TokenV2 { + type Error = anyhow::Error; + + fn try_from(write_resource: &WriteResource) -> anyhow::Result { + serde_json::from_str(write_resource.data.as_str()).map_err(anyhow::Error::msg) + } +} + +impl TokenV2 { + pub fn get_collection_address(&self) -> String { + self.collection.get_reference_address() + } + + pub fn get_uri_trunc(&self) -> String { + truncate_str(&self.uri, URI_LENGTH) + } + + pub fn get_name_trunc(&self) -> String { + truncate_str(&self.name, NAME_LENGTH) + } +} + +#[derive(Serialize, Deserialize, Debug, Clone)] +pub struct ResourceReference { + inner: String, +} + +impl ResourceReference { + pub fn get_reference_address(&self) -> String { + standardize_address(&self.inner) + } +} + +/* Section on Supply */ +#[derive(Serialize, Deserialize, Debug, Clone)] +pub struct FixedSupply { + #[serde(deserialize_with = "deserialize_from_string")] + pub current_supply: BigDecimal, + #[serde(deserialize_with = "deserialize_from_string")] + pub max_supply: BigDecimal, + #[serde(deserialize_with = "deserialize_from_string")] + pub total_minted: BigDecimal, +} + +impl TryFrom<&WriteResource> for FixedSupply { + type Error = anyhow::Error; + + fn try_from(write_resource: &WriteResource) -> anyhow::Result { + serde_json::from_str(write_resource.data.as_str()).map_err(anyhow::Error::msg) + } +} + +#[derive(Serialize, Deserialize, Debug, Clone)] +pub struct UnlimitedSupply { + #[serde(deserialize_with = "deserialize_from_string")] + pub current_supply: BigDecimal, + #[serde(deserialize_with = "deserialize_from_string")] + pub total_minted: BigDecimal, +} + +impl TryFrom<&WriteResource> for UnlimitedSupply { + type Error = anyhow::Error; + + fn try_from(write_resource: &WriteResource) -> anyhow::Result { + serde_json::from_str(write_resource.data.as_str()).map_err(anyhow::Error::msg) + } +} + +#[derive(Serialize, Deserialize, Debug, Clone)] +pub struct ConcurrentSupply { + pub current_supply: Aggregator, + pub total_minted: Aggregator, +} + +impl TryFrom<&WriteResource> for ConcurrentSupply { + type Error = anyhow::Error; + + fn try_from(write_resource: &WriteResource) -> anyhow::Result { + serde_json::from_str(write_resource.data.as_str()).map_err(anyhow::Error::msg) + } +} + +/* Section on Events */ +#[derive(Serialize, Deserialize, Debug, Clone)] +pub struct MintEvent { + #[serde(deserialize_with = "deserialize_from_string")] + pub index: BigDecimal, + token: String, +} + +impl MintEvent { + pub fn from_event(event: &Event, txn_version: i64) -> anyhow::Result> { + if let Some(V2TokenEvent::MintEvent(inner)) = + V2TokenEvent::from_event(event.type_str.as_str(), &event.data, txn_version).unwrap() + { + Ok(Some(inner)) + } else { + Ok(None) + } + } + + pub fn get_token_address(&self) -> String { + standardize_address(&self.token) + } +} + +#[derive(Serialize, Deserialize, Debug, Clone)] +pub struct Mint { + collection: String, + pub index: AggregatorSnapshot, + token: String, +} + +impl Mint { + pub fn get_token_address(&self) -> String { + standardize_address(&self.token) + } +} + +#[derive(Serialize, Deserialize, Debug, Clone)] +pub struct TokenMutationEvent { + pub mutated_field_name: String, + pub old_value: String, + pub new_value: String, +} + +#[derive(Serialize, Deserialize, Debug, Clone)] +pub struct BurnEvent { + #[serde(deserialize_with = "deserialize_from_string")] + pub index: BigDecimal, + token: String, +} + +impl BurnEvent { + pub fn from_event(event: &Event, txn_version: i64) -> anyhow::Result> { + if let Some(V2TokenEvent::BurnEvent(inner)) = + V2TokenEvent::from_event(event.type_str.as_str(), &event.data, txn_version).unwrap() + { + Ok(Some(inner)) + } else { + Ok(None) + } + } + + pub fn get_token_address(&self) -> String { + standardize_address(&self.token) + } +} + +#[derive(Serialize, Deserialize, Debug, Clone)] +pub struct Burn { + collection: String, + token: String, + previous_owner: String, +} + +impl Burn { + pub fn new(collection: String, token: String, previous_owner: String) -> Self { + Burn { + collection, + token, + previous_owner, + } + } + + pub fn from_event(event: &Event, txn_version: i64) -> anyhow::Result> { + if let Some(V2TokenEvent::Burn(inner)) = + V2TokenEvent::from_event(event.type_str.as_str(), &event.data, txn_version).unwrap() + { + Ok(Some(inner)) + } else { + Ok(None) + } + } + + pub fn get_token_address(&self) -> String { + standardize_address(&self.token) + } + + pub fn get_previous_owner_address(&self) -> Option { + if self.previous_owner.is_empty() { + None + } else { + Some(standardize_address(&self.previous_owner)) + } + } + + pub fn get_collection_address(&self) -> String { + standardize_address(&self.collection) + } +} + +#[derive(Serialize, Deserialize, Debug, Clone)] +pub struct TransferEvent { + from: String, + to: String, + object: String, +} + +impl TransferEvent { + pub fn from_event(event: &Event, txn_version: i64) -> anyhow::Result> { + if let Some(V2TokenEvent::TransferEvent(inner)) = + V2TokenEvent::from_event(event.type_str.as_str(), &event.data, txn_version).unwrap() + { + Ok(Some(inner)) + } else { + Ok(None) + } + } + + pub fn get_from_address(&self) -> String { + standardize_address(&self.from) + } + + pub fn get_to_address(&self) -> String { + standardize_address(&self.to) + } + + pub fn get_object_address(&self) -> String { + standardize_address(&self.object) + } +} + +/* Section on Property Maps */ +#[derive(Serialize, Deserialize, Debug, Clone)] +pub struct PropertyMapModel { + #[serde(deserialize_with = "deserialize_token_object_property_map_from_bcs_hexstring")] + pub inner: serde_json::Value, +} + +impl TryFrom<&WriteResource> for PropertyMapModel { + type Error = anyhow::Error; + + fn try_from(write_resource: &WriteResource) -> anyhow::Result { + serde_json::from_str(write_resource.data.as_str()).map_err(anyhow::Error::msg) + } +} + +#[derive(Serialize, Deserialize, Debug, Clone)] +pub struct TokenIdentifiers { + name: DerivedStringSnapshot, +} + +impl TryFrom<&WriteResource> for TokenIdentifiers { + type Error = anyhow::Error; + + fn try_from(write_resource: &WriteResource) -> anyhow::Result { + serde_json::from_str(write_resource.data.as_str()).map_err(anyhow::Error::msg) + } +} + +impl TokenIdentifiers { + pub fn get_name_trunc(&self) -> String { + truncate_str(&self.name.value, NAME_LENGTH) + } +} + +#[derive(Serialize, Deserialize, Debug, Clone)] +pub enum V2TokenEvent { + Mint(Mint), + MintEvent(MintEvent), + TokenMutationEvent(TokenMutationEvent), + Burn(Burn), + BurnEvent(BurnEvent), + TransferEvent(TransferEvent), +} + +impl V2TokenEvent { + pub fn from_event(data_type: &str, data: &str, txn_version: i64) -> Result> { + match data_type { + "0x4::collection::Mint" => { + serde_json::from_str(data).map(|inner| Some(Self::Mint(inner))) + }, + "0x4::collection::MintEvent" => { + serde_json::from_str(data).map(|inner| Some(Self::MintEvent(inner))) + }, + "0x4::token::MutationEvent" => { + serde_json::from_str(data).map(|inner| Some(Self::TokenMutationEvent(inner))) + }, + "0x4::collection::Burn" => { + serde_json::from_str(data).map(|inner| Some(Self::Burn(inner))) + }, + "0x4::collection::BurnEvent" => { + serde_json::from_str(data).map(|inner| Some(Self::BurnEvent(inner))) + }, + "0x1::object::TransferEvent" => { + serde_json::from_str(data).map(|inner| Some(Self::TransferEvent(inner))) + }, + _ => Ok(None), + } + .context(format!( + "version {} failed! failed to parse type {}, data {:?}", + txn_version, data_type, data + )) + } +} diff --git a/rust/processor/src/db/common/models/transaction_metadata_model/event_size_info.rs b/rust/processor/src/db/postgres/models/transaction_metadata_model/event_size_info.rs similarity index 100% rename from rust/processor/src/db/common/models/transaction_metadata_model/event_size_info.rs rename to rust/processor/src/db/postgres/models/transaction_metadata_model/event_size_info.rs diff --git a/rust/processor/src/db/common/models/transaction_metadata_model/mod.rs b/rust/processor/src/db/postgres/models/transaction_metadata_model/mod.rs similarity index 100% rename from rust/processor/src/db/common/models/transaction_metadata_model/mod.rs rename to rust/processor/src/db/postgres/models/transaction_metadata_model/mod.rs diff --git a/rust/processor/src/db/common/models/transaction_metadata_model/parquet_write_set_size_info.rs b/rust/processor/src/db/postgres/models/transaction_metadata_model/parquet_write_set_size_info.rs similarity index 100% rename from rust/processor/src/db/common/models/transaction_metadata_model/parquet_write_set_size_info.rs rename to rust/processor/src/db/postgres/models/transaction_metadata_model/parquet_write_set_size_info.rs diff --git a/rust/processor/src/db/common/models/transaction_metadata_model/transaction_size_info.rs b/rust/processor/src/db/postgres/models/transaction_metadata_model/transaction_size_info.rs similarity index 100% rename from rust/processor/src/db/common/models/transaction_metadata_model/transaction_size_info.rs rename to rust/processor/src/db/postgres/models/transaction_metadata_model/transaction_size_info.rs diff --git a/rust/processor/src/db/common/models/transaction_metadata_model/write_set_size_info.rs b/rust/processor/src/db/postgres/models/transaction_metadata_model/write_set_size_info.rs similarity index 100% rename from rust/processor/src/db/common/models/transaction_metadata_model/write_set_size_info.rs rename to rust/processor/src/db/postgres/models/transaction_metadata_model/write_set_size_info.rs diff --git a/rust/processor/src/db/common/models/user_transactions_models/mod.rs b/rust/processor/src/db/postgres/models/user_transactions_models/mod.rs similarity index 100% rename from rust/processor/src/db/common/models/user_transactions_models/mod.rs rename to rust/processor/src/db/postgres/models/user_transactions_models/mod.rs diff --git a/rust/processor/src/db/common/models/user_transactions_models/parquet_signatures.rs b/rust/processor/src/db/postgres/models/user_transactions_models/parquet_signatures.rs similarity index 100% rename from rust/processor/src/db/common/models/user_transactions_models/parquet_signatures.rs rename to rust/processor/src/db/postgres/models/user_transactions_models/parquet_signatures.rs diff --git a/rust/processor/src/db/common/models/user_transactions_models/parquet_user_transactions.rs b/rust/processor/src/db/postgres/models/user_transactions_models/parquet_user_transactions.rs similarity index 96% rename from rust/processor/src/db/common/models/user_transactions_models/parquet_user_transactions.rs rename to rust/processor/src/db/postgres/models/user_transactions_models/parquet_user_transactions.rs index eafc2a7c3..4adeb71ca 100644 --- a/rust/processor/src/db/common/models/user_transactions_models/parquet_user_transactions.rs +++ b/rust/processor/src/db/postgres/models/user_transactions_models/parquet_user_transactions.rs @@ -10,7 +10,7 @@ use super::parquet_signatures::Signature; use crate::{ bq_analytics::generic_parquet_processor::{GetTimeStamp, HasVersion, NamedTable}, - db::common::models::fungible_asset_models::v2_fungible_asset_utils::FeeStatement, + db::postgres::models::fungible_asset_models::v2_fungible_asset_utils::FeeStatement, utils::util::{get_entry_function_from_user_request, parse_timestamp, standardize_address}, }; use allocative::Allocative; @@ -37,7 +37,7 @@ pub struct UserTransaction { pub expiration_timestamp_secs: u64, pub parent_signature_type: String, pub gas_fee_payer_address: Option, - pub gas_used_octa: u64, + pub gas_used_unit: u64, pub gas_unit_price: u64, pub max_gas_octa: u64, pub storage_refund_octa: u64, @@ -105,7 +105,7 @@ impl UserTransaction { entry_function_id_str: get_entry_function_from_user_request(user_request) .unwrap_or_default(), epoch, - gas_used_octa: txn_info.gas_used, + gas_used_unit: txn_info.gas_used, gas_fee_payer_address, is_transaction_success: txn_info.success, storage_refund_octa: fee_statement diff --git a/rust/processor/src/db/common/models/user_transactions_models/signatures.rs b/rust/processor/src/db/postgres/models/user_transactions_models/signatures.rs similarity index 100% rename from rust/processor/src/db/common/models/user_transactions_models/signatures.rs rename to rust/processor/src/db/postgres/models/user_transactions_models/signatures.rs diff --git a/rust/processor/src/db/common/models/user_transactions_models/user_transactions.rs b/rust/processor/src/db/postgres/models/user_transactions_models/user_transactions.rs similarity index 100% rename from rust/processor/src/db/common/models/user_transactions_models/user_transactions.rs rename to rust/processor/src/db/postgres/models/user_transactions_models/user_transactions.rs diff --git a/rust/processor/src/processors/account_transactions_processor.rs b/rust/processor/src/processors/account_transactions_processor.rs index f7ac33db2..6fd7f57d9 100644 --- a/rust/processor/src/processors/account_transactions_processor.rs +++ b/rust/processor/src/processors/account_transactions_processor.rs @@ -3,7 +3,7 @@ use super::{DefaultProcessingResult, ProcessorName, ProcessorTrait}; use crate::{ - db::common::models::account_transaction_models::account_transactions::AccountTransaction, + db::postgres::models::account_transaction_models::account_transactions::AccountTransaction, gap_detectors::ProcessingResult, schema, utils::database::{execute_in_chunks, get_config_table_chunk_size, ArcDbPool}, diff --git a/rust/processor/src/processors/ans_processor.rs b/rust/processor/src/processors/ans_processor.rs index f03ae8068..f5dd3b1ab 100644 --- a/rust/processor/src/processors/ans_processor.rs +++ b/rust/processor/src/processors/ans_processor.rs @@ -3,7 +3,7 @@ use super::{DefaultProcessingResult, ProcessorName, ProcessorTrait}; use crate::{ - db::common::models::ans_models::{ + db::postgres::models::ans_models::{ ans_lookup::{AnsLookup, AnsPrimaryName, CurrentAnsLookup, CurrentAnsPrimaryName}, ans_lookup_v2::{ AnsLookupV2, AnsPrimaryNameV2, CurrentAnsLookupV2, CurrentAnsPrimaryNameV2, diff --git a/rust/processor/src/processors/default_processor.rs b/rust/processor/src/processors/default_processor.rs index 86da47c4c..6e37814c1 100644 --- a/rust/processor/src/processors/default_processor.rs +++ b/rust/processor/src/processors/default_processor.rs @@ -3,9 +3,12 @@ use super::{DefaultProcessingResult, ProcessorName, ProcessorTrait}; use crate::{ - db::common::models::default_models::{ - block_metadata_transactions::BlockMetadataTransactionModel, - move_tables::{CurrentTableItem, TableItem, TableMetadata}, + db::{ + common::models::default_models::raw_table_items::{RawTableItem, TableItemConvertible}, + postgres::models::default_models::{ + block_metadata_transactions::BlockMetadataTransactionModel, + move_tables::{CurrentTableItem, TableItem, TableMetadata}, + }, }, gap_detectors::ProcessingResult, schema, @@ -215,11 +218,25 @@ impl ProcessorTrait for DefaultProcessor { ) -> anyhow::Result { let processing_start = std::time::Instant::now(); let last_transaction_timestamp = transactions.last().unwrap().timestamp.clone(); - let flags = self.deprecated_tables; - let (block_metadata_transactions, table_items, current_table_items, table_metadata) = - tokio::task::spawn_blocking(move || process_transactions(transactions, flags)) + + let (block_metadata_transactions, raw_table_items, current_table_items, mut table_metadata) = + tokio::task::spawn_blocking(move || process_transactions(transactions)) .await .expect("Failed to spawn_blocking for TransactionModel::from_transactions"); + + let mut postgres_table_items: Vec = + raw_table_items.iter().map(TableItem::from_raw).collect(); + + let flags = self.deprecated_tables; + // TODO: remove this, since we are not going to deprecate this anytime soon? + if flags.contains(TableFlags::TABLE_ITEMS) { + postgres_table_items.clear(); + } + // TODO: migrate to Parquet + if flags.contains(TableFlags::TABLE_METADATAS) { + table_metadata.clear(); + } + let processing_duration_in_secs = processing_start.elapsed().as_secs_f64(); let db_insertion_start = std::time::Instant::now(); @@ -229,7 +246,7 @@ impl ProcessorTrait for DefaultProcessor { start_version, end_version, &block_metadata_transactions, - (&table_items, ¤t_table_items, &table_metadata), + (&postgres_table_items, ¤t_table_items, &table_metadata), &self.per_table_chunk_sizes, ) .await; @@ -238,7 +255,7 @@ impl ProcessorTrait for DefaultProcessor { // make it faster. tokio::task::spawn(async move { drop(block_metadata_transactions); - drop(table_items); + drop(postgres_table_items); drop(current_table_items); drop(table_metadata); }); @@ -272,6 +289,7 @@ impl ProcessorTrait for DefaultProcessor { } } +// TODO: we can further optimize this by passing in a falg to selectively parse only the required data (e.g. table_items for parquet) /// Processes a list of transactions and extracts relevant data into different models. /// /// This function iterates over a list of transactions, extracting block metadata transactions, @@ -283,7 +301,6 @@ impl ProcessorTrait for DefaultProcessor { /// # Arguments /// /// * `transactions` - A vector of `Transaction` objects to be processed. -/// * `flags` - A `TableFlags` object that determines which tables to clear after processing. /// /// # Returns /// @@ -294,10 +311,9 @@ impl ProcessorTrait for DefaultProcessor { /// * `Vec` - A vector of table metadata, sorted by primary key. pub fn process_transactions( transactions: Vec, - flags: TableFlags, ) -> ( Vec, - Vec, + Vec, Vec, Vec, ) { @@ -318,6 +334,10 @@ pub fn process_transactions( .info .as_ref() .expect("Transaction info doesn't exist!"); + + #[allow(deprecated)] + let block_timestamp = chrono::NaiveDateTime::from_timestamp_opt(timestamp.seconds, 0) + .expect("Txn Timestamp is invalid!"); let txn_data = match transaction.txn_data.as_ref() { Some(txn_data) => txn_data, None => { @@ -349,11 +369,12 @@ pub fn process_transactions( .expect("WriteSetChange must have a change") { WriteSetChangeEnum::WriteTableItem(inner) => { - let (ti, cti) = TableItem::from_write_table_item( + let (ti, cti) = RawTableItem::from_write_table_item( inner, index as i64, version, block_height, + block_timestamp, ); table_items.push(ti); current_table_items.insert( @@ -366,11 +387,12 @@ pub fn process_transactions( ); }, WriteSetChangeEnum::DeleteTableItem(inner) => { - let (ti, cti) = TableItem::from_delete_table_item( + let (ti, cti) = RawTableItem::from_delete_table_item( inner, index as i64, version, block_height, + block_timestamp, ); table_items.push(ti); current_table_items @@ -391,13 +413,6 @@ pub fn process_transactions( .sort_by(|a, b| (&a.table_handle, &a.key_hash).cmp(&(&b.table_handle, &b.key_hash))); table_metadata.sort_by(|a, b| a.handle.cmp(&b.handle)); - if flags.contains(TableFlags::TABLE_ITEMS) { - table_items.clear(); - } - if flags.contains(TableFlags::TABLE_METADATAS) { - table_metadata.clear(); - } - ( block_metadata_transactions, table_items, diff --git a/rust/processor/src/processors/events_processor.rs b/rust/processor/src/processors/events_processor.rs index 9956d2c7b..cbf196412 100644 --- a/rust/processor/src/processors/events_processor.rs +++ b/rust/processor/src/processors/events_processor.rs @@ -3,7 +3,7 @@ use super::{DefaultProcessingResult, ProcessorName, ProcessorTrait}; use crate::{ - db::common::models::events_models::events::EventModel, + db::postgres::models::events_models::events::EventModel, gap_detectors::ProcessingResult, schema, utils::{ diff --git a/rust/processor/src/processors/fungible_asset_processor.rs b/rust/processor/src/processors/fungible_asset_processor.rs index 2b288d7bf..1c26015dd 100644 --- a/rust/processor/src/processors/fungible_asset_processor.rs +++ b/rust/processor/src/processors/fungible_asset_processor.rs @@ -3,7 +3,7 @@ use super::{DefaultProcessingResult, ProcessorName, ProcessorTrait}; use crate::{ - db::common::models::{ + db::postgres::models::{ coin_models::coin_supply::CoinSupply, fungible_asset_models::{ v2_fungible_asset_activities::{EventToCoinType, FungibleAssetActivity}, @@ -11,15 +11,13 @@ use crate::{ CurrentFungibleAssetBalance, CurrentFungibleAssetMapping, CurrentUnifiedFungibleAssetBalance, FungibleAssetBalance, }, - v2_fungible_asset_utils::{ - ConcurrentFungibleAssetBalance, ConcurrentFungibleAssetSupply, FeeStatement, - FungibleAssetMetadata, FungibleAssetStore, FungibleAssetSupply, - }, + v2_fungible_asset_utils::FeeStatement, v2_fungible_metadata::{FungibleAssetMetadataMapping, FungibleAssetMetadataModel}, }, object_models::v2_object_utils::{ ObjectAggregatedData, ObjectAggregatedDataMapping, ObjectWithMetadata, Untransferable, }, + resources::{FromWriteResource, V2FungibleAssetResource}, }, gap_detectors::ProcessingResult, schema, @@ -527,9 +525,7 @@ pub async fn parse_v2_coin( // Need to do a first pass to get all the object addresses and insert them into the helper for wsc in transaction_info.changes.iter() { if let Change::WriteResource(wr) = wsc.change.as_ref().unwrap() { - if let Some(object) = - ObjectWithMetadata::from_write_resource(wr, txn_version).unwrap() - { + if let Some(object) = ObjectWithMetadata::from_write_resource(wr).unwrap() { fungible_asset_object_helper.insert( standardize_address(&wr.address.to_string()), ObjectAggregatedData { @@ -562,47 +558,44 @@ pub async fn parse_v2_coin( // The data will be used to reconstruct the full data in Loop 4. let address = standardize_address(&write_resource.address.to_string()); if let Some(aggregated_data) = fungible_asset_object_helper.get_mut(&address) { - if let Some(fungible_asset_metadata) = - FungibleAssetMetadata::from_write_resource(write_resource, txn_version) - .unwrap() - { - aggregated_data.fungible_asset_metadata = Some(fungible_asset_metadata); - } - if let Some(fungible_asset_store) = - FungibleAssetStore::from_write_resource(write_resource, txn_version) - .unwrap() - { - aggregated_data.fungible_asset_store = Some(fungible_asset_store); - } - if let Some(fungible_asset_supply) = - FungibleAssetSupply::from_write_resource(write_resource, txn_version) - .unwrap() - { - aggregated_data.fungible_asset_supply = Some(fungible_asset_supply); - } - if let Some(concurrent_fungible_asset_supply) = - ConcurrentFungibleAssetSupply::from_write_resource( - write_resource, - txn_version, - ) - .unwrap() - { - aggregated_data.concurrent_fungible_asset_supply = - Some(concurrent_fungible_asset_supply); - } - if let Some(concurrent_fungible_asset_balance) = - ConcurrentFungibleAssetBalance::from_write_resource( - write_resource, - txn_version, - ) - .unwrap() + if let Some(v2_fungible_asset_resource) = + V2FungibleAssetResource::from_write_resource(write_resource).unwrap() { - aggregated_data.concurrent_fungible_asset_balance = - Some(concurrent_fungible_asset_balance); + match v2_fungible_asset_resource { + V2FungibleAssetResource::FungibleAssetMetadata( + fungible_asset_metadata, + ) => { + aggregated_data.fungible_asset_metadata = + Some(fungible_asset_metadata); + }, + V2FungibleAssetResource::FungibleAssetStore( + fungible_asset_store, + ) => { + aggregated_data.fungible_asset_store = + Some(fungible_asset_store); + }, + V2FungibleAssetResource::FungibleAssetSupply( + fungible_asset_supply, + ) => { + aggregated_data.fungible_asset_supply = + Some(fungible_asset_supply); + }, + V2FungibleAssetResource::ConcurrentFungibleAssetSupply( + concurrent_fungible_asset_supply, + ) => { + aggregated_data.concurrent_fungible_asset_supply = + Some(concurrent_fungible_asset_supply); + }, + V2FungibleAssetResource::ConcurrentFungibleAssetBalance( + concurrent_fungible_asset_balance, + ) => { + aggregated_data.concurrent_fungible_asset_balance = + Some(concurrent_fungible_asset_balance); + }, + } } if let Some(untransferable) = - Untransferable::from_write_resource(write_resource, txn_version) - .unwrap() + Untransferable::from_write_resource(write_resource).unwrap() { aggregated_data.untransferable = Some(untransferable); } diff --git a/rust/processor/src/processors/mod.rs b/rust/processor/src/processors/mod.rs index 000ce7982..174c02903 100644 --- a/rust/processor/src/processors/mod.rs +++ b/rust/processor/src/processors/mod.rs @@ -33,7 +33,7 @@ use self::{ user_transaction_processor::UserTransactionProcessor, }; use crate::{ - db::common::models::processor_status::ProcessorStatus, + db::postgres::models::processor_status::ProcessorStatus, gap_detectors::ProcessingResult, processors::parquet_processors::{ parquet_ans_processor::{ParquetAnsProcessor, ParquetAnsProcessorConfig}, diff --git a/rust/processor/src/processors/nft_metadata_processor.rs b/rust/processor/src/processors/nft_metadata_processor.rs index 4fcb9a922..6a9503d5b 100644 --- a/rust/processor/src/processors/nft_metadata_processor.rs +++ b/rust/processor/src/processors/nft_metadata_processor.rs @@ -3,10 +3,11 @@ use super::{DefaultProcessingResult, ProcessorName, ProcessorTrait}; use crate::{ - db::common::models::{ + db::postgres::models::{ object_models::v2_object_utils::{ ObjectAggregatedData, ObjectAggregatedDataMapping, ObjectWithMetadata, }, + resources::FromWriteResource, token_models::tokens::{TableHandleToOwner, TableMetadataForToken}, token_v2_models::{ v2_collections::{CollectionV2, CurrentCollectionV2, CurrentCollectionV2PK}, @@ -237,9 +238,7 @@ async fn parse_v2_token( let mut token_v2_metadata_helper: ObjectAggregatedDataMapping = AHashMap::new(); for wsc in transaction_info.changes.iter() { if let Change::WriteResource(wr) = wsc.change.as_ref().unwrap() { - if let Some(object) = - ObjectWithMetadata::from_write_resource(wr, txn_version).unwrap() - { + if let Some(object) = ObjectWithMetadata::from_write_resource(wr).unwrap() { token_v2_metadata_helper.insert( standardize_address(&wr.address.to_string()), ObjectAggregatedData { diff --git a/rust/processor/src/processors/objects_processor.rs b/rust/processor/src/processors/objects_processor.rs index bd0117acc..40df02777 100644 --- a/rust/processor/src/processors/objects_processor.rs +++ b/rust/processor/src/processors/objects_processor.rs @@ -3,9 +3,14 @@ use super::{DefaultProcessingResult, ProcessorName, ProcessorTrait}; use crate::{ - db::common::models::object_models::{ - v2_object_utils::{ObjectAggregatedData, ObjectAggregatedDataMapping, ObjectWithMetadata}, - v2_objects::{CurrentObject, Object}, + db::postgres::models::{ + object_models::{ + v2_object_utils::{ + ObjectAggregatedData, ObjectAggregatedDataMapping, ObjectWithMetadata, + }, + v2_objects::{CurrentObject, Object}, + }, + resources::FromWriteResource, }, gap_detectors::ProcessingResult, schema, @@ -195,7 +200,7 @@ impl ProcessorTrait for ObjectsProcessor { if let Change::WriteResource(wr) = wsc.change.as_ref().unwrap() { let address = standardize_address(&wr.address.to_string()); if let Some(object_with_metadata) = - ObjectWithMetadata::from_write_resource(wr, txn_version).unwrap() + ObjectWithMetadata::from_write_resource(wr).unwrap() { // Object core is the first struct that we need to get object_metadata_helper.insert(address.clone(), ObjectAggregatedData { diff --git a/rust/processor/src/processors/parquet_processors/parquet_ans_processor.rs b/rust/processor/src/processors/parquet_processors/parquet_ans_processor.rs index cfa759524..ea16c3a82 100644 --- a/rust/processor/src/processors/parquet_processors/parquet_ans_processor.rs +++ b/rust/processor/src/processors/parquet_processors/parquet_ans_processor.rs @@ -7,7 +7,7 @@ use crate::{ create_parquet_handler_loop, generic_parquet_processor::ParquetDataGeneric, ParquetProcessingResult, }, - db::common::models::ans_models::{ + db::postgres::models::ans_models::{ ans_lookup::CurrentAnsPrimaryName, parquet_ans_lookup_v2::{AnsPrimaryNameV2, CurrentAnsPrimaryNameV2}, }, diff --git a/rust/processor/src/processors/parquet_processors/parquet_default_processor.rs b/rust/processor/src/processors/parquet_processors/parquet_default_processor.rs index 17495022b..4a80057a5 100644 --- a/rust/processor/src/processors/parquet_processors/parquet_default_processor.rs +++ b/rust/processor/src/processors/parquet_processors/parquet_default_processor.rs @@ -6,7 +6,7 @@ use crate::{ create_parquet_handler_loop, generic_parquet_processor::ParquetDataGeneric, ParquetProcessingResult, }, - db::common::models::default_models::{ + db::parquet::models::default_models::{ parquet_move_modules::MoveModule, parquet_move_resources::MoveResource, parquet_move_tables::TableItem, @@ -155,7 +155,7 @@ impl ProcessorTrait for ParquetDefaultProcessor { let ( (move_resources, write_set_changes, transactions, table_items, move_modules), transaction_version_to_struct_count, - ) = tokio::task::spawn_blocking(move || process_transactions(transactions)) + ) = tokio::task::spawn_blocking(move || process_transactions_parquet(transactions)) .await .expect("Failed to spawn_blocking for TransactionModel::from_transactions"); @@ -213,7 +213,8 @@ impl ProcessorTrait for ParquetDefaultProcessor { } } -pub fn process_transactions( +// TODO: Remove transaction_version_to_struct_count after migration +pub fn process_transactions_parquet( transactions: Vec, ) -> ( ( diff --git a/rust/processor/src/processors/parquet_processors/parquet_events_processor.rs b/rust/processor/src/processors/parquet_processors/parquet_events_processor.rs index beb2e9414..229f694a5 100644 --- a/rust/processor/src/processors/parquet_processors/parquet_events_processor.rs +++ b/rust/processor/src/processors/parquet_processors/parquet_events_processor.rs @@ -6,7 +6,7 @@ use crate::{ create_parquet_handler_loop, generic_parquet_processor::ParquetDataGeneric, ParquetProcessingResult, }, - db::common::models::events_models::parquet_events::{Event, ParquetEventModel}, + db::postgres::models::events_models::parquet_events::{Event, ParquetEventModel}, gap_detectors::ProcessingResult, processors::{parquet_processors::ParquetProcessorTrait, ProcessorName, ProcessorTrait}, utils::{counters::PROCESSOR_UNKNOWN_TYPE_COUNT, database::ArcDbPool, util::parse_timestamp}, diff --git a/rust/processor/src/processors/parquet_processors/parquet_fungible_asset_activities_processor.rs b/rust/processor/src/processors/parquet_processors/parquet_fungible_asset_activities_processor.rs index 0bbf0b5bc..ca3178442 100644 --- a/rust/processor/src/processors/parquet_processors/parquet_fungible_asset_activities_processor.rs +++ b/rust/processor/src/processors/parquet_processors/parquet_fungible_asset_activities_processor.rs @@ -7,18 +7,16 @@ use crate::{ create_parquet_handler_loop, generic_parquet_processor::ParquetDataGeneric, ParquetProcessingResult, }, - db::common::models::{ + db::postgres::models::{ fungible_asset_models::{ parquet_v2_fungible_asset_activities::{EventToCoinType, FungibleAssetActivity}, parquet_v2_fungible_asset_balances::FungibleAssetBalance, - v2_fungible_asset_utils::{ - ConcurrentFungibleAssetBalance, ConcurrentFungibleAssetSupply, FeeStatement, - FungibleAssetMetadata, FungibleAssetStore, FungibleAssetSupply, - }, + v2_fungible_asset_utils::FeeStatement, }, object_models::v2_object_utils::{ ObjectAggregatedData, ObjectAggregatedDataMapping, ObjectWithMetadata, Untransferable, }, + resources::{FromWriteResource, V2FungibleAssetResource}, }, gap_detectors::ProcessingResult, processors::{ProcessorName, ProcessorTrait}, @@ -197,9 +195,7 @@ async fn parse_activities( // Need to do a first pass to get all the objects for wsc in transaction_info.changes.iter() { if let Change::WriteResource(wr) = wsc.change.as_ref().unwrap() { - if let Some(object) = - ObjectWithMetadata::from_write_resource(wr, txn_version).unwrap() - { + if let Some(object) = ObjectWithMetadata::from_write_resource(wr).unwrap() { fungible_asset_object_helper.insert( standardize_address(&wr.address.to_string()), ObjectAggregatedData { @@ -228,47 +224,44 @@ async fn parse_activities( // Fill the v2 object metadata let address = standardize_address(&write_resource.address.to_string()); if let Some(aggregated_data) = fungible_asset_object_helper.get_mut(&address) { - if let Some(fungible_asset_metadata) = - FungibleAssetMetadata::from_write_resource(write_resource, txn_version) - .unwrap() - { - aggregated_data.fungible_asset_metadata = Some(fungible_asset_metadata); - } - if let Some(fungible_asset_store) = - FungibleAssetStore::from_write_resource(write_resource, txn_version) - .unwrap() - { - aggregated_data.fungible_asset_store = Some(fungible_asset_store); - } - if let Some(fungible_asset_supply) = - FungibleAssetSupply::from_write_resource(write_resource, txn_version) - .unwrap() - { - aggregated_data.fungible_asset_supply = Some(fungible_asset_supply); - } - if let Some(concurrent_fungible_asset_supply) = - ConcurrentFungibleAssetSupply::from_write_resource( - write_resource, - txn_version, - ) - .unwrap() - { - aggregated_data.concurrent_fungible_asset_supply = - Some(concurrent_fungible_asset_supply); - } - if let Some(concurrent_fungible_asset_balance) = - ConcurrentFungibleAssetBalance::from_write_resource( - write_resource, - txn_version, - ) - .unwrap() + if let Some(v2_fungible_asset_resource) = + V2FungibleAssetResource::from_write_resource(write_resource).unwrap() { - aggregated_data.concurrent_fungible_asset_balance = - Some(concurrent_fungible_asset_balance); + match v2_fungible_asset_resource { + V2FungibleAssetResource::FungibleAssetMetadata( + fungible_asset_metadata, + ) => { + aggregated_data.fungible_asset_metadata = + Some(fungible_asset_metadata); + }, + V2FungibleAssetResource::FungibleAssetStore( + fungible_asset_store, + ) => { + aggregated_data.fungible_asset_store = + Some(fungible_asset_store); + }, + V2FungibleAssetResource::FungibleAssetSupply( + fungible_asset_supply, + ) => { + aggregated_data.fungible_asset_supply = + Some(fungible_asset_supply); + }, + V2FungibleAssetResource::ConcurrentFungibleAssetSupply( + concurrent_fungible_asset_supply, + ) => { + aggregated_data.concurrent_fungible_asset_supply = + Some(concurrent_fungible_asset_supply); + }, + V2FungibleAssetResource::ConcurrentFungibleAssetBalance( + concurrent_fungible_asset_balance, + ) => { + aggregated_data.concurrent_fungible_asset_balance = + Some(concurrent_fungible_asset_balance); + }, + } } if let Some(untransferable) = - Untransferable::from_write_resource(write_resource, txn_version) - .unwrap() + Untransferable::from_write_resource(write_resource).unwrap() { aggregated_data.untransferable = Some(untransferable); } diff --git a/rust/processor/src/processors/parquet_processors/parquet_fungible_asset_processor.rs b/rust/processor/src/processors/parquet_processors/parquet_fungible_asset_processor.rs index 0f699aea8..5ebdb1f8e 100644 --- a/rust/processor/src/processors/parquet_processors/parquet_fungible_asset_processor.rs +++ b/rust/processor/src/processors/parquet_processors/parquet_fungible_asset_processor.rs @@ -7,7 +7,7 @@ use crate::{ create_parquet_handler_loop, generic_parquet_processor::ParquetDataGeneric, ParquetProcessingResult, }, - db::common::models::{ + db::postgres::models::{ fungible_asset_models::{ parquet_coin_supply::CoinSupply, parquet_v2_fungible_asset_balances::FungibleAssetBalance, @@ -15,6 +15,7 @@ use crate::{ object_models::v2_object_utils::{ ObjectAggregatedData, ObjectAggregatedDataMapping, ObjectWithMetadata, }, + resources::FromWriteResource, }, gap_detectors::ProcessingResult, processors::{ProcessorName, ProcessorTrait}, @@ -177,9 +178,7 @@ async fn parse_v2_coin( // Need to do a first pass to get all the objects for wsc in transaction_info.changes.iter() { if let Change::WriteResource(wr) = wsc.change.as_ref().unwrap() { - if let Some(object) = - ObjectWithMetadata::from_write_resource(wr, txn_version).unwrap() - { + if let Some(object) = ObjectWithMetadata::from_write_resource(wr).unwrap() { fungible_asset_object_helper.insert( standardize_address(&wr.address.to_string()), ObjectAggregatedData { diff --git a/rust/processor/src/processors/parquet_processors/parquet_token_v2_processor.rs b/rust/processor/src/processors/parquet_processors/parquet_token_v2_processor.rs index dd9e12d9c..0cf6b34a0 100644 --- a/rust/processor/src/processors/parquet_processors/parquet_token_v2_processor.rs +++ b/rust/processor/src/processors/parquet_processors/parquet_token_v2_processor.rs @@ -6,20 +6,19 @@ use crate::{ create_parquet_handler_loop, generic_parquet_processor::ParquetDataGeneric, ParquetProcessingResult, }, - db::common::models::{ + db::postgres::models::{ fungible_asset_models::v2_fungible_asset_utils::FungibleAssetMetadata, object_models::v2_object_utils::{ - ObjectAggregatedData, ObjectAggregatedDataMapping, ObjectWithMetadata, Untransferable, + ObjectAggregatedData, ObjectAggregatedDataMapping, ObjectWithMetadata, }, + resources::{FromWriteResource, V2TokenResource}, token_models::tokens::{TableHandleToOwner, TableMetadataForToken}, token_v2_models::{ parquet_v2_token_datas::TokenDataV2, parquet_v2_token_ownerships::TokenOwnershipV2, v2_token_ownerships::NFTOwnershipV2, v2_token_utils::{ - AptosCollection, Burn, BurnEvent, ConcurrentSupply, FixedSupply, MintEvent, - PropertyMapModel, TokenIdentifiers, TokenV2, TokenV2Burned, TokenV2Minted, - TransferEvent, UnlimitedSupply, + Burn, BurnEvent, MintEvent, TokenV2Burned, TokenV2Minted, TransferEvent, }, }, }, @@ -213,9 +212,7 @@ async fn parse_v2_token( // Need to do a first pass to get all the objects for wsc in transaction_info.changes.iter() { if let Change::WriteResource(wr) = wsc.change.as_ref().unwrap() { - if let Some(object) = - ObjectWithMetadata::from_write_resource(wr, txn_version).unwrap() - { + if let Some(object) = ObjectWithMetadata::from_write_resource(wr).unwrap() { token_v2_metadata_helper.insert( standardize_address(&wr.address.to_string()), ObjectAggregatedData { @@ -232,50 +229,42 @@ async fn parse_v2_token( if let Change::WriteResource(wr) = wsc.change.as_ref().unwrap() { let address = standardize_address(&wr.address.to_string()); if let Some(aggregated_data) = token_v2_metadata_helper.get_mut(&address) { - if let Some(fixed_supply) = - FixedSupply::from_write_resource(wr, txn_version).unwrap() - { - aggregated_data.fixed_supply = Some(fixed_supply); - } - if let Some(unlimited_supply) = - UnlimitedSupply::from_write_resource(wr, txn_version).unwrap() - { - aggregated_data.unlimited_supply = Some(unlimited_supply); - } - if let Some(aptos_collection) = - AptosCollection::from_write_resource(wr, txn_version).unwrap() - { - aggregated_data.aptos_collection = Some(aptos_collection); - } - if let Some(property_map) = - PropertyMapModel::from_write_resource(wr, txn_version).unwrap() - { - aggregated_data.property_map = Some(property_map); - } - if let Some(concurrent_supply) = - ConcurrentSupply::from_write_resource(wr, txn_version).unwrap() + if let Some(token_v2_resource) = + V2TokenResource::from_write_resource(wr).unwrap() { - aggregated_data.concurrent_supply = Some(concurrent_supply); - } - if let Some(token) = TokenV2::from_write_resource(wr, txn_version).unwrap() - { - aggregated_data.token = Some(token); + match token_v2_resource { + V2TokenResource::FixedSupply(fixed_supply) => { + aggregated_data.fixed_supply = Some(fixed_supply); + }, + V2TokenResource::UnlimitedSupply(unlimited_supply) => { + aggregated_data.unlimited_supply = Some(unlimited_supply); + }, + V2TokenResource::AptosCollection(aptos_collection) => { + aggregated_data.aptos_collection = Some(aptos_collection); + }, + V2TokenResource::PropertyMapModel(property_map) => { + aggregated_data.property_map = Some(property_map); + }, + V2TokenResource::ConcurrentSupply(concurrent_supply) => { + aggregated_data.concurrent_supply = Some(concurrent_supply); + }, + V2TokenResource::TokenV2(token) => { + aggregated_data.token = Some(token); + }, + V2TokenResource::TokenIdentifiers(token_identifier) => { + aggregated_data.token_identifier = Some(token_identifier); + }, + V2TokenResource::Untransferable(untransferable) => { + aggregated_data.untransferable = Some(untransferable); + }, + _ => {}, + } } if let Some(fungible_asset_metadata) = - FungibleAssetMetadata::from_write_resource(wr, txn_version).unwrap() + FungibleAssetMetadata::from_write_resource(wr).unwrap() { aggregated_data.fungible_asset_metadata = Some(fungible_asset_metadata); } - if let Some(token_identifier) = - TokenIdentifiers::from_write_resource(wr, txn_version).unwrap() - { - aggregated_data.token_identifier = Some(token_identifier); - } - if let Some(untransferable) = - Untransferable::from_write_resource(wr, txn_version).unwrap() - { - aggregated_data.untransferable = Some(untransferable); - } } } } diff --git a/rust/processor/src/processors/parquet_processors/parquet_transaction_metadata_processor.rs b/rust/processor/src/processors/parquet_processors/parquet_transaction_metadata_processor.rs index 0c3fec11d..a513b6a76 100644 --- a/rust/processor/src/processors/parquet_processors/parquet_transaction_metadata_processor.rs +++ b/rust/processor/src/processors/parquet_processors/parquet_transaction_metadata_processor.rs @@ -6,7 +6,7 @@ use crate::{ create_parquet_handler_loop, generic_parquet_processor::ParquetDataGeneric, ParquetProcessingResult, }, - db::common::models::transaction_metadata_model::parquet_write_set_size_info::WriteSetSize, + db::postgres::models::transaction_metadata_model::parquet_write_set_size_info::WriteSetSize, gap_detectors::ProcessingResult, processors::{parquet_processors::ParquetProcessorTrait, ProcessorName, ProcessorTrait}, utils::{database::ArcDbPool, util::parse_timestamp}, diff --git a/rust/processor/src/processors/parquet_processors/parquet_user_transactions_processor.rs b/rust/processor/src/processors/parquet_processors/parquet_user_transactions_processor.rs index 4e5cbe88e..b6d1b730f 100644 --- a/rust/processor/src/processors/parquet_processors/parquet_user_transactions_processor.rs +++ b/rust/processor/src/processors/parquet_processors/parquet_user_transactions_processor.rs @@ -6,7 +6,7 @@ use crate::{ create_parquet_handler_loop, generic_parquet_processor::ParquetDataGeneric, ParquetProcessingResult, }, - db::common::models::{ + db::postgres::models::{ fungible_asset_models::v2_fungible_asset_utils::FeeStatement, user_transactions_models::parquet_user_transactions::UserTransaction, }, diff --git a/rust/processor/src/processors/stake_processor.rs b/rust/processor/src/processors/stake_processor.rs index 1243407ba..128be89ed 100644 --- a/rust/processor/src/processors/stake_processor.rs +++ b/rust/processor/src/processors/stake_processor.rs @@ -3,7 +3,7 @@ use super::{DefaultProcessingResult, ProcessorName, ProcessorTrait}; use crate::{ - db::common::models::stake_models::{ + db::postgres::models::stake_models::{ current_delegated_voter::CurrentDelegatedVoter, delegator_activities::DelegatedStakingActivity, delegator_balances::{ diff --git a/rust/processor/src/processors/token_v2_processor.rs b/rust/processor/src/processors/token_v2_processor.rs index 377ef6c8f..fac3cdbd7 100644 --- a/rust/processor/src/processors/token_v2_processor.rs +++ b/rust/processor/src/processors/token_v2_processor.rs @@ -3,11 +3,12 @@ use super::{DefaultProcessingResult, ProcessorName, ProcessorTrait}; use crate::{ - db::common::models::{ + db::postgres::models::{ fungible_asset_models::v2_fungible_asset_utils::FungibleAssetMetadata, object_models::v2_object_utils::{ - ObjectAggregatedData, ObjectAggregatedDataMapping, ObjectWithMetadata, Untransferable, + ObjectAggregatedData, ObjectAggregatedDataMapping, ObjectWithMetadata, }, + resources::{FromWriteResource, V2TokenResource}, token_models::{ token_claims::CurrentTokenPendingClaim, tokens::{CurrentTokenPendingClaimPK, TableHandleToOwner, TableMetadataForToken}, @@ -23,9 +24,7 @@ use crate::{ TokenOwnershipV2, }, v2_token_utils::{ - AptosCollection, Burn, BurnEvent, ConcurrentSupply, FixedSupply, MintEvent, - PropertyMapModel, TokenIdentifiers, TokenV2, TokenV2Burned, TokenV2Minted, - TransferEvent, UnlimitedSupply, + Burn, BurnEvent, MintEvent, TokenV2Burned, TokenV2Minted, TransferEvent, }, }, }, @@ -787,9 +786,7 @@ pub async fn parse_v2_token( // Loop 1: Need to do a first pass to get all the object addresses and insert them into the helper for wsc in transaction_info.changes.iter() { if let Change::WriteResource(wr) = wsc.change.as_ref().unwrap() { - if let Some(object) = - ObjectWithMetadata::from_write_resource(wr, txn_version).unwrap() - { + if let Some(object) = ObjectWithMetadata::from_write_resource(wr).unwrap() { token_v2_metadata_helper.insert( standardize_address(&wr.address.to_string()), ObjectAggregatedData { @@ -807,50 +804,42 @@ pub async fn parse_v2_token( if let Change::WriteResource(wr) = wsc.change.as_ref().unwrap() { let address = standardize_address(&wr.address.to_string()); if let Some(aggregated_data) = token_v2_metadata_helper.get_mut(&address) { - if let Some(fixed_supply) = - FixedSupply::from_write_resource(wr, txn_version).unwrap() - { - aggregated_data.fixed_supply = Some(fixed_supply); - } - if let Some(unlimited_supply) = - UnlimitedSupply::from_write_resource(wr, txn_version).unwrap() - { - aggregated_data.unlimited_supply = Some(unlimited_supply); - } - if let Some(aptos_collection) = - AptosCollection::from_write_resource(wr, txn_version).unwrap() - { - aggregated_data.aptos_collection = Some(aptos_collection); - } - if let Some(property_map) = - PropertyMapModel::from_write_resource(wr, txn_version).unwrap() - { - aggregated_data.property_map = Some(property_map); - } - if let Some(concurrent_supply) = - ConcurrentSupply::from_write_resource(wr, txn_version).unwrap() + if let Some(v2_token_resource) = + V2TokenResource::from_write_resource(wr).unwrap() { - aggregated_data.concurrent_supply = Some(concurrent_supply); - } - if let Some(token) = TokenV2::from_write_resource(wr, txn_version).unwrap() - { - aggregated_data.token = Some(token); + match v2_token_resource { + V2TokenResource::FixedSupply(fixed_supply) => { + aggregated_data.fixed_supply = Some(fixed_supply); + }, + V2TokenResource::UnlimitedSupply(unlimited_supply) => { + aggregated_data.unlimited_supply = Some(unlimited_supply); + }, + V2TokenResource::AptosCollection(aptos_collection) => { + aggregated_data.aptos_collection = Some(aptos_collection); + }, + V2TokenResource::PropertyMapModel(property_map) => { + aggregated_data.property_map = Some(property_map); + }, + V2TokenResource::ConcurrentSupply(concurrent_supply) => { + aggregated_data.concurrent_supply = Some(concurrent_supply); + }, + V2TokenResource::TokenV2(token) => { + aggregated_data.token = Some(token); + }, + V2TokenResource::TokenIdentifiers(token_identifier) => { + aggregated_data.token_identifier = Some(token_identifier); + }, + V2TokenResource::Untransferable(untransferable) => { + aggregated_data.untransferable = Some(untransferable); + }, + _ => {}, + } } if let Some(fungible_asset_metadata) = - FungibleAssetMetadata::from_write_resource(wr, txn_version).unwrap() + FungibleAssetMetadata::from_write_resource(wr).unwrap() { aggregated_data.fungible_asset_metadata = Some(fungible_asset_metadata); } - if let Some(token_identifier) = - TokenIdentifiers::from_write_resource(wr, txn_version).unwrap() - { - aggregated_data.token_identifier = Some(token_identifier); - } - if let Some(untransferable) = - Untransferable::from_write_resource(wr, txn_version).unwrap() - { - aggregated_data.untransferable = Some(untransferable); - } } } } diff --git a/rust/processor/src/processors/transaction_metadata_processor.rs b/rust/processor/src/processors/transaction_metadata_processor.rs index 615dacd09..5857de5b0 100644 --- a/rust/processor/src/processors/transaction_metadata_processor.rs +++ b/rust/processor/src/processors/transaction_metadata_processor.rs @@ -3,7 +3,7 @@ use super::{DefaultProcessingResult, ProcessorName, ProcessorTrait}; use crate::{ - db::common::models::transaction_metadata_model::{ + db::postgres::models::transaction_metadata_model::{ event_size_info::EventSize, transaction_size_info::TransactionSize, write_set_size_info::WriteSetSize, }, diff --git a/rust/processor/src/processors/user_transaction_processor.rs b/rust/processor/src/processors/user_transaction_processor.rs index 52437e852..3d5f59a55 100644 --- a/rust/processor/src/processors/user_transaction_processor.rs +++ b/rust/processor/src/processors/user_transaction_processor.rs @@ -3,7 +3,7 @@ use super::{DefaultProcessingResult, ProcessorName, ProcessorTrait}; use crate::{ - db::common::models::user_transactions_models::{ + db::postgres::models::user_transactions_models::{ signatures::Signature, user_transactions::UserTransactionModel, }, gap_detectors::ProcessingResult, @@ -96,7 +96,7 @@ async fn insert_to_db( Ok(()) } -fn insert_user_transactions_query( +pub fn insert_user_transactions_query( items_to_insert: Vec, ) -> ( impl QueryFragment + diesel::query_builder::QueryId + Send, @@ -116,7 +116,7 @@ fn insert_user_transactions_query( ) } -fn insert_signatures_query( +pub fn insert_signatures_query( items_to_insert: Vec, ) -> ( impl QueryFragment + diesel::query_builder::QueryId + Send, @@ -153,40 +153,8 @@ impl ProcessorTrait for UserTransactionProcessor { let processing_start = std::time::Instant::now(); let last_transaction_timestamp = transactions.last().unwrap().timestamp.clone(); - let mut signatures = vec![]; - let mut user_transactions = vec![]; - for txn in &transactions { - let txn_version = txn.version as i64; - let block_height = txn.block_height as i64; - let txn_data = match txn.txn_data.as_ref() { - Some(txn_data) => txn_data, - None => { - PROCESSOR_UNKNOWN_TYPE_COUNT - .with_label_values(&["UserTransactionProcessor"]) - .inc(); - tracing::warn!( - transaction_version = txn_version, - "Transaction data doesn't exist" - ); - continue; - }, - }; - if let TxnData::User(inner) = txn_data { - let (user_transaction, sigs) = UserTransactionModel::from_transaction( - inner, - txn.timestamp.as_ref().unwrap(), - block_height, - txn.epoch as i64, - txn_version, - ); - signatures.extend(sigs); - user_transactions.push(user_transaction); - } - } - - if self.deprecated_tables.contains(TableFlags::SIGNATURES) { - signatures.clear(); - } + let (user_transactions, signatures) = + user_transaction_parse(transactions, self.deprecated_tables); let processing_duration_in_secs = processing_start.elapsed().as_secs_f64(); let db_insertion_start = std::time::Instant::now(); @@ -229,3 +197,46 @@ impl ProcessorTrait for UserTransactionProcessor { &self.connection_pool } } + +/// Helper function to parse user transactions and signatures from the transaction data. +pub fn user_transaction_parse( + transactions: Vec, + deprecated_tables: TableFlags, +) -> (Vec, Vec) { + let mut signatures = vec![]; + let mut user_transactions = vec![]; + for txn in transactions { + let txn_version = txn.version as i64; + let block_height = txn.block_height as i64; + let txn_data = match txn.txn_data.as_ref() { + Some(txn_data) => txn_data, + None => { + PROCESSOR_UNKNOWN_TYPE_COUNT + .with_label_values(&["UserTransactionProcessor"]) + .inc(); + tracing::warn!( + transaction_version = txn_version, + "Transaction data doesn't exist" + ); + continue; + }, + }; + if let TxnData::User(inner) = txn_data { + let (user_transaction, sigs) = UserTransactionModel::from_transaction( + inner, + txn.timestamp.as_ref().unwrap(), + block_height, + txn.epoch as i64, + txn_version, + ); + signatures.extend(sigs); + user_transactions.push(user_transaction); + } + } + + if deprecated_tables.contains(TableFlags::SIGNATURES) { + signatures.clear(); + } + + (user_transactions, signatures) +} diff --git a/rust/processor/src/utils/util.rs b/rust/processor/src/utils/util.rs index 4550de820..b1cad5a54 100644 --- a/rust/processor/src/utils/util.rs +++ b/rust/processor/src/utils/util.rs @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 use crate::{ - db::common::models::property_map::{PropertyMap, TokenObjectPropertyMap}, + db::postgres::models::property_map::{PropertyMap, TokenObjectPropertyMap}, utils::counters::PROCESSOR_UNKNOWN_TYPE_COUNT, }; use aptos_protos::{ diff --git a/rust/processor/src/worker.rs b/rust/processor/src/worker.rs index 391e46452..e72a69a76 100644 --- a/rust/processor/src/worker.rs +++ b/rust/processor/src/worker.rs @@ -3,7 +3,7 @@ use crate::{ config::IndexerGrpcHttp2Config, - db::common::models::{ledger_info::LedgerInfo, processor_status::ProcessorStatusQuery}, + db::postgres::models::{ledger_info::LedgerInfo, processor_status::ProcessorStatusQuery}, gap_detectors::{ create_gap_detector_status_tracker_loop, gap_detector::DefaultGapDetector, parquet_gap_detector::ParquetFileGapDetectorInner, GapDetector, ProcessingResult, diff --git a/rust/sdk-processor/Cargo.toml b/rust/sdk-processor/Cargo.toml index 6859a36df..a5229a4d1 100644 --- a/rust/sdk-processor/Cargo.toml +++ b/rust/sdk-processor/Cargo.toml @@ -6,6 +6,7 @@ edition = "2021" [dependencies] ahash = { workspace = true } +allocative = { workspace = true } anyhow = { workspace = true } aptos-indexer-processor-sdk = { workspace = true } aptos-indexer-processor-sdk-server-framework = { workspace = true } @@ -21,11 +22,24 @@ diesel_migrations = { workspace = true } field_count = { workspace = true } futures = { workspace = true } futures-util = { workspace = true } +google-cloud-googleapis = { workspace = true } +google-cloud-pubsub = { workspace = true } + +google-cloud-storage = { workspace = true } hex = { workspace = true } jemallocator = { workspace = true } kanal = { workspace = true } lazy_static = { workspace = true } + +mockall = { workspace = true } + +# Postgres SSL support +native-tls = { workspace = true } num_cpus = { workspace = true } +# Parquet support +parquet = { workspace = true } +parquet_derive = { workspace = true } +postgres-native-tls = { workspace = true } processor = { workspace = true } rayon = { workspace = true } serde = { workspace = true } @@ -34,14 +48,10 @@ sha2 = { workspace = true } strum = { workspace = true } tiny-keccak = { workspace = true } tokio = { workspace = true } +tokio-postgres = { workspace = true } tracing = { workspace = true } url = { workspace = true } -# Postgres SSL support -native-tls = { workspace = true } -postgres-native-tls = { workspace = true } -tokio-postgres = { workspace = true } - [features] libpq = ["diesel/postgres"] # When using the default features we enable the diesel/postgres feature. We configure diff --git a/rust/sdk-processor/README.md b/rust/sdk-processor/README.md new file mode 100644 index 000000000..e136c6603 --- /dev/null +++ b/rust/sdk-processor/README.md @@ -0,0 +1,12 @@ +# Transaction Stream Processors (SDK) +Processors that index data from the Aptos Transaction Stream (GRPC). These processors have been (re)-written using the new Indexer SDK. + +- **Note: Official releases coming soon!** + +## Tutorial +Follow tutorial in the [example repo](https://github.com/aptos-labs/aptos-indexer-processor-example). + +## Processor Specific Notes + +### Supported Coin Type Mappings +See mapping in [v2_fungible_asset_balances.rs](https://github.com/aptos-labs/aptos-indexer-processors/blob/main/rust/processor/src/db/common/models/fungible_asset_models/v2_fungible_asset_balances.rs#L40) for a list supported coin type mappings. \ No newline at end of file diff --git a/rust/sdk-processor/src/config/indexer_processor_config.rs b/rust/sdk-processor/src/config/indexer_processor_config.rs index ae403d8ed..6c58e22b9 100644 --- a/rust/sdk-processor/src/config/indexer_processor_config.rs +++ b/rust/sdk-processor/src/config/indexer_processor_config.rs @@ -7,8 +7,10 @@ use crate::{ processors::{ account_transactions_processor::AccountTransactionsProcessor, ans_processor::AnsProcessor, default_processor::DefaultProcessor, events_processor::EventsProcessor, - fungible_asset_processor::FungibleAssetProcessor, objects_processor::ObjectsProcessor, - stake_processor::StakeProcessor, token_v2_processor::TokenV2Processor, + fungible_asset_processor::FungibleAssetProcessor, + monitoring_processor::MonitoringProcessor, nft_metadata_processor::NftMetadataProcessor, + objects_processor::ObjectsProcessor, stake_processor::StakeProcessor, + token_v2_processor::TokenV2Processor, user_transaction_processor::UserTransactionProcessor, }, }; use anyhow::Result; @@ -55,10 +57,22 @@ impl RunnableConfig for IndexerProcessorConfig { let fungible_asset_processor = FungibleAssetProcessor::new(self.clone()).await?; fungible_asset_processor.run_processor().await }, + ProcessorConfig::UserTransactionProcessor(_) => { + let user_txns_processor = UserTransactionProcessor::new(self.clone()).await?; + user_txns_processor.run_processor().await + }, + ProcessorConfig::NftMetadataProcessor(_) => { + let nft_metadata_processor = NftMetadataProcessor::new(self.clone()).await?; + nft_metadata_processor.run_processor().await + }, ProcessorConfig::StakeProcessor(_) => { let stake_processor = StakeProcessor::new(self.clone()).await?; stake_processor.run_processor().await }, + ProcessorConfig::MonitoringProcessor(_) => { + let monitoring_processor = MonitoringProcessor::new(self.clone()).await?; + monitoring_processor.run_processor().await + }, ProcessorConfig::TokenV2Processor(_) => { let token_v2_processor = TokenV2Processor::new(self.clone()).await?; token_v2_processor.run_processor().await diff --git a/rust/sdk-processor/src/config/processor_config.rs b/rust/sdk-processor/src/config/processor_config.rs index 8e6c667ef..30cc3a3df 100644 --- a/rust/sdk-processor/src/config/processor_config.rs +++ b/rust/sdk-processor/src/config/processor_config.rs @@ -1,10 +1,16 @@ -use crate::processors::{ - ans_processor::AnsProcessorConfig, objects_processor::ObjectsProcessorConfig, - stake_processor::StakeProcessorConfig, token_v2_processor::TokenV2ProcessorConfig, +use crate::{ + parquet_processors::ParquetTypeEnum, + processors::{ + ans_processor::AnsProcessorConfig, nft_metadata_processor::NftMetadataProcessorConfig, + objects_processor::ObjectsProcessorConfig, stake_processor::StakeProcessorConfig, + token_v2_processor::TokenV2ProcessorConfig, + }, }; use ahash::AHashMap; use serde::{Deserialize, Serialize}; use std::collections::HashSet; +use strum::IntoEnumIterator; + /// This enum captures the configs for all the different processors that are defined. /// /// The configs for each processor should only contain configuration specific to that @@ -43,9 +49,12 @@ pub enum ProcessorConfig { DefaultProcessor(DefaultProcessorConfig), EventsProcessor(DefaultProcessorConfig), FungibleAssetProcessor(DefaultProcessorConfig), + NftMetadataProcessor(NftMetadataProcessorConfig), + UserTransactionProcessor(DefaultProcessorConfig), StakeProcessor(StakeProcessorConfig), TokenV2Processor(TokenV2ProcessorConfig), ObjectsProcessor(ObjectsProcessorConfig), + MonitoringProcessor(DefaultProcessorConfig), // ParquetProcessor ParquetDefaultProcessor(ParquetDefaultProcessorConfig), } @@ -61,23 +70,45 @@ impl ProcessorConfig { /// /// This is a convenience method to map the table names to include the processor name as a prefix, which /// is useful for querying the status from the processor status table in the database. - pub fn get_table_names(&self) -> Option> { + pub fn get_table_names(&self) -> anyhow::Result> { match self { ProcessorConfig::ParquetDefaultProcessor(config) => { // Get the processor name as a prefix let prefix = self.name(); - // Use the tables from the config and map them to include the prefix - Some( - config - .tables - .iter() - .map(|table_name| format!("{}_{}", prefix, table_name)) - .collect(), - ) + + // Collect valid table names from `ParquetTypeEnum` into a set for quick lookup + let valid_table_names: HashSet = + ParquetTypeEnum::iter().map(|e| e.to_string()).collect(); + + // Validate and map table names with prefix + let mut validated_table_names = Vec::new(); + for table_name in &config.tables { + // Ensure the table name is a valid `ParquetTypeEnum` variant + if !valid_table_names.contains(table_name) { + return Err(anyhow::anyhow!( + "Invalid table name '{}'. Expected one of: {:?}", + table_name, + valid_table_names + )); + } + + // Append the prefix to the validated table name + validated_table_names.push(Self::format_table_name(prefix, table_name)); + } + + Ok(validated_table_names) }, - _ => None, // For all other processor types, return None + _ => Err(anyhow::anyhow!( + "Invalid parquet processor config: {:?}", + self + )), } } + + /// helper function to format the table name with the processor name. + fn format_table_name(prefix: &str, table_name: &str) -> String { + format!("{}.{}", prefix, table_name) + } } #[derive(Clone, Debug, Deserialize, Serialize)] @@ -120,10 +151,8 @@ pub struct ParquetDefaultProcessorConfig { pub bucket_name: String, #[serde(default)] pub bucket_root: String, - #[serde( - default = "ParquetDefaultProcessorConfig::default_parquet_handler_response_channel_size" - )] - pub parquet_handler_response_channel_size: usize, + #[serde(default = "ParquetDefaultProcessorConfig::default_channel_size")] + pub channel_size: usize, #[serde(default = "ParquetDefaultProcessorConfig::default_max_buffer_size")] pub max_buffer_size: usize, #[serde(default = "ParquetDefaultProcessorConfig::default_parquet_upload_interval")] @@ -136,7 +165,7 @@ pub struct ParquetDefaultProcessorConfig { impl ParquetDefaultProcessorConfig { /// Make the default very large on purpose so that by default it's not chunked /// This prevents any unexpected changes in behavior - pub const fn default_parquet_handler_response_channel_size() -> usize { + pub const fn default_channel_size() -> usize { 100_000 } @@ -150,3 +179,116 @@ impl ParquetDefaultProcessorConfig { 1800 // 30 minutes } } + +#[cfg(test)] +mod tests { + use super::*; + + #[test] + fn test_valid_table_names() { + let config = ProcessorConfig::ParquetDefaultProcessor(ParquetDefaultProcessorConfig { + tables: HashSet::from(["MoveResource".to_string(), "Transaction".to_string()]), + bucket_name: "bucket_name".to_string(), + bucket_root: "bucket_root".to_string(), + google_application_credentials: None, + channel_size: 10, + max_buffer_size: 100000, + parquet_upload_interval: 1800, + }); + + let result = config.get_table_names(); + assert!(result.is_ok()); + + let table_names = result.unwrap(); + let table_names: HashSet = table_names.into_iter().collect(); + let expected_names: HashSet = + ["Transaction".to_string(), "MoveResource".to_string()] + .iter() + .map(|e| format!("parquet_default_processor.{}", e)) + .collect(); + assert_eq!(table_names, expected_names); + } + + #[test] + fn test_invalid_table_name() { + let config = ProcessorConfig::ParquetDefaultProcessor(ParquetDefaultProcessorConfig { + tables: HashSet::from(["InvalidTable".to_string(), "Transaction".to_string()]), + bucket_name: "bucket_name".to_string(), + bucket_root: "bucket_root".to_string(), + google_application_credentials: None, + channel_size: 10, + max_buffer_size: 100000, + parquet_upload_interval: 1800, + }); + + let result = config.get_table_names(); + assert!(result.is_err()); + + let error_message = result.unwrap_err().to_string(); + assert!(error_message.contains("Invalid table name 'InvalidTable'")); + assert!(error_message.contains("Expected one of:")); + } + + #[test] + fn test_empty_tables() { + let config = ProcessorConfig::ParquetDefaultProcessor(ParquetDefaultProcessorConfig { + tables: HashSet::new(), + bucket_name: "bucket_name".to_string(), + bucket_root: "bucket_root".to_string(), + google_application_credentials: None, + channel_size: 10, + max_buffer_size: 100000, + parquet_upload_interval: 1800, + }); + let result = config.get_table_names(); + assert!(result.is_ok()); + + let table_names = result.unwrap(); + assert_eq!(table_names, Vec::::new()); + } + + #[test] + fn test_duplicate_table_names() { + let config = ProcessorConfig::ParquetDefaultProcessor(ParquetDefaultProcessorConfig { + tables: HashSet::from(["Transaction".to_string(), "Transaction".to_string()]), + bucket_name: "bucket_name".to_string(), + bucket_root: "bucket_root".to_string(), + google_application_credentials: None, + channel_size: 10, + max_buffer_size: 100000, + parquet_upload_interval: 1800, + }); + + let result = config.get_table_names(); + assert!(result.is_ok()); + + let table_names = result.unwrap(); + assert_eq!( + table_names, + vec!["parquet_default_processor.Transaction".to_string(),] + ); + } + + #[test] + fn test_all_enum_table_names() { + let config = ProcessorConfig::ParquetDefaultProcessor(ParquetDefaultProcessorConfig { + tables: ParquetTypeEnum::iter().map(|e| e.to_string()).collect(), + bucket_name: "bucket_name".to_string(), + bucket_root: "bucket_root".to_string(), + google_application_credentials: None, + channel_size: 10, + max_buffer_size: 100000, + parquet_upload_interval: 1800, + }); + + let result = config.get_table_names(); + assert!(result.is_ok()); + + let table_names = result.unwrap(); + let expected_names: HashSet = ParquetTypeEnum::iter() + .map(|e| format!("parquet_default_processor.{}", e)) + .collect(); + let table_names: HashSet = table_names.into_iter().collect(); + assert_eq!(table_names, expected_names); + } +} diff --git a/rust/sdk-processor/src/parquet_processors/mod.rs b/rust/sdk-processor/src/parquet_processors/mod.rs index 20654ab57..218c9d8ac 100644 --- a/rust/sdk-processor/src/parquet_processors/mod.rs +++ b/rust/sdk-processor/src/parquet_processors/mod.rs @@ -1 +1,140 @@ +use aptos_indexer_processor_sdk::utils::errors::ProcessorError; +use processor::db::parquet::models::default_models::{ + parquet_move_modules::MoveModule, parquet_move_resources::MoveResource, + parquet_move_tables::TableItem, parquet_transactions::Transaction as ParquetTransaction, + parquet_write_set_changes::WriteSetChangeModel, +}; +use serde::{Deserialize, Serialize}; +use strum::{Display, EnumIter}; + pub mod parquet_default_processor; + +/// Enum representing the different types of Parquet files that can be processed. +#[derive(Debug, Clone, Copy, Eq, Hash, PartialEq, Display, EnumIter)] +#[cfg_attr( + test, + derive(strum::EnumDiscriminants), + strum_discriminants( + derive( + strum::EnumVariantNames, + Deserialize, + Serialize, + strum::IntoStaticStr, + strum::Display, + clap::ValueEnum + ), + name(ParquetTypeName), + strum(serialize_all = "snake_case") + ) +)] +pub enum ParquetTypeEnum { + MoveResource, + WriteSetChange, + Transaction, + TableItem, + MoveModule, +} + +#[derive(Clone, Debug, strum::EnumDiscriminants)] +#[strum(serialize_all = "snake_case")] +#[strum_discriminants( + derive( + Deserialize, + Serialize, + strum::EnumVariantNames, + strum::IntoStaticStr, + strum::Display, + clap::ValueEnum + ), + name(ParquetTypeStructName), + clap(rename_all = "snake_case"), + serde(rename_all = "snake_case"), + strum(serialize_all = "snake_case") +)] +pub enum ParquetTypeStructs { + MoveResource(Vec), + WriteSetChange(Vec), + Transaction(Vec), + TableItem(Vec), + MoveModule(Vec), +} + +impl ParquetTypeStructs { + pub fn default_for_type(parquet_type: &ParquetTypeEnum) -> Self { + match parquet_type { + ParquetTypeEnum::MoveResource => ParquetTypeStructs::MoveResource(Vec::new()), + ParquetTypeEnum::WriteSetChange => ParquetTypeStructs::WriteSetChange(Vec::new()), + ParquetTypeEnum::Transaction => ParquetTypeStructs::Transaction(Vec::new()), + ParquetTypeEnum::TableItem => ParquetTypeStructs::TableItem(Vec::new()), + ParquetTypeEnum::MoveModule => ParquetTypeStructs::MoveModule(Vec::new()), + } + } + + pub fn get_table_name(&self) -> &'static str { + match self { + ParquetTypeStructs::MoveResource(_) => "move_resources", + ParquetTypeStructs::WriteSetChange(_) => "write_set_changes", + ParquetTypeStructs::Transaction(_) => "transactions", + ParquetTypeStructs::TableItem(_) => "table_items", + ParquetTypeStructs::MoveModule(_) => "move_modules", + } + } + + pub fn calculate_size(&self) -> usize { + match self { + ParquetTypeStructs::MoveResource(data) => allocative::size_of_unique(data), + ParquetTypeStructs::WriteSetChange(data) => allocative::size_of_unique(data), + ParquetTypeStructs::Transaction(data) => allocative::size_of_unique(data), + ParquetTypeStructs::TableItem(data) => allocative::size_of_unique(data), + ParquetTypeStructs::MoveModule(data) => allocative::size_of_unique(data), + } + } + + /// Appends data to the current buffer within each ParquetTypeStructs variant. + pub fn append(&mut self, other: ParquetTypeStructs) -> Result<(), ProcessorError> { + match (self, other) { + (ParquetTypeStructs::MoveResource(buf), ParquetTypeStructs::MoveResource(mut data)) => { + buf.append(&mut data); + Ok(()) + }, + ( + ParquetTypeStructs::WriteSetChange(buf), + ParquetTypeStructs::WriteSetChange(mut data), + ) => { + buf.append(&mut data); + Ok(()) + }, + (ParquetTypeStructs::Transaction(buf), ParquetTypeStructs::Transaction(mut data)) => { + buf.append(&mut data); + Ok(()) + }, + (ParquetTypeStructs::TableItem(buf), ParquetTypeStructs::TableItem(mut data)) => { + buf.append(&mut data); + Ok(()) + }, + (ParquetTypeStructs::MoveModule(buf), ParquetTypeStructs::MoveModule(mut data)) => { + buf.append(&mut data); + Ok(()) + }, + _ => Err(ProcessorError::ProcessError { + message: "Mismatched buffer types in append operation".to_string(), + }), + } + } +} + +#[cfg(test)] +mod test { + use super::*; + use strum::VariantNames; + + /// This test exists to make sure that when a new processor is added, it is added + /// to both Processor and ProcessorConfig. + /// + /// To make sure this passes, make sure the variants are in the same order + /// (lexicographical) and the names match. + #[test] + fn test_parquet_type_names_complete() { + assert_eq!(ParquetTypeStructName::VARIANTS, ParquetTypeName::VARIANTS); + } +} diff --git a/rust/sdk-processor/src/parquet_processors/parquet_default_processor.rs b/rust/sdk-processor/src/parquet_processors/parquet_default_processor.rs index 4799794c6..73cfa1628 100644 --- a/rust/sdk-processor/src/parquet_processors/parquet_default_processor.rs +++ b/rust/sdk-processor/src/parquet_processors/parquet_default_processor.rs @@ -3,6 +3,14 @@ use crate::{ db_config::DbConfig, indexer_processor_config::IndexerProcessorConfig, processor_config::ProcessorConfig, }, + parquet_processors::ParquetTypeEnum, + steps::{ + common::{ + gcs_uploader::{create_new_writer, GCSUploader}, + parquet_buffer_step::ParquetBufferStep, + }, + parquet_default_processor::parquet_default_extractor::ParquetDefaultExtractor, + }, utils::{ chain_id::check_or_update_chain_id, database::{new_db_pool, run_migrations, ArcDbPool}, @@ -11,8 +19,26 @@ use crate::{ }; use anyhow::Context; use aptos_indexer_processor_sdk::{ - aptos_indexer_transaction_stream::TransactionStream, traits::processor_trait::ProcessorTrait, + aptos_indexer_transaction_stream::{TransactionStream, TransactionStreamConfig}, + builder::ProcessorBuilder, + common_steps::TransactionStreamStep, + traits::{processor_trait::ProcessorTrait, IntoRunnableStep}, +}; +use google_cloud_storage::client::{Client as GCSClient, ClientConfig as GcsClientConfig}; +use parquet::schema::types::Type; +use processor::{ + bq_analytics::generic_parquet_processor::HasParquetSchema, + db::parquet::models::default_models::{ + parquet_move_modules::MoveModule, parquet_move_resources::MoveResource, + parquet_move_tables::TableItem, parquet_transactions::Transaction as ParquetTransaction, + parquet_write_set_changes::WriteSetChangeModel, + }, + worker::TableFlags, }; +use std::{collections::HashMap, sync::Arc, time::Duration}; +use tracing::{debug, info}; + +const GOOGLE_APPLICATION_CREDENTIALS: &str = "GOOGLE_APPLICATION_CREDENTIALS"; pub struct ParquetDefaultProcessor { pub config: IndexerProcessorConfig, @@ -54,32 +80,27 @@ impl ProcessorTrait for ParquetDefaultProcessor { // Run Migrations match self.config.db_config { DbConfig::PostgresConfig(ref postgres_config) => { - run_migrations( - postgres_config.connection_string.clone(), - self.db_pool.clone(), - ) - .await; + run_migrations(&postgres_config.connection_string, self.db_pool.clone()).await; }, } // Determine the processing mode (backfill or regular) let is_backfill = self.config.backfill_config.is_some(); + // TODO: Revisit when parquet version tracker is available. // Query the starting version - let _starting_version = if is_backfill { - get_starting_version(&self.config, self.db_pool.clone()).await?; + let starting_version = if is_backfill { + get_starting_version(&self.config, self.db_pool.clone()).await? } else { // Regular mode logic: Fetch the minimum last successful version across all relevant tables let table_names = self .config .processor_config .get_table_names() - .context(format!( - "Failed to get table names for the processor {}", - self.config.processor_config.name() - ))?; + .context("Failed to get table names for the processor")?; + get_min_last_success_version_parquet(&self.config, self.db_pool.clone(), table_names) - .await?; + .await? }; // Check and update the ledger chain id to ensure we're indexing the correct chain @@ -89,7 +110,7 @@ impl ProcessorTrait for ParquetDefaultProcessor { .await?; check_or_update_chain_id(grpc_chain_id as i64, self.db_pool.clone()).await?; - let _parquet_processor_config = match self.config.processor_config.clone() { + let parquet_processor_config = match self.config.processor_config.clone() { ProcessorConfig::ParquetDefaultProcessor(parquet_processor_config) => { parquet_processor_config }, @@ -101,7 +122,91 @@ impl ProcessorTrait for ParquetDefaultProcessor { }, }; - // Define processor steps - Ok(()) + // Define processor transaction stream config + let transaction_stream = TransactionStreamStep::new(TransactionStreamConfig { + starting_version: Some(starting_version), + ..self.config.transaction_stream_config.clone() + }) + .await?; + + let parquet_default_extractor = ParquetDefaultExtractor { + opt_in_tables: TableFlags::empty(), + }; + + let credentials = parquet_processor_config + .google_application_credentials + .clone(); + + if let Some(credentials) = credentials { + std::env::set_var(GOOGLE_APPLICATION_CREDENTIALS, credentials); + } + + let gcs_config = GcsClientConfig::default() + .with_auth() + .await + .expect("Failed to create GCS client config"); + + let gcs_client = Arc::new(GCSClient::new(gcs_config)); + + let parquet_type_to_schemas: HashMap> = [ + (ParquetTypeEnum::MoveResource, MoveResource::schema()), + ( + ParquetTypeEnum::WriteSetChange, + WriteSetChangeModel::schema(), + ), + (ParquetTypeEnum::Transaction, ParquetTransaction::schema()), + (ParquetTypeEnum::TableItem, TableItem::schema()), + (ParquetTypeEnum::MoveModule, MoveModule::schema()), + ] + .into_iter() + .collect(); + + let parquet_type_to_writer = parquet_type_to_schemas + .iter() + .map(|(key, schema)| { + let writer = create_new_writer(schema.clone()).expect("Failed to create writer"); + (*key, writer) + }) + .collect(); + + let buffer_uploader = GCSUploader::new( + gcs_client.clone(), + parquet_type_to_schemas, + parquet_type_to_writer, + parquet_processor_config.bucket_name.clone(), + parquet_processor_config.bucket_root.clone(), + self.name().to_string(), + )?; + + let channel_size = parquet_processor_config.channel_size; + + let default_size_buffer_step = ParquetBufferStep::new( + Duration::from_secs(parquet_processor_config.parquet_upload_interval), + buffer_uploader, + parquet_processor_config.max_buffer_size, + ); + + // Connect processor steps together + let (_, buffer_receiver) = ProcessorBuilder::new_with_inputless_first_step( + transaction_stream.into_runnable_step(), + ) + .connect_to(parquet_default_extractor.into_runnable_step(), channel_size) + .connect_to(default_size_buffer_step.into_runnable_step(), channel_size) + .end_and_return_output_receiver(channel_size); + + loop { + match buffer_receiver.recv().await { + Ok(txn_context) => { + debug!( + "Finished processing versions [{:?}, {:?}]", + txn_context.metadata.start_version, txn_context.metadata.end_version, + ); + }, + Err(e) => { + info!("No more transactions in channel: {:?}", e); + break Ok(()); + }, + } + } } } diff --git a/rust/sdk-processor/src/processors/account_transactions_processor.rs b/rust/sdk-processor/src/processors/account_transactions_processor.rs index 7260c3c02..011a8d129 100644 --- a/rust/sdk-processor/src/processors/account_transactions_processor.rs +++ b/rust/sdk-processor/src/processors/account_transactions_processor.rs @@ -64,11 +64,7 @@ impl ProcessorTrait for AccountTransactionsProcessor { // Run migrations match self.config.db_config { DbConfig::PostgresConfig(ref postgres_config) => { - run_migrations( - postgres_config.connection_string.clone(), - self.db_pool.clone(), - ) - .await; + run_migrations(&postgres_config.connection_string, self.db_pool.clone()).await; }, } diff --git a/rust/sdk-processor/src/processors/ans_processor.rs b/rust/sdk-processor/src/processors/ans_processor.rs index fbc5605a8..db74f2f74 100644 --- a/rust/sdk-processor/src/processors/ans_processor.rs +++ b/rust/sdk-processor/src/processors/ans_processor.rs @@ -77,11 +77,7 @@ impl ProcessorTrait for AnsProcessor { // Run migrations match self.config.db_config { DbConfig::PostgresConfig(ref postgres_config) => { - run_migrations( - postgres_config.connection_string.clone(), - self.db_pool.clone(), - ) - .await; + run_migrations(&postgres_config.connection_string, self.db_pool.clone()).await; }, } diff --git a/rust/sdk-processor/src/processors/default_processor.rs b/rust/sdk-processor/src/processors/default_processor.rs index e27dd0d0b..e5a933653 100644 --- a/rust/sdk-processor/src/processors/default_processor.rs +++ b/rust/sdk-processor/src/processors/default_processor.rs @@ -66,11 +66,7 @@ impl ProcessorTrait for DefaultProcessor { // Run migrations match self.config.db_config { DbConfig::PostgresConfig(ref postgres_config) => { - run_migrations( - postgres_config.connection_string.clone(), - self.db_pool.clone(), - ) - .await; + run_migrations(&postgres_config.connection_string, self.db_pool.clone()).await; }, } diff --git a/rust/sdk-processor/src/processors/events_processor.rs b/rust/sdk-processor/src/processors/events_processor.rs index 124ed0eb9..8e213daef 100644 --- a/rust/sdk-processor/src/processors/events_processor.rs +++ b/rust/sdk-processor/src/processors/events_processor.rs @@ -64,11 +64,7 @@ impl ProcessorTrait for EventsProcessor { // Run migrations match self.config.db_config { DbConfig::PostgresConfig(ref postgres_config) => { - run_migrations( - postgres_config.connection_string.clone(), - self.db_pool.clone(), - ) - .await; + run_migrations(&postgres_config.connection_string, self.db_pool.clone()).await; }, } diff --git a/rust/sdk-processor/src/processors/fungible_asset_processor.rs b/rust/sdk-processor/src/processors/fungible_asset_processor.rs index a7c16779d..513ac8054 100644 --- a/rust/sdk-processor/src/processors/fungible_asset_processor.rs +++ b/rust/sdk-processor/src/processors/fungible_asset_processor.rs @@ -68,11 +68,7 @@ impl ProcessorTrait for FungibleAssetProcessor { // Run migrations match self.config.db_config { DbConfig::PostgresConfig(ref postgres_config) => { - run_migrations( - postgres_config.connection_string.clone(), - self.db_pool.clone(), - ) - .await; + run_migrations(&postgres_config.connection_string, self.db_pool.clone()).await; }, } diff --git a/rust/sdk-processor/src/processors/mod.rs b/rust/sdk-processor/src/processors/mod.rs index 281a13544..265e44709 100644 --- a/rust/sdk-processor/src/processors/mod.rs +++ b/rust/sdk-processor/src/processors/mod.rs @@ -3,6 +3,9 @@ pub mod ans_processor; pub mod default_processor; pub mod events_processor; pub mod fungible_asset_processor; +pub mod monitoring_processor; +pub mod nft_metadata_processor; pub mod objects_processor; pub mod stake_processor; pub mod token_v2_processor; +pub mod user_transaction_processor; diff --git a/rust/sdk-processor/src/processors/monitoring_processor.rs b/rust/sdk-processor/src/processors/monitoring_processor.rs new file mode 100644 index 000000000..9ac3ab5d6 --- /dev/null +++ b/rust/sdk-processor/src/processors/monitoring_processor.rs @@ -0,0 +1,123 @@ +use crate::{ + config::{ + db_config::DbConfig, indexer_processor_config::IndexerProcessorConfig, + processor_config::ProcessorConfig, + }, + steps::common::get_processor_status_saver, + utils::{ + chain_id::check_or_update_chain_id, + database::{new_db_pool, run_migrations, ArcDbPool}, + starting_version::get_starting_version, + }, +}; +use anyhow::Result; +use aptos_indexer_processor_sdk::{ + aptos_indexer_transaction_stream::{TransactionStream, TransactionStreamConfig}, + builder::ProcessorBuilder, + common_steps::{ + TransactionStreamStep, VersionTrackerStep, DEFAULT_UPDATE_PROCESSOR_STATUS_SECS, + }, + traits::{processor_trait::ProcessorTrait, IntoRunnableStep}, +}; +use tracing::{debug, info}; + +pub struct MonitoringProcessor { + pub config: IndexerProcessorConfig, + pub db_pool: ArcDbPool, +} + +impl MonitoringProcessor { + pub async fn new(config: IndexerProcessorConfig) -> Result { + match config.db_config { + DbConfig::PostgresConfig(ref postgres_config) => { + let conn_pool = new_db_pool( + &postgres_config.connection_string, + Some(postgres_config.db_pool_size), + ) + .await + .map_err(|e| { + anyhow::anyhow!( + "Failed to create connection pool for PostgresConfig: {:?}", + e + ) + })?; + + Ok(Self { + config, + db_pool: conn_pool, + }) + }, + } + } +} + +#[async_trait::async_trait] +impl ProcessorTrait for MonitoringProcessor { + fn name(&self) -> &'static str { + self.config.processor_config.name() + } + + /// This processor no-ops and is used for monitoring purposes. + async fn run_processor(&self) -> Result<()> { + // Run migrations + match self.config.db_config { + DbConfig::PostgresConfig(ref postgres_config) => { + run_migrations(&postgres_config.connection_string, self.db_pool.clone()).await; + }, + } + + // Merge the starting version from config and the latest processed version from the DB + let starting_version = get_starting_version(&self.config, self.db_pool.clone()).await?; + + // Check and update the ledger chain id to ensure we're indexing the correct chain + let grpc_chain_id = TransactionStream::new(self.config.transaction_stream_config.clone()) + .await? + .get_chain_id() + .await?; + check_or_update_chain_id(grpc_chain_id as i64, self.db_pool.clone()).await?; + + let processor_config = match self.config.processor_config.clone() { + ProcessorConfig::MonitoringProcessor(processor_config) => processor_config, + _ => { + return Err(anyhow::anyhow!( + "Invalid processor config for MonitoringProcessor: {:?}", + self.config.processor_config + )) + }, + }; + let channel_size = processor_config.channel_size; + + // Define processor steps + let transaction_stream = TransactionStreamStep::new(TransactionStreamConfig { + starting_version: Some(starting_version), + ..self.config.transaction_stream_config.clone() + }) + .await?; + let version_tracker = VersionTrackerStep::new( + get_processor_status_saver(self.db_pool.clone(), self.config.clone()), + DEFAULT_UPDATE_PROCESSOR_STATUS_SECS, + ); + + // Connect processor steps together + let (_, buffer_receiver) = ProcessorBuilder::new_with_inputless_first_step( + transaction_stream.into_runnable_step(), + ) + .connect_to(version_tracker.into_runnable_step(), channel_size) + .end_and_return_output_receiver(channel_size); + + loop { + match buffer_receiver.recv().await { + Ok(txn_context) => { + debug!( + "Monitoring versions [{:?}, {:?}]", + txn_context.metadata.start_version, txn_context.metadata.end_version, + ); + }, + Err(e) => { + info!("No more transactions in channel: {:?}", e); + break Ok(()); + }, + } + } + } +} diff --git a/rust/sdk-processor/src/processors/nft_metadata_processor.rs b/rust/sdk-processor/src/processors/nft_metadata_processor.rs new file mode 100644 index 000000000..6bc859520 --- /dev/null +++ b/rust/sdk-processor/src/processors/nft_metadata_processor.rs @@ -0,0 +1,175 @@ +use crate::{ + config::{ + db_config::{DbConfig, PostgresConfig}, + indexer_processor_config::{ + IndexerProcessorConfig, QUERY_DEFAULT_RETRIES, QUERY_DEFAULT_RETRY_DELAY_MS, + }, + processor_config::{DefaultProcessorConfig, ProcessorConfig}, + }, + steps::{ + common::get_processor_status_saver, + nft_metadata_processor::asset_uri_publisher::AssetUriPublisher, + token_v2_processor::token_v2_extractor::TokenV2Extractor, + }, + utils::{ + chain_id::check_or_update_chain_id, + database::{new_db_pool, run_migrations, ArcDbPool}, + starting_version::get_starting_version, + }, +}; +use aptos_indexer_processor_sdk::{ + aptos_indexer_transaction_stream::{TransactionStream, TransactionStreamConfig}, + builder::ProcessorBuilder, + common_steps::{ + TransactionStreamStep, VersionTrackerStep, DEFAULT_UPDATE_PROCESSOR_STATUS_SECS, + }, + traits::{processor_trait::ProcessorTrait, IntoRunnableStep}, +}; +use google_cloud_pubsub::{ + client::{Client as PubSubClient, ClientConfig}, + publisher::Publisher, +}; +use serde::{Deserialize, Serialize}; +use std::sync::Arc; +use tracing::{debug, error}; + +#[derive(Clone, Debug, Deserialize, Serialize)] +#[serde(deny_unknown_fields)] +pub struct NftMetadataProcessorConfig { + #[serde(flatten)] + pub default_config: DefaultProcessorConfig, + pub pubsub_topic_name: String, + pub google_application_credentials: Option, + #[serde(default = "NftMetadataProcessorConfig::default_query_retries")] + pub query_retries: u32, + #[serde(default = "NftMetadataProcessorConfig::default_query_retry_delay_ms")] + pub query_retry_delay_ms: u64, +} + +impl NftMetadataProcessorConfig { + pub const fn default_query_retries() -> u32 { + QUERY_DEFAULT_RETRIES + } + + pub const fn default_query_retry_delay_ms() -> u64 { + QUERY_DEFAULT_RETRY_DELAY_MS + } +} + +pub struct NftMetadataProcessor { + db_pool: ArcDbPool, + config: IndexerProcessorConfig, + publisher: Arc, +} + +impl NftMetadataProcessor { + pub async fn new(config: IndexerProcessorConfig) -> anyhow::Result { + let (nft_metadata_processor_config, db_config) = extract_configs(&config)?; + + let db_pool = + new_db_pool(&db_config.connection_string, Some(db_config.db_pool_size)).await?; + + // The PubSub crate utilizes service account file in GOOGLE_APPLICATION_CREDENTIALS env var for auth. + // If not set, the crate will attempt to retrieve credentials from the metadata server. + + if let Some(credentials) = &nft_metadata_processor_config.google_application_credentials { + std::env::set_var("GOOGLE_APPLICATION_CREDENTIALS", credentials); + } + + // Initialize PubSub client + let pubsub_config = ClientConfig::default().with_auth().await?; + let client = PubSubClient::new(pubsub_config).await?; + let topic = client.topic(&nft_metadata_processor_config.pubsub_topic_name.clone()); + let publisher = Arc::new(topic.new_publisher(None)); + + Ok(Self { + config, + publisher, + db_pool, + }) + } +} + +#[async_trait::async_trait] +impl ProcessorTrait for NftMetadataProcessor { + fn name(&self) -> &'static str { + self.config.processor_config.name() + } + + async fn run_processor(&self) -> anyhow::Result<()> { + let (nft_metadata_processor_config, db_config) = extract_configs(&self.config)?; + run_migrations(&db_config.connection_string, self.db_pool.clone()).await; + + // Merge the starting version from config and the latest processed version from the DB + let starting_version = get_starting_version(&self.config, self.db_pool.clone()).await?; + + // Check and update the ledger chain id to ensure we're indexing the correct chain + let grpc_chain_id = TransactionStream::new(self.config.transaction_stream_config.clone()) + .await? + .get_chain_id() + .await?; + check_or_update_chain_id(grpc_chain_id as i64, self.db_pool.clone()).await?; + + let channel_size = nft_metadata_processor_config.default_config.channel_size; + + // Define processor steps + let transaction_stream = TransactionStreamStep::new(TransactionStreamConfig { + starting_version: Some(starting_version), + ..self.config.transaction_stream_config.clone() + }) + .await?; + + // Reuse the token_v2_extractor to keep the indexing logic in the same place + let token_v2_extractor = TokenV2Extractor::new( + nft_metadata_processor_config.query_retries, + nft_metadata_processor_config.query_retry_delay_ms, + self.db_pool.clone(), + ); + + let asset_uri_publisher = AssetUriPublisher::new(self.publisher.clone(), grpc_chain_id); + + let version_tracker = VersionTrackerStep::new( + get_processor_status_saver(self.db_pool.clone(), self.config.clone()), + DEFAULT_UPDATE_PROCESSOR_STATUS_SECS, + ); + + // Connect processor steps together + let (_, buffer_receiver) = ProcessorBuilder::new_with_inputless_first_step( + transaction_stream.into_runnable_step(), + ) + .connect_to(token_v2_extractor.into_runnable_step(), channel_size) + .connect_to(asset_uri_publisher.into_runnable_step(), channel_size) + .connect_to(version_tracker.into_runnable_step(), channel_size) + .end_and_return_output_receiver(channel_size); + + loop { + match buffer_receiver.recv().await { + Ok(txn_context) => { + debug!( + "Finished processing versions [{:?}, {:?}]", + txn_context.metadata.start_version, txn_context.metadata.end_version, + ); + }, + Err(e) => { + // Error means the channel has been closed + error!(error = ?e, "Error receiving transactions"); + return Err(e.into()); + }, + } + } + } +} + +fn extract_configs( + config: &IndexerProcessorConfig, +) -> anyhow::Result<(&NftMetadataProcessorConfig, &PostgresConfig)> { + let ( + ProcessorConfig::NftMetadataProcessor(nft_metadata_processor_config), + DbConfig::PostgresConfig(db_config), + ) = (&config.processor_config, &config.db_config) + else { + anyhow::bail!("Invalid config") + }; + + Ok((nft_metadata_processor_config, db_config)) +} diff --git a/rust/sdk-processor/src/processors/objects_processor.rs b/rust/sdk-processor/src/processors/objects_processor.rs index d69945dd3..515985a35 100644 --- a/rust/sdk-processor/src/processors/objects_processor.rs +++ b/rust/sdk-processor/src/processors/objects_processor.rs @@ -89,11 +89,7 @@ impl ProcessorTrait for ObjectsProcessor { // Run migrations match self.config.db_config { DbConfig::PostgresConfig(ref postgres_config) => { - run_migrations( - postgres_config.connection_string.clone(), - self.db_pool.clone(), - ) - .await; + run_migrations(&postgres_config.connection_string, self.db_pool.clone()).await; }, } diff --git a/rust/sdk-processor/src/processors/stake_processor.rs b/rust/sdk-processor/src/processors/stake_processor.rs index 4ae5e322a..e50af3b4d 100644 --- a/rust/sdk-processor/src/processors/stake_processor.rs +++ b/rust/sdk-processor/src/processors/stake_processor.rs @@ -89,11 +89,7 @@ impl ProcessorTrait for StakeProcessor { // Run migrations match self.config.db_config { DbConfig::PostgresConfig(ref postgres_config) => { - run_migrations( - postgres_config.connection_string.clone(), - self.db_pool.clone(), - ) - .await; + run_migrations(&postgres_config.connection_string, self.db_pool.clone()).await; }, } diff --git a/rust/sdk-processor/src/processors/token_v2_processor.rs b/rust/sdk-processor/src/processors/token_v2_processor.rs index 0f75af7c2..55121e968 100644 --- a/rust/sdk-processor/src/processors/token_v2_processor.rs +++ b/rust/sdk-processor/src/processors/token_v2_processor.rs @@ -90,11 +90,7 @@ impl ProcessorTrait for TokenV2Processor { // Run migrations match self.config.db_config { DbConfig::PostgresConfig(ref postgres_config) => { - run_migrations( - postgres_config.connection_string.clone(), - self.db_pool.clone(), - ) - .await; + run_migrations(&postgres_config.connection_string, self.db_pool.clone()).await; }, } diff --git a/rust/sdk-processor/src/processors/user_transaction_processor.rs b/rust/sdk-processor/src/processors/user_transaction_processor.rs new file mode 100644 index 000000000..be1b96a0e --- /dev/null +++ b/rust/sdk-processor/src/processors/user_transaction_processor.rs @@ -0,0 +1,135 @@ +use crate::{ + config::{ + db_config::DbConfig, indexer_processor_config::IndexerProcessorConfig, + processor_config::ProcessorConfig, + }, + steps::{ + common::get_processor_status_saver, + user_transaction_processor::{UserTransactionExtractor, UserTransactionStorer}, + }, + utils::{ + chain_id::check_or_update_chain_id, + database::{new_db_pool, run_migrations, ArcDbPool}, + starting_version::get_starting_version, + }, +}; +use anyhow::Result; +use aptos_indexer_processor_sdk::{ + aptos_indexer_transaction_stream::{TransactionStream, TransactionStreamConfig}, + builder::ProcessorBuilder, + common_steps::{ + TransactionStreamStep, VersionTrackerStep, DEFAULT_UPDATE_PROCESSOR_STATUS_SECS, + }, + traits::{processor_trait::ProcessorTrait, IntoRunnableStep}, +}; +use processor::worker::TableFlags; +use tracing::{debug, info}; + +pub struct UserTransactionProcessor { + pub config: IndexerProcessorConfig, + pub db_pool: ArcDbPool, +} + +impl UserTransactionProcessor { + pub async fn new(config: IndexerProcessorConfig) -> Result { + match config.db_config { + DbConfig::PostgresConfig(ref postgres_config) => { + let conn_pool = new_db_pool( + &postgres_config.connection_string, + Some(postgres_config.db_pool_size), + ) + .await + .map_err(|e| { + anyhow::anyhow!( + "Failed to create connection pool for PostgresConfig: {:?}", + e + ) + })?; + + Ok(Self { + config, + db_pool: conn_pool, + }) + }, + } + } +} + +#[async_trait::async_trait] +impl ProcessorTrait for UserTransactionProcessor { + fn name(&self) -> &'static str { + self.config.processor_config.name() + } + + async fn run_processor(&self) -> Result<()> { + // Run migrations + match self.config.db_config { + DbConfig::PostgresConfig(ref postgres_config) => { + run_migrations( + &postgres_config.connection_string, + self.db_pool.clone(), + ) + .await; + }, + } + + // Merge the starting version from config and the latest processed version from the DB + let starting_version = get_starting_version(&self.config, self.db_pool.clone()).await?; + + // Check and update the ledger chain id to ensure we're indexing the correct chain + let grpc_chain_id = TransactionStream::new(self.config.transaction_stream_config.clone()) + .await? + .get_chain_id() + .await?; + check_or_update_chain_id(grpc_chain_id as i64, self.db_pool.clone()).await?; + + let processor_config = match self.config.processor_config.clone() { + ProcessorConfig::UserTransactionProcessor(processor_config) => processor_config, + _ => { + return Err(anyhow::anyhow!( + "Invalid processor config for UserTransactionProcessor: {:?}", + self.config.processor_config + )) + }, + }; + let channel_size = processor_config.channel_size; + let deprecated_tables = TableFlags::from_set(&processor_config.deprecated_tables); + + // Define processor steps + let transaction_stream = TransactionStreamStep::new(TransactionStreamConfig { + starting_version: Some(starting_version), + ..self.config.transaction_stream_config.clone() + }) + .await?; + let user_txn_extractor = UserTransactionExtractor::new(deprecated_tables); + let user_txn_storer = UserTransactionStorer::new(self.db_pool.clone(), processor_config); + let version_tracker = VersionTrackerStep::new( + get_processor_status_saver(self.db_pool.clone(), self.config.clone()), + DEFAULT_UPDATE_PROCESSOR_STATUS_SECS, + ); + + // Connect processor steps together + let (_, buffer_receiver) = ProcessorBuilder::new_with_inputless_first_step( + transaction_stream.into_runnable_step(), + ) + .connect_to(user_txn_extractor.into_runnable_step(), channel_size) + .connect_to(user_txn_storer.into_runnable_step(), channel_size) + .connect_to(version_tracker.into_runnable_step(), channel_size) + .end_and_return_output_receiver(channel_size); + + loop { + match buffer_receiver.recv().await { + Ok(txn_context) => { + debug!( + "Finished processing user txns from versions [{:?}, {:?}]", + txn_context.metadata.start_version, txn_context.metadata.end_version, + ); + }, + Err(e) => { + info!("No more transactions in channel: {:?}", e); + break Ok(()); + }, + } + } + } +} diff --git a/rust/sdk-processor/src/steps/account_transactions_processor/account_transactions_extractor.rs b/rust/sdk-processor/src/steps/account_transactions_processor/account_transactions_extractor.rs index cc7055b67..926e523d3 100644 --- a/rust/sdk-processor/src/steps/account_transactions_processor/account_transactions_extractor.rs +++ b/rust/sdk-processor/src/steps/account_transactions_processor/account_transactions_extractor.rs @@ -5,7 +5,7 @@ use aptos_indexer_processor_sdk::{ utils::errors::ProcessorError, }; use async_trait::async_trait; -use processor::db::common::models::account_transaction_models::account_transactions::AccountTransaction; +use processor::db::postgres::models::account_transaction_models::account_transactions::AccountTransaction; use rayon::prelude::*; pub struct AccountTransactionsExtractor diff --git a/rust/sdk-processor/src/steps/account_transactions_processor/account_transactions_storer.rs b/rust/sdk-processor/src/steps/account_transactions_processor/account_transactions_storer.rs index 5bfb4a22a..880eee3b6 100644 --- a/rust/sdk-processor/src/steps/account_transactions_processor/account_transactions_storer.rs +++ b/rust/sdk-processor/src/steps/account_transactions_processor/account_transactions_storer.rs @@ -11,7 +11,7 @@ use aptos_indexer_processor_sdk::{ }; use async_trait::async_trait; use processor::{ - db::common::models::account_transaction_models::account_transactions::AccountTransaction, + db::postgres::models::account_transaction_models::account_transactions::AccountTransaction, processors::account_transactions_processor::insert_account_transactions_query, }; use tracing::debug; diff --git a/rust/sdk-processor/src/steps/ans_processor/ans_extractor.rs b/rust/sdk-processor/src/steps/ans_processor/ans_extractor.rs index 748cf522a..c55cac990 100644 --- a/rust/sdk-processor/src/steps/ans_processor/ans_extractor.rs +++ b/rust/sdk-processor/src/steps/ans_processor/ans_extractor.rs @@ -9,7 +9,7 @@ use aptos_indexer_processor_sdk::{ }; use async_trait::async_trait; use processor::{ - db::common::models::ans_models::{ + db::postgres::models::ans_models::{ ans_lookup::{AnsLookup, AnsPrimaryName, CurrentAnsLookup, CurrentAnsPrimaryName}, ans_lookup_v2::{AnsLookupV2, CurrentAnsLookupV2, CurrentAnsPrimaryNameV2}, }, diff --git a/rust/sdk-processor/src/steps/ans_processor/ans_storer.rs b/rust/sdk-processor/src/steps/ans_processor/ans_storer.rs index 807f4f62d..19ad69470 100644 --- a/rust/sdk-processor/src/steps/ans_processor/ans_storer.rs +++ b/rust/sdk-processor/src/steps/ans_processor/ans_storer.rs @@ -11,7 +11,7 @@ use aptos_indexer_processor_sdk::{ }; use async_trait::async_trait; use processor::{ - db::common::models::ans_models::{ + db::postgres::models::ans_models::{ ans_lookup::{AnsLookup, AnsPrimaryName, CurrentAnsLookup, CurrentAnsPrimaryName}, ans_lookup_v2::{AnsLookupV2, CurrentAnsLookupV2, CurrentAnsPrimaryNameV2}, }, diff --git a/rust/sdk-processor/src/steps/common/gcs_uploader.rs b/rust/sdk-processor/src/steps/common/gcs_uploader.rs new file mode 100644 index 000000000..c6d8f435f --- /dev/null +++ b/rust/sdk-processor/src/steps/common/gcs_uploader.rs @@ -0,0 +1,189 @@ +use crate::parquet_processors::{ParquetTypeEnum, ParquetTypeStructs}; +use anyhow::Context; +use aptos_indexer_processor_sdk::utils::errors::ProcessorError; +use async_trait::async_trait; +use google_cloud_storage::client::Client as GCSClient; +use parquet::{ + file::{properties::WriterProperties, writer::SerializedFileWriter}, + record::RecordWriter, + schema::types::Type, +}; +use processor::bq_analytics::{ + gcs_handler::upload_parquet_to_gcs, + generic_parquet_processor::{GetTimeStamp, HasParquetSchema, HasVersion}, +}; +use std::{collections::HashMap, path::PathBuf, sync::Arc}; +use tracing::{debug, error}; + +pub struct GCSUploader { + gcs_client: Arc, + parquet_type_to_schemas: HashMap>, + parquet_type_to_writer: HashMap>>, + pub bucket_name: String, + pub bucket_root: String, + pub processor_name: String, +} + +#[async_trait] +pub trait Uploadable { + async fn upload_buffer( + &mut self, + buffer: ParquetTypeStructs, + ) -> anyhow::Result<(), ProcessorError>; +} + +#[async_trait] +impl Uploadable for GCSUploader { + async fn upload_buffer( + &mut self, + buffer: ParquetTypeStructs, + ) -> anyhow::Result<(), ProcessorError> { + let table_name = buffer.get_table_name(); + + let result = match buffer { + ParquetTypeStructs::Transaction(transactions) => { + self.upload_generic(&transactions[..], ParquetTypeEnum::Transaction, table_name) + .await + }, + ParquetTypeStructs::MoveResource(resources) => { + self.upload_generic(&resources[..], ParquetTypeEnum::MoveResource, table_name) + .await + }, + ParquetTypeStructs::WriteSetChange(changes) => { + self.upload_generic(&changes[..], ParquetTypeEnum::WriteSetChange, table_name) + .await + }, + ParquetTypeStructs::TableItem(items) => { + self.upload_generic(&items[..], ParquetTypeEnum::TableItem, table_name) + .await + }, + ParquetTypeStructs::MoveModule(modules) => { + self.upload_generic(&modules[..], ParquetTypeEnum::MoveModule, table_name) + .await + }, + }; + + if let Err(e) = result { + error!("Failed to upload buffer: {}", e); + return Err(ProcessorError::ProcessError { + message: format!("Failed to upload buffer: {}", e), + }); + } + Ok(()) + } +} + +pub fn create_new_writer(schema: Arc) -> anyhow::Result>> { + let props = WriterProperties::builder() + .set_compression(parquet::basic::Compression::LZ4) + .build(); + let props_arc = Arc::new(props); + + SerializedFileWriter::new(Vec::new(), schema, props_arc).context("Failed to create new writer") +} + +impl GCSUploader { + pub fn new( + gcs_client: Arc, + parquet_type_to_schemas: HashMap>, + parquet_type_to_writer: HashMap>>, + bucket_name: String, + bucket_root: String, + processor_name: String, + ) -> anyhow::Result { + Ok(Self { + gcs_client, + parquet_type_to_schemas, + parquet_type_to_writer, + bucket_name, + bucket_root, + processor_name, + }) + } + + fn create_new_writer( + &self, + parquet_type: ParquetTypeEnum, + ) -> anyhow::Result>> { + let schema = self + .parquet_type_to_schemas + .get(&parquet_type) + .context("Parquet type not found in schemas")? + .clone(); + + create_new_writer(schema) + } + + /// # Context: Why we replace our writer + /// + /// Once we’re ready to upload (either because the buffer is full or enough time has passed), + /// we don’t want to keep adding new data to that same writer. we want a clean slate for the next batch. + /// So, we replace the old writer with a new one to empty the writer buffer without losing any data. + fn get_and_replace_writer( + &mut self, + parquet_type: ParquetTypeEnum, + ) -> anyhow::Result>> { + let old_writer = self + .parquet_type_to_writer + .remove(&parquet_type) + .context("Writer for specified Parquet type not found")?; + + // Create a new writer and replace the old writer with it + let new_writer = self.create_new_writer(parquet_type)?; + self.parquet_type_to_writer.insert(parquet_type, new_writer); + + // Return the old writer so its contents can be used + Ok(old_writer) + } + + // Generic upload function to handle any data type + async fn upload_generic( + &mut self, + data: &[ParquetType], + parquet_type: ParquetTypeEnum, + table_name: &'static str, + ) -> anyhow::Result<()> + where + ParquetType: HasVersion + GetTimeStamp + HasParquetSchema, + for<'a> &'a [ParquetType]: RecordWriter, + { + if data.is_empty() { + debug!("Buffer is empty, skipping upload."); + return Ok(()); + } + + let writer = self + .parquet_type_to_writer + .get_mut(&parquet_type) + .context("Writer not found for specified parquet type")?; + + let mut row_group_writer = writer.next_row_group().context("Failed to get row group")?; + + data.write_to_row_group(&mut row_group_writer) + .context("Failed to write to row group")?; + + row_group_writer + .close() + .context("Failed to close row group")?; + + let old_writer = self + .get_and_replace_writer(parquet_type) + .context("Failed to close writer")?; + let upload_buffer = old_writer + .into_inner() + .context("Failed to get inner buffer")?; + + let bucket_root = PathBuf::from(&self.bucket_root); + upload_parquet_to_gcs( + &self.gcs_client, + upload_buffer, + table_name, + &self.bucket_name, + &bucket_root, + self.processor_name.clone(), + ) + .await?; + + Ok(()) + } +} diff --git a/rust/sdk-processor/src/steps/common/mod.rs b/rust/sdk-processor/src/steps/common/mod.rs index 6b2e05793..18c449997 100644 --- a/rust/sdk-processor/src/steps/common/mod.rs +++ b/rust/sdk-processor/src/steps/common/mod.rs @@ -1,3 +1,5 @@ +pub mod gcs_uploader; +pub mod parquet_buffer_step; pub mod processor_status_saver; pub use processor_status_saver::get_processor_status_saver; diff --git a/rust/sdk-processor/src/steps/common/parquet_buffer_step.rs b/rust/sdk-processor/src/steps/common/parquet_buffer_step.rs new file mode 100644 index 000000000..315873f51 --- /dev/null +++ b/rust/sdk-processor/src/steps/common/parquet_buffer_step.rs @@ -0,0 +1,434 @@ +#[allow(unused_imports)] +use crate::{ + parquet_processors::{ParquetTypeEnum, ParquetTypeStructs}, + steps::common::gcs_uploader::{GCSUploader, Uploadable}, +}; +use anyhow::Result; +use aptos_indexer_processor_sdk::{ + traits::{ + pollable_async_step::PollableAsyncRunType, NamedStep, PollableAsyncStep, Processable, + }, + types::transaction_context::{TransactionContext, TransactionMetadata}, + utils::errors::ProcessorError, +}; +use async_trait::async_trait; +use std::{collections::HashMap, time::Duration}; +use tracing::debug; + +/// `ParquetBuffer` is a struct that holds `ParquetTypeStructs` data +/// and tracks the buffer size in bytes, along with metadata about the data in the buffer. +struct ParquetBuffer { + pub buffer: ParquetTypeStructs, + pub buffer_size_bytes: usize, + current_batch_metadata: Option, +} + +impl ParquetBuffer { + fn new(parquet_type: &ParquetTypeEnum) -> Self { + Self { + buffer: ParquetTypeStructs::default_for_type(parquet_type), + buffer_size_bytes: 0, + current_batch_metadata: None, + } + } + + /// Updates the metadata of the internal buffer with the latest information from `cur_batch_metadata`. + /// This is used to track the end version and timestamp of the batch data in the buffer. + pub fn update_current_batch_metadata( + &mut self, + cur_batch_metadata: &TransactionMetadata, + ) -> Result<(), ProcessorError> { + if let Some(buffer_metadata) = &mut self.current_batch_metadata { + if buffer_metadata.end_version != cur_batch_metadata.start_version { + // this shouldn't happen but if it does, we want to know + return Err(ProcessorError::ProcessError { + message: format!( + "Gap founded: Buffer metadata end_version mismatch: {} != {}", + buffer_metadata.end_version, cur_batch_metadata.start_version + ), + }); + } + + // Update metadata fields with the current batch's end information + buffer_metadata.end_version = cur_batch_metadata.end_version; + buffer_metadata.total_size_in_bytes = cur_batch_metadata.total_size_in_bytes; + buffer_metadata.end_transaction_timestamp = + cur_batch_metadata.end_transaction_timestamp.clone(); + } else { + // Initialize the metadata with the current batch's start information + self.current_batch_metadata = Some(cur_batch_metadata.clone()); + } + Ok(()) + } +} + +/// `ParquetBufferStep` is a step that accumulates data in buffers until they reach a specified size limit. +/// +/// It then uploads the buffered data to Google Cloud Storage (GCS) through an uploader. +/// This step is typically used to manage large data volumes efficiently by buffering and uploading +/// only when necessary. +/// +/// +/// # Type Parameters +/// - `U`: A type that implements the `Uploadable` trait, providing the uploading functionality. +pub struct ParquetBufferStep { + internal_buffers: HashMap, + pub poll_interval: Duration, + pub buffer_uploader: GCSUploader, + pub buffer_max_size: usize, +} + +impl ParquetBufferStep { + pub fn new( + poll_interval: Duration, + buffer_uploader: GCSUploader, + buffer_max_size: usize, + ) -> Self { + Self { + internal_buffers: HashMap::new(), + poll_interval, + buffer_uploader, + buffer_max_size, + } + } + + fn append_to_buffer( + buffer: &mut ParquetBuffer, + parquet_data: ParquetTypeStructs, + ) -> Result<(), ProcessorError> { + buffer.buffer_size_bytes += parquet_data.calculate_size(); + buffer.buffer.append(parquet_data) + } + + /// Handles the addition of `parquet_data` to the buffer for a specified `ParquetTypeEnum`. + /// + /// We check the size of the buffer + the size of the incoming data before appending it. + /// If the sum of the two exceeds the maximum limit size, it uploads the buffer content to GCS to avoid + /// spliting the batch data, allowing for more efficient and simpler version tracking. + async fn upload_buffer_append( + &mut self, + parquet_type: ParquetTypeEnum, + parquet_data: ParquetTypeStructs, + cur_batch_metadata: &TransactionMetadata, + upload_metadata_map: &mut HashMap, + ) -> Result<(), ProcessorError> { + // Get or initialize the buffer for the specific ParquetTypeEnum + let buffer = self + .internal_buffers + .entry(parquet_type) + .or_insert_with(|| { + debug!( + "Initializing buffer for ParquetTypeEnum: {:?}", + parquet_type, + ); + ParquetBuffer::new(&parquet_type) + }); + + let curr_batch_size_bytes = parquet_data.calculate_size(); + + debug!( + "Current batch size for {:?}: {} bytes, buffer size before append: {} bytes", + parquet_type, curr_batch_size_bytes, buffer.buffer_size_bytes, + ); + + // If the current buffer size + new batch exceeds max size, upload the buffer + if buffer.buffer_size_bytes + curr_batch_size_bytes > self.buffer_max_size { + println!( + "Buffer size {} + batch size {} exceeds max size {}. Uploading buffer for {:?}.", + buffer.buffer_size_bytes, curr_batch_size_bytes, self.buffer_max_size, parquet_type + ); + + // Take the current buffer to upload and reset the buffer in place + let struct_buffer = std::mem::replace( + &mut buffer.buffer, + ParquetTypeStructs::default_for_type(&parquet_type), + ); + self.buffer_uploader.upload_buffer(struct_buffer).await?; + + // update this metadata before insert + upload_metadata_map + .insert(parquet_type, buffer.current_batch_metadata.clone().unwrap()); + buffer.buffer_size_bytes = 0; + buffer.current_batch_metadata = None; + } + + // Append new data to the buffer + Self::append_to_buffer(buffer, parquet_data)?; + buffer.update_current_batch_metadata(cur_batch_metadata)?; + + debug!( + "Updated buffer size for {:?}: {} bytes", + parquet_type, buffer.buffer_size_bytes, + ); + Ok(()) + } +} + +#[async_trait] +impl Processable for ParquetBufferStep { + type Input = HashMap; + type Output = HashMap; + type RunType = PollableAsyncRunType; + + /// Processes incoming `TransactionContext` data by appending it to the appropriate buffers. + /// + /// If any buffer exceeds the maximum size, its contents are uploaded. + /// Returns metadata information on what was uploaded. + async fn process( + &mut self, + item: TransactionContext, + ) -> Result>, ProcessorError> { + debug!("Starting process for {} data items", item.data.len()); + + let mut upload_metadata_map = HashMap::new(); + for (parquet_type, parquet_data) in item.data { + self.upload_buffer_append( + parquet_type, + parquet_data, + &item.metadata, + &mut upload_metadata_map, + ) + .await?; + } + + if !upload_metadata_map.is_empty() { + return Ok(Some(TransactionContext { + data: upload_metadata_map, + metadata: item.metadata, // cur_batch_metadata, + })); + } + Ok(None) + } + + async fn cleanup( + &mut self, + ) -> Result>>, ProcessorError> { + let mut metadata_map = HashMap::new(); + debug!("Starting cleanup: uploading all remaining buffers."); + for (parquet_type, mut buffer) in self.internal_buffers.drain() { + if buffer.buffer_size_bytes > 0 { + let struct_buffer = std::mem::replace( + &mut buffer.buffer, + ParquetTypeStructs::default_for_type(&parquet_type), + ); + + self.buffer_uploader.upload_buffer(struct_buffer).await?; + + if let Some(buffer_metadata) = &mut buffer.current_batch_metadata { + buffer_metadata.total_size_in_bytes = buffer.buffer_size_bytes as u64; + metadata_map.insert(parquet_type, buffer_metadata.clone()); + } else { + // This should never happen + panic!( + "Buffer metadata is missing for ParquetTypeEnum: {:?}", + parquet_type + ); + } + } + } + self.internal_buffers.clear(); + + debug!("Cleanup complete: all buffers uploaded."); + if !metadata_map.is_empty() { + return Ok(Some(vec![TransactionContext { + data: metadata_map, + metadata: TransactionMetadata::default(), + }])); + } + Ok(None) + } +} + +#[async_trait] +impl PollableAsyncStep for ParquetBufferStep { + fn poll_interval(&self) -> Duration { + self.poll_interval + } + + /// Polls all buffers to check if any should be uploaded based on the current size. + /// Uploads data and clears the buffer if necessary, and returns upload metadata. + async fn poll( + &mut self, + ) -> Result>>, ProcessorError> { + let mut metadata_map = HashMap::new(); + debug!("Polling to check if any buffers need uploading."); + + for (parquet_type, mut buffer) in self.internal_buffers.drain() { + if buffer.buffer_size_bytes > 0 { + let struct_buffer = std::mem::replace( + &mut buffer.buffer, + ParquetTypeStructs::default_for_type(&parquet_type), + ); + + self.buffer_uploader.upload_buffer(struct_buffer).await?; + + let metadata = buffer.current_batch_metadata.clone().unwrap(); + metadata_map.insert(parquet_type, metadata); + + buffer.buffer_size_bytes = 0; + buffer.current_batch_metadata = None; + } + } + + if !metadata_map.is_empty() { + return Ok(Some(vec![TransactionContext { + data: metadata_map, + metadata: TransactionMetadata::default(), + }])); + } + Ok(None) + } +} + +impl NamedStep for ParquetBufferStep { + fn name(&self) -> String { + "ParquetBufferStep".to_string() + } +} + +#[cfg(test)] +mod tests { + use crate::{ + config::processor_config::ParquetDefaultProcessorConfig, + steps::common::{ + gcs_uploader::{create_new_writer, GCSUploader}, + parquet_buffer_step::{ParquetBufferStep, ParquetTypeEnum, ParquetTypeStructs}, + }, + }; + use aptos_indexer_processor_sdk::{ + traits::Processable, + types::transaction_context::{TransactionContext, TransactionMetadata}, + }; + use google_cloud_storage::client::{Client as GCSClient, ClientConfig as GcsClientConfig}; + use parquet::schema::types::Type; + use processor::{ + bq_analytics::generic_parquet_processor::HasParquetSchema, + db::parquet::models::default_models::parquet_move_resources::MoveResource, + }; + use std::{ + collections::{HashMap, HashSet}, + sync::Arc, + time::Duration, + }; + + #[tokio::test] + #[allow(clippy::needless_return)] + async fn test_parquet_buffer_step_no_upload() -> anyhow::Result<()> { + let poll_interval = Duration::from_secs(10); + let buffer_max_size = 100; + let parquet_processor_config = create_parquet_processor_config(); + + let buffer_uploader = create_parquet_uploader(&parquet_processor_config).await?; + let mut parquet_step = + ParquetBufferStep::new(poll_interval, buffer_uploader, buffer_max_size); + + let data = HashMap::from([( + ParquetTypeEnum::MoveResource, + ParquetTypeStructs::default_for_type(&ParquetTypeEnum::MoveResource), + )]); + let metadata = TransactionMetadata::default(); + + let result = parquet_step + .process(TransactionContext { data, metadata }) + .await + .unwrap(); + + assert!( + result.is_none(), + "Expected no upload for data below buffer_max_size" + ); + + Ok(()) + } + + #[tokio::test] + #[allow(clippy::needless_return)] + async fn test_parquet_buffer_step_trigger_upload() -> anyhow::Result<()> { + let poll_interval = Duration::from_secs(10); + let buffer_max_size = 25; // Default ParquetTypeStructs for MoveResource is 24 bytes + let parquet_processor_config = create_parquet_processor_config(); + + let buffer_uploader = create_parquet_uploader(&parquet_processor_config).await?; + let mut parquet_step = + ParquetBufferStep::new(poll_interval, buffer_uploader, buffer_max_size); + + // Test data below `buffer_max_size` + let data = HashMap::from([( + ParquetTypeEnum::MoveResource, + ParquetTypeStructs::default_for_type(&ParquetTypeEnum::MoveResource), + )]); + let metadata = TransactionMetadata::default(); + + let result = parquet_step + .process(TransactionContext { data, metadata }) + .await + .unwrap(); + assert!( + result.is_none(), + "Expected no upload for data below buffer_max_size" + ); + + // Test buffer + data > `buffer_max_size` + let data = HashMap::from([( + ParquetTypeEnum::MoveResource, + ParquetTypeStructs::default_for_type(&ParquetTypeEnum::MoveResource), + )]); + let metadata = TransactionMetadata::default(); + + let result = parquet_step + .process(TransactionContext { data, metadata }) + .await + .unwrap(); + + assert!( + result.is_some(), + "Expected upload when data exceeds buffer_max_size" + ); + + Ok(()) + } + + async fn create_parquet_uploader( + parquet_processor_config: &ParquetDefaultProcessorConfig, + ) -> anyhow::Result { + let gcs_config = GcsClientConfig::default() + .with_auth() + .await + .expect("Failed to create GCS client config"); + let gcs_client = Arc::new(GCSClient::new(gcs_config)); + + let parquet_type_to_schemas: HashMap> = + [(ParquetTypeEnum::MoveResource, MoveResource::schema())] + .into_iter() + .collect(); + + let parquet_type_to_writer = parquet_type_to_schemas + .iter() + .map(|(key, schema)| { + let writer = create_new_writer(schema.clone()).expect("Failed to create writer"); + (*key, writer) + }) + .collect(); + + GCSUploader::new( + gcs_client, + parquet_type_to_schemas, + parquet_type_to_writer, + parquet_processor_config.bucket_name.clone(), + parquet_processor_config.bucket_root.clone(), + "processor_name".to_string(), + ) + } + + fn create_parquet_processor_config() -> ParquetDefaultProcessorConfig { + ParquetDefaultProcessorConfig { + bucket_name: "bucket_name".to_string(), + bucket_root: "bucket_root".to_string(), + parquet_upload_interval: 180, + max_buffer_size: 100, + channel_size: 100, + google_application_credentials: None, + tables: HashSet::new(), + } + } +} diff --git a/rust/sdk-processor/src/steps/default_processor/default_extractor.rs b/rust/sdk-processor/src/steps/default_processor/default_extractor.rs index b4cd700db..b04373bff 100644 --- a/rust/sdk-processor/src/steps/default_processor/default_extractor.rs +++ b/rust/sdk-processor/src/steps/default_processor/default_extractor.rs @@ -6,14 +6,16 @@ use aptos_indexer_processor_sdk::{ }; use async_trait::async_trait; use processor::{ - db::common::models::default_models::{ - block_metadata_transactions::BlockMetadataTransactionModel, - move_tables::{CurrentTableItem, TableItem, TableMetadata}, + db::{ + common::models::default_models::raw_table_items::TableItemConvertible, + postgres::models::default_models::{ + block_metadata_transactions::BlockMetadataTransactionModel, + move_tables::{CurrentTableItem, TableItem, TableMetadata}, + }, }, processors::default_processor::process_transactions, worker::TableFlags, }; -pub const MIN_TRANSACTIONS_PER_RAYON_JOB: usize = 64; pub struct DefaultExtractor where @@ -47,14 +49,16 @@ impl Processable for DefaultExtractor { >, ProcessorError, > { - let flags = self.deprecated_table_flags; - let (block_metadata_transactions, table_items, current_table_items, table_metadata) = - process_transactions(transactions.data, flags); + let (block_metadata_transactions, raw_table_items, current_table_items, table_metadata) = + process_transactions(transactions.data.clone()); + + let postgres_table_items: Vec = + raw_table_items.iter().map(TableItem::from_raw).collect(); Ok(Some(TransactionContext { data: ( block_metadata_transactions, - table_items, + postgres_table_items, current_table_items, table_metadata, ), diff --git a/rust/sdk-processor/src/steps/default_processor/default_storer.rs b/rust/sdk-processor/src/steps/default_processor/default_storer.rs index a8cbe673b..aacb3ad5d 100644 --- a/rust/sdk-processor/src/steps/default_processor/default_storer.rs +++ b/rust/sdk-processor/src/steps/default_processor/default_storer.rs @@ -11,7 +11,7 @@ use aptos_indexer_processor_sdk::{ }; use async_trait::async_trait; use processor::{ - db::common::models::default_models::{ + db::postgres::models::default_models::{ block_metadata_transactions::BlockMetadataTransactionModel, move_tables::{CurrentTableItem, TableItem, TableMetadata}, }, diff --git a/rust/sdk-processor/src/steps/fungible_asset_processor/fungible_asset_extractor.rs b/rust/sdk-processor/src/steps/fungible_asset_processor/fungible_asset_extractor.rs index cd4a51a6d..b3235cd61 100644 --- a/rust/sdk-processor/src/steps/fungible_asset_processor/fungible_asset_extractor.rs +++ b/rust/sdk-processor/src/steps/fungible_asset_processor/fungible_asset_extractor.rs @@ -6,7 +6,7 @@ use aptos_indexer_processor_sdk::{ }; use async_trait::async_trait; use processor::{ - db::common::models::{ + db::postgres::models::{ coin_models::coin_supply::CoinSupply, fungible_asset_models::{ v2_fungible_asset_activities::FungibleAssetActivity, diff --git a/rust/sdk-processor/src/steps/fungible_asset_processor/fungible_asset_storer.rs b/rust/sdk-processor/src/steps/fungible_asset_processor/fungible_asset_storer.rs index 0431e4937..4614a2508 100644 --- a/rust/sdk-processor/src/steps/fungible_asset_processor/fungible_asset_storer.rs +++ b/rust/sdk-processor/src/steps/fungible_asset_processor/fungible_asset_storer.rs @@ -11,7 +11,7 @@ use aptos_indexer_processor_sdk::{ }; use async_trait::async_trait; use processor::{ - db::common::models::{ + db::postgres::models::{ coin_models::coin_supply::CoinSupply, fungible_asset_models::{ v2_fungible_asset_activities::FungibleAssetActivity, diff --git a/rust/sdk-processor/src/steps/mod.rs b/rust/sdk-processor/src/steps/mod.rs index f58f69ae2..1fe08ac69 100644 --- a/rust/sdk-processor/src/steps/mod.rs +++ b/rust/sdk-processor/src/steps/mod.rs @@ -4,8 +4,11 @@ pub mod common; pub mod default_processor; pub mod events_processor; pub mod fungible_asset_processor; +pub mod nft_metadata_processor; pub mod objects_processor; +pub mod parquet_default_processor; pub mod stake_processor; pub mod token_v2_processor; +pub mod user_transaction_processor; pub const MIN_TRANSACTIONS_PER_RAYON_JOB: usize = 64; diff --git a/rust/sdk-processor/src/steps/nft_metadata_processor/asset_uri_publisher.rs b/rust/sdk-processor/src/steps/nft_metadata_processor/asset_uri_publisher.rs new file mode 100644 index 000000000..0dca3b855 --- /dev/null +++ b/rust/sdk-processor/src/steps/nft_metadata_processor/asset_uri_publisher.rs @@ -0,0 +1,169 @@ +use aptos_indexer_processor_sdk::{ + traits::{async_step::AsyncRunType, AsyncStep, NamedStep, Processable}, + types::transaction_context::TransactionContext, + utils::{convert::remove_null_bytes, errors::ProcessorError}, +}; +use async_trait::async_trait; +use futures::future::try_join_all; +use google_cloud_googleapis::pubsub::v1::PubsubMessage; +use google_cloud_pubsub::publisher::Publisher; +use processor::{ + self, + db::postgres::models::{ + token_models::token_claims::CurrentTokenPendingClaim, + token_v2_models::{ + v1_token_royalty::CurrentTokenRoyaltyV1, + v2_collections::{CollectionV2, CurrentCollectionV2}, + v2_token_activities::TokenActivityV2, + v2_token_datas::{CurrentTokenDataV2, TokenDataV2}, + v2_token_metadata::CurrentTokenV2Metadata, + v2_token_ownerships::{CurrentTokenOwnershipV2, TokenOwnershipV2}, + }, + }, +}; +use std::{ + sync::Arc, + time::{SystemTime, UNIX_EPOCH}, +}; + +pub const CHUNK_SIZE: usize = 1000; + +pub struct AssetUriPublisher +where + Self: Sized + Send + 'static, +{ + chain_id: u64, + publisher: Arc, +} + +impl AssetUriPublisher { + pub fn new(publisher: Arc, chain_id: u64) -> Self { + Self { + publisher, + chain_id, + } + } +} + +#[async_trait] +impl Processable for AssetUriPublisher { + type Input = ( + Vec, + Vec, + Vec, + Vec, + Vec, + Vec, + Vec, + Vec, + Vec, + Vec, + Vec, + Vec, + ); + type Output = (); + type RunType = AsyncRunType; + + async fn process( + &mut self, + input: TransactionContext<( + Vec, + Vec, + Vec, + Vec, + Vec, + Vec, + Vec, + Vec, + Vec, + Vec, + Vec, + Vec, + )>, + ) -> Result>, ProcessorError> { + let (_, _, _, cc, ctd, _, _, _, _, _, _, _) = input.data; + + let ordering_key = get_current_timestamp(); + let mut pubsub_messages: Vec = Vec::with_capacity(cc.len() + ctd.len()); + + // Publish all parsed token and collection asset data to PubSub + for token_data in ctd { + pubsub_messages.push(PubsubMessage { + data: clean_token_pubsub_message(token_data, self.chain_id).into(), + ordering_key: ordering_key.clone(), + ..Default::default() + }) + } + + for collection in cc { + pubsub_messages.push(PubsubMessage { + data: clean_collection_pubsub_message(collection, self.chain_id).into(), + ordering_key: ordering_key.clone(), + ..Default::default() + }) + } + + // PubSub can only accept 1000 messages at a time + let chunks: Vec> = pubsub_messages + .chunks(CHUNK_SIZE) + .map(|chunk| chunk.to_vec()) + .collect(); + + for chunk in chunks { + try_join_all( + self.publisher + .publish_bulk(chunk) + .await + .into_iter() + .map(|awaiter| awaiter.get()), + ) + .await + .map_err(|e| ProcessorError::ProcessError { + message: format!("Failed to publish to PubSub: {}", e), + })?; + } + + Ok(Some(TransactionContext { + data: (), + metadata: input.metadata, + })) + } +} + +impl AsyncStep for AssetUriPublisher {} + +impl NamedStep for AssetUriPublisher { + fn name(&self) -> String { + "AssetUriPublisher".to_string() + } +} + +fn clean_token_pubsub_message(ctd: CurrentTokenDataV2, db_chain_id: u64) -> String { + remove_null_bytes(&format!( + "{},{},{},{},{},false", + ctd.token_data_id, + ctd.token_uri, + ctd.last_transaction_version, + ctd.last_transaction_timestamp, + db_chain_id, + )) +} + +fn clean_collection_pubsub_message(cc: CurrentCollectionV2, db_chain_id: u64) -> String { + remove_null_bytes(&format!( + "{},{},{},{},{},false", + cc.collection_id, + cc.uri, + cc.last_transaction_version, + cc.last_transaction_timestamp, + db_chain_id, + )) +} + +fn get_current_timestamp() -> String { + SystemTime::now() + .duration_since(UNIX_EPOCH) + .unwrap_or_default() + .as_millis() + .to_string() +} diff --git a/rust/sdk-processor/src/steps/nft_metadata_processor/mod.rs b/rust/sdk-processor/src/steps/nft_metadata_processor/mod.rs new file mode 100644 index 000000000..0a7871c91 --- /dev/null +++ b/rust/sdk-processor/src/steps/nft_metadata_processor/mod.rs @@ -0,0 +1 @@ +pub mod asset_uri_publisher; diff --git a/rust/sdk-processor/src/steps/objects_processor/objects_extractor.rs b/rust/sdk-processor/src/steps/objects_processor/objects_extractor.rs index 34581dac1..e71e1a76c 100644 --- a/rust/sdk-processor/src/steps/objects_processor/objects_extractor.rs +++ b/rust/sdk-processor/src/steps/objects_processor/objects_extractor.rs @@ -8,9 +8,14 @@ use aptos_indexer_processor_sdk::{ }; use async_trait::async_trait; use processor::{ - db::common::models::object_models::{ - v2_object_utils::{ObjectAggregatedData, ObjectAggregatedDataMapping, ObjectWithMetadata}, - v2_objects::{CurrentObject, Object}, + db::postgres::models::{ + object_models::{ + v2_object_utils::{ + ObjectAggregatedData, ObjectAggregatedDataMapping, ObjectWithMetadata, + }, + v2_objects::{CurrentObject, Object}, + }, + resources::FromWriteResource, }, worker::TableFlags, }; @@ -87,7 +92,7 @@ impl Processable for ObjectsExtractor { if let Change::WriteResource(wr) = wsc.change.as_ref().unwrap() { let address = standardize_address(&wr.address.to_string()); if let Some(object_with_metadata) = - ObjectWithMetadata::from_write_resource(wr, txn_version).unwrap() + ObjectWithMetadata::from_write_resource(wr).unwrap() { // Object core is the first struct that we need to get object_metadata_helper.insert(address.clone(), ObjectAggregatedData { diff --git a/rust/sdk-processor/src/steps/objects_processor/objects_storer.rs b/rust/sdk-processor/src/steps/objects_processor/objects_storer.rs index 72ac5dacc..22246dcb4 100644 --- a/rust/sdk-processor/src/steps/objects_processor/objects_storer.rs +++ b/rust/sdk-processor/src/steps/objects_processor/objects_storer.rs @@ -9,7 +9,7 @@ use aptos_indexer_processor_sdk::{ use async_trait::async_trait; use processor::{ self, - db::common::models::object_models::v2_objects::{CurrentObject, Object}, + db::postgres::models::object_models::v2_objects::{CurrentObject, Object}, processors::objects_processor::{insert_current_objects_query, insert_objects_query}, }; diff --git a/rust/sdk-processor/src/steps/parquet_default_processor/mod.rs b/rust/sdk-processor/src/steps/parquet_default_processor/mod.rs new file mode 100644 index 000000000..35ba1ba68 --- /dev/null +++ b/rust/sdk-processor/src/steps/parquet_default_processor/mod.rs @@ -0,0 +1 @@ +pub mod parquet_default_extractor; diff --git a/rust/sdk-processor/src/steps/parquet_default_processor/parquet_default_extractor.rs b/rust/sdk-processor/src/steps/parquet_default_processor/parquet_default_extractor.rs new file mode 100644 index 000000000..677bd8d43 --- /dev/null +++ b/rust/sdk-processor/src/steps/parquet_default_processor/parquet_default_extractor.rs @@ -0,0 +1,125 @@ +use crate::{ + parquet_processors::{ParquetTypeEnum, ParquetTypeStructs}, + utils::parquet_extractor_helper::add_to_map_if_opted_in_for_backfill, +}; +use aptos_indexer_processor_sdk::{ + aptos_protos::transaction::v1::Transaction, + traits::{async_step::AsyncRunType, AsyncStep, NamedStep, Processable}, + types::transaction_context::TransactionContext, + utils::errors::ProcessorError, +}; +use async_trait::async_trait; +use processor::{ + db::{ + common::models::default_models::raw_table_items::TableItemConvertible, + parquet::models::default_models::parquet_move_tables::TableItem, + }, + processors::{ + default_processor::process_transactions, + parquet_processors::parquet_default_processor::process_transactions_parquet, + }, + worker::TableFlags, +}; +use std::collections::HashMap; +use tracing::debug; + +/// Extracts parquet data from transactions, allowing optional selection of specific tables. +pub struct ParquetDefaultExtractor +where + Self: Processable + Send + Sized + 'static, +{ + pub opt_in_tables: TableFlags, +} + +type ParquetTypeMap = HashMap; + +#[async_trait] +impl Processable for ParquetDefaultExtractor { + type Input = Vec; + type Output = ParquetTypeMap; + type RunType = AsyncRunType; + + async fn process( + &mut self, + transactions: TransactionContext, + ) -> anyhow::Result>, ProcessorError> { + let (_, raw_table_items, _, _) = process_transactions(transactions.data.clone()); + + let parquet_table_items: Vec = + raw_table_items.iter().map(TableItem::from_raw).collect(); + + let ( + ( + move_resources, + write_set_changes, + parquet_transactions, + _parquet_table_items, + move_modules, + ), + _transaction_version_to_struct_count, + ) = process_transactions_parquet(transactions.data); + + // Print the size of each extracted data type + debug!("Processed data sizes:"); + debug!(" - MoveResources: {}", move_resources.len()); + debug!(" - WriteSetChanges: {}", write_set_changes.len()); + debug!(" - ParquetTransactions: {}", parquet_transactions.len()); + debug!(" - TableItems: {}", parquet_table_items.len()); + debug!(" - MoveModules: {}", move_modules.len()); + + let mut map: HashMap = HashMap::new(); + + // Array of tuples for each data type and its corresponding enum variant and flag + let data_types = [ + ( + TableFlags::MOVE_RESOURCES, + ParquetTypeEnum::MoveResource, + ParquetTypeStructs::MoveResource(move_resources), + ), + ( + TableFlags::WRITE_SET_CHANGES, + ParquetTypeEnum::WriteSetChange, + ParquetTypeStructs::WriteSetChange(write_set_changes), + ), + ( + TableFlags::TRANSACTIONS, + ParquetTypeEnum::Transaction, + ParquetTypeStructs::Transaction(parquet_transactions), + ), + ( + TableFlags::TABLE_ITEMS, + ParquetTypeEnum::TableItem, + ParquetTypeStructs::TableItem(parquet_table_items), + ), + ( + TableFlags::MOVE_MODULES, + ParquetTypeEnum::MoveModule, + ParquetTypeStructs::MoveModule(move_modules), + ), + ]; + + // Populate the map based on opt-in tables + for (table_flag, enum_type, data) in data_types { + add_to_map_if_opted_in_for_backfill( + self.opt_in_tables, + &mut map, + table_flag, + enum_type, + data, + ); + } + + Ok(Some(TransactionContext { + data: map, + metadata: transactions.metadata, + })) + } +} + +impl AsyncStep for ParquetDefaultExtractor {} + +impl NamedStep for ParquetDefaultExtractor { + fn name(&self) -> String { + "ParquetDefaultExtractor".to_string() + } +} diff --git a/rust/sdk-processor/src/steps/stake_processor/stake_extractor.rs b/rust/sdk-processor/src/steps/stake_processor/stake_extractor.rs index c67966dc1..5228136a2 100644 --- a/rust/sdk-processor/src/steps/stake_processor/stake_extractor.rs +++ b/rust/sdk-processor/src/steps/stake_processor/stake_extractor.rs @@ -7,7 +7,7 @@ use aptos_indexer_processor_sdk::{ }; use async_trait::async_trait; use processor::{ - db::common::models::stake_models::{ + db::postgres::models::stake_models::{ current_delegated_voter::CurrentDelegatedVoter, delegator_activities::DelegatedStakingActivity, delegator_balances::{CurrentDelegatorBalance, DelegatorBalance}, diff --git a/rust/sdk-processor/src/steps/stake_processor/stake_storer.rs b/rust/sdk-processor/src/steps/stake_processor/stake_storer.rs index bd07b9f36..736c0c648 100644 --- a/rust/sdk-processor/src/steps/stake_processor/stake_storer.rs +++ b/rust/sdk-processor/src/steps/stake_processor/stake_storer.rs @@ -11,7 +11,7 @@ use aptos_indexer_processor_sdk::{ }; use async_trait::async_trait; use processor::{ - db::common::models::stake_models::{ + db::postgres::models::stake_models::{ current_delegated_voter::CurrentDelegatedVoter, delegator_activities::DelegatedStakingActivity, delegator_balances::{CurrentDelegatorBalance, DelegatorBalance}, diff --git a/rust/sdk-processor/src/steps/token_v2_processor/token_v2_extractor.rs b/rust/sdk-processor/src/steps/token_v2_processor/token_v2_extractor.rs index 30c0d4727..c08c9444f 100644 --- a/rust/sdk-processor/src/steps/token_v2_processor/token_v2_extractor.rs +++ b/rust/sdk-processor/src/steps/token_v2_processor/token_v2_extractor.rs @@ -7,7 +7,7 @@ use aptos_indexer_processor_sdk::{ }; use async_trait::async_trait; use processor::{ - db::common::models::{ + db::postgres::models::{ token_models::{token_claims::CurrentTokenPendingClaim, tokens::TableMetadataForToken}, token_v2_models::{ v1_token_royalty::CurrentTokenRoyaltyV1, diff --git a/rust/sdk-processor/src/steps/token_v2_processor/token_v2_storer.rs b/rust/sdk-processor/src/steps/token_v2_processor/token_v2_storer.rs index f8a5625c5..105e19c06 100644 --- a/rust/sdk-processor/src/steps/token_v2_processor/token_v2_storer.rs +++ b/rust/sdk-processor/src/steps/token_v2_processor/token_v2_storer.rs @@ -12,7 +12,7 @@ use aptos_indexer_processor_sdk::{ use async_trait::async_trait; use processor::{ self, - db::common::models::{ + db::postgres::models::{ token_models::token_claims::CurrentTokenPendingClaim, token_v2_models::{ v1_token_royalty::CurrentTokenRoyaltyV1, diff --git a/rust/sdk-processor/src/steps/user_transaction_processor/mod.rs b/rust/sdk-processor/src/steps/user_transaction_processor/mod.rs new file mode 100644 index 000000000..794d04549 --- /dev/null +++ b/rust/sdk-processor/src/steps/user_transaction_processor/mod.rs @@ -0,0 +1,5 @@ +pub mod user_transaction_extractor; +pub mod user_transaction_storer; + +pub use user_transaction_extractor::UserTransactionExtractor; +pub use user_transaction_storer::UserTransactionStorer; diff --git a/rust/sdk-processor/src/steps/user_transaction_processor/user_transaction_extractor.rs b/rust/sdk-processor/src/steps/user_transaction_processor/user_transaction_extractor.rs new file mode 100644 index 000000000..ccef0b309 --- /dev/null +++ b/rust/sdk-processor/src/steps/user_transaction_processor/user_transaction_extractor.rs @@ -0,0 +1,56 @@ +use aptos_indexer_processor_sdk::{ + aptos_protos::transaction::v1::Transaction, + traits::{async_step::AsyncRunType, AsyncStep, NamedStep, Processable}, + types::transaction_context::TransactionContext, + utils::errors::ProcessorError, +}; +use async_trait::async_trait; +use processor::{ + db::postgres::models::user_transactions_models::{ + signatures::Signature, user_transactions::UserTransactionModel, + }, + processors::user_transaction_processor::user_transaction_parse, + worker::TableFlags, +}; +pub struct UserTransactionExtractor +where + Self: Sized + Send + 'static, +{ + deprecated_tables: TableFlags, +} + +impl UserTransactionExtractor { + pub fn new(deprecated_tables: TableFlags) -> Self { + Self { deprecated_tables } + } +} + +#[async_trait] +impl Processable for UserTransactionExtractor { + type Input = Vec; + type Output = (Vec, Vec); + type RunType = AsyncRunType; + + async fn process( + &mut self, + item: TransactionContext>, + ) -> Result< + Option, Vec)>>, + ProcessorError, + > { + let (user_transactions, signatures) = + user_transaction_parse(item.data, self.deprecated_tables); + Ok(Some(TransactionContext { + data: (user_transactions, signatures), + metadata: item.metadata, + })) + } +} + +impl AsyncStep for UserTransactionExtractor {} + +impl NamedStep for UserTransactionExtractor { + fn name(&self) -> String { + "UserTransactionExtractor".to_string() + } +} diff --git a/rust/sdk-processor/src/steps/user_transaction_processor/user_transaction_storer.rs b/rust/sdk-processor/src/steps/user_transaction_processor/user_transaction_storer.rs new file mode 100644 index 000000000..1a4bd6e88 --- /dev/null +++ b/rust/sdk-processor/src/steps/user_transaction_processor/user_transaction_storer.rs @@ -0,0 +1,84 @@ +use crate::{ + config::processor_config::DefaultProcessorConfig, + utils::database::{execute_in_chunks, get_config_table_chunk_size, ArcDbPool}, +}; +use ahash::AHashMap; +use anyhow::Result; +use aptos_indexer_processor_sdk::{ + traits::{async_step::AsyncRunType, AsyncStep, NamedStep, Processable}, + types::transaction_context::TransactionContext, + utils::errors::ProcessorError, +}; +use async_trait::async_trait; +use processor::{ + db::postgres::models::user_transactions_models::{ + signatures::Signature, user_transactions::UserTransactionModel, + }, + processors::user_transaction_processor::{ + insert_signatures_query, insert_user_transactions_query, + }, +}; +pub struct UserTransactionStorer +where + Self: Sized + Send + 'static, +{ + conn_pool: ArcDbPool, + processor_config: DefaultProcessorConfig, +} + +impl UserTransactionStorer { + pub fn new(conn_pool: ArcDbPool, processor_config: DefaultProcessorConfig) -> Self { + Self { + conn_pool, + processor_config, + } + } +} + +#[async_trait] +impl Processable for UserTransactionStorer { + type Input = (Vec, Vec); + type Output = (); + type RunType = AsyncRunType; + + async fn process( + &mut self, + input: TransactionContext<(Vec, Vec)>, + ) -> Result>, ProcessorError> { + let (user_txns, signatures) = input.data; + + let per_table_chunk_sizes: AHashMap = + self.processor_config.per_table_chunk_sizes.clone(); + + let ut_res = execute_in_chunks( + self.conn_pool.clone(), + insert_user_transactions_query, + &user_txns, + get_config_table_chunk_size::( + "user_transactions", + &per_table_chunk_sizes, + ), + ); + let s_res = execute_in_chunks( + self.conn_pool.clone(), + insert_signatures_query, + &signatures, + get_config_table_chunk_size::("signatures", &per_table_chunk_sizes), + ); + + futures::try_join!(ut_res, s_res)?; + + Ok(Some(TransactionContext { + data: (), + metadata: input.metadata, + })) + } +} + +impl AsyncStep for UserTransactionStorer {} + +impl NamedStep for UserTransactionStorer { + fn name(&self) -> String { + "UserTransactionStorer".to_string() + } +} diff --git a/rust/sdk-processor/src/utils/chain_id.rs b/rust/sdk-processor/src/utils/chain_id.rs index db19f691e..082aad63f 100644 --- a/rust/sdk-processor/src/utils/chain_id.rs +++ b/rust/sdk-processor/src/utils/chain_id.rs @@ -1,7 +1,7 @@ use super::database::ArcDbPool; use crate::utils::database::execute_with_better_error_conn; use anyhow::{Context, Result}; -use processor::{db::common::models::ledger_info::LedgerInfo, schema::ledger_infos}; +use processor::{db::postgres::models::ledger_info::LedgerInfo, schema::ledger_infos}; use tracing::info; /// Verify the chain id from GRPC against the database. diff --git a/rust/sdk-processor/src/utils/database.rs b/rust/sdk-processor/src/utils/database.rs index 8930ca09e..2f8fa161d 100644 --- a/rust/sdk-processor/src/utils/database.rs +++ b/rust/sdk-processor/src/utils/database.rs @@ -277,13 +277,12 @@ pub fn run_pending_migrations(conn: &mut impl Migr // feature enabled (which uses libpq under the hood, hence why we named the feature // this way). #[cfg(feature = "libpq")] -pub async fn run_migrations(postgres_connection_string: String, _conn_pool: ArcDbPool) { +pub async fn run_migrations(postgres_connection_string: &str, _conn_pool: ArcDbPool) { use diesel::{Connection, PgConnection}; info!("Running migrations: {:?}", postgres_connection_string); let migration_time = std::time::Instant::now(); - let mut conn = - PgConnection::establish(&postgres_connection_string).expect("migrations failed!"); + let mut conn = PgConnection::establish(postgres_connection_string).expect("migrations failed!"); run_pending_migrations(&mut conn); info!( duration_in_secs = migration_time.elapsed().as_secs_f64(), diff --git a/rust/sdk-processor/src/utils/mod.rs b/rust/sdk-processor/src/utils/mod.rs index b829042b8..252b6f0b2 100644 --- a/rust/sdk-processor/src/utils/mod.rs +++ b/rust/sdk-processor/src/utils/mod.rs @@ -1,3 +1,4 @@ pub mod chain_id; pub mod database; +pub mod parquet_extractor_helper; pub mod starting_version; diff --git a/rust/sdk-processor/src/utils/parquet_extractor_helper.rs b/rust/sdk-processor/src/utils/parquet_extractor_helper.rs new file mode 100644 index 000000000..7f6e95683 --- /dev/null +++ b/rust/sdk-processor/src/utils/parquet_extractor_helper.rs @@ -0,0 +1,17 @@ +use crate::parquet_processors::{ParquetTypeEnum, ParquetTypeStructs}; +use processor::worker::TableFlags; +use std::collections::HashMap; + +/// Fill the map with data if the table is opted in for backfill-purpose +pub fn add_to_map_if_opted_in_for_backfill( + opt_in_tables: TableFlags, + map: &mut HashMap, + table_flag: TableFlags, + enum_type: ParquetTypeEnum, + data: ParquetTypeStructs, +) { + // Add to map if all tables are opted-in (empty) or if the specific flag is set + if opt_in_tables.is_empty() || opt_in_tables.contains(table_flag) { + map.insert(enum_type, data); + } +} diff --git a/rust/sdk-processor/src/utils/starting_version.rs b/rust/sdk-processor/src/utils/starting_version.rs index 8a69ab77d..2736f90be 100644 --- a/rust/sdk-processor/src/utils/starting_version.rs +++ b/rust/sdk-processor/src/utils/starting_version.rs @@ -273,7 +273,7 @@ mod tests { let conn_pool = new_db_pool(db.get_db_url().as_str(), Some(10)) .await .expect("Failed to create connection pool"); - run_migrations(db.get_db_url(), conn_pool.clone()).await; + run_migrations(&db.get_db_url(), conn_pool.clone()).await; let starting_version = get_starting_version(&indexer_processor_config, conn_pool) .await @@ -291,7 +291,7 @@ mod tests { let conn_pool = new_db_pool(db.get_db_url().as_str(), Some(10)) .await .expect("Failed to create connection pool"); - run_migrations(db.get_db_url(), conn_pool.clone()).await; + run_migrations(&db.get_db_url(), conn_pool.clone()).await; let starting_version = get_starting_version(&indexer_processor_config, conn_pool) .await @@ -309,7 +309,7 @@ mod tests { let conn_pool = new_db_pool(db.get_db_url().as_str(), Some(10)) .await .expect("Failed to create connection pool"); - run_migrations(db.get_db_url(), conn_pool.clone()).await; + run_migrations(&db.get_db_url(), conn_pool.clone()).await; diesel::insert_into(processor_status::table) .values(ProcessorStatus { processor: indexer_processor_config.processor_config.name().to_string(), @@ -343,7 +343,7 @@ mod tests { let conn_pool = new_db_pool(db.get_db_url().as_str(), Some(10)) .await .expect("Failed to create connection pool"); - run_migrations(db.get_db_url(), conn_pool.clone()).await; + run_migrations(&db.get_db_url(), conn_pool.clone()).await; diesel::insert_into(processor::schema::backfill_processor_status::table) .values(BackfillProcessorStatus { backfill_alias: backfill_alias.clone(), @@ -380,7 +380,7 @@ mod tests { let conn_pool = new_db_pool(db.get_db_url().as_str(), Some(10)) .await .expect("Failed to create connection pool"); - run_migrations(db.get_db_url(), conn_pool.clone()).await; + run_migrations(&db.get_db_url(), conn_pool.clone()).await; diesel::insert_into(processor::schema::backfill_processor_status::table) .values(BackfillProcessorStatus { backfill_alias: backfill_alias.clone(), @@ -410,7 +410,7 @@ mod tests { let conn_pool = new_db_pool(db.get_db_url().as_str(), Some(10)) .await .expect("Failed to create connection pool"); - run_migrations(db.get_db_url(), conn_pool.clone()).await; + run_migrations(&db.get_db_url(), conn_pool.clone()).await; let processor_names = vec!["processor_1".to_string(), "processor_2".to_string()]; @@ -434,7 +434,7 @@ mod tests { let conn_pool = new_db_pool(db.get_db_url().as_str(), Some(10)) .await .expect("Failed to create connection pool"); - run_migrations(db.get_db_url(), conn_pool.clone()).await; + run_migrations(&db.get_db_url(), conn_pool.clone()).await; // Insert processor statuses with different last_success_version values diesel::insert_into(processor::schema::processor_status::table) @@ -476,7 +476,7 @@ mod tests { let conn_pool = new_db_pool(db.get_db_url().as_str(), Some(10)) .await .expect("Failed to create connection pool"); - run_migrations(db.get_db_url(), conn_pool.clone()).await; + run_migrations(&db.get_db_url(), conn_pool.clone()).await; // Insert processor statuses with different last_success_version values diesel::insert_into(processor::schema::processor_status::table)