Skip to content

Commit

Permalink
Update the rust version and depdnecy
Browse files Browse the repository at this point in the history
  • Loading branch information
larry-aptos committed Sep 18, 2024
1 parent d6c66fd commit d9dbdee
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 10 deletions.
18 changes: 12 additions & 6 deletions rust/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ homepage = "https://aptoslabs.com"
license = "Apache-2.0"
publish = false
repository = "https://github.com/aptos-labs/aptos-indexer-processors"
rust-version = "1.75"
rust-version = "1.78"

[workspace.dependencies]
processor = { path = "processor" }
Expand All @@ -28,8 +28,8 @@ sdk-processor = { path = "sdk-processor" }

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 = "e1e1bdd9349f0a68c9fc53b7e2cebda9e2ce92b7" }
aptos-indexer-processor-sdk-server-framework = { git = "https://github.com/aptos-labs/aptos-indexer-processor-sdk.git", rev = "e1e1bdd9349f0a68c9fc53b7e2cebda9e2ce92b7" }
aptos-indexer-processor-sdk = { git = "https://github.com/aptos-labs/aptos-indexer-processor-sdk.git", rev = "44985e5b25df0a13379adde045819df0cb1e0667" }
aptos-indexer-processor-sdk-server-framework = { git = "https://github.com/aptos-labs/aptos-indexer-processor-sdk.git", rev = "44985e5b25df0a13379adde045819df0cb1e0667" }
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 = "202bdccff2b2d333a385ae86a4fcf23e89da9f62" }
Expand Down Expand Up @@ -83,7 +83,7 @@ kanal = { version = "0.1.0-pre8", features = ["async"] }
once_cell = "1.10.0"
num_cpus = "1.16.0"
pbjson = "0.5.1"
prometheus = { version = "0.13.0", default-features = false }
prometheus = { version = "0.13.3", default-features = false }
prost = { version = "0.12.3", features = ["no-recursion-limit"] }
prost-types = "0.12.3"
rayon = "1.10.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ where
Some(" WHERE processor_status.last_success_version <= EXCLUDED.last_success_version "),
).await.map_err(|e| ProcessorError::DBStoreError {
message: format!("Failed to update processor status: {}", e),
// TODO: fix it with a debug_query.
query: None,
})?;
}
Ok(())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ impl Processable for EventsStorer {
"Failed to store events versions {} to {}: {:?}",
events.start_version, events.end_version, e,
),
// TODO: fix it with a debug_query.
query: None,
}),
}
}
Expand Down

0 comments on commit d9dbdee

Please sign in to comment.