Skip to content

Commit

Permalink
run zepter
Browse files Browse the repository at this point in the history
  • Loading branch information
gianfra-t committed Dec 9, 2024
1 parent 13c2bdf commit 53525ba
Show file tree
Hide file tree
Showing 28 changed files with 766 additions and 577 deletions.
16 changes: 8 additions & 8 deletions clients/runtime/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ parachain-metadata-amplitude = []
parachain-metadata-foucoco = []

testing-utils = [
"tempdir",
"rand",
"testchain",
"testchain-runtime/testing-utils",
"mainnet-runtime/testing-utils",
"subxt-client",
"oracle/testing-utils"
"mainnet-runtime/testing-utils",
"oracle/testing-utils",
"rand",
"subxt-client",
"tempdir",
"testchain",
"testchain-runtime/testing-utils",
]

[dependencies]
Expand Down Expand Up @@ -69,4 +69,4 @@ wallet = { path = "../wallet" }
env_logger.workspace = true
tempdir.workspace = true
runtime = { path = ".", features = ["testing-utils"] }
testchain-runtime = { package = "spacewalk-runtime-standalone-testnet", path = "../../testchain/runtime/testnet", features = ["testing-utils"] }
testchain-runtime = { package = "spacewalk-runtime-standalone-testnet", path = "../../testchain/runtime/testnet", features = ["testing-utils"] }
8 changes: 2 additions & 6 deletions clients/stellar-relay-lib/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,5 @@ tokio = { workspace = true, features = [
async-std = { workspace = true, features = ["attributes"] }

[features]
std = [
"substrate-stellar-sdk/std"
]
default = [
"std"
]
std = [ "hmac/std", "serde_json/std", "substrate-stellar-sdk/std" ]
default = [ "std" ]
21 changes: 8 additions & 13 deletions clients/vault/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,15 @@ name = "vault"
version = "1.0.13"

[features]
std = [
"stellar-relay-lib/std"
]
std = [ "base64/std", "primitives/std", "stellar-relay-lib/std" ]

integration = [
"rand",
"wallet/testing-utils"
]
standalone-metadata = ["runtime/standalone-metadata"]
parachain-metadata-pendulum = ["runtime/parachain-metadata-pendulum"]
parachain-metadata-amplitude = ["runtime/parachain-metadata-amplitude"]
parachain-metadata-foucoco = ["runtime/parachain-metadata-foucoco"]
integration-test = ["integration", "standalone-metadata"]
allow-debugger = ["console-subscriber"]
integration = [ "rand", "wallet/testing-utils" ]
standalone-metadata = [ "runtime/standalone-metadata" ]
parachain-metadata-pendulum = [ "runtime/parachain-metadata-pendulum" ]
parachain-metadata-amplitude = [ "runtime/parachain-metadata-amplitude" ]
parachain-metadata-foucoco = [ "runtime/parachain-metadata-foucoco" ]
integration-test = [ "integration", "standalone-metadata" ]
allow-debugger = [ "console-subscriber" ]


[dependencies]
Expand Down
25 changes: 12 additions & 13 deletions pallets/clients-info/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,21 +20,20 @@ sp-core = { workspace = true, default-features = true }
sp-io = { workspace = true, default-features = true}

[features]
default = ["std"]
default = [ "std" ]
std = [
"codec/std",
"scale-info/std",
"frame-support/std",
"frame-system/std",
"frame-benchmarking/std",
"codec/std",
"frame-benchmarking/std",
"frame-support/std",
"frame-system/std",
"scale-info/std",
"sp-std?/std",
]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"sp-std"
"frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"sp-std",
]

try-runtime = [
"frame-system/try-runtime",
]
try-runtime = [ "frame-support/try-runtime", "frame-system/try-runtime" ]
42 changes: 23 additions & 19 deletions pallets/currency/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,32 +32,36 @@ sp-arithmetic = { workspace = true, default-features = true }
pallet-balances = { workspace = true, default-features = true }

[features]
default = ["std"]
default = [ "std" ]
std = [
"codec/std",
"scale-info/std",
"sp-std/std",
"frame-support/std",
"frame-system/std",
"pallet-balances/std",
"primitives/std",
"orml-currencies/std",
"orml-tokens/std",
"orml-traits/std",
]
testing-utils = [
"mocktopus"
"codec/std",
"frame-support/std",
"frame-system/std",
"orml-currencies/std",
"orml-tokens/std",
"orml-traits/std",
"pallet-balances/std",
"primitives/std",
"scale-info/std",
"sp-std/std",
]
testing-utils = [ "mocktopus" ]
# This feature has to be separate from the testing-utils feature because combining them causes the 'duplicate lang item' error
# when compiling the testchain runtime
testing-constants = []

try-runtime = [
"frame-system/try-runtime",
"pallet-balances/try-runtime",
"orml-currencies/try-runtime",
"orml-tokens/try-runtime",
"frame-support/try-runtime",
"frame-system/try-runtime",
"orml-currencies/try-runtime",
"orml-tokens/try-runtime",
"pallet-balances/try-runtime",
]
# This feature is only used for defining `GetWrappedCurrencyId` config parameter in the runtime
# `GetWrappedCurrencyId` is only used in other pallets' benchmarks
runtime-benchmarks = []
runtime-benchmarks = [
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"orml-tokens/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
]
73 changes: 41 additions & 32 deletions pallets/fee/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,42 +45,51 @@ orml-tokens = { workspace = true, default-features = true }
orml-traits = { workspace = true, default-features = true }

[features]
default = ["std"]
default = [ "std" ]
std = [
"codec/std",
"scale-info/std",
"sp-arithmetic/std",
"sp-std/std",
"frame-support/std",
"frame-system/std",
"currency/std",
"security/std",
"staking/std",
"primitives/std",
"pooled-rewards/std",
"orml-currencies/std",
"orml-tokens/std",
"orml-traits/std",
"reward-distribution/std",
"oracle/std",
"codec/std",
"currency/std",
"frame-support/std",
"frame-system/std",
"oracle/std",
"orml-currencies/std",
"orml-tokens/std",
"orml-traits/std",
"pooled-rewards/std",
"primitives/std",
"reward-distribution/std",
"scale-info/std",
"security/std",
"sp-arithmetic/std",
"sp-std/std",
"staking/std",
]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"currency/runtime-benchmarks",
"currency/testing-constants"
"currency/runtime-benchmarks",
"currency/testing-constants",
"frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"oracle/runtime-benchmarks",
"orml-tokens/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"pallet-timestamp/runtime-benchmarks",
"pooled-rewards/runtime-benchmarks",
"reward-distribution/runtime-benchmarks",
"staking/runtime-benchmarks",
]

