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

chore: upgrade v1.14.0 #198

Merged
merged 115 commits into from
Aug 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
115 commits
Select commit Hold shift + click to select a range
464519b
chore: upgrade to v1.9.0
chungquantin Aug 12, 2024
26af9de
chore: upgrade to 1.10.0
chungquantin Aug 13, 2024
52ed359
refactor: remove native executor, add unified host functions
chungquantin Aug 13, 2024
e0ff905
feat: pov claim feature
chungquantin Aug 13, 2024
7998178
feat: pov claim feature
chungquantin Aug 13, 2024
551218b
chore: upgrade to 1.10.0
chungquantin Aug 13, 2024
787d39a
chore: rebase upstream 1.8.0
chungquantin Aug 14, 2024
939ba7a
chore: update cargo.lock
chungquantin Aug 14, 2024
db16f2b
Merge branch 'chungquantin/chore-polkadot-v1.9.0' into chungquantin/c…
chungquantin Aug 14, 2024
2b7428c
fix: undo benchmarking host functions removal
chungquantin Aug 14, 2024
17fcfd1
chore: upgrade to v1.11.0
chungquantin Aug 14, 2024
a5630f0
fix: add missing signed extra
chungquantin Aug 14, 2024
4bdae59
chore: upgrade to 1.10.0
chungquantin Aug 13, 2024
f4813dd
refactor: remove native executor, add unified host functions
chungquantin Aug 13, 2024
63dd2d8
feat: pov claim feature
chungquantin Aug 13, 2024
efac88e
chore: upgrade to 1.10.0
chungquantin Aug 13, 2024
c2ec0e0
chore: rebase upstream 1.8.0
chungquantin Aug 14, 2024
c2fe9b3
chore: update cargo.lock
chungquantin Aug 14, 2024
1bdc5b8
fix: undo benchmarking host functions removal
chungquantin Aug 14, 2024
ba35239
Merge remote-tracking branch 'refs/remotes/origin/chungquantin/chore-…
chungquantin Aug 14, 2024
f7b5b53
fix: remove pov reclaim from testnet
chungquantin Aug 14, 2024
06fbb92
fix: remove signed extra
chungquantin Aug 14, 2024
76b0712
feat: update the authoring duration
chungquantin Aug 14, 2024
fcbecff
fix: comment identation
chungquantin Aug 14, 2024
676023d
chore: upgrade to v1.11.0
chungquantin Aug 14, 2024
36440f9
fix: comment identation
chungquantin Aug 14, 2024
dbfaa40
Merge remote-tracking branch 'refs/remotes/origin/chungquantin/chore-…
chungquantin Aug 14, 2024
36f7bf1
fix: remove signed extra from testnet
chungquantin Aug 14, 2024
6a21b84
fix: mismatch dependency version
chungquantin Aug 14, 2024
8b085e2
chore(upgrade): add feature gate to the unified host functions
chungquantin Aug 14, 2024
a127f44
chore: rebase v1.10.0
chungquantin Aug 14, 2024
6950395
fix: comment identation
chungquantin Aug 14, 2024
6a1f0ca
fix: remove signed extra from testnet
chungquantin Aug 14, 2024
5503e5f
fix: mismatch dependency version
chungquantin Aug 14, 2024
45b59e2
Merge remote-tracking branch 'refs/remotes/origin/chungquantin/chore-…
chungquantin Aug 14, 2024
a2025a1
chore: upgrade to v1.12.0
chungquantin Aug 14, 2024
2352a50
chore: revert pov reclaim feature
chungquantin Aug 15, 2024
c0ec099
chore: upgrade to 1.13.0
chungquantin Aug 15, 2024
f554468
Merge branch 'chungquantin/chore-polkadot-v1.9.0' into chungquantin/c…
chungquantin Aug 15, 2024
4eb9d97
fix: add missing signed extra for metadata hash
chungquantin Aug 15, 2024
cfbd5d4
Merge branch 'developer' into chungquantin/chore-polkadot-v1.10.0
chungquantin Aug 15, 2024
0d8e50a
chore: update lock file
chungquantin Aug 15, 2024
9cd01dd
chore: upgrade to v1.9.0
chungquantin Aug 12, 2024
e68615e
feat: pov claim feature
chungquantin Aug 13, 2024
f22d339
fix: add missing signed extra
chungquantin Aug 14, 2024
a3e6de2
chore: upgrade to 1.10.0
chungquantin Aug 13, 2024
7943f0a
refactor: remove native executor, add unified host functions
chungquantin Aug 13, 2024
8e91a8d
feat: pov claim feature
chungquantin Aug 13, 2024
833e4ba
chore: upgrade to 1.10.0
chungquantin Aug 13, 2024
ea2adee
chore: rebase upstream 1.8.0
chungquantin Aug 14, 2024
e923e9e
chore: update cargo.lock
chungquantin Aug 14, 2024
be53317
fix: undo benchmarking host functions removal
chungquantin Aug 14, 2024
48803bd
chore: upgrade to 1.10.0
chungquantin Aug 13, 2024
2b91db6
refactor: remove native executor, add unified host functions
chungquantin Aug 13, 2024
10ebaa6
feat: pov claim feature
chungquantin Aug 13, 2024
c9abfa2
chore: upgrade to 1.10.0
chungquantin Aug 13, 2024
a258bf6
chore: rebase upstream 1.8.0
chungquantin Aug 14, 2024
88f423d
chore: update cargo.lock
chungquantin Aug 14, 2024
fb8c6eb
fix: undo benchmarking host functions removal
chungquantin Aug 14, 2024
8257cc4
fix: remove signed extra
chungquantin Aug 14, 2024
ff33961
feat: update the authoring duration
chungquantin Aug 14, 2024
587dc45
chore(upgrade): add feature gate to the unified host functions
chungquantin Aug 14, 2024
5608785
chore: revert pov reclaim feature
chungquantin Aug 15, 2024
827dc84
chore: update lock file
chungquantin Aug 15, 2024
ab65d6a
Merge remote-tracking branch 'refs/remotes/origin/chungquantin/chore-…
chungquantin Aug 15, 2024
1257186
feat: pov claim feature
chungquantin Aug 13, 2024
81115f5
chore: upgrade to 1.10.0
chungquantin Aug 13, 2024
242b68a
refactor: remove native executor, add unified host functions
chungquantin Aug 13, 2024
62ca070
feat: pov claim feature
chungquantin Aug 13, 2024
a72b206
chore: upgrade to 1.10.0
chungquantin Aug 13, 2024
9863cff
fix: undo benchmarking host functions removal
chungquantin Aug 14, 2024
d058b22
refactor: remove native executor, add unified host functions
chungquantin Aug 13, 2024
5344837
fix: undo benchmarking host functions removal
chungquantin Aug 14, 2024
b981174
chore: revert pov reclaim feature
chungquantin Aug 15, 2024
c9416ea
Merge branch 'developer' into chungquantin/chore-polkadot-v1.10.0
chungquantin Aug 15, 2024
256e8d4
Merge branch 'developer' into chungquantin/chore-polkadot-v1.10.0
chungquantin Aug 15, 2024
fff8d0d
fix: add missing experimental feature
chungquantin Aug 15, 2024
84d9334
chore: revert experimental flag
chungquantin Aug 15, 2024
764e41d
fix: remove EOL space
chungquantin Aug 15, 2024
b8d61ea
chore: rebase v1.10.0
chungquantin Aug 14, 2024
0db3bb9
fix: comment identation
chungquantin Aug 14, 2024
b6ee08f
fix: remove signed extra from testnet
chungquantin Aug 14, 2024
2b4ce6d
fix: mismatch dependency version
chungquantin Aug 14, 2024
a544bef
chore: upgrade to v1.11.0
chungquantin Aug 14, 2024
ff34782
fix: remove signed extra from testnet
chungquantin Aug 14, 2024
b33a5bc
fix: mismatch dependency version
chungquantin Aug 14, 2024
a624454
Merge remote-tracking branch 'refs/remotes/origin/chungquantin/chore-…
chungquantin Aug 15, 2024
410039e
Merge branch 'chungquantin/chore-polkadot-v1.11.0' into chungquantin/…
chungquantin Aug 15, 2024
d1e3027
Merge branch 'chungquantin/chore-polkadot-v1.12.0' into chungquantin/…
chungquantin Aug 15, 2024
9de05d8
fix: remove metadata hash from testnet
chungquantin Aug 15, 2024
3e9d856
fix: remove metadata hash extension
chungquantin Aug 15, 2024
b88473e
Merge branch 'developer' into chungquantin/chore-polkadot-v1.11.0
chungquantin Aug 16, 2024
d222eb6
refactor: simplify wasm build script
chungquantin Aug 16, 2024
fb24dc5
Merge branch 'chungquantin/chore-polkadot-v1.11.0' into chungquantin/…
chungquantin Aug 16, 2024
2edd61f
chore: upgrade to 1.14.0
chungquantin Aug 16, 2024
90b6ca8
Merge branch 'developer' into chungquantin/chore-polkadot-v1.12.0
chungquantin Aug 16, 2024
564c6d5
fix: remove frame metadata hash extension
chungquantin Aug 16, 2024
3ef3849
fix: remove metadata hash from testnet
chungquantin Aug 16, 2024
b8c4dcd
Merge branch 'chungquantin/chore-polkadot-v1.12.0' into chungquantin/…
chungquantin Aug 16, 2024
3607a5d
feat: simplify wasm build script
chungquantin Aug 16, 2024
c64188e
fix: update build metadata has parameters
chungquantin Aug 17, 2024
975b611
Merge branch 'developer' into chungquantin/chore-polkadot-v1.13.0
chungquantin Aug 17, 2024
cf227b7
Merge branch 'chungquantin/chore-polkadot-v1.13.0' into chungquantin/…
chungquantin Aug 17, 2024
22302b5
fix: add missing signed extra
chungquantin Aug 17, 2024
c5f142c
Merge branch 'developer' into chungquantin/chore-polkadot-v1.14.0
chungquantin Aug 17, 2024
fa141fe
fix: add missing std feature for metdata hash
chungquantin Aug 19, 2024
eda1d5b
fix: default-std position
chungquantin Aug 19, 2024
dc01992
fix: wrong std feature metadata hash
chungquantin Aug 19, 2024
992fba8
chore(runtime): bump versions to 0.3.0 (#219)
peterwht Aug 19, 2024
c42114c
feat: add pov reclaim & xcm migration
chungquantin Aug 20, 2024
3d84919
fix: update heap size in the xcmp message queue
chungquantin Aug 20, 2024
83405b4
fix: migrate integration tests from `paseo` to `polkadot` runtimes (#…
chungquantin Aug 20, 2024
46f557f
fix: add missing changes
chungquantin Aug 20, 2024
134e0aa
fix: typo
chungquantin Aug 20, 2024
dff06cd
chore: rebase main
chungquantin Aug 21, 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
9,394 changes: 3,552 additions & 5,842 deletions Cargo.lock

Large diffs are not rendered by default.

157 changes: 81 additions & 76 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ scale-info = { version = "2.10.0", default-features = false, features = [
smallvec = "1.11.0"
serde = "1.0.195"
clap = { version = "4.4.18", features = ["derive"] }
jsonrpsee = { version = "0.22.5", features = ["server"] }
jsonrpsee = { version = "0.23.2", features = ["server"] }
futures = "0.3.28"
serde_json = "1.0.111"
tracing-subscriber = { version = "0.3", default-features = false }
Expand All @@ -57,55 +57,56 @@ pop-runtime-common = { path = "runtime/common", default-features = false }
pop-primitives = { path = "./primitives", default-features = false }

# Substrate
sc-basic-authorship = "0.41.0"
sc-chain-spec = "34.0.0"
sc-cli = "0.43.0"
sc-client-api = "=35.0.0"
sc-offchain = "36.0.0"
sc-consensus = "0.40.0"
sc-basic-authorship = "0.42.0"
sc-chain-spec = "35.0.0"
sc-cli = "0.44.0"
sc-client-api = "35.1.0"
sc-offchain = "37.0.0"
sc-consensus = "0.41.0"
sc-executor = "0.39.0"
sc-network = "0.41.0"
sc-network-sync = "0.40.0"
sc-rpc = "36.0.0"
sc-service = "0.42.0"
sc-sysinfo = "34.0.0"
sc-telemetry = "21.0.0"
sc-network = "0.42.0"
sc-network-sync = "0.41.0"
sc-rpc = "37.0.0"
sc-service = "0.43.0"
sc-sysinfo = "35.0.0"
sc-telemetry = "22.0.0"
sc-tracing = "35.0.0"
sc-transaction-pool = "35.0.0"
sc-transaction-pool-api = "35.0.0"
frame-benchmarking = { version = "35.0.0", default-features = false }
frame-benchmarking-cli = "39.0.0"
frame-executive = { version = "35.0.0", default-features = false }
frame-support = { version = "35.0.0", default-features = false }
frame-system = { version = "35.0.0", default-features = false }
frame-system-benchmarking = { version = "35.0.0", default-features = false }
frame-benchmarking = { version = "36.0.0", default-features = false }
frame-benchmarking-cli = "40.0.0"
frame-executive = { version = "36.0.0", default-features = false }
frame-support = { version = "36.0.0", default-features = false }
frame-system = { version = "36.1.0", default-features = false }
frame-system-benchmarking = { version = "36.0.0", default-features = false }
frame-system-rpc-runtime-api = { version = "33.0.0", default-features = false }
frame-try-runtime = { version = "0.41.0", default-features = false }
frame-metadata-hash-extension = { version = "0.3.0", default-features = false }
pallet-aura = { version = "34.0.0", default-features = false }
pallet-authorship = { version = "35.0.0", default-features = false }
pallet-assets = { version = "36.0.0", default-features = false }
pallet-balances = { version = "36.0.0", default-features = false }
pallet-contracts = { version = "34.0.0", default-features = false }
pallet-message-queue = { version = "38.0.0", default-features = false }
pallet-multisig = { version = "35.0.0", default-features = false }
pallet-nft-fractionalization = { version = "17.0.0", default-features = false }
pallet-nfts = { version = "29.0.0", default-features = false }
pallet-nfts-runtime-api = { version = "21.0.0", default-features = false }
pallet-preimage = { version = "35.0.0", default-features = false }
pallet-proxy = { version = "35.0.0", default-features = false }
pallet-scheduler = { version = "36.0.0", default-features = false }
pallet-session = { version = "35.0.0", default-features = false }
pallet-sudo = { version = "35.0.0", default-features = false }
pallet-timestamp = { version = "34.0.0", default-features = false }
pallet-transaction-payment = { version = "35.0.0", default-features = false }
pallet-transaction-payment-rpc = "37.0.0"
pallet-transaction-payment-rpc-runtime-api = { version = "35.0.0", default-features = false }
pallet-utility = { version = "35.0.0", default-features = false }
frame-try-runtime = { version = "0.42.0", default-features = false }
frame-metadata-hash-extension = { version = "0.4.0", default-features = false }
pallet-aura = { version = "35.0.0", default-features = false }
pallet-authorship = { version = "36.0.0", default-features = false }
pallet-assets = { version = "37.0.0", default-features = false }
pallet-balances = { version = "37.0.0", default-features = false }
pallet-contracts = { version = "35.0.0", default-features = false }
pallet-message-queue = { version = "39.0.0", default-features = false }
pallet-multisig = { version = "36.0.0", default-features = false }
pallet-nft-fractionalization = { version = "18.0.0", default-features = false }
pallet-nfts = { version = "30.0.0", default-features = false }
pallet-nfts-runtime-api = { version = "22.0.0", default-features = false }
pallet-preimage = { version = "36.0.0", default-features = false }
pallet-proxy = { version = "36.0.0", default-features = false }
pallet-scheduler = { version = "37.0.0", default-features = false }
pallet-session = { version = "36.0.0", default-features = false }
pallet-sudo = { version = "36.0.0", default-features = false }
pallet-timestamp = { version = "35.0.0", default-features = false }
pallet-transaction-payment = { version = "36.0.0", default-features = false }
pallet-transaction-payment-rpc = "38.0.0"
pallet-transaction-payment-rpc-runtime-api = { version = "36.0.0", default-features = false }
pallet-utility = { version = "36.0.0", default-features = false }
prometheus-endpoint = { version = "0.17.0", default-features = false, package = "substrate-prometheus-endpoint" }
sp-api = { version = "33.0.0", default-features = false }
sp-authority-discovery = { version = "33.0.0", default-features = false }
sp-block-builder = { version = "33.0.0", default-features = false }
sp-blockchain = "35.0.0"
sp-blockchain = "35.1.0"
sp-consensus-aura = { version = "0.39.0", default-features = false }
sp-consensus-babe = { version = "0.39.0", default-features = false }
sp-consensus-beefy = { version = "20.0.0", default-features = false }
Expand All @@ -116,55 +117,59 @@ sp-io = { version = "37.0.0", default-features = false }
sp-genesis-builder = { version = "0.14.0", default-features = false }
sp-inherents = { version = "33.0.0", default-features = false }
sp-offchain = { version = "33.0.0", default-features = false }
sp-runtime = { version = "=38.0.0", default-features = false }
sp-runtime = { version = "38.0.0", default-features = false }
sp-timestamp = "33.0.0"
substrate-frame-rpc-system = "35.0.0"
substrate-prometheus-endpoint = "0.17.0"
substrate-frame-rpc-system = "36.0.0"
sp-session = { version = "34.0.0", default-features = false }
sp-std = { version = "14.0.0", default-features = false }
sp-transaction-pool = { version = "33.0.0", default-features = false }
sp-version = { version = "36.0.0", default-features = false }

# Polkadot
pallet-xcm = { version = "14.0.0", default-features = false }
polkadot-cli = "14.0.0"
pallet-xcm = { version = "15.0.0", default-features = false }
polkadot-cli = "15.0.0"
polkadot-parachain-primitives = { version = "13.0.0", default-features = false }
polkadot-runtime-parachains = { version = "14.0.0", default-features = false }
polkadot-runtime-parachains = { version = "15.0.3", default-features = false }
polkadot-primitives = { version = "14.0.0", default-features = false }
polkadot-runtime-common = { version = "14.0.0", default-features = false }
rococo-runtime-constants = { version = "14.0.0", default-features = false }
rococo-runtime = { version = "14.0.0", default-features = false }
xcm = { version = "14.0.0", package = "staging-xcm", default-features = false }
xcm-builder = { version = "14.0.0", package = "staging-xcm-builder", default-features = false }
xcm-executor = { version = "14.0.0", package = "staging-xcm-executor", default-features = false }
polkadot-runtime-common = { version = "15.0.0", default-features = false }
rococo-runtime-constants = { version = "15.0.0", default-features = false }
rococo-runtime = { version = "15.0.0", default-features = false }
xcm = { version = "14.0.3", package = "staging-xcm", default-features = false }
xcm-builder = { version = "15.0.0", package = "staging-xcm-builder", default-features = false }
xcm-executor = { version = "15.0.0", package = "staging-xcm-executor", default-features = false }

# Cumulus
asset-hub-rococo-runtime = { version = "0.18.0", default-features = false }
asset-test-utils = { version = "14.0.0", default-features = false }
cumulus-pallet-aura-ext = { version = "0.14.0", default-features = false }
cumulus-pallet-parachain-system = { version = "0.14.0", default-features = false }
cumulus-pallet-session-benchmarking = { version = "16.0.0", default-features = false }
cumulus-pallet-xcm = { version = "0.14.0", default-features = false }
cumulus-pallet-xcmp-queue = { version = "0.14.0", default-features = false }
asset-hub-rococo-runtime = { version = "0.19.0", default-features = false }
asset-test-utils = { version = "15.0.0", default-features = false }
cumulus-pallet-aura-ext = { version = "0.15.0", default-features = false }
cumulus-pallet-parachain-system = { version = "0.15.0", default-features = false }
cumulus-pallet-session-benchmarking = { version = "17.0.0", default-features = false }
cumulus-pallet-xcm = { version = "0.15.0", default-features = false }
cumulus-pallet-xcmp-queue = { version = "0.15.0", default-features = false }
cumulus-primitives-aura = { version = "0.14.0", default-features = false }
cumulus-primitives-core = { version = "0.14.0", default-features = false }
cumulus-primitives-storage-weight-reclaim = { version = "5.0.0", default-features = false }
cumulus-primitives-utility = { version = "0.14.0", default-features = false }
emulated-integration-tests-common = { version = "10.0.0", default-features = false }
pallet-collator-selection = { version = "16.0.0", default-features = false }
parachains-common = { version = "14.0.0", default-features = false }
parachain-info = { version = "0.14.0", package = "staging-parachain-info", default-features = false }
cumulus-primitives-storage-weight-reclaim = { version = "6.0.2", default-features = false }
cumulus-primitives-utility = { version = "0.15.0", default-features = false }
emulated-integration-tests-common = { version = "11.0.0", default-features = false }
pallet-collator-selection = { version = "17.0.0", default-features = false }
parachains-common = { version = "15.0.0", default-features = false }
parachain-info = { version = "0.15.0", package = "staging-parachain-info", default-features = false }
cumulus-primitives-parachain-inherent = "0.14.0"
cumulus-relay-chain-interface = "0.14.0"
cumulus-relay-chain-interface = "0.15.0"
color-print = "0.3.4"
cumulus-client-cli = "0.14.0"
cumulus-client-collator = "0.14.0"
cumulus-client-consensus-aura = "0.14.0"
cumulus-client-consensus-common = "0.14.0"
cumulus-client-cli = "0.15.0"
cumulus-client-collator = "0.15.0"
cumulus-client-consensus-aura = "0.15.0"
cumulus-client-consensus-common = "0.15.0"
cumulus-client-consensus-proposer = "0.14.0"
cumulus-client-service = "0.14.0"
cumulus-client-service = "0.15.0"

# TODO: Paseo (note: using polkadot as stopgap until paseo updated to polkadot sdk v1.14.0)
asset-hub-paseo-runtime = { git = "https://github.com/polkadot-fellows/runtimes", default-features = false, package = "asset-hub-polkadot-runtime" }
paseo-runtime = { git = "https://github.com/polkadot-fellows/runtimes", default-features = false, package = "polkadot-runtime" }
paseo-runtime-constants = { git = "https://github.com/polkadot-fellows/runtimes", default-features = false, package = "polkadot-runtime-constants" }

# Paseo
asset-hub-paseo-runtime = { git = "https://github.com/paseo-network/runtimes/", tag = "v1.2.5-system-chains", default-features = false }
paseo-runtime = { git = "https://github.com/paseo-network/runtimes/", tag = "v1.2.5-system-chains", default-features = false }
paseo-runtime-constants = { git = "https://github.com/paseo-network/runtimes/", tag = "v1.2.5-system-chains", default-features = false }
# asset-hub-paseo-runtime = { git = "https://github.com/paseo-network/runtimes/", tag = "v1.2.5-system-chains", default-features = false }
# paseo-runtime = { git = "https://github.com/paseo-network/runtimes/", tag = "v1.2.5-system-chains", default-features = false }
# paseo-runtime-constants = { git = "https://github.com/paseo-network/runtimes/", tag = "v1.2.5-system-chains", default-features = false }
7 changes: 6 additions & 1 deletion integration-tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,12 @@ repository.workspace = true

[dev-dependencies]
codec.workspace = true
tracing-subscriber = { workspace = true, features = ["env-filter", "fmt", "std", "tracing-log"] }
tracing-subscriber = { workspace = true, features = [
"env-filter",
"fmt",
"std",
"tracing-log",
] }

# Substrate
frame-support.workspace = true
Expand Down
5 changes: 2 additions & 3 deletions integration-tests/src/chains/asset_hub_paseo/mod.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
pub(crate) mod genesis;

use crate::chains::paseo::Paseo;
use emulated_integration_tests_common::{
impl_accounts_helpers_for_parachain, impl_assert_events_helpers_for_parachain,
impl_assets_helpers_for_parachain, impl_foreign_assets_helpers_for_parachain,
Expand Down Expand Up @@ -34,6 +33,6 @@ decl_test_parachains! {
// AssetHubPaseo implementation
impl_accounts_helpers_for_parachain!(AssetHubPaseo);
impl_assert_events_helpers_for_parachain!(AssetHubPaseo);
impl_assets_helpers_for_parachain!(AssetHubPaseo, Paseo);
impl_foreign_assets_helpers_for_parachain!(AssetHubPaseo, Paseo);
impl_assets_helpers_for_parachain!(AssetHubPaseo);
impl_foreign_assets_helpers_for_parachain!(AssetHubPaseo, xcm::v3::Location);
impl_xcm_helpers_for_parachain!(AssetHubPaseo);
14 changes: 7 additions & 7 deletions integration-tests/src/chains/paseo/genesis.rs
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
use emulated_integration_tests_common::{
accounts, build_genesis_storage, get_account_id_from_seed, get_from_seed, get_host_config,
validators,
accounts, build_genesis_storage, get_from_seed, get_host_config, validators,
};
use paseo_runtime_constants::currency::UNITS as PAS;
use polkadot_primitives::{AssignmentId, Balance, ValidatorId};
use sp_authority_discovery::AuthorityId as AuthorityDiscoveryId;
use sp_consensus_babe::AuthorityId as BabeId;
use sp_consensus_beefy::ecdsa_crypto::AuthorityId as BeefyId;
use sp_consensus_grandpa::AuthorityId as GrandpaId;
use sp_core::{sr25519, storage::Storage};
use sp_core::storage::Storage;

pub(crate) const ED: Balance = paseo_runtime_constants::currency::EXISTENTIAL_DEPOSIT;
const ENDOWMENT: u128 = 1_000_000 * PAS;
Expand Down Expand Up @@ -58,12 +57,13 @@ pub(crate) fn genesis() -> Storage {
},
babe: paseo_runtime::BabeConfig {
authorities: Default::default(),
epoch_config: Some(paseo_runtime::BABE_GENESIS_EPOCH_CONFIG),
epoch_config: paseo_runtime::BABE_GENESIS_EPOCH_CONFIG,
..Default::default()
},
sudo: paseo_runtime::SudoConfig {
key: Some(get_account_id_from_seed::<sr25519::Public>("Alice")),
},
// TODO: sudo pallet is not configured in polkadot runtime
// sudo: runtime::SudoConfig {
// key: Some(get_account_id_from_seed::<sr25519::Public>("Alice")),
// },
configuration: paseo_runtime::ConfigurationConfig { config: get_host_config() },
registrar: paseo_runtime::RegistrarConfig {
next_free_para_id: polkadot_primitives::LOWEST_PUBLIC_ID,
Expand Down
5 changes: 3 additions & 2 deletions integration-tests/src/chains/paseo/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use emulated_integration_tests_common::{

// Paseo declaration
decl_test_relay_chains! {
#[api_version(10)]
#[api_version(11)]
pub struct Paseo {
genesis = genesis::genesis(),
on_init = (),
Expand All @@ -18,7 +18,8 @@ decl_test_relay_chains! {
},
pallets = {
XcmPallet: paseo_runtime::XcmPallet,
Sudo: paseo_runtime::Sudo,
// TODO: sudo pallet is not configured in polkadot runtime
// Sudo: paseo_runtime::Sudo,
Balances: paseo_runtime::Balances,
Hrmp: paseo_runtime::Hrmp,
}
Expand Down
3 changes: 1 addition & 2 deletions integration-tests/src/chains/pop_network/mod.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
pub(crate) mod genesis;

use crate::chains::paseo::Paseo;
use emulated_integration_tests_common::{
impl_accounts_helpers_for_parachain, impl_assert_events_helpers_for_parachain,
impl_assets_helpers_for_parachain, impl_xcm_helpers_for_parachain, impls::Parachain,
Expand Down Expand Up @@ -33,5 +32,5 @@ decl_test_parachains! {
// PopNetwork implementation
impl_accounts_helpers_for_parachain!(PopNetwork);
impl_assert_events_helpers_for_parachain!(PopNetwork);
impl_assets_helpers_for_parachain!(PopNetwork, Paseo);
impl_assets_helpers_for_parachain!(PopNetwork);
impl_xcm_helpers_for_parachain!(PopNetwork);
18 changes: 7 additions & 11 deletions integration-tests/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ fn para_receiver_assertions<Test>(_: Test) {
assert_expected_events!(
PopNetworkPara,
vec![
RuntimeEvent::Balances(pallet_balances::Event::Deposit { .. }) => {},
RuntimeEvent::Balances(pallet_balances::Event::Minted { .. }) => {},
RuntimeEvent::MessageQueue(
pallet_message_queue::Event::Processed { success: true, .. }
) => {},
Expand All @@ -113,9 +113,7 @@ fn para_to_system_para_sender_assertions(t: ParaToSystemParaTest) {
PopNetworkPara,
vec![
// Amount to reserve transfer is transferred to Parachain's Sovereign account
RuntimeEvent::Balances(
pallet_balances::Event::Withdraw { who, amount }
) => {
RuntimeEvent::Balances(pallet_balances::Event::Burned { who, amount }) => {
who: *who == t.sender.account_id,
amount: *amount == t.args.amount,
},
Expand All @@ -133,9 +131,7 @@ fn para_to_relay_sender_assertions(t: ParaToRelayTest) {
PopNetworkPara,
vec![
// Amount to reserve transfer is transferred to Parachain's Sovereign account
RuntimeEvent::Balances(
pallet_balances::Event::Withdraw { who, amount }
) => {
RuntimeEvent::Balances(pallet_balances::Event::Burned { who, amount }) => {
who: *who == t.sender.account_id,
amount: *amount == t.args.amount,
},
Expand Down Expand Up @@ -297,7 +293,7 @@ fn reserve_transfer_native_asset_from_relay_to_para() {
test.assert();

let delivery_fees = PaseoRelay::execute_with(|| {
xcm_helpers::transfer_assets_delivery_fees::<
xcm_helpers::teleport_assets_delivery_fees::<
<PaseoXcmConfig as xcm_executor::Config>::XcmSender,
>(test.args.assets.clone(), 0, test.args.weight_limit, test.args.beneficiary, test.args.dest)
});
Expand Down Expand Up @@ -351,7 +347,7 @@ fn reserve_transfer_native_asset_from_para_to_relay() {
let receiver_balance_after = test.receiver.balance;

let delivery_fees = PopNetworkPara::execute_with(|| {
xcm_helpers::transfer_assets_delivery_fees::<
xcm_helpers::teleport_assets_delivery_fees::<
<PopNetworkXcmConfig as xcm_executor::Config>::XcmSender,
>(test.args.assets.clone(), 0, test.args.weight_limit, test.args.beneficiary, test.args.dest)
});
Expand Down Expand Up @@ -397,7 +393,7 @@ fn reserve_transfer_native_asset_from_system_para_to_para() {
let receiver_balance_after = test.receiver.balance;

let delivery_fees = AssetHubPaseoPara::execute_with(|| {
xcm_helpers::transfer_assets_delivery_fees::<
xcm_helpers::teleport_assets_delivery_fees::<
<AssetHubPaseoXcmConfig as xcm_executor::Config>::XcmSender,
>(test.args.assets.clone(), 0, test.args.weight_limit, test.args.beneficiary, test.args.dest)
});
Expand Down Expand Up @@ -460,7 +456,7 @@ fn reserve_transfer_native_asset_from_para_to_system_para() {
let receiver_balance_after = test.receiver.balance;

let delivery_fees = PopNetworkPara::execute_with(|| {
xcm_helpers::transfer_assets_delivery_fees::<
xcm_helpers::teleport_assets_delivery_fees::<
<PopNetworkXcmConfig as xcm_executor::Config>::XcmSender,
>(test.args.assets.clone(), 0, test.args.weight_limit, test.args.beneficiary, test.args.dest)
});
Expand Down
2 changes: 1 addition & 1 deletion node/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ pop-runtime-common.workspace = true
frame-benchmarking.workspace = true
frame-benchmarking-cli.workspace = true
pallet-transaction-payment-rpc.workspace = true
prometheus-endpoint.workspace = true
sc-basic-authorship.workspace = true
sc-chain-spec.workspace = true
sc-cli.workspace = true
Expand Down Expand Up @@ -57,7 +58,6 @@ sp-session.workspace = true
sp-timestamp.workspace = true
sp-transaction-pool.workspace = true
substrate-frame-rpc-system.workspace = true
substrate-prometheus-endpoint.workspace = true

# Polkadot
polkadot-cli.workspace = true
Expand Down
Loading
Loading