Skip to content

Commit

Permalink
run zepter, attempt at compile with modified spacewalk-primitives
Browse files Browse the repository at this point in the history
  • Loading branch information
gianfra-t committed Dec 9, 2024
1 parent 92c04e2 commit 70f4e17
Show file tree
Hide file tree
Showing 13 changed files with 2,232 additions and 1,662 deletions.
2,203 changes: 1,274 additions & 929 deletions Cargo.lock

Large diffs are not rendered by default.

56 changes: 28 additions & 28 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ hex-literal = { version = "0.3.4" }
jsonrpsee = { version = "0.16.0", default-features = false}
log = { version = "0.4.22", default-features = false }
parity-scale-codec = { version = "3.1.5", default-features = false, features = ["derive"] }
paste = "1.0.14"
scale-info = { version = "2.1.1", default-features = false }
paste = { version = "1.0.14" , default-features = false }
scale-info = { version = "2.0", default-features = false }
serde = { version = "1.0.136", default-features = false, features = ["derive"] }
serde_json = { version = "1.0.133", default-features = false }
sha2 = { version = "0.8.2", default-features = false }
Expand Down Expand Up @@ -171,32 +171,32 @@ xcm-simulator = { git = "https://github.com/paritytech/polkadot-sdk", default-fe
substrate-build-script-utils = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "release-polkadot-v1.6.0" }

# Spacewalk
module-oracle-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "13c2bdfb90c731fc7c00d4f9e2b35cc110692f71" }
module-issue-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "13c2bdfb90c731fc7c00d4f9e2b35cc110692f71" }
module-redeem-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "13c2bdfb90c731fc7c00d4f9e2b35cc110692f71" }
module-replace-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "13c2bdfb90c731fc7c00d4f9e2b35cc110692f71" }
module-vault-registry-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "13c2bdfb90c731fc7c00d4f9e2b35cc110692f71" }
module-issue-rpc = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "13c2bdfb90c731fc7c00d4f9e2b35cc110692f71" }
module-oracle-rpc = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "13c2bdfb90c731fc7c00d4f9e2b35cc110692f71" }
module-redeem-rpc = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "13c2bdfb90c731fc7c00d4f9e2b35cc110692f71" }
module-replace-rpc = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "13c2bdfb90c731fc7c00d4f9e2b35cc110692f71" }
module-vault-registry-rpc = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "13c2bdfb90c731fc7c00d4f9e2b35cc110692f71" }

spacewalk-primitives = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "13c2bdfb90c731fc7c00d4f9e2b35cc110692f71" }
clients-info = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "13c2bdfb90c731fc7c00d4f9e2b35cc110692f71" }
currency = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "13c2bdfb90c731fc7c00d4f9e2b35cc110692f71" }
security = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "13c2bdfb90c731fc7c00d4f9e2b35cc110692f71" }
staking = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "13c2bdfb90c731fc7c00d4f9e2b35cc110692f71" }
oracle = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "13c2bdfb90c731fc7c00d4f9e2b35cc110692f71" }
stellar-relay = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "13c2bdfb90c731fc7c00d4f9e2b35cc110692f71" }
fee = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "13c2bdfb90c731fc7c00d4f9e2b35cc110692f71" }
vault-registry = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "13c2bdfb90c731fc7c00d4f9e2b35cc110692f71" }
redeem = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "13c2bdfb90c731fc7c00d4f9e2b35cc110692f71" }
issue = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "13c2bdfb90c731fc7c00d4f9e2b35cc110692f71" }
nomination = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "13c2bdfb90c731fc7c00d4f9e2b35cc110692f71" }
replace = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "13c2bdfb90c731fc7c00d4f9e2b35cc110692f71" }
pooled-rewards = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "13c2bdfb90c731fc7c00d4f9e2b35cc110692f71" }
reward-distribution = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "13c2bdfb90c731fc7c00d4f9e2b35cc110692f71" }
module-oracle-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "70beae689db5c20efc17363397e4353cc60fe347" }
module-issue-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "70beae689db5c20efc17363397e4353cc60fe347" }
module-redeem-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "70beae689db5c20efc17363397e4353cc60fe347" }
module-replace-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "70beae689db5c20efc17363397e4353cc60fe347" }
module-vault-registry-rpc-runtime-api = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "70beae689db5c20efc17363397e4353cc60fe347" }
module-issue-rpc = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "70beae689db5c20efc17363397e4353cc60fe347" }
module-oracle-rpc = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "70beae689db5c20efc17363397e4353cc60fe347" }
module-redeem-rpc = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "70beae689db5c20efc17363397e4353cc60fe347" }
module-replace-rpc = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "70beae689db5c20efc17363397e4353cc60fe347" }
module-vault-registry-rpc = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "70beae689db5c20efc17363397e4353cc60fe347" }

