Skip to content

Commit

Permalink
fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
leighmcculloch committed Oct 3, 2024
1 parent b9259d9 commit 4b76095
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 13 deletions.
3 changes: 0 additions & 3 deletions cmd/crates/soroban-spec-tools/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,6 @@ hex = { workspace = true }
wasmparser = { workspace = true }
base64 = { workspace = true }
thiserror = "1.0.31"
# soroban-ledger-snapshot = { workspace = true }
# soroban-sdk = { workspace = true }
# sep5 = { workspace = true }


[dev-dependencies]
Expand Down
12 changes: 7 additions & 5 deletions cmd/soroban-cli/src/commands/contract/info/env_meta.rs
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
use std::fmt::Debug;

use clap::{command, Parser};
use soroban_sdk::xdr::ScEnvMetaEntryInterfaceVersion;
use stellar_xdr::curr::ScEnvMetaEntry;

use soroban_spec_tools::contract;
use soroban_spec_tools::contract::Spec;

use crate::commands::contract::info::env_meta::Error::{NoEnvMetaPresent, NoSACEnvMeta};
use crate::commands::contract::info::shared;
use crate::commands::contract::info::shared::{fetch_wasm, MetasInfoOutput};
use crate::{
commands::contract::info::{
env_meta::Error::{NoEnvMetaPresent, NoSACEnvMeta},
shared::{self, fetch_wasm, MetasInfoOutput},
},
xdr::{ScEnvMetaEntry, ScEnvMetaEntryInterfaceVersion},
};

#[derive(Parser, Debug, Clone)]
pub struct Cmd {
Expand Down
4 changes: 1 addition & 3 deletions cmd/soroban-cli/src/commands/tx/new/set_trustline_flags.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
use clap::{command, Parser};

use soroban_sdk::xdr::{self};

use crate::{commands::tx, tx::builder};
use crate::{commands::tx, tx::builder, xdr};

#[allow(clippy::struct_excessive_bools, clippy::doc_markdown)]
#[derive(Parser, Debug, Clone)]
Expand Down
3 changes: 1 addition & 2 deletions cmd/soroban-cli/src/commands/tx/xdr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ use std::{
path::PathBuf,
};

use soroban_env_host::xdr::ReadXdr;
use soroban_sdk::xdr::{Limits, Transaction, TransactionEnvelope, TransactionV1Envelope};
use crate::xdr::{Limits, ReadXdr, Transaction, TransactionEnvelope, TransactionV1Envelope};

#[derive(Debug, thiserror::Error)]
pub enum Error {
Expand Down

0 comments on commit 4b76095

Please sign in to comment.