diff --git a/Cargo.lock b/Cargo.lock index 96b7aa119..8f199f40c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -844,7 +844,7 @@ dependencies = [ [[package]] name = "axelarnet-gateway" -version = "0.1.0" +version = "1.0.0" dependencies = [ "axelar-wasm-std", "client", diff --git a/Cargo.toml b/Cargo.toml index 1743b395a..af0d0c78d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,12 @@ [workspace] -members = ["ampd", "contracts/*", "external-gateways/*", "integration-tests", "interchain-token-service", "packages/*"] +members = [ + "ampd", + "contracts/*", + "external-gateways/*", + "integration-tests", + "interchain-token-service", + "packages/*" +] resolver = "2" [workspace.package] @@ -7,62 +14,62 @@ rust-version = "1.78.0" # be sure there is an optimizer release supporting this edition = "2021" [workspace.dependencies] -router = { version = "^1.0.0", path = "contracts/router" } -cosmwasm-std = "1.5.5" +alloy-primitives = { version = "0.7.6", default-features = false, features = ["std"] } +alloy-sol-types = { version = "0.7.6", default-features = false, features = ["std"] } +axelar-wasm-std = { version = "^1.0.0", path = "packages/axelar-wasm-std" } +axelar-wasm-std-derive = { version = "^1.0.0", path = "packages/axelar-wasm-std-derive" } +axelarnet-gateway = { version = "^1.0.0", path = "contracts/axelarnet-gateway" } +bcs = "0.1.5" +client = { version = "^1.0.0", path = "packages/client" } +coordinator = { version = "^1.0.0", path = "contracts/coordinator" } cosmwasm-schema = "1.5.5" +cosmwasm-std = "1.5.5" +cw-multi-test = "1.2.0" cw-storage-plus = { version = "1.2.0", features = ["iterator", "macro"] } cw2 = "1.1.0" ed25519-dalek = { version = "2.1.1", default-features = false } error-stack = { version = "0.4.0", features = ["eyre"] } +ethers-contract = { version = "2.0.14", default-features = false, features = ["abigen"] } +ethers-core = "2.0.14" events = { version = "^1.0.0", path = "packages/events" } events-derive = { version = "^1.0.0", path = "packages/events-derive" } evm-gateway = { version = "^1.0.0", path = "packages/evm-gateway" } -sui-types = { version = "^1.0.0", path = "packages/sui-types" } -sui-gateway = { version = "^1.0.0", path = "packages/sui-gateway" } -stellar = { version = "^1.0.0", path = "external-gateways/stellar" } -axelar-wasm-std = { version = "^1.0.0", path = "packages/axelar-wasm-std" } -axelar-wasm-std-derive = { version = "^1.0.0", path = "packages/axelar-wasm-std-derive" } +gateway = { version = "^1.0.0", path = "contracts/gateway" } +gateway-api = { version = "^1.0.0", path = "packages/gateway-api" } +goldie = { version = "0.5" } hex = "0.4.3" integration-tests = { version = "^1.0.0", path = "integration-tests" } +interchain-token-service = { version = "^0.1.0", path = "interchain-token-service" } into-inner-derive = { version = "^1.0.0", path = "packages/into-inner-derive" } itertools = "0.11.0" -voting-verifier = { version = "^1.0.0", path = "contracts/voting-verifier" } -coordinator = { version = "^1.0.0", path = "contracts/coordinator" } -multisig = { version = "^1.0.0", path = "contracts/multisig" } +k256 = { version = "0.13.1", features = ["ecdsa"] } +mockall = "0.12.1" msgs-derive = { version = "^1.0.0", path = "packages/msgs-derive" } +multisig = { version = "^1.0.0", path = "contracts/multisig" } multisig-prover = { version = "^1.0.0", path = "contracts/multisig-prover" } num-traits = { version = "0.2.14", default-features = false } -service-registry = { version = "^1.0.0", path = "contracts/service-registry" } -k256 = { version = "0.13.1", features = ["ecdsa"] } -gateway = { version = "^1.0.0", path = "contracts/gateway" } -gateway-api = { version = "^1.0.0", path = "packages/gateway-api" } -router-api = { version = "^1.0.0", path = "packages/router-api" } -report = { version = "^1.0.0", path = "packages/report" } -client = { version = "^1.0.0", path = "packages/client" } quote = "1.0.36" -bcs = "0.1.5" +report = { version = "^1.0.0", path = "packages/report" } rewards = { version = "^1.0.0", path = "contracts/rewards" } -thiserror = "1.0.61" -mockall = "0.12.1" +router = { version = "^1.0.0", path = "contracts/router" } +router-api = { version = "^1.0.0", path = "packages/router-api" } +schemars = "0.8.10" serde = { version = "1.0.145", default-features = false, features = ["derive"] } serde_json = "1.0.89" -schemars = "0.8.10" +service-registry = { version = "^1.0.0", path = "contracts/service-registry" } sha3 = { version = "0.10.8", default-features = false, features = [] } signature-verifier-api = { version = "^1.0.0", path = "packages/signature-verifier-api" } +stellar = { version = "^1.0.0", path = "external-gateways/stellar" } +strum = { version = "0.25", default-features = false, features = ["derive"] } +sui-gateway = { version = "^1.0.0", path = "packages/sui-gateway" } +sui-types = { version = "^1.0.0", path = "packages/sui-types" } syn = "2.0.68" -ethers-contract = { version = "2.0.14", default-features = false, features = ["abigen"] } -ethers-core = "2.0.14" +thiserror = "1.0.61" +tofn = { version = "1.1" } tokio = "1.38.0" tokio-stream = "0.1.11" tokio-util = "0.7.11" -tofn = { version = "1.1" } -alloy-primitives = { version = "0.7.6", default-features = false, features = ["std"] } -alloy-sol-types = { version = "0.7.6", default-features = false, features = ["std"] } -strum = { version = "0.25", default-features = false, features = ["derive"] } -interchain-token-service = { version = "^0.1.0", path = "interchain-token-service" } -goldie = { version = "0.5" } -axelarnet-gateway = { version = "^0.1.0", path = "contracts/axelarnet-gateway" } -cw-multi-test = "1.2.0" +voting-verifier = { version = "^1.0.0", path = "contracts/voting-verifier" } [workspace.lints.clippy] arithmetic_side_effects = "deny" diff --git a/contracts/axelarnet-gateway/Cargo.toml b/contracts/axelarnet-gateway/Cargo.toml index db4eed7af..6bcf56a4d 100644 --- a/contracts/axelarnet-gateway/Cargo.toml +++ b/contracts/axelarnet-gateway/Cargo.toml @@ -1,14 +1,13 @@ [package] name = "axelarnet-gateway" -version = "0.1.0" +version = "1.0.0" rust-version = { workspace = true } edition = { workspace = true } description = "The Axelarnet Gateway contract allows apps on the Axelar Network to send/receive cross-chain messages to/from other chains." exclude = [ - # Those files are rust-optimizer artifacts. You might want to commit them for convenience, but they should not be part of the source code publication. "contract.wasm", - "hash.txt", + "hash.txt" ] [lib] diff --git a/contracts/coordinator/Cargo.toml b/contracts/coordinator/Cargo.toml index bac6a740f..d6fde3978 100644 --- a/contracts/coordinator/Cargo.toml +++ b/contracts/coordinator/Cargo.toml @@ -6,9 +6,8 @@ edition = { workspace = true } description = "Amplifier info aggregation for external use, alongside contract management, instantiation and migration" exclude = [ - # Those files are rust-optimizer artifacts. You might want to commit them for convenience, but they should not be part of the source code publication. "contract.wasm", - "hash.txt", + "hash.txt" ] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/contracts/gateway/Cargo.toml b/contracts/gateway/Cargo.toml index dce577e75..9aa6b410e 100644 --- a/contracts/gateway/Cargo.toml +++ b/contracts/gateway/Cargo.toml @@ -6,9 +6,8 @@ edition = { workspace = true } description = "Gateway contract" exclude = [ - # Those files are rust-optimizer artifacts. You might want to commit them for convenience, but they should not be part of the source code publication. "contract.wasm", - "hash.txt", + "hash.txt" ] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/contracts/multisig-prover/Cargo.toml b/contracts/multisig-prover/Cargo.toml index 396f28f74..8d02c0b04 100644 --- a/contracts/multisig-prover/Cargo.toml +++ b/contracts/multisig-prover/Cargo.toml @@ -6,9 +6,8 @@ edition = { workspace = true } description = "Multisig prover contract" exclude = [ - # Those files are rust-optimizer artifacts. You might want to commit them for convenience, but they should not be part of the source code publication. "contract.wasm", - "hash.txt", + "hash.txt" ] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/contracts/multisig/Cargo.toml b/contracts/multisig/Cargo.toml index 2b3058375..b286194ba 100644 --- a/contracts/multisig/Cargo.toml +++ b/contracts/multisig/Cargo.toml @@ -6,9 +6,8 @@ edition = { workspace = true } description = "Multisig contract" exclude = [ - # Those files are rust-optimizer artifacts. You might want to commit them for convenience, but they should not be part of the source code publication. "contract.wasm", - "hash.txt", + "hash.txt" ] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/contracts/rewards/Cargo.toml b/contracts/rewards/Cargo.toml index 29d0dd41b..336f2d323 100644 --- a/contracts/rewards/Cargo.toml +++ b/contracts/rewards/Cargo.toml @@ -6,9 +6,8 @@ edition = { workspace = true } description = "Validator rewards contract" exclude = [ - # Those files are rust-optimizer artifacts. You might want to commit them for convenience, but they should not be part of the source code publication. "contract.wasm", - "hash.txt", + "hash.txt" ] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/contracts/router/Cargo.toml b/contracts/router/Cargo.toml index 292820849..31c12038a 100644 --- a/contracts/router/Cargo.toml +++ b/contracts/router/Cargo.toml @@ -6,9 +6,8 @@ edition = { workspace = true } description = "Router contract" exclude = [ - # Those files are rust-optimizer artifacts. You might want to commit them for convenience, but they should not be part of the source code publication. "contract.wasm", - "hash.txt", + "hash.txt" ] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/contracts/service-registry/Cargo.toml b/contracts/service-registry/Cargo.toml index 08d40c09f..b6c9861eb 100644 --- a/contracts/service-registry/Cargo.toml +++ b/contracts/service-registry/Cargo.toml @@ -6,9 +6,8 @@ edition = { workspace = true } description = "Contract handling the service registrations" exclude = [ - # Those files are rust-optimizer artifacts. You might want to commit them for convenience, but they should not be part of the source code publication. "contract.wasm", - "hash.txt", + "hash.txt" ] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/contracts/voting-verifier/Cargo.toml b/contracts/voting-verifier/Cargo.toml index 494ec3f18..75b30bf78 100644 --- a/contracts/voting-verifier/Cargo.toml +++ b/contracts/voting-verifier/Cargo.toml @@ -6,9 +6,8 @@ edition = { workspace = true } description = "Voting verifier contract" exclude = [ - # Those files are rust-optimizer artifacts. You might want to commit them for convenience, but they should not be part of the source code publication. "contract.wasm", - "hash.txt", + "hash.txt" ] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/external-gateways/stellar/Cargo.toml b/external-gateways/stellar/Cargo.toml index 3efc2cb84..7b4819ab5 100644 --- a/external-gateways/stellar/Cargo.toml +++ b/external-gateways/stellar/Cargo.toml @@ -14,7 +14,7 @@ router-api = { workspace = true } serde = { workspace = true } serde_json = { workspace = true } sha3 = { workspace = true } -stellar-strkey = { version = "0.0.8" } +stellar-strkey = { version = "0.0.8" } stellar-xdr = { version = "21.2.0" } thiserror = { workspace = true } diff --git a/integration-tests/Cargo.toml b/integration-tests/Cargo.toml index b60cf7729..0a6cadeda 100644 --- a/integration-tests/Cargo.toml +++ b/integration-tests/Cargo.toml @@ -6,9 +6,8 @@ edition = { workspace = true } description = "Amplifier Integration Tests" exclude = [ - # Those files are rust-optimizer artifacts. You might want to commit them for convenience, but they should not be part of the source code publication. "contract.wasm", - "hash.txt", + "hash.txt" ] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/packages/axelar-wasm-std/Cargo.toml b/packages/axelar-wasm-std/Cargo.toml index 05c32e53a..699bdd425 100644 --- a/packages/axelar-wasm-std/Cargo.toml +++ b/packages/axelar-wasm-std/Cargo.toml @@ -6,9 +6,8 @@ edition = { workspace = true } description = "Axelar cosmwasm standard library crate" exclude = [ - # Those files are rust-optimizer artifacts. You might want to commit them for convenience, but they should not be part of the source code publication. "contract.wasm", - "hash.txt", + "hash.txt" ] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html