forked from dojoengine/dojo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(katana): implement more feeder gateway types (dojoengine#2744)
- Loading branch information
1 parent
9604d5a
commit 87a3990
Showing
10 changed files
with
580 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
use katana_primitives::receipt::{Event, MessageToL1}; | ||
use katana_primitives::Felt; | ||
use serde::Deserialize; | ||
use starknet::providers::sequencer::models::{ | ||
ExecutionResources, L1ToL2Message, TransactionExecutionStatus, | ||
}; | ||
|
||
#[derive(Debug, Deserialize)] | ||
pub struct ConfirmedReceipt { | ||
pub transaction_hash: Felt, | ||
pub transaction_index: u64, | ||
#[serde(default)] | ||
pub execution_status: Option<TransactionExecutionStatus>, | ||
#[serde(default)] | ||
pub revert_error: Option<String>, | ||
#[serde(default)] | ||
pub execution_resources: Option<ExecutionResources>, | ||
pub l1_to_l2_consumed_message: Option<L1ToL2Message>, | ||
pub l2_to_l1_messages: Vec<MessageToL1>, | ||
pub events: Vec<Event>, | ||
pub actual_fee: Felt, | ||
} |
Oops, something went wrong.