Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add new paseo runtime #3013

Merged
merged 33 commits into from
Sep 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
4e92752
feat: add paseo runtime
felixfaisal Aug 12, 2024
66318e2
fix: update CI to run tests on paseo
felixfaisal Aug 12, 2024
f8e6cb0
fix: update lock files
felixfaisal Aug 12, 2024
a301db4
fix: add ts-tests for paseo in CI
felixfaisal Aug 13, 2024
34464dc
Merge branch 'dev' of github.com:litentry/litentry-parachain into p-8…
felixfaisal Aug 19, 2024
661d251
fix: remove paseo to push docker
felixfaisal Aug 20, 2024
8833c75
fix: add paseo to ci
felixfaisal Aug 21, 2024
e26114d
fix: add paseo to node files
felixfaisal Aug 21, 2024
8fd5f40
fix: update load-spec
felixfaisal Aug 21, 2024
9c8dbd5
fix: update node command
felixfaisal Aug 23, 2024
efbbe88
fix: resolve conflicts and update with dev
felixfaisal Aug 26, 2024
e9b872a
fix: update chain_spec file
felixfaisal Aug 26, 2024
c5e6991
fix: update command.rs
felixfaisal Aug 26, 2024
c9c6ef6
Merge branch 'dev' into p-884-integrate-with-passeo
felixfaisal Sep 2, 2024
19171f8
fix: update based on comments
felixfaisal Sep 2, 2024
0d3c495
Merge branch 'p-884-integrate-with-passeo' of github.com:litentry/lit…
felixfaisal Sep 2, 2024
482e4ce
fix: update chain_id
felixfaisal Sep 2, 2024
089f5da
fix: update build fixes
felixfaisal Sep 2, 2024
43ce77d
fix: update lock file
felixfaisal Sep 2, 2024
22b65ca
Merge branch 'dev' into p-884-integrate-with-passeo
felixfaisal Sep 2, 2024
d5fe2d5
Try to fix paseo CI (#3036)
Kailai-Wang Sep 3, 2024
635d546
Merge branch 'dev' into p-884-integrate-with-passeo
felixfaisal Sep 3, 2024
ccc2991
fix: resolve conflicts
felixfaisal Sep 9, 2024
b477ccd
fix: add paseo network into launch setup
felixfaisal Sep 9, 2024
23a3a7a
refactor: clean up makefile
felixfaisal Sep 9, 2024
31b690a
Merge branch 'dev' into p-884-integrate-with-passeo
felixfaisal Sep 10, 2024
6329e64
Merge branch 'dev' into p-884-integrate-with-passeo
felixfaisal Sep 12, 2024
9c193c6
Merge branch 'dev' into p-884-integrate-with-passeo
felixfaisal Sep 13, 2024
8358487
refactor: remove parachain-launch config for paseo
felixfaisal Sep 16, 2024
1a66aae
Merge branch 'dev' into p-884-integrate-with-passeo
felixfaisal Sep 16, 2024
22cfe31
add paseo benchmark option
BillyWooo Sep 16, 2024
2455724
Merge remote-tracking branch 'origin/p-884-integrate-with-passeo' int…
BillyWooo Sep 16, 2024
a7ef62f
[benchmarking bot] Auto commit generated weights files (#3065)
github-actions[bot] Sep 16, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .github/workflows/benchmark-runtime-weights.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ on:
description: rococo
required: true
default: true
paseo:
type: boolean
description: paseo
required: true
default: true
pallets:
description: pallets to benchmark, * for all, or comma listed (e.g. frame-system,pallet-proxy)
default: "*"
Expand Down Expand Up @@ -84,6 +89,9 @@ jobs:
if [ "${{ github.event.inputs.rococo }}" = "true" ]; then
chain="$chain rococo"
fi
if [ "${{ github.event.inputs.paseo }}" = "true" ]; then
chain="$chain paseo"
fi
if [ "$chain" = "" ]; then
echo "::error::Please select at least one chain."
exit 1
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -602,6 +602,7 @@ jobs:
chain:
- litentry
- rococo
- paseo
name: ${{ matrix.chain }}
steps:
- uses: actions/checkout@v4
Expand Down
113 changes: 113 additions & 0 deletions Cargo.lock

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

2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ members = [
'primitives/hex',
'runtime/litentry',
'runtime/rococo',
'runtime/paseo',
'runtime/common',
]
exclude = [
Expand Down Expand Up @@ -251,6 +252,7 @@ litentry-hex-utils = { path = "primitives/hex", default-features = false }
runtime-common = { path = "runtime/common", default-features = false }
litentry-parachain-runtime = { path = "runtime/litentry", default-features = false }
rococo-parachain-runtime = { path = "runtime/rococo", default-features = false }
paseo-parachain-runtime = { path = "runtime/paseo", default-features = false }
pallet-account-fix = { path = "pallets/account-fix", default-features = false }
pallet-asset-manager = { path = "pallets/xcm-asset-manager", default-features = false }
pallet-assets-handler = { path = "pallets/bridge/assets-handler", default-features = false }
Expand Down
15 changes: 11 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ build-runtime-litentry:
build-runtime-rococo:
cargo build --locked -p $(call pkgid, rococo-parachain-runtime) --release

.PHONY: build-runtime-paseo ## Build paseo release runtime
build-runtime-paseo:
cargo build --locked -p $(call pkgid, paseo-parachain-runtime) --release

.PHONY: build-docker-release ## Build docker image using cargo profile `release`
build-docker-release:
@./scripts/build-docker.sh release latest
Expand Down Expand Up @@ -72,6 +76,10 @@ launch-network-rococo:
launch-network-litentry:
@./scripts/launch-network.sh litentry

.PHONY: launch-network-paseo ## Launch a local litentry network with relaychain network
launch-network-paseo:
@./scripts/launch-network.sh paseo

# run tests

.PHONY: test-cargo-all ## cargo test --all
Expand All @@ -90,21 +98,21 @@ test-ts-litentry: launch-network-litentry
test-ts-rococo: launch-network-rococo
@./scripts/run-ts-test.sh rococo bridge evm

.PHONY: test-ts-paseo ## Run paseo ts tests without clean-up
test-ts-paseo: launch-network-paseo
@./scripts/run-ts-test.sh paseo bridge evm

# clean up

.PHONY: clean-network ## Clean up the network launched by 'launch-network'
clean-network:
@./scripts/clean-network.sh

# update dependencies

.PHONY: update-ts-dep ## update ts-tests dependencies
update-ts-dep:
@cd ts-tests && pnpm dlx npm-check-updates -u && pnpm install

# format

.PHONY: fmt ## (cargo, taplo, ts, solidity) fmt
fmt: fmt-cargo fmt-taplo fmt-ts fmt-contract

Expand Down Expand Up @@ -136,7 +144,6 @@ githooks:
git config core.hooksPath .githooks

# clippy

.PHONY: clippy ## cargo clippy
clippy:
SKIP_WASM_BUILD=1 cargo clippy --workspace --all-targets --all-features -- -D warnings
Expand Down
Loading