Skip to content

Commit

Permalink
refactor!: rename packages and move tests under src (#185)
Browse files Browse the repository at this point in the history
  • Loading branch information
ahramy authored Jan 23, 2025
1 parent 8e26c6f commit 804c962
Show file tree
Hide file tree
Showing 188 changed files with 24 additions and 34 deletions.
31 changes: 13 additions & 18 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 8 additions & 8 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,21 @@ alloy-sol-types = { version = "0.8.19", default-features = false, features = [
"std",
] }
cfg-if = { version = "1.0", default-features = false }
example = { version = "^0.1.0", path = "contracts/example" }
goldie = { version = "0.5.0", default-features = false }
hex = { version = "0.4", default-features = false }
paste = { version = "1.0", default-features = false }
proc-macro2 = { version = "1.0", default-features = false }
rand = { version = "0.8.5", default-features = false }
soroban-sdk = { version = "22.0.5" }
soroban-token-sdk = { version = "22.0.5" }
stellar-axelar-gas-service = { version = "^0.1.0", path = "contracts/axelar-gas-service" }
stellar-axelar-gateway = { version = "^0.1.0", path = "contracts/axelar-gateway" }
stellar-axelar-operators = { version = "^0.1.0", path = "contracts/axelar-operators" }
stellar-axelar-std = { version = "^0.1.0", path = "packages/axelar-std", features = ["derive"] }
stellar-axelar-std-derive = { version = "^0.1.0", path = "packages/axelar-std-derive" }
stellar-interchain-token = { version = "^0.1.0", path = "contracts/interchain-token" }
stellar-interchain-token-service = { version = "^0.1.0", path = "contracts/interchain-token-service" }
stellar-axelar-gas-service = { version = "^0.1.0", path = "contracts/stellar-axelar-gas-service" }
stellar-axelar-gateway = { version = "^0.1.0", path = "contracts/stellar-axelar-gateway" }
stellar-axelar-operators = { version = "^0.1.0", path = "contracts/stellar-axelar-operators" }
stellar-axelar-std = { version = "^0.1.0", path = "packages/stellar-axelar-std", features = ["derive"] }
stellar-axelar-std-derive = { version = "^0.1.0", path = "packages/stellar-axelar-std-derive" }
stellar-example = { version = "^0.1.0", path = "contracts/stellar-example" }
stellar-interchain-token = { version = "^0.1.0", path = "contracts/stellar-interchain-token" }
stellar-interchain-token-service = { version = "^0.1.0", path = "contracts/stellar-interchain-token-service" }

[workspace.lints.clippy]
nursery = { level = "warn", priority = -1 }
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ paste = { workspace = true }
rand = { workspace = true }
rand_chacha = { version = "0.3" }
soroban-sdk = { workspace = true, features = ["testutils"] }
stellar-axelar-gateway = { workspace = true, features = ["testutils"] }
stellar-axelar-std = { workspace = true, features = ["testutils"] }

[features]
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ stellar-axelar-std = { workspace = true }
goldie = { workspace = true }
paste = { workspace = true }
soroban-sdk = { workspace = true, features = ["testutils"] }
stellar-axelar-operators = { workspace = true, features = ["testutils"] }
stellar-axelar-std = { workspace = true, features = ["testutils"] }

[lints]
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "example"
name = "stellar-example"
version = "0.1.0"
edition = { workspace = true }

Expand All @@ -18,7 +18,6 @@ stellar-axelar-std = { workspace = true }
stellar-interchain-token-service = { workspace = true, features = ["library"] }

[dev-dependencies]
example = { workspace = true, features = ["testutils"] }
goldie = { workspace = true }
soroban-sdk = { workspace = true, features = ["testutils"] }
soroban-token-sdk = { workspace = true }
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
use example::event::{ExecutedEvent, TokenReceivedEvent};
use example::{Example, ExampleClient};
use soroban_sdk::testutils::{Address as _, AuthorizedFunction, AuthorizedInvocation};
use soroban_sdk::token::{self, StellarAssetClient};
use soroban_sdk::{vec, Address, Bytes, BytesN, Env, IntoVal, String, Symbol};
Expand All @@ -13,6 +11,8 @@ use stellar_axelar_std::address::AddressExt;
use stellar_axelar_std::traits::BytesExt;
use stellar_axelar_std::types::Token;
use stellar_axelar_std::{auth_invocation, events};
use stellar_example::event::{ExecutedEvent, TokenReceivedEvent};
use stellar_example::{Example, ExampleClient};
use stellar_interchain_token_service::event::TrustedChainSetEvent;
use stellar_interchain_token_service::testutils::INTERCHAIN_TOKEN_WASM_HASH;
use stellar_interchain_token_service::{InterchainTokenService, InterchainTokenServiceClient};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ stellar-axelar-gas-service = { workspace = true, features = ["testutils"] }
stellar-axelar-gateway = { workspace = true, features = ["testutils"] }
stellar-axelar-std = { workspace = true, features = ["testutils"] }
stellar-interchain-token = { workspace = true, features = ["testutils"] }
stellar-interchain-token-service = { workspace = true, features = ["testutils"] }

[features]
library = []
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ stellar-axelar-std-derive = { workspace = true, optional = true }
goldie = { workspace = true }
paste = { workspace = true }
soroban-sdk = { workspace = true, features = ["testutils"] }
stellar-axelar-std = { workspace = true, features = ["testutils"] }
stellar-axelar-std-derive = { workspace = true, features = ["testutils"] }

[features]
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 804c962

Please sign in to comment.