-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(applying): scaffold Shelley phase-1 validations
- Loading branch information
1 parent
317e23f
commit a7f9e9a
Showing
6 changed files
with
119 additions
and
89 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
//! Utilities required for Shelley-era transaction validation. | ||
use crate::types::{ShelleyProtParams, UTxOs, ValidationResult}; | ||
|
||
use pallas_primitives::alonzo::MintedTx; | ||
|
||
// TODO: implement each of the validation rules. | ||
pub fn validate_shelley_tx( | ||
_mtxp: &MintedTx, | ||
_utxos: &UTxOs, | ||
_prot_pps: &ShelleyProtParams, | ||
_prot_magic: &u32, | ||
) -> ValidationResult { | ||
Ok(()) | ||
} |
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
Oops, something went wrong.