feat: add middleware and signer traits (#18)

* feat: add middleware and signer traits

* wip

* wip

* feat: MainPod traits
This commit is contained in:
Eduard S. 2025-02-04 12:35:32 +01:00 committed by GitHub
parent caa91cb615
commit 3445bd98bd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 869 additions and 456 deletions

View file

@ -16,8 +16,7 @@ use plonky2::plonk::config::Hasher;
use std::collections::HashMap;
use std::iter::IntoIterator;
use crate::backend::Value;
use crate::{Hash, C, D, F};
use crate::middleware::{Hash, Value, C, D, F};
const CAP_HEIGHT: usize = 0;
@ -143,7 +142,7 @@ impl<'a> IntoIterator for &'a MerkleTree {
pub mod tests {
use super::*;
use crate::hash_str;
use crate::middleware::hash_str;
#[test]
fn test_merkletree() -> Result<()> {