Skip to content

Commit

Permalink
add revert reason to transaction output
Browse files Browse the repository at this point in the history
  • Loading branch information
dan-starkware committed Feb 29, 2024
1 parent 17d4c46 commit bc0b47d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "starknet_api"
version = "0.10.0-dev.0"
version = "0.10.0-dev.1"
edition = "2021"
repository = "https://github.com/starkware-libs/starknet-api"
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion src/transaction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ pub enum TransactionExecutionStatus {
// status and every transaction is considered succeeded
Succeeded,
#[serde(rename = "REVERTED")]
Reverted,
Reverted{revert_reason: Option<String>},
}

/// A fee.
Expand Down

0 comments on commit bc0b47d

Please sign in to comment.