Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
5 changes: 3 additions & 2 deletions docs/design/scalable-web3-storage-implementation.md
Original file line number Diff line number Diff line change
Expand Up @@ -905,9 +905,10 @@ sp_api::decl_runtime_apis! {
fn provider_agreements(provider: AccountId) -> Vec<AgreementResponse>;

// ── Challenges ────────────────────────────────────────────────────
/// Challenges expiring at a specific block. Used by provider nodes
/// and challengers to track outstanding challenges.
fn challenges_at(block: BlockNumber) -> Vec<ChallengeResponse>;
fn bucket_challenges(bucket_id: BucketId) -> Vec<ChallengeResponse>;
fn provider_challenges(provider: AccountId) -> Vec<ChallengeResponse>;
fn challenger_challenges(challenger: AccountId) -> Vec<ChallengeResponse>;
}
}
```
Expand Down
2 changes: 1 addition & 1 deletion packages/papi/.papi/descriptors/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.1.0-autogenerated.10209081896432044669",
"version": "0.1.0-autogenerated.7748710851600088567",
"name": "@polkadot-api/descriptors",
"files": [
"dist"
Expand Down
Binary file modified packages/papi/.papi/metadata/parachain.scale
Binary file not shown.
2 changes: 1 addition & 1 deletion packages/papi/.papi/polkadot-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"wsUrl": "ws://127.0.0.1:2222",
"metadata": ".papi/metadata/parachain.scale",
"genesis": "0x4545454545454545454545454545454545454545454545454545454545454545",
"codeHash": "0x7f4840e782eb44dc822e6def5142638a1a0ffc189e01d3d0f2af6fb79c4725f4"
"codeHash": "0x9c204208893e648411a2cec41864e595d0496cf5dff6b0b2d605c3868115b975"
}
}
}
3 changes: 2 additions & 1 deletion packages/papi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
},
"scripts": {
"papi:install": "papi generate",
"papi:generate": "papi add -w ws://127.0.0.1:2222 parachain && papi generate"
"papi:generate": "papi add -w ws://127.0.0.1:2222 parachain && papi generate",
"papi:update": "papi update parachain"
},
"devDependencies": {
"@polkadot-api/cli": "^0.21.5"
Expand Down
Loading
Loading