mirror of
https://github.com/logos-blockchain/lssa.git
synced 2026-01-04 06:13:10 +00:00
fmt
This commit is contained in:
parent
6447f8fbf7
commit
e1085e1907
@ -50,4 +50,3 @@ pub enum ExecutionFailureKind {
|
||||
#[error("Can not pay for operation")]
|
||||
InsufficientFundsError,
|
||||
}
|
||||
|
||||
|
||||
@ -1,10 +1,10 @@
|
||||
pub mod block;
|
||||
pub mod error;
|
||||
pub mod rpc_primitives;
|
||||
pub mod sequencer_client;
|
||||
pub mod transaction;
|
||||
pub mod error;
|
||||
|
||||
//Module for tests utility functions
|
||||
//TODO: Compile only for tests
|
||||
pub mod test_utils;
|
||||
pub type HashType = [u8; 32];
|
||||
|
||||
|
||||
@ -7,6 +7,7 @@ use json::{SendTxRequest, SendTxResponse, SequencerRpcRequest, SequencerRpcRespo
|
||||
use reqwest::Client;
|
||||
use serde_json::Value;
|
||||
|
||||
use crate::error::{SequencerClientError, SequencerRpcError};
|
||||
use crate::rpc_primitives::requests::{
|
||||
GetAccountRequest, GetAccountResponse, GetAccountsNoncesRequest, GetAccountsNoncesResponse,
|
||||
GetProofForCommitmentRequest, GetProofForCommitmentResponse, GetTransactionByHashRequest,
|
||||
@ -14,7 +15,6 @@ use crate::rpc_primitives::requests::{
|
||||
};
|
||||
use crate::sequencer_client::json::AccountInitialData;
|
||||
use crate::transaction::{EncodedTransaction, NSSATransaction};
|
||||
use crate::error::{SequencerClientError, SequencerRpcError};
|
||||
|
||||
pub mod json;
|
||||
|
||||
|
||||
@ -85,7 +85,6 @@ impl EncodedTransaction {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use sha2::{Digest, digest::FixedOutput};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user