mirror of
https://github.com/pezkuwichain/pezkuwi-api.git
synced 2026-10-24 04:25:05 +00:00
chore: update to version 16.5.9, align with pezkuwichain brand and fix tests
This commit is contained in:
1 parent
c97f94045f
commit
c2f759f58d
136 files changed
+19370
-2342
No files matched your search
@@ -62,7 +62,7 @@ describe('ExtrinsicPayload', (): void => {
|
||||
interior: {
|
||||
x2: [
|
||||
{
|
||||
palletInstance: 50
|
||||
pezpalletInstance: 50
|
||||
},
|
||||
{
|
||||
generalIndex: 1984
|
||||
|
||||
@@ -46,7 +46,7 @@ describe('SignerPayload', (): void => {
|
||||
new SignerPayload(registry, {
|
||||
address: '5DTestUPts3kjeXSTMyerHihn1uwMfLj8vU8sqF7qYrFabHE',
|
||||
// eslint-disable-next-line sort-keys
|
||||
assetId: { parents: 0, interior: { x2: [{ palletInstance: 50 }, { generalIndex: 123 }] } },
|
||||
assetId: { parents: 0, interior: { x2: [{ pezpalletInstance: 50 }, { generalIndex: 123 }] } },
|
||||
blockHash: '0xde8f69eeb5e065e18c6950ff708d7e551f68dc9bf59a07c52367c0280f805ec7',
|
||||
blockNumber: '0x231d30',
|
||||
era: registry.createType('ExtrinsicEra', { current: 2301232, period: 200 }),
|
||||
@@ -84,7 +84,7 @@ describe('SignerPayload', (): void => {
|
||||
it('handles Option<AssetId> correctly', (): void => {
|
||||
const test = new SignerPayload(registry, {
|
||||
// eslint-disable-next-line sort-keys
|
||||
assetId: { parents: 0, interior: { x2: [{ palletInstance: 50 }, { generalIndex: 123 }] } }
|
||||
assetId: { parents: 0, interior: { x2: [{ pezpalletInstance: 50 }, { generalIndex: 123 }] } }
|
||||
});
|
||||
|
||||
expect(
|
||||
@@ -137,7 +137,7 @@ describe('SignerPayload', (): void => {
|
||||
expect(u8aToHex(payload.assetId?.toU8a()))
|
||||
.toEqual(u8aToHex(registry.createType('Option<MultiLocation>', {
|
||||
// eslint-disable-next-line sort-keys
|
||||
parents: 0, interior: { X2: [{ palletInstance: 50 }, { generalIndex: 123 }] }
|
||||
parents: 0, interior: { X2: [{ pezpalletInstance: 50 }, { generalIndex: 123 }] }
|
||||
}).toU8a()));
|
||||
});
|
||||
|
||||
|
||||
@@ -61,7 +61,7 @@ describe('ExtrinsicPayload', (): void => {
|
||||
interior: {
|
||||
x2: [
|
||||
{
|
||||
palletInstance: 50
|
||||
pezpalletInstance: 50
|
||||
},
|
||||
{
|
||||
generalIndex: 1984
|
||||
|
||||
@@ -55,7 +55,7 @@ const BEEFY_V4: Record<string, DefinitionCall> = {
|
||||
params: [
|
||||
{
|
||||
name: 'equivocationProof',
|
||||
type: 'PezspConsensusBeefyDoubleVotingProof'
|
||||
type: 'BeefyEquivocationProof'
|
||||
},
|
||||
{
|
||||
name: 'keyOwnerProof',
|
||||
|
||||
@@ -152,6 +152,8 @@ export default {
|
||||
System: 'SystemOrigin'
|
||||
}
|
||||
},
|
||||
PalletId: 'PezpalletId',
|
||||
ParachainsInherentData: 'TeyrchainsInherentData',
|
||||
PezpalletId: 'LockIdentifier',
|
||||
PezpalletsOrigin: 'OriginCaller',
|
||||
PezpalletVersion: {
|
||||
|
||||
@@ -7,6 +7,7 @@ import type { ITuple } from '@pezkuwi/types-codec/types';
|
||||
import type { AuthorityId } from '@pezkuwi/types/interfaces/consensus';
|
||||
import type { Signature } from '@pezkuwi/types/interfaces/extrinsics';
|
||||
import type { Event, SystemOrigin } from '@pezkuwi/types/interfaces/system';
|
||||
import type { TeyrchainsInherentData } from '@pezkuwi/types/interfaces/teyrchains';
|
||||
|
||||
/** @name AccountId */
|
||||
export interface AccountId extends AccountId32 {}
|
||||
@@ -254,6 +255,12 @@ export interface OriginCaller extends Enum {
|
||||
readonly type: 'System';
|
||||
}
|
||||
|
||||
/** @name PalletId */
|
||||
export interface PalletId extends PezpalletId {}
|
||||
|
||||
/** @name ParachainsInherentData */
|
||||
export interface ParachainsInherentData extends TeyrchainsInherentData {}
|
||||
|
||||
/** @name Pays */
|
||||
export interface Pays extends Enum {
|
||||
readonly isYes: boolean;
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @pezkuwi/dev
|
||||
|
||||
export const packageInfo = { name: '@pezkuwi/types', path: 'auto', type: 'auto', version: '16.5.4' };
|
||||
export const packageInfo = { name: '@pezkuwi/types', path: 'auto', type: 'auto', version: '16.5.9' };
|
||||
Reference in new issue
Block a user