Skip to content

Commit

Permalink
Expose SpeculativeExecutionResult
Browse files Browse the repository at this point in the history
  • Loading branch information
gRoussac committed Jul 18, 2024
1 parent 337595a commit 237cffc
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions lib/rpcs/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,17 +36,17 @@ pub enum GlobalStateIdentifier {
#[derive(Clone, PartialEq, Eq, Debug, Serialize, Deserialize)]
pub struct SpeculativeExecutionResult {
/// Block hash against which the execution was performed.
block_hash: BlockHash,
pub block_hash: BlockHash,
/// List of transfers that happened during execution.
transfers: Vec<Transfer>,
pub transfers: Vec<Transfer>,
/// Gas limit.
limit: Gas,
pub limit: Gas,
/// Gas consumed.
consumed: Gas,
pub consumed: Gas,
/// Execution effects.
effects: Effects,
pub effects: Effects,
/// Messages emitted during execution.
messages: Messages,
pub messages: Messages,
/// Did the wasm execute successfully?
error: Option<String>,
pub error: Option<String>,
}

0 comments on commit 237cffc

Please sign in to comment.