Skip to content

Commit

Permalink
fix parse receipt_id (#153)
Browse files Browse the repository at this point in the history
  • Loading branch information
kobayurii authored Jan 3, 2024
1 parent dcede29 commit a5c46c8
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion epoch-indexer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ edition = "2021"

[dependencies]
aws-credential-types = "1.0.0"
aws-sdk-s3 = "0.39.1"
aws-sdk-s3 = { version = "0.39.1", features = ["behavior-version-latest"] }
aws-types = "1.0.0"
anyhow = "1.0.70"
clap = { version = "3.1.6", features = ["color", "derive", "env"] }
Expand Down
2 changes: 1 addition & 1 deletion readnode-primitives/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ where
type Error = anyhow::Error;

fn try_from(value: (String, String, T, T)) -> Result<Self, Self::Error> {
let receipt_id = CryptoHash::try_from(value.0.as_bytes()).map_err(|err| {
let receipt_id = CryptoHash::from_str(&value.0).map_err(|err| {
anyhow::anyhow!("Failed to parse `receipt_id` to CryptoHash: {}", err)
})?;
let parent_transaction_hash = CryptoHash::from_str(&value.1).map_err(|err| {
Expand Down
2 changes: 1 addition & 1 deletion rpc-server/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ actix-cors = "0.6.5"
anyhow = "1.0.70"
assert-json-diff = { version = "2.0.2", optional = true }
aws-credential-types = "1.0.0"
aws-sdk-s3 = "0.39.1"
aws-sdk-s3 = { version = "0.39.1", features = ["behavior-version-latest"] }
aws-types = "1.0.0"
borsh = "0.10.2"
clap = { version = "3.2.22", features = ["color", "derive", "env"] }
Expand Down
2 changes: 1 addition & 1 deletion state-indexer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ edition = "2021"

[dependencies]
actix-web = "4.2.1"
aws-sdk-s3 = "0.39.1"
aws-sdk-s3 = { version = "0.39.1", features = ["behavior-version-latest"] }
aws-types = "1.0.0"
anyhow = "1.0.70"
borsh = "0.10.2"
Expand Down
2 changes: 1 addition & 1 deletion tx-indexer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ actix-web = "4.2.1"
anyhow = "1.0.70"
async-trait = "0.1.66"
aws-credential-types = "1.0.0"
aws-sdk-s3 = "0.39.1"
aws-sdk-s3 = { version = "0.39.1", features = ["behavior-version-latest"] }
aws-types = "1.0.0"
clap = { version = "3.2.22", features = ["color", "derive", "env"] }
dotenv = "0.15.0"
Expand Down

0 comments on commit a5c46c8

Please sign in to comment.