diff --git a/packages/types-known/src/modules.ts b/packages/types-known/src/modules.ts index 85810c8cfc..8100d0f5d2 100644 --- a/packages/types-known/src/modules.ts +++ b/packages/types-known/src/modules.ts @@ -34,6 +34,9 @@ const typesModules: Record = { Compact: 'CompactAssignments', Releases: 'ReleasesStaking' }, + transactionPayment: { + Releases: 'PaymentReleases' + }, treasury: { Proposal: 'TreasuryProposal' } diff --git a/packages/types/src/interfaces/txpayment/definitions.ts b/packages/types/src/interfaces/txpayment/definitions.ts index 586f3e98ac..f36863b005 100644 --- a/packages/types/src/interfaces/txpayment/definitions.ts +++ b/packages/types/src/interfaces/txpayment/definitions.ts @@ -7,6 +7,9 @@ import { Definitions } from '../../types'; export default { rpc: {}, types: { - Multiplier: 'Fixed128' + Multiplier: 'Fixed128', + PaymentReleases: { + _enum: ['V1Ancient', 'V2'] + } } } as Definitions;