forked from matter-labs/zksync-era
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5312aad
commit 52143c0
Showing
4 changed files
with
251 additions
and
62 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,5 +8,6 @@ mod snapshot; | |
#[cfg(test)] | ||
mod tests; | ||
pub mod tracers; | ||
pub mod transaction; | ||
mod transaction_data; | ||
pub mod vm; |
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,17 @@ | ||
use zksync_types::Transaction; | ||
|
||
pub struct ParallelTransaction { | ||
pub tx: Transaction, | ||
pub refund: u64, | ||
pub with_compression: bool, | ||
} | ||
|
||
impl ParallelTransaction { | ||
pub fn new(tx: Transaction, refund: u64, with_compression: bool) -> Self { | ||
Self { | ||
tx, | ||
refund, | ||
with_compression, | ||
} | ||
} | ||
} |
Oops, something went wrong.