* Bump util

* util 8.0.4

* 8.0.4
This commit is contained in:
Jaco
2021-11-30 07:25:50 +02:00
committed by GitHub
parent 4bbba5bb35
commit 41cc8b34aa
19 changed files with 184 additions and 183 deletions
@@ -1146,7 +1146,7 @@ export default {
**/
PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest: {
confirmed: 'bool',
Age: 'u32',
age: 'u32',
senderDeposit: 'u128',
maxMessageSize: 'u32',
maxCapacity: 'u32',
@@ -3169,7 +3169,7 @@ export default {
initial: 'Compact<u32>',
maximum: 'Compact<u32>',
refcount: 'Compact<u64>',
Reserved: 'Option<Null>',
reserved: 'Option<Null>',
code: 'Bytes',
originalCodeLen: 'u32'
},
@@ -3179,7 +3179,7 @@ export default {
PalletContractsStorageRawContractInfo: {
trieId: 'Bytes',
codeHash: 'H256',
Reserved: 'Option<Null>'
reserved: 'Option<Null>'
},
/**
* Lookup412: pallet_contracts::storage::DeletedContract
@@ -3216,14 +3216,14 @@ export default {
**/
PalletContractsScheduleInstructionWeights: {
_alias: {
r_If: 'r#If'
r_if: 'r#if'
},
version: 'u32',
i64const: 'u32',
i64load: 'u32',
i64store: 'u32',
select: 'u32',
r_If: 'u32',
r_if: 'u32',
br: 'u32',
brIf: 'u32',
brTable: 'u32',
@@ -3276,7 +3276,7 @@ export default {
**/
PalletContractsScheduleHostFnWeights: {
_alias: {
r_Return: 'r#Return'
r_return: 'r#return'
},
caller: 'u64',
address: 'u64',
@@ -3291,7 +3291,7 @@ export default {
gas: 'u64',
input: 'u64',
inputPerByte: 'u64',
r_Return: 'u64',
r_return: 'u64',
returnPerByte: 'u64',
terminate: 'u64',
random: 'u64',
@@ -1022,7 +1022,7 @@ declare module '@polkadot/types/lookup' {
/** @name PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest (553) */
export interface PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest extends Struct {
readonly confirmed: bool;
readonly Age: u32;
readonly age: u32;
readonly senderDeposit: u128;
readonly maxMessageSize: u32;
readonly maxCapacity: u32;
@@ -3394,7 +3394,7 @@ declare module '@polkadot/types/lookup' {
readonly initial: Compact<u32>;
readonly maximum: Compact<u32>;
readonly refcount: Compact<u64>;
readonly Reserved: Option<Null>;
readonly reserved: Option<Null>;
readonly code: Bytes;
readonly originalCodeLen: u32;
}
@@ -3403,7 +3403,7 @@ declare module '@polkadot/types/lookup' {
export interface PalletContractsStorageRawContractInfo extends Struct {
readonly trieId: Bytes;
readonly codeHash: H256;
readonly Reserved: Option<Null>;
readonly reserved: Option<Null>;
}
/** @name PalletContractsStorageDeletedContract (412) */
@@ -3440,7 +3440,7 @@ declare module '@polkadot/types/lookup' {
readonly i64load: u32;
readonly i64store: u32;
readonly select: u32;
readonly r_If: u32;
readonly r_if: u32;
readonly br: u32;
readonly brIf: u32;
readonly brTable: u32;
@@ -3504,7 +3504,7 @@ declare module '@polkadot/types/lookup' {
readonly gas: u64;
readonly input: u64;
readonly inputPerByte: u64;
readonly r_Return: u64;
readonly r_return: u64;
readonly returnPerByte: u64;
readonly terminate: u64;
readonly random: u64;
+6 -6
View File
@@ -378,18 +378,18 @@ export interface TransactionV0 extends LegacyTransaction {}
export interface TransactionV1 extends Enum {
readonly isLegacy: boolean;
readonly asLegacy: LegacyTransaction;
readonly isEIP2930: boolean;
readonly asEIP2930: EIP2930Transaction;
readonly isEip2930: boolean;
readonly asEip2930: EIP2930Transaction;
}
/** @name TransactionV2 */
export interface TransactionV2 extends Enum {
readonly isLegacy: boolean;
readonly asLegacy: LegacyTransaction;
readonly isEIP2930: boolean;
readonly asEIP2930: EIP2930Transaction;
readonly isEIP1559: boolean;
readonly asEIP1559: EIP1559Transaction;
readonly isEip2930: boolean;
readonly asEip2930: EIP2930Transaction;
readonly isEip1559: boolean;
readonly asEip1559: EIP1559Transaction;
}
export type PHANTOM_ETH = 'eth';
@@ -5,8 +5,8 @@ import type { Enum } from '@polkadot/types';
/** @name StorageKind */
export interface StorageKind extends Enum {
readonly isPERSISTENT: boolean;
readonly isLOCAL: boolean;
readonly isPersistent: boolean;
readonly isLocal: boolean;
}
export type PHANTOM_OFFCHAIN = 'offchain';
@@ -35,9 +35,7 @@ describe('decorateConstants', (): void => {
// 0x34 removes as the length prefix removed
expect(
// stringToCamel behavior has changed
// consts.session.dedupKeyPrefix.toHex()
consts.session.dEDUPKEYPREFIX.toHex()
consts.session.dedupKeyPrefix.toHex()
).toEqual('0x3a73657373696f6e3a6b657973');
});
});