Skip to content

Commit

Permalink
Merge pull request #672 from freeverseio/feature/add-moonbeam-paracha…
Browse files Browse the repository at this point in the history
…in-staking-precompile

Feature add Moonbeam's parachain staking precompile
  • Loading branch information
asiniscalchi committed Jul 26, 2024
2 parents 918b21c + 240bc11 commit 07d6171
Show file tree
Hide file tree
Showing 35 changed files with 5,017 additions and 700 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
export ZOMBIENET_RELAYCHAIN_COMMAND=./polkadot
export ZOMBIENET_LAOS_COMMAND=./target/release/laos
export ZOMBIENET_ASTAR_COMMAND=./astar-collator
./zombienet-linux-x64 spawn ./zombienet/native.toml -p native &
./zombienet-linux-x64 spawn ./zombienet/native.toml &
echo "Zombienet started"
- name: Wait for zombienet
Expand Down
28 changes: 28 additions & 0 deletions Cargo.lock

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

5 changes: 4 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ members = [
"node",
"runtime/*",
"pallets/*",
"precompiles/*",
"primitives",
]

Expand Down Expand Up @@ -45,7 +46,7 @@ async-trait = "0.1"
num-format = "0.4"
num-traits = "0.2"
rbtag = "0.3"
rustc-hex = "2.1"
rustc-hex = { version = "2.1", default-features = false }
structopt = "0.3"
signal-hook = "0.3.16"
signal-hook-async-std = "0.2.2"
Expand Down Expand Up @@ -247,11 +248,13 @@ orml-xtokens = { git = "https://github.com/open-web3-stack/open-runtime-module-l
# Other pallets
# (wasm)
substrate-fixed = { git = "https://github.com/encointer/substrate-fixed", default-features = false }
derive_more = "0.99"

# LAOS pallets
pallet-laos-evolution = { path = "./pallets/laos-evolution", default-features = false }
pallet-asset-metadata-extender = { path = "./pallets/asset-metadata-extender", default-features = false }
pallet-parachain-staking = { path = "./pallets/parachain-staking", default-features = false }
pallet-evm-precompile-parachain-staking = { path = "./precompiles/parachain-staking", default-features = false }
pallet-precompiles-benchmark = { path = "./pallets/precompiles-benchmark", default-features = false}

# Primitives
Expand Down
1 change: 1 addition & 0 deletions e2e-tests/compile_contracts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ cp -r ../pallets/laos-evolution/src/precompiles/evolution_collection_factory/con
cp -r ../pallets/laos-evolution/src/precompiles/evolution_collection/contracts contracts
cp -r ../pallets/asset-metadata-extender/src/precompiles/asset_metadata_extender/contracts contracts
cp -r ../pallets/precompiles-benchmark/src/precompiles/vesting/contracts contracts
cp -r ../precompiles/parachain-staking contracts

truffle compile
rm -rf contracts
Loading

0 comments on commit 07d6171

Please sign in to comment.