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: msp move bucket stop storing #374

Merged
merged 41 commits into from
Feb 27, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
33f8acb
check fingerprint before writing storage
links234 Feb 7, 2025
417b9f6
Merge branch 'main' into fix/fingerprint-check
links234 Feb 7, 2025
aaa05b2
fix rocksdb unit test
links234 Feb 10, 2025
b1dbdef
Merge branch 'main' into fix/fingerprint-check
links234 Feb 11, 2025
c84bc69
Merge branch 'main' into fix/fingerprint-check
links234 Feb 12, 2025
0b6d1f9
fix merge
links234 Feb 14, 2025
44c59be
enforce chunk sizes
links234 Feb 14, 2025
faf069f
parallelize move bucket file download
links234 Feb 14, 2025
4f13245
implement batched chunks for download
links234 Feb 14, 2025
ba099a7
add bsp manager and better PeerId selection for move bucket
links234 Feb 14, 2025
106688f
fix fmt
links234 Feb 14, 2025
4f89ed2
fix fmt 2
links234 Feb 14, 2025
b57a550
Merge branch 'main' into feat/improve-msp-bucket-download
ffarall Feb 17, 2025
8c32896
amend
links234 Feb 19, 2025
aed4bb0
fix and refactor chunk size verification
links234 Feb 19, 2025
6269830
split MSP Move Bucket task so it reacts to onchain request confirmation
links234 Feb 19, 2025
0d0b32d
Merge branch 'main' into feat/improve-msp-bucket-download
links234 Feb 19, 2025
4731f7b
Merge branch 'feat/improve-msp-bucket-download' into hotfix/chunk-siz…
links234 Feb 19, 2025
c24f4ad
Merge branch 'hotfix/chunk-size-enforce' into fix/msp-move-bucket-eve…
links234 Feb 19, 2025
8f68afa
old MSP stop storing files after accept confirmation
links234 Feb 19, 2025
4d4df79
amend comments
links234 Feb 19, 2025
3571b92
Merge branch 'feat/improve-msp-bucket-download' into hotfix/chunk-siz…
links234 Feb 19, 2025
b6f7bee
amend
links234 Feb 19, 2025
11dc00d
Merge branch 'hotfix/chunk-size-enforce' into fix/msp-move-bucket-eve…
links234 Feb 19, 2025
cda229a
fix
links234 Feb 19, 2025
674de92
Merge branch 'fix/msp-move-bucket-event-flow' into feat/msp-move-buce…
links234 Feb 19, 2025
28cf184
fix
links234 Feb 19, 2025
23c8014
pnpm typegen
links234 Feb 19, 2025
24225db
Merge branch 'main' into feat/improve-msp-bucket-download
links234 Feb 20, 2025
2148c6f
Merge branch 'feat/improve-msp-bucket-download' into hotfix/chunk-siz…
links234 Feb 20, 2025
28f6067
Merge branch 'hotfix/chunk-size-enforce' into fix/msp-move-bucket-eve…
links234 Feb 20, 2025
1bb6046
Merge branch 'fix/msp-move-bucket-event-flow' into feat/msp-move-buce…
links234 Feb 20, 2025
18e226e
Merge branch 'main' into feat/msp-move-bucekt-stop-storing
ffarall Feb 24, 2025
0af92c3
chore: :label: Update `api-augment` after merge
ffarall Feb 24, 2025
0ed100f
fix: remove duplicated MoveBucketRequest event handling in both block…
snowmead Feb 25, 2025
90486c1
use waitForTxInPool
snowmead Feb 25, 2025
12c825a
use waitForTxInPool
snowmead Feb 25, 2025
5b357c1
wait for correct length of events
snowmead Feb 26, 2025
66385fa
amend
links234 Feb 27, 2025
0da13ce
Merge branch 'main' into feat/msp-move-bucekt-stop-storing
links234 Feb 27, 2025
c98584b
docs: :bulb: Fix comment of new event clarifying it's emitted in fina…
ffarall Feb 27, 2025
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
144 changes: 73 additions & 71 deletions api-augment/dist/interfaces/lookup.js

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

10 changes: 6 additions & 4 deletions api-augment/dist/types/interfaces/augment-api-events.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -687,10 +687,11 @@ declare module "@polkadot/api-base/types/events" {
**/
MoveBucketAccepted: AugmentedEvent<
ApiType,
[bucketId: H256, mspId: H256, valuePropId: H256],
[bucketId: H256, oldMspId: Option<H256>, newMspId: H256, valuePropId: H256],
{
bucketId: H256;
mspId: H256;
oldMspId: Option<H256>;
newMspId: H256;
valuePropId: H256;
}
>;
Expand All @@ -699,10 +700,11 @@ declare module "@polkadot/api-base/types/events" {
**/
MoveBucketRejected: AugmentedEvent<
ApiType,
[bucketId: H256, mspId: H256],
[bucketId: H256, oldMspId: Option<H256>, newMspId: H256],
{
bucketId: H256;
mspId: H256;
oldMspId: Option<H256>;
newMspId: H256;
}
>;
/**
Expand Down
144 changes: 73 additions & 71 deletions api-augment/dist/types/interfaces/lookup.d.ts

Large diffs are not rendered by default.

144 changes: 73 additions & 71 deletions api-augment/dist/types/interfaces/types-lookup.d.ts

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions api-augment/src/interfaces/augment-api-events.ts
Original file line number Diff line number Diff line change
Expand Up @@ -551,16 +551,16 @@ declare module "@polkadot/api-base/types/events" {
**/
MoveBucketAccepted: AugmentedEvent<
ApiType,
[bucketId: H256, mspId: H256, valuePropId: H256],
{ bucketId: H256; mspId: H256; valuePropId: H256 }
[bucketId: H256, oldMspId: Option<H256>, newMspId: H256, valuePropId: H256],
{ bucketId: H256; oldMspId: Option<H256>; newMspId: H256; valuePropId: H256 }
>;
/**
* Notifies that a bucket move request has been rejected by the MSP.
**/
MoveBucketRejected: AugmentedEvent<
ApiType,
[bucketId: H256, mspId: H256],
{ bucketId: H256; mspId: H256 }
[bucketId: H256, oldMspId: Option<H256>, newMspId: H256],
{ bucketId: H256; oldMspId: Option<H256>; newMspId: H256 }
>;
/**
* Notifies that a bucket is being moved to a new MSP.
Expand Down
Loading
Loading