spacewalk-primitives = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "70beae689db5c20efc17363397e4353cc60fe347" }
clients-info = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "70beae689db5c20efc17363397e4353cc60fe347" }
currency = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "70beae689db5c20efc17363397e4353cc60fe347" }
security = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "70beae689db5c20efc17363397e4353cc60fe347" }
staking = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "70beae689db5c20efc17363397e4353cc60fe347" }
oracle = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "70beae689db5c20efc17363397e4353cc60fe347" }
stellar-relay = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "70beae689db5c20efc17363397e4353cc60fe347" }
fee = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "70beae689db5c20efc17363397e4353cc60fe347" }
vault-registry = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "70beae689db5c20efc17363397e4353cc60fe347" }
redeem = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "70beae689db5c20efc17363397e4353cc60fe347" }
issue = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "70beae689db5c20efc17363397e4353cc60fe347" }
nomination = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "70beae689db5c20efc17363397e4353cc60fe347" }
replace = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "70beae689db5c20efc17363397e4353cc60fe347" }
pooled-rewards = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "70beae689db5c20efc17363397e4353cc60fe347" }
reward-distribution = { git = "https://github.com/pendulum-chain/spacewalk", default-features = false, rev = "70beae689db5c20efc17363397e4353cc60fe347" }

# Zenlink
zenlink-protocol = { git = "https://github.com/gianfra-t/Zenlink-DEX-Module", default-features = false, branch = "release-polkadot-v1.6.0" }
Expand Down
34 changes: 25 additions & 9 deletions node/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -107,15 +107,31 @@ substrate-build-script-utils = { workspace = true, default-features = true }
[features]
default = []
runtime-benchmarks = [
"amplitude-runtime/runtime-benchmarks",
"foucoco-runtime/runtime-benchmarks",
"pendulum-runtime/runtime-benchmarks",
"runtime-common/runtime-benchmarks",
"polkadot-cli/runtime-benchmarks",
"amplitude-runtime/runtime-benchmarks",
"foucoco-runtime/runtime-benchmarks",
"pendulum-runtime/runtime-benchmarks",
"runtime-common/runtime-benchmarks",
"polkadot-cli/runtime-benchmarks",
"cumulus-primitives-core/runtime-benchmarks",
"frame-benchmarking/runtime-benchmarks",
"frame-benchmarking-cli/runtime-benchmarks",
"pallet-multisig/runtime-benchmarks",
"pallet-treasury/runtime-benchmarks",
"polkadot-primitives/runtime-benchmarks",
"polkadot-service/runtime-benchmarks",
"sc-service/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
"zenlink-protocol/runtime-benchmarks"
]
try-runtime = [
"amplitude-runtime/try-runtime",
"foucoco-runtime/try-runtime",
"pendulum-runtime/try-runtime",
"try-runtime-cli/try-runtime"
"amplitude-runtime/try-runtime",
"foucoco-runtime/try-runtime",
"pendulum-runtime/try-runtime",
"try-runtime-cli/try-runtime",
"pallet-multisig/try-runtime",
"pallet-treasury/try-runtime",
"polkadot-cli/try-runtime",
"polkadot-service/try-runtime",
"sp-runtime/try-runtime",
"zenlink-protocol/try-runtime"
]
45 changes: 27 additions & 18 deletions pallets/orml-currencies-allowance-extension/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,28 +34,37 @@ pallet-balances = { workspace = true, default-features = true }
[features]
default = ["std"]
std = [
"serde/std",
"codec/std",
"sha2/std",
"sp-core/std",
"sp-std/std",
"sp-runtime/std",
"frame-support/std",
"frame-system/std",
"orml-currencies/std",
"orml-tokens/std",
"orml-traits/std",
"frame-benchmarking/std"
"serde/std",
"codec/std",
"sha2/std",
"sp-core/std",
"sp-std/std",
"sp-runtime/std",
"frame-support/std",
"frame-system/std",
"orml-currencies/std",
"orml-tokens/std",
"orml-traits/std",
"frame-benchmarking/std",
"scale-info/std",
"sp-io/std"
]

runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"pallet-balances"
"frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"pallet-balances",
"orml-tokens/runtime-benchmarks",
"pallet-balances?/runtime-benchmarks",
"sp-runtime/runtime-benchmarks"
]

try-runtime = [
"frame-system/try-runtime",
"pallet-balances/try-runtime"
"frame-system/try-runtime",
"pallet-balances/try-runtime",
"frame-support/try-runtime",
"orml-currencies/try-runtime",
"orml-tokens/try-runtime",
"sp-runtime/try-runtime"
]
47 changes: 27 additions & 20 deletions pallets/orml-tokens-management-extension/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,30 +34,37 @@ spacewalk-primitives = { workspace = true}
[features]
default = ["std"]
std = [
"serde/std",
"codec/std",
"sha2/std",
"sp-core/std",
"sp-std/std",
"sp-runtime/std",
"frame-support/std",
"frame-system/std",
"orml-currencies/std",
"orml-tokens/std",
"orml-traits/std",
"frame-benchmarking/std",
"spacewalk-primitives/std"
"serde/std",
"codec/std",
"sha2/std",
"sp-core/std",
"sp-std/std",
"sp-runtime/std",
"frame-support/std",
"frame-system/std",
"orml-currencies/std",
"orml-tokens/std",
"orml-traits/std",
"frame-benchmarking/std",
"spacewalk-primitives/std",
"scale-info/std",
"sp-io/std"
]

runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"orml-tokens/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"sp-runtime/runtime-benchmarks"
]

try-runtime = [
"frame-system/try-runtime",
"frame-support/try-runtime",
"orml-currencies/try-runtime",
"orml-tokens/try-runtime",
"frame-system/try-runtime",
"frame-support/try-runtime",
"orml-currencies/try-runtime",
"orml-tokens/try-runtime",
"pallet-balances/try-runtime",
"sp-runtime/try-runtime"
]
51 changes: 31 additions & 20 deletions pallets/parachain-staking/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,28 +37,39 @@ frame-benchmarking = { git = "https://github.com/paritytech/polkadot-sdk", branc
[features]
default = ["std"]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"pallet-timestamp/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
"sp-staking/runtime-benchmarks"
]
std = [
"serde/std",
"frame-support/std",
"frame-system/std",
"log/std",
"module-pallet-staking-rpc-runtime-api/std",
"pallet-authorship/std",
"pallet-balances/std",
"pallet-session/std",
"parity-scale-codec/std",
"scale-info/std",
"sp-api/std",
"sp-runtime/std",
"sp-staking/std",
"sp-std/std",
"sp-arithmetic/std"
"serde/std",
"frame-support/std",
"frame-system/std",
"log/std",
"module-pallet-staking-rpc-runtime-api/std",
"pallet-authorship/std",
"pallet-balances/std",
"pallet-session/std",
"parity-scale-codec/std",
"scale-info/std",
"sp-api/std",
"sp-runtime/std",
"sp-staking/std",
"sp-std/std",
"sp-arithmetic/std",
"frame-benchmarking?/std"
]
try-runtime = [
"frame-support/try-runtime",
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-aura/try-runtime",
"pallet-authorship/try-runtime",
"pallet-balances/try-runtime",
"pallet-session/try-runtime",
"pallet-timestamp/try-runtime",
"sp-runtime/try-runtime"
]
62 changes: 34 additions & 28 deletions pallets/treasury-buyout-extension/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,38 +40,44 @@ runtime-common = { path = "../../runtime/common", default-features = false }
[features]
default = ["std"]
std = [
"serde/std",
"codec/std",
"sha2/std",
"sp-core/std",
"sp-std/std",
"sp-arithmetic/std",
"sp-runtime/std",
"frame-support/std",
"frame-system/std",
"orml-currencies/std",
"orml-tokens/std",
"orml-traits/std",
"frame-benchmarking/std",
"pallet-balances/std",
"pallet-treasury/std",
"spacewalk-primitives/std",
"xcm/std",
"runtime-common/std"
"serde/std",
"codec/std",
"sha2/std",
"sp-core/std",
"sp-std/std",
"sp-arithmetic/std",
"sp-runtime/std",
"frame-support/std",
"frame-system/std",
"orml-currencies/std",
"orml-tokens/std",
"orml-traits/std",
"frame-benchmarking/std",
"pallet-balances/std",
"pallet-treasury/std",
"spacewalk-primitives/std",
"xcm/std",
"runtime-common/std",
"scale-info/std"
]

runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"runtime-common/runtime-benchmarks"
"frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"runtime-common/runtime-benchmarks",
"orml-tokens/runtime-benchmarks",
"pallet-treasury/runtime-benchmarks",
"sp-runtime/runtime-benchmarks"
]

try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"orml-currencies/try-runtime",
"orml-tokens/try-runtime",
"pallet-balances/try-runtime"
"frame-support/try-runtime",
"frame-system/try-runtime",
"orml-currencies/try-runtime",
"orml-tokens/try-runtime",
"pallet-balances/try-runtime",
"pallet-treasury/try-runtime",
"sp-runtime/try-runtime"
]
Loading

0 comments on commit 70f4e17

Please sign in to comment.