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: ⏫ upgrade to Polkadot SDK stable2409 #228

Merged
merged 67 commits into from
Oct 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
67 commits
Select commit Hold shift + click to select a range
2eff08b
refactor: :art: moved runtime apis into their own file
TDemeco Sep 27, 2024
303feb3
fix: :arrow_up: fix upgrade to polkadot-sdk v1.10.0
TDemeco Sep 27, 2024
e5ba5bd
Merge branch 'main' into update/polkadot-sdk-1.10.0
TDemeco Sep 27, 2024
3e4328d
fix: :bug: add removed runtime api `get_worst_case_scenario_slashable…
TDemeco Sep 27, 2024
3605611
fix: :bug: add missing generic in storage providers runtime api
TDemeco Sep 27, 2024
3659377
chore: :label: run typegen
TDemeco Sep 27, 2024
c1219f1
style: :rotating_light: run cargo fmt
TDemeco Sep 27, 2024
5ac0258
fix: :art: fix cargo clippy
TDemeco Sep 28, 2024
e82a113
Merge branch 'main' into update/polkadot-sdk-1.10.0
TDemeco Sep 28, 2024
91ae601
fix: :ambulance: fix mocked relay chain randomness
TDemeco Sep 28, 2024
97c0b64
style: :rotating_light: run cargo fmt
TDemeco Sep 28, 2024
787d1df
chore: :rotating_light: temporary remove unused import (until v1.13.0)
TDemeco Sep 28, 2024
9653a4e
Merge branch 'main' into update/polkadot-sdk-1.10.0
TDemeco Sep 28, 2024
6fb8bd4
fix: :adhesive_bandage: update `query_earliest_file_volunteer_tick` r…
TDemeco Sep 28, 2024
cde6b90
fix: :ambulance: fix issues with merge from main
TDemeco Sep 28, 2024
570e548
style: :rotating_light: run cargo fmt
TDemeco Sep 28, 2024
9bb33cc
feat: :package: initial update to polkadot sdk v1.11.0
TDemeco Sep 30, 2024
e28f09b
feat: :arrow_up: finish upgrade to polkadot sdk v1.11.0
TDemeco Sep 30, 2024
2947b01
Merge branch 'main' into update/polkadot-sdk-1.10.0
TDemeco Sep 30, 2024
5c07140
chore: :label: run typegen
TDemeco Sep 30, 2024
f86f2c1
Merge branch 'update/polkadot-sdk-1.10.0' into update/polkadot-sdk-1.…
TDemeco Sep 30, 2024
f4964fc
chore: :label: run typegen
TDemeco Sep 30, 2024
f85735d
fix: :white_check_mark: fix node tests after rebenchmark of balances …
TDemeco Oct 1, 2024
b7090b5
feat: :arrow_up: update to Polkadot SDK v1.12.0
TDemeco Oct 3, 2024
889fa3c
feat: :arrow_up: update to Polkadot SDK v1.13.0
TDemeco Oct 4, 2024
9587713
fix: :arrow_up: finish upgrading to Polkadot SDK v1.13.0
TDemeco Oct 4, 2024
5142fdd
Merge branch 'main' into update/polkadot-sdk-v1.13.0
TDemeco Oct 4, 2024
4eb7f24
fix: :bug: add missing imports (and run typegen)
TDemeco Oct 4, 2024
73a343f
fix: :arrow_down: rollback polkadotjs api dependencies
TDemeco Oct 4, 2024
090bfa6
chore: :label: rerun pnpm typegen
TDemeco Oct 4, 2024
ff67efb
feat: :construction: start upgrade to Polkadot SDK 1.14.0
TDemeco Oct 7, 2024
b857c6d
fix: :rotating_light: format and lint
TDemeco Oct 7, 2024
c6157a0
fix: :rotating_light: remove trailing whitespace
TDemeco Oct 7, 2024
91d7b73
Merge branch 'update/polkadot-sdk-v1.13.0' into update/polkadot-sdk-v…
TDemeco Oct 7, 2024
550ccd0
feat: :arrow_up: upgrade to Polkadot SDK v1.14.0
TDemeco Oct 7, 2024
d2b13b2
Merge branch 'main' into update/polkadot-sdk-v1.14.0
TDemeco Oct 7, 2024
830357a
Merge branch 'main' into update/polkadot-sdk-v1.14.0
TDemeco Oct 7, 2024
3ff32ca
chore: :label: run typegen
TDemeco Oct 7, 2024
79435a7
fix: :rotating_light: run cargo fmt
TDemeco Oct 7, 2024
9c320c8
docs: :fire: remove wrong license docs
TDemeco Oct 7, 2024
a9e2dc9
feat: :arrow_up: update Polkadot SDK to stable2407
TDemeco Oct 7, 2024
a6fc3b1
Merge branch 'main' into update/polkadot-sdk-stable2407
TDemeco Oct 7, 2024
5c6a849
chore: :label: run typegen
TDemeco Oct 7, 2024
23ad7e9
Merge branch 'main' into update/polkadot-sdk-stable2407
TDemeco Oct 8, 2024
7b55ca3
chore: :label: run typegen
TDemeco Oct 8, 2024
db2fb69
fix: :white_check_mark: fix bsp-threshold test
TDemeco Oct 8, 2024
b59cf44
fix: :green_heart: try to fix tests in CI
TDemeco Oct 8, 2024
39439f7
fix: :white_check_mark: try again to fix the integration tests in the CI
TDemeco Oct 8, 2024
be86ef7
test: :test_tube: fix batch file confirm storing test
TDemeco Oct 9, 2024
d099669
fix: :white_check_mark: remove unused imports from volunteer test
TDemeco Oct 9, 2024
3224437
fix: :white_check_mark: add wait for file in file storage success and…
TDemeco Oct 9, 2024
70dde30
fix: :white_check_mark: wait more time for bsp volunteering
TDemeco Oct 9, 2024
c9744a3
test: :test_tube: fix a few issues
TDemeco Oct 9, 2024
e2d8a3f
fix: :white_check_mark: maybe (hopefully) finish fixing tests
TDemeco Oct 9, 2024
cc9d406
fix: :white_check_mark: fix new bsps not catching up to the tip of th…
TDemeco Oct 9, 2024
ad40421
test: :white_check_mark: disconnect api
TDemeco Oct 9, 2024
a225b39
test: :bug: fix timeout bug
TDemeco Oct 10, 2024
77b8978
test: :white_check_mark: add initialization wait + fix single bsp ini…
TDemeco Oct 10, 2024
31bed63
chore: :rotating_light: removed unused variables
TDemeco Oct 10, 2024
fb316e5
test: :bug: initialised bsp net now correctly waits for bsp to store …
TDemeco Oct 10, 2024
200cf20
test: :bug: add missing wait for chain tip sync on test
TDemeco Oct 10, 2024
be63330
fix: :adhesive_bandage: Remove sleeps from single tests, in favour of…
ffarall Oct 10, 2024
068144f
feat: :construction: start update to stable2409
TDemeco Oct 10, 2024
21c8482
Merge branch 'main' into update/polkadot-sdk-stable2409
TDemeco Oct 14, 2024
d3409cc
feat: :arrow_up: update to Polkadot SDK stable2409
TDemeco Oct 14, 2024
cb512a5
Merge branch 'main' into update/polkadot-sdk-stable2409
TDemeco Oct 14, 2024
f8c8536
chore: :label: run typegen
TDemeco Oct 15, 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
2,800 changes: 1,392 additions & 1,408 deletions Cargo.lock

Large diffs are not rendered by default.

209 changes: 105 additions & 104 deletions Cargo.toml

Large diffs are not rendered by default.

43 changes: 18 additions & 25 deletions api-augment/dist/interfaces/lookup.js

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

2 changes: 1 addition & 1 deletion api-augment/dist/interfaces/lookup.js.map

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions api-augment/dist/types/interfaces/augment-api-query.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,10 @@ import type {
PalletXcmRemoteLockedFungibleRecord,
PalletXcmVersionMigrationStage,
PolkadotCorePrimitivesOutboundHrmpMessage,
PolkadotPrimitivesV7AbridgedHostConfiguration,
PolkadotPrimitivesV7PersistedValidationData,
PolkadotPrimitivesV7UpgradeGoAhead,
PolkadotPrimitivesV7UpgradeRestriction,
PolkadotPrimitivesV8AbridgedHostConfiguration,
PolkadotPrimitivesV8PersistedValidationData,
PolkadotPrimitivesV8UpgradeGoAhead,
PolkadotPrimitivesV8UpgradeRestriction,
ShpTraitsTrieRemoveMutation,
SpConsensusAuraSr25519AppSr25519Public,
SpCoreCryptoKeyTypeId,
Expand Down Expand Up @@ -773,7 +773,7 @@ declare module "@polkadot/api-base/types/storage" {
**/
hostConfiguration: AugmentedQuery<
ApiType,
() => Observable<Option<PolkadotPrimitivesV7AbridgedHostConfiguration>>,
() => Observable<Option<PolkadotPrimitivesV8AbridgedHostConfiguration>>,
[]
> &
QueryableStorageEntry<ApiType, []>;
Expand Down Expand Up @@ -919,7 +919,7 @@ declare module "@polkadot/api-base/types/storage" {
**/
upgradeGoAhead: AugmentedQuery<
ApiType,
() => Observable<Option<PolkadotPrimitivesV7UpgradeGoAhead>>,
() => Observable<Option<PolkadotPrimitivesV8UpgradeGoAhead>>,
[]
> &
QueryableStorageEntry<ApiType, []>;
Expand All @@ -934,7 +934,7 @@ declare module "@polkadot/api-base/types/storage" {
**/
upgradeRestrictionSignal: AugmentedQuery<
ApiType,
() => Observable<Option<PolkadotPrimitivesV7UpgradeRestriction>>,
() => Observable<Option<PolkadotPrimitivesV8UpgradeRestriction>>,
[]
> &
QueryableStorageEntry<ApiType, []>;
Expand All @@ -957,7 +957,7 @@ declare module "@polkadot/api-base/types/storage" {
**/
validationData: AugmentedQuery<
ApiType,
() => Observable<Option<PolkadotPrimitivesV7PersistedValidationData>>,
() => Observable<Option<PolkadotPrimitivesV8PersistedValidationData>>,
[]
> &
QueryableStorageEntry<ApiType, []>;
Expand Down
32 changes: 0 additions & 32 deletions api-augment/dist/types/interfaces/augment-api-tx.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2184,38 +2184,6 @@ declare module "@polkadot/api-base/types/submittable" {
[key: string]: SubmittableExtrinsicFunction<ApiType>;
};
parachainSystem: {
/**
* Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied
* later.
*
* The `check_version` parameter sets a boolean flag for whether or not the runtime's spec
* version and name should be verified on upgrade. Since the authorization only has a hash,
* it cannot actually perform the verification.
*
* This call requires Root origin.
**/
authorizeUpgrade: AugmentedSubmittable<
(
codeHash: H256 | string | Uint8Array,
checkVersion: bool | boolean | Uint8Array
) => SubmittableExtrinsic<ApiType>,
[H256, bool]
>;
/**
* Provide the preimage (runtime binary) `code` for an upgrade that has been authorized.
*
* If the authorization required a version check, this call will ensure the spec name
* remains unchanged and that the spec version has increased.
*
* Note that this function will not apply the new `code`, but only attempt to schedule the
* upgrade with the Relay Chain.
*
* All origins are allowed.
**/
enactAuthorizedUpgrade: AugmentedSubmittable<
(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>,
[Bytes]
>;
/**
* Set the current validation data.
*
Expand Down
31 changes: 12 additions & 19 deletions api-augment/dist/types/interfaces/lookup.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2211,9 +2211,9 @@ declare const _default: {
totalBytes: string;
};
/**
* Lookup222: polkadot_primitives::v7::UpgradeGoAhead
* Lookup222: polkadot_primitives::v8::UpgradeGoAhead
**/
PolkadotPrimitivesV7UpgradeGoAhead: {
PolkadotPrimitivesV8UpgradeGoAhead: {
_enum: string[];
};
/**
Expand All @@ -2225,18 +2225,18 @@ declare const _default: {
consumedGoAheadSignal: string;
};
/**
* Lookup224: polkadot_primitives::v7::PersistedValidationData<primitive_types::H256, N>
* Lookup224: polkadot_primitives::v8::PersistedValidationData<primitive_types::H256, N>
**/
PolkadotPrimitivesV7PersistedValidationData: {
PolkadotPrimitivesV8PersistedValidationData: {
parentHead: string;
relayParentNumber: string;
relayParentStorageRoot: string;
maxPovSize: string;
};
/**
* Lookup227: polkadot_primitives::v7::UpgradeRestriction
* Lookup227: polkadot_primitives::v8::UpgradeRestriction
**/
PolkadotPrimitivesV7UpgradeRestriction: {
PolkadotPrimitivesV8UpgradeRestriction: {
_enum: string[];
};
/**
Expand All @@ -2262,9 +2262,9 @@ declare const _default: {
remainingSize: string;
};
/**
* Lookup234: polkadot_primitives::v7::AbridgedHrmpChannel
* Lookup234: polkadot_primitives::v8::AbridgedHrmpChannel
**/
PolkadotPrimitivesV7AbridgedHrmpChannel: {
PolkadotPrimitivesV8AbridgedHrmpChannel: {
maxCapacity: string;
maxTotalSize: string;
maxMessageSize: string;
Expand All @@ -2273,9 +2273,9 @@ declare const _default: {
mqcHead: string;
};
/**
* Lookup235: polkadot_primitives::v7::AbridgedHostConfiguration
* Lookup235: polkadot_primitives::v8::AbridgedHostConfiguration
**/
PolkadotPrimitivesV7AbridgedHostConfiguration: {
PolkadotPrimitivesV8AbridgedHostConfiguration: {
maxCodeSize: string;
maxHeadDataSize: string;
maxUpwardQueueCount: string;
Expand All @@ -2288,9 +2288,9 @@ declare const _default: {
asyncBackingParams: string;
};
/**
* Lookup236: polkadot_primitives::v7::async_backing::AsyncBackingParams
* Lookup236: polkadot_primitives::v8::async_backing::AsyncBackingParams
**/
PolkadotPrimitivesV7AsyncBackingAsyncBackingParams: {
PolkadotPrimitivesV8AsyncBackingAsyncBackingParams: {
maxCandidateDepth: string;
allowedAncestryLen: string;
};
Expand All @@ -2312,13 +2312,6 @@ declare const _default: {
sudo_send_upward_message: {
message: string;
};
authorize_upgrade: {
codeHash: string;
checkVersion: string;
};
enact_authorized_upgrade: {
code: string;
};
};
};
/**
Expand Down
24 changes: 12 additions & 12 deletions api-augment/dist/types/interfaces/registry.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -159,12 +159,12 @@ import type {
PolkadotCorePrimitivesInboundDownwardMessage,
PolkadotCorePrimitivesInboundHrmpMessage,
PolkadotCorePrimitivesOutboundHrmpMessage,
PolkadotPrimitivesV7AbridgedHostConfiguration,
PolkadotPrimitivesV7AbridgedHrmpChannel,
PolkadotPrimitivesV7AsyncBackingAsyncBackingParams,
PolkadotPrimitivesV7PersistedValidationData,
PolkadotPrimitivesV7UpgradeGoAhead,
PolkadotPrimitivesV7UpgradeRestriction,
PolkadotPrimitivesV8AbridgedHostConfiguration,
PolkadotPrimitivesV8AbridgedHrmpChannel,
PolkadotPrimitivesV8AsyncBackingAsyncBackingParams,
PolkadotPrimitivesV8PersistedValidationData,
PolkadotPrimitivesV8UpgradeGoAhead,
PolkadotPrimitivesV8UpgradeRestriction,
ShpFileKeyVerifierFileKeyProof,
ShpFileMetadataFileMetadata,
ShpFileMetadataFingerprint,
Expand Down Expand Up @@ -428,12 +428,12 @@ declare module "@polkadot/types/types/registry" {
PolkadotCorePrimitivesInboundDownwardMessage: PolkadotCorePrimitivesInboundDownwardMessage;
PolkadotCorePrimitivesInboundHrmpMessage: PolkadotCorePrimitivesInboundHrmpMessage;
PolkadotCorePrimitivesOutboundHrmpMessage: PolkadotCorePrimitivesOutboundHrmpMessage;
PolkadotPrimitivesV7AbridgedHostConfiguration: PolkadotPrimitivesV7AbridgedHostConfiguration;
PolkadotPrimitivesV7AbridgedHrmpChannel: PolkadotPrimitivesV7AbridgedHrmpChannel;
PolkadotPrimitivesV7AsyncBackingAsyncBackingParams: PolkadotPrimitivesV7AsyncBackingAsyncBackingParams;
PolkadotPrimitivesV7PersistedValidationData: PolkadotPrimitivesV7PersistedValidationData;
PolkadotPrimitivesV7UpgradeGoAhead: PolkadotPrimitivesV7UpgradeGoAhead;
PolkadotPrimitivesV7UpgradeRestriction: PolkadotPrimitivesV7UpgradeRestriction;
PolkadotPrimitivesV8AbridgedHostConfiguration: PolkadotPrimitivesV8AbridgedHostConfiguration;
PolkadotPrimitivesV8AbridgedHrmpChannel: PolkadotPrimitivesV8AbridgedHrmpChannel;
PolkadotPrimitivesV8AsyncBackingAsyncBackingParams: PolkadotPrimitivesV8AsyncBackingAsyncBackingParams;
PolkadotPrimitivesV8PersistedValidationData: PolkadotPrimitivesV8PersistedValidationData;
PolkadotPrimitivesV8UpgradeGoAhead: PolkadotPrimitivesV8UpgradeGoAhead;
PolkadotPrimitivesV8UpgradeRestriction: PolkadotPrimitivesV8UpgradeRestriction;
ShpFileKeyVerifierFileKeyProof: ShpFileKeyVerifierFileKeyProof;
ShpFileMetadataFileMetadata: ShpFileMetadataFileMetadata;
ShpFileMetadataFingerprint: ShpFileMetadataFingerprint;
Expand Down
Loading
Loading