feat: scaffold Byron phase-1 validations (#300)

Co-authored-by: Santiago Carmuega <santiago@carmuega.me>
This commit is contained in:
Maico Leberle 2023-10-10 17:16:26 -03:00 committed by GitHub
parent cdcb679921
commit 5391a037d6
14 changed files with 306 additions and 19 deletions

View file

@ -1,7 +1,6 @@
//! Utilities to traverse over multi-era block data
use std::borrow::Cow;
use std::fmt::Display;
use std::{borrow::Cow, fmt::Display, hash::Hash as StdHash};
use thiserror::Error;
@ -89,7 +88,7 @@ pub enum MultiEraOutput<'b> {
Byron(Box<Cow<'b, byron::TxOut>>),
}
#[derive(Debug, Clone)]
#[derive(Debug, Clone, PartialEq, Eq, StdHash)]
#[non_exhaustive]
pub enum MultiEraInput<'b> {
Byron(Box<Cow<'b, byron::TxIn>>),