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

Update augment-api for removal of registry-id on create #263

Merged
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
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
Loading