Skip to content

Commit

Permalink
Update augment-api for removal of registry-id on create
Browse files Browse the repository at this point in the history
Signed-off-by: Shreevatsa N <[email protected]>
  • Loading branch information
vatsa287 committed Jan 6, 2025
1 parent 844a39c commit af74dea
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/augment-api/metadata/cord.json

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions packages/augment-api/src/interfaces/augment-api-tx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3283,7 +3283,6 @@ declare module '@polkadot/api-base/types/submittable' {
*
* # Parameters
* - `origin`: The origin of the transaction, signed by the creator.
* - `registry_id`: A unique code created to identify the registry.
* - `digest`: The digest representing the registry data to be created.
* - `schema_id`: (Optional) A unique code represnting the Schema.
* - `blob`: (Optional) Metadata or data associated with the registry.
Expand All @@ -3306,7 +3305,7 @@ declare module '@polkadot/api-base/types/submittable' {
* - `Create`: Emitted when a new registry is successfully created. It includes the
* registry identifier, the creator's identifier, and the authorization ID.
**/
create: AugmentedSubmittable<(registryId: Bytes | string | Uint8Array, digest: H256 | string | Uint8Array, schemaId: Option<Bytes> | null | Uint8Array | Bytes | string, blob: Option<Bytes> | null | Uint8Array | Bytes | string) => SubmittableExtrinsic<ApiType>, [Bytes, H256, Option<Bytes>, Option<Bytes>]>;
create: AugmentedSubmittable<(digest: H256 | string | Uint8Array, schemaId: Option<Bytes> | null | Uint8Array | Bytes | string, blob: Option<Bytes> | null | Uint8Array | Bytes | string) => SubmittableExtrinsic<ApiType>, [H256, Option<Bytes>, Option<Bytes>]>;
/**
* Reinstates a revoked registry, making it active again.
*
Expand Down
1 change: 0 additions & 1 deletion packages/augment-api/src/interfaces/lookup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2731,7 +2731,6 @@ export default {
authorization: 'Bytes',
},
create: {
registryId: 'Bytes',
digest: 'H256',
schemaId: 'Option<Bytes>',
blob: 'Option<Bytes>',
Expand Down
1 change: 0 additions & 1 deletion packages/augment-api/src/interfaces/types-lookup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2981,7 +2981,6 @@ declare module '@polkadot/types/lookup' {
} & Struct;
readonly isCreate: boolean;
readonly asCreate: {
readonly registryId: Bytes;
readonly digest: H256;
readonly schemaId: Option<Bytes>;
readonly blob: Option<Bytes>;
Expand Down

0 comments on commit af74dea

Please sign in to comment.