Skip to content

Commit

Permalink
update to use processor trait and add validatior txn handling for sdk…
Browse files Browse the repository at this point in the history
… event processor
  • Loading branch information
yuunlimm committed Oct 11, 2024
1 parent 90c4b93 commit f3acc80
Show file tree
Hide file tree
Showing 23 changed files with 389 additions and 740 deletions.
286 changes: 107 additions & 179 deletions rust/Cargo.lock

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = "caf12730f25be21c633d080d55fb3578f909a870" }
aptos-indexer-processor-sdk-server-framework = { git = "https://github.com/aptos-labs/aptos-indexer-processor-sdk.git", rev = "ca658a0881c4bff4e1dee14c59a7c63608a5b315" }
aptos-indexer-processor-sdk = { git = "https://github.com/aptos-labs/aptos-indexer-processor-sdk.git", rev = "1ea2c197792f80340ce5df587e7f3cffef8852ed" }
aptos-indexer-processor-sdk-server-framework = { git = "https://github.com/aptos-labs/aptos-indexer-processor-sdk.git", rev = "1ea2c197792f80340ce5df587e7f3cffef8852ed" }
aptos-protos = { git = "https://github.com/aptos-labs/aptos-core.git", rev = "5c48aee129b5a141be2792ffa3d9bd0a1a61c9cb" }
aptos-system-utils = { git = "https://github.com/aptos-labs/aptos-core.git", rev = "202bdccff2b2d333a385ae86a4fcf23e89da9f62" }
aptos-indexer-test-transactions = { git = "https://github.com/aptos-labs/aptos-core.git", rev = "c583502c69529fddbbf7e47bf920f1dc60e71b72" }
testing-framework = { git = "https://github.com/aptos-labs/aptos-indexer-processor-sdk.git", rev = "caf12730f25be21c633d080d55fb3578f909a870" }
aptos-indexer-testing-framework = { git = "https://github.com/aptos-labs/aptos-indexer-processor-sdk.git", rev = "1ea2c197792f80340ce5df587e7f3cffef8852ed" }

async-trait = "0.1.53"
backtrace = "0.3.58"
Expand Down
27 changes: 13 additions & 14 deletions rust/integration-tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,43 +13,42 @@ repository = "https://github.com/aptos-labs/aptos-core"
rust-version = { workspace = true }

[dependencies]
ahash = { workspace = true }
anyhow = { workspace = true }
aptos-indexer-processor-sdk = { workspace = true }
aptos-indexer-test-transactions = { workspace = true }
aptos-protos = { workspace = true }
assert-json-diff = { workspace = true }
bigdecimal = { workspace = true }
chrono = { workspace = true }
clap = { workspace = true }
diesel = { workspace = true }
dirs = { workspace = true }
field_count = { workspace = true }
futures = { workspace = true }
itertools = { workspace = true }
json-structural-diff = { workspace = true }
once_cell = { workspace = true }
processor = { workspace = true }
prost = { workspace = true }
regex = { workspace = true }
sdk-processor = { workspace = true }
serde = { workspace = true }
serde_canonical_json = { workspace = true }
serde_json = { workspace = true }
tempfile = { workspace = true }
testcontainers = { workspace = true }
aptos-indexer-testing-framework = { workspace = true }
testing-transactions = { workspace = true }
tokio = { workspace = true }
futures = { workspace = true }
tonic = { workspace = true }
tempfile = { workspace = true }
sdk-processor = { workspace = true }
aptos-indexer-processor-sdk = { workspace = true }
testing-framework = { workspace = true }
ahash = { workspace = true }
url = { workspace = true }
clap = { workspace = true }
ctor = { workspace = true }
once_cell = { workspace = true }

[dev-dependencies]
ahash = { workspace = true }
aptos-indexer-processor-sdk = { workspace = true }
futures = { workspace = true }
tonic = { workspace = true }
tempfile = { workspace = true }
sdk-processor = { workspace = true }
aptos-indexer-processor-sdk = { workspace = true }
ahash = { workspace = true }
url = { workspace = true }
tempfile = { workspace = true }
tonic = { workspace = true }
url = { workspace = true }

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit f3acc80

Please sign in to comment.