Skip to content

Commit

Permalink
migrate altair & centrifuge
Browse files Browse the repository at this point in the history
  • Loading branch information
lemunozm committed Mar 25, 2024
1 parent 7088ef3 commit 70a0ef2
Show file tree
Hide file tree
Showing 13 changed files with 429 additions and 169 deletions.
248 changes: 248 additions & 0 deletions Cargo.lock

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

11 changes: 7 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ members = [
"pallets/swaps",
"pallets/token-mux",
"pallets/transfer-allowlist",
#"runtime/altair",
#"runtime/centrifuge",
"runtime/altair",
"runtime/centrifuge",
"runtime/development",
"runtime/common",
#"runtime/integration-tests",
Expand Down Expand Up @@ -306,8 +306,6 @@ fp-storage = { git = "https://github.com/lemunozm/frontier", default-features =
# Moonbeam (tag v0.34.1 => version using a moonbeam fork related to polkadot v1.1.0)
# WARN: Moonbeam dependencies use forks of polkadot, orml and frontier repos.
# We need to patch their dependencies to avoid duplicate same crates.
# NOTE: If new moonbeam dependencies must be added, please check the Cargo.toml file
# of such dependencies to add the corresponding patch in the patch section below.
xcm-primitives = { git = "https://github.com/moonbeam-foundation/moonbeam", default-features = false, tag = "v0.34.1" }
pallet-xcm-transactor = { git = "https://github.com/moonbeam-foundation/moonbeam", default-features = false, tag = "v0.34.1" }
pallet-evm-precompile-balances-erc20 = { git = "https://github.com/moonbeam-foundation/moonbeam", default-features = false, tag = "v0.34.1" }
Expand All @@ -320,6 +318,11 @@ precompile-utils = { git = "https://github.com/moonbeam-foundation/moonbeam", de
# from these forked reposities, which lead to multiple cargo issues due to duplication versions of crates being found.
# With the rules below, we tell cargo that whenever it finds a crate with source in `moonbeam-foundation/`, that it should use
# the specific official revision of the respective repository at hand.
#
# How to know if we should add new patches?
# - Do `cargo tree`
# - Search for `moonbeam-foundation/polkadot-sdk` or `moonbeam-foundation-open-runtime-module-library`
# - For any occurence found, add here a patch.
[patch."https://github.com/moonbeam-foundation/polkadot-sdk"]
frame-support = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" }
frame-system = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.1.0" }
Expand Down
3 changes: 3 additions & 0 deletions runtime/altair/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ sp-session = { workspace = true }
sp-std = { workspace = true }
sp-transaction-pool = { workspace = true }
sp-version = { workspace = true }
sp-staking = { workspace = true }

frame-benchmarking = { workspace = true, optional = true } # For benchmarking
frame-executive = { workspace = true }
Expand Down Expand Up @@ -165,6 +166,7 @@ std = [
"sp-std/std",
"sp-transaction-pool/std",
"sp-version/std",
"sp-staking/std",
"frame-support/std",
"frame-system/std",
"frame-system-rpc-runtime-api/std",
Expand Down Expand Up @@ -276,6 +278,7 @@ runtime-benchmarks = [

# Substrate related
"sp-runtime/runtime-benchmarks",
"sp-staking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"staging-xcm-builder/runtime-benchmarks",
Expand Down
Loading

0 comments on commit 70a0ef2

Please sign in to comment.