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

chore: support parties renaming #751

Merged
merged 1 commit into from
May 12, 2023
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
10 changes: 5 additions & 5 deletions packages/type-definitions/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import { types11000 } from './types_11000.js'
import { calls as didCalls } from './runtime/did.js'
import { calls as stakingCalls } from './runtime/staking.js'
import { calls as publicCredentialsCalls } from './runtime/publicCredentials.js'
import { calls as dipSenderCalls } from './runtime/dipSender.js'
import { calls as dipProviderCalls } from './runtime/dipProvider.js'

export {
types8,
Expand All @@ -58,7 +58,7 @@ export {
export { calls as didCalls } from './runtime/did.js'
export { calls as stakingCalls } from './runtime/staking.js'
export { calls as publicCredentialsCalls } from './runtime/publicCredentials.js'
export { calls as dipSenderCalls } from './runtime/dipSender.js'
export { calls as dipProviderCalls } from './runtime/dipProvider.js'

const defaultTypesBundle: OverrideVersionedType[] = [
{
Expand Down Expand Up @@ -181,13 +181,13 @@ export const typesBundle: OverrideBundleType = {
},
types: defaultTypesBundle,
},
'DIP sender dev': {
'DIP provider dev': {
runtime: {
...dipSenderCalls,
...dipProviderCalls,
},
types: defaultTypesBundle,
},
'DIP receiver dev': {
'DIP consumer dev': {
types: defaultTypesBundle,
},
Development: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import type { DefinitionsCall } from '@polkadot/types/types'

export const calls: DefinitionsCall = {
DipSender: [
DipProvider: [
{
methods: {
generate_proof: {
Expand Down
2 changes: 1 addition & 1 deletion packages/type-definitions/src/types_11000.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { types10900 } from './types_10900.js'

export const types11000: RegistryTypes = {
...types10900,
// DipSender state_call
// DipProvider state_call
CompleteMerkleProof: {
root: 'MerkleRoot',
proof: 'MerkleProof',
Expand Down