try-runtime = [
"frame-system/try-runtime",
"currency/try-runtime",
"pallet-balances/try-runtime",
"security/try-runtime",
"staking/try-runtime",
"pooled-rewards/try-runtime",
"orml-currencies/try-runtime",
"orml-tokens/try-runtime",
"reward-distribution/try-runtime",
"oracle/try-runtime",
"currency/try-runtime",
"frame-support/try-runtime",
"frame-system/try-runtime",
"oracle/try-runtime",
"orml-currencies/try-runtime",
"orml-tokens/try-runtime",
"pallet-balances/try-runtime",
"pallet-timestamp/try-runtime",
"pooled-rewards/try-runtime",
"reward-distribution/try-runtime",
"security/try-runtime",
"staking/try-runtime",
]
90 changes: 57 additions & 33 deletions pallets/issue/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -57,42 +57,66 @@ orml-traits = { workspace = true, default-features = true }


[features]
default = ["std"]
default = [ "std" ]
std = [
"hex/std",
"codec/std",
"sp-core/std",
"sp-std/std",
"frame-support/std",
"frame-system/std",
"currency/std",
"fee/std",
"oracle/std",
"primitives/std",
"security/std",
"stellar-relay/std",
"vault-registry/std",
"nomination/std"
"codec/std",
"currency/std",
"fee/std",
"frame-support/std",
"frame-system/std",
"hex/std",
"log/std",
"nomination/std",
"oracle/std",
"orml-currencies?/std",
"primitives/std",
"scale-info/std",
"security/std",
"sp-core/std",
"sp-std/std",
"stellar-relay/std",
"vault-registry/std",
]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"orml-traits",
"orml-currencies",
"currency/runtime-benchmarks",
"currency/testing-constants",
"stellar-relay/testing-utils",
"security/testing-utils",
"oracle/testing-utils"
"currency/runtime-benchmarks",
"currency/testing-constants",
"fee/runtime-benchmarks",
"frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"nomination/runtime-benchmarks",
"oracle/runtime-benchmarks",
"oracle/testing-utils",
"orml-currencies",
"orml-tokens/runtime-benchmarks",
"orml-traits",
"pallet-balances/runtime-benchmarks",
"pallet-timestamp/runtime-benchmarks",
"pooled-rewards/runtime-benchmarks",
"reward-distribution/runtime-benchmarks",
"reward/runtime-benchmarks",
"security/testing-utils",
"staking/runtime-benchmarks",
"stellar-relay/runtime-benchmarks",
"stellar-relay/testing-utils",
"vault-registry/runtime-benchmarks",
]
try-runtime = [
"frame-system/try-runtime",
"currency/try-runtime",
"fee/try-runtime",
"stellar-relay/try-runtime",
"vault-registry/try-runtime",
"orml-currencies/try-runtime",
"security/try-runtime",
"oracle/try-runtime",
"currency/try-runtime",
"fee/try-runtime",
"frame-support/try-runtime",
"frame-system/try-runtime",
"nomination/try-runtime",
"oracle/try-runtime",
"orml-currencies/try-runtime",
"orml-tokens/try-runtime",
"pallet-balances/try-runtime",
"pallet-timestamp/try-runtime",
"pooled-rewards/try-runtime",
"reward-distribution/try-runtime",
"reward/try-runtime",
"security/try-runtime",
"staking/try-runtime",
"stellar-relay/try-runtime",
"vault-registry/try-runtime",
]
9 changes: 2 additions & 7 deletions pallets/issue/rpc/runtime-api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,5 @@ sp-api = { workspace = true }
sp-std = { workspace = true }

[features]
default = ["std"]
std = [
"codec/std",
"frame-support/std",
"sp-api/std",
"sp-std/std",
]
default = [ "std" ]
std = [ "codec/std", "frame-support/std", "sp-api/std", "sp-std/std" ]
Loading

0 comments on commit 53525ba

Please sign in to comment.