From 8071f95538c9c7334f6b8479d61ca7f844fea65a Mon Sep 17 00:00:00 2001 From: SantiagoPittella Date: Fri, 17 Jan 2025 16:50:08 -0300 Subject: [PATCH] fix: missing BlockNumber update in error struct --- miden-tx/src/errors/mod.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/miden-tx/src/errors/mod.rs b/miden-tx/src/errors/mod.rs index dad109738..22067015d 100644 --- a/miden-tx/src/errors/mod.rs +++ b/miden-tx/src/errors/mod.rs @@ -2,8 +2,8 @@ use alloc::{boxed::Box, string::String}; use core::error::Error; use miden_objects::{ - accounts::AccountId, notes::NoteId, AccountError, Felt, ProvenTransactionError, - TransactionInputError, TransactionOutputError, + accounts::AccountId, block::BlockNumber, notes::NoteId, AccountError, Felt, + ProvenTransactionError, TransactionInputError, TransactionOutputError, }; use miden_verifier::VerificationError; use thiserror::Error; @@ -115,7 +115,7 @@ pub enum DataStoreError { #[error("account with id {0} not found in data store")] AccountNotFound(AccountId), #[error("block with number {0} not found in data store")] - BlockNotFound(u32), + BlockNotFound(BlockNumber), #[error("failed to create transaction inputs")] InvalidTransactionInput(#[source] TransactionInputError), #[error("note with id {0} is already consumed")]