Skip to content

Commit

Permalink
Update ContractInfo struct (polkadot-js#2700)
Browse files Browse the repository at this point in the history
  • Loading branch information
jacogr authored Oct 10, 2020
1 parent d963cdf commit c6f4e64
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/types/src/interfaces/contracts/definitions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ export default {
AliveContractInfo: {
trieId: 'TrieId',
storageSize: 'u32',
emptyPairCount: 'u32',
totalPairCount: 'u32',
codeHash: 'CodeHash',
rentAllowance: 'Balance',
deductBlock: 'BlockNumber',
Expand Down
2 changes: 2 additions & 0 deletions packages/types/src/interfaces/contracts/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ import { AccountId, Balance, BlockNumber, Hash, Weight } from '@polkadot/types/i
export interface AliveContractInfo extends Struct {
readonly trieId: TrieId;
readonly storageSize: u32;
readonly emptyPairCount: u32;
readonly totalPairCount: u32;
readonly codeHash: CodeHash;
readonly rentAllowance: Balance;
readonly deductBlock: BlockNumber;
Expand Down

0 comments on commit c6f4e64

Please sign in to comment.