Skip to content

Commit 8474884

Browse files
authored
Add getAllGrantedDelegationsByMsaId to Pallet README Documentation (#2091)
# Goal The goal of this PR is to add a missing RPC to the documentation and update the PR template checklist to be more helpful at catching this. # Discussion - Happy to make other changes to the PR template if any are suggested.
1 parent 6fde4cf commit 8474884

File tree

2 files changed

+15
-12
lines changed

2 files changed

+15
-12
lines changed

.github/pull_request_template.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,14 @@ The goal of this PR is <!-- insert goal here -->
44
Closes <!-- issue # -->
55

66
# Discussion
7-
<!-- List discussion items -->
7+
8+
- <!-- List discussion items -->
89

910
# Checklist
10-
- [ ] Chain spec updated
11-
- [ ] Custom RPC OR Runtime API added/changed? Updated js/api-augment.
12-
- [ ] Design doc(s) updated
13-
- [ ] Tests added
14-
- [ ] Benchmarks added
15-
- [ ] Weights updated
11+
- [ ] Updated Pallet Readme?
12+
- [ ] Updated js/api-augment for Custom RPC OR Runtime API?
13+
- [ ] Design doc(s) updated?
14+
- [ ] Unit Tests added?
15+
- [ ] e2e Tests added?
16+
- [ ] Benchmarks added?
17+
- [ ] Spec version incremented?

pallets/msa/README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,12 @@ See the [Rust Docs](https://frequency-chain.github.io/frequency/pallet_msa/palle
6060

6161
Note: May be restricted based on node settings and configuration.
6262

63-
| Name | Description | Call | Node Version |
64-
| ---------------------------- | -------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------ |
65-
| Check Delegations | Test a list of MSAs to see if they have delegated to the provider MSA | [`checkDelegations`](https://frequency-chain.github.io/frequency/pallet_msa_rpc/trait.MsaApiServer.html#tymethod.check_delegations) | v1.0.0+ |
66-
| Delegation Schema Grants | Fetch the list of Schema Ids that a delegator has granted to a provider | [`grantedSchemaIdsByMsaId`](https://frequency-chain.github.io/frequency/pallet_msa_rpc/trait.MsaApiServer.html#tymethod.get_granted_schemas_by_msa_id) | v1.0.0+ |
67-
| Get Control Keys by MSA Id\* | Fetch the list of current control keys for an MSA from the off-chain index | [`getKeysByMsaId`](https://frequency-chain.github.io/frequency/pallet_msa_rpc/trait.MsaApiServer.html#tymethod.get_keys_by_msa_id) | v1.10.0+ |
63+
| Name | Description | Call | Node Version |
64+
| ----------------------------- | -------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------ |
65+
| Check Delegations | Test a list of MSAs to see if they have delegated to the provider MSA | [`checkDelegations`](https://frequency-chain.github.io/frequency/pallet_msa_rpc/trait.MsaApiServer.html#tymethod.check_delegations ) | v1.0.0+ |
66+
| Delegation Schema Grants | Fetch the list of Schema Ids that a delegator has granted to a provider | [`grantedSchemaIdsByMsaId`](https://frequency-chain.github.io/frequency/pallet_msa_rpc/trait.MsaApiServer.html#tymethod.get_granted_schemas_by_msa_id) | v1.0.0+ |
67+
| Get Control Keys by MSA Id\* | Fetch the list of current control keys for an MSA from the off-chain index | [`getKeysByMsaId`](https://frequency-chain.github.io/frequency/pallet_msa_rpc/trait.MsaApiServer.html#tymethod.get_keys_by_msa_id) | v1.10.0+ |
68+
| Get All Delegations by MSA Id | Retreives all delegations and schemas, active and inactive, for an MSA ID | ['getAllGrantedDelegationsByMsaId'](https://frequency-chain.github.io/frequency/pallet_msa_rpc/trait.MsaApiServer.html#tymethod.get_all_granted_delegations_by_msa_id) | v1.13.0+ |
6869

6970
\* Must be enabled with off-chain indexing
7071

0 commit comments

Comments
 (0)