Skip to content

Commit

Permalink
fix: update types
Browse files Browse the repository at this point in the history
  • Loading branch information
devdanco committed Aug 23, 2023
1 parent a1da5cd commit 56935b3
Show file tree
Hide file tree
Showing 2 changed files with 68 additions and 6 deletions.
59 changes: 59 additions & 0 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 9 additions & 6 deletions src/interfaces/default/types.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
// Auto-generated via `yarn polkadot-types-from-defs`, do not edit
/* eslint-disable */

import type { Compact, Struct, Vec, u128, u32 } from '@polkadot/types-codec';
import type { Compact, Enum, Struct, U256, Vec, u32, u64 } from '@polkadot/types-codec';
import type { ITuple } from '@polkadot/types-codec/types';
import type { BlockNumber, Digest, H256, H512, Hash } from '@polkadot/types/interfaces/runtime';

/** @name Balance */
export interface Balance extends u128 {}
import type { Balance, BlockNumber, Digest, H256, H512, Hash } from '@polkadot/types/interfaces/runtime';

/** @name Header */
export interface Header extends Struct {
Expand All @@ -20,7 +17,13 @@ export interface Header extends Struct {
}

/** @name NumberOrHex */
export interface NumberOrHex extends u128 {}
export interface NumberOrHex extends Enum {
readonly isNumber: boolean;
readonly asNumber: u64;
readonly isHex: boolean;
readonly asHex: U256;
readonly type: 'Number' | 'Hex';
}

/** @name ShufflingSeed */
export interface ShufflingSeed extends Struct {
Expand Down

0 comments on commit 56935b3

Please sign in to comment.