Skip to content
This repository has been archived by the owner on Aug 2, 2024. It is now read-only.

Commit

Permalink
feat : fixed lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Arun Jangra authored and Arun Jangra committed Jun 3, 2024
1 parent 62b6cd9 commit bd5dec7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 12 deletions.
7 changes: 0 additions & 7 deletions crates/client/rpc-core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
#[cfg(test)]
mod tests;

use blockifier::transaction::transactions::DeclareTransaction;
use indexmap::IndexMap;
use jsonrpsee::core::RpcResult;
use jsonrpsee::proc_macros::rpc;
Expand Down Expand Up @@ -56,12 +55,6 @@ pub struct CustomDeclareV0Transaction {
pub abi_length: usize,
}

#[derive(PartialEq, Eq, Debug)]
pub enum DeclareTransactionWithV0 {
V0(Box<CustomDeclareV0Transaction>),
V1(DeclareTransaction),
}

/// Madara rpc interface for additional features.
#[rpc(server, namespace = "madara")]
pub trait MadaraRpcApi: StarknetReadRpcApi {
Expand Down
10 changes: 5 additions & 5 deletions starknet-rpc-test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,11 @@ anyhow = "1.0.80"
assert_matches = "1.5.0"
async-lock = "3.1.0"
async-trait = { workspace = true }
blockifier = { workspace = true }
env_logger = "0.9"
flate2 = { workspace = true }
indexmap = { workspace = true }
parity-scale-codec = { workspace = true }
reqwest = "0.11.18"
rstest = "0.18.1"
serde = "1.0.192"
Expand All @@ -23,13 +26,10 @@ starknet-ff = { workspace = true }
starknet-providers = { workspace = true }
starknet-signers = { workspace = true }
starknet-test-utils = { workspace = true }
starknet_api = { workspace = true }
thiserror = { workspace = true }
tokio = { version = "1.36.0", features = ["rt", "macros", "parking_lot"] }
url = "2.4.1"
blockifier = { workspace = true }
starknet_api = { workspace = true }
indexmap = { workspace = true }
parity-scale-codec = { workspace = true }

# [[test]]
# name = "starknet_spec_version"
Expand Down Expand Up @@ -141,4 +141,4 @@ path = "trace_transaction.rs"

[[test]]
name = "madara_declareV0"
path = "declareV0.rs"
path = "declareV0.rs"

0 comments on commit bd5dec7

Please sign in to comment.