pub trait CardanoTransactionsSetProofTestExtension {
// Required method
fn from_leaves<S: MKTreeStorer>(
leaves: &[(BlockNumber, TransactionHash)],
) -> StdResult<CardanoTransactionsSetProof>;
}
Expand description
Extension trait adding test utilities to CardanoTransactionsSetProof
Required Methods§
Sourcefn from_leaves<S: MKTreeStorer>(
leaves: &[(BlockNumber, TransactionHash)],
) -> StdResult<CardanoTransactionsSetProof>
fn from_leaves<S: MKTreeStorer>( leaves: &[(BlockNumber, TransactionHash)], ) -> StdResult<CardanoTransactionsSetProof>
TEST ONLY
- Helper to create a proof from a list of leaves
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.