Storage Size u32 (#986)

* lastWrite

* storage size u32
This commit is contained in:
kwingram25
2019-06-11 15:59:10 +02:00
committed by GitHub
parent 2077a90356
commit 8f088c38bb
+4 -4
View File
@@ -9,7 +9,7 @@ import Bytes from '../primitive/Bytes';
import Enum from '../codec/Enum';
import Struct from '../codec/Struct';
import Hash from '../primitive/Hash';
import U64 from '../primitive/U64';
import U32 from '../primitive/U32';
import Balance from './Balance';
import BlockNumber from './BlockNumber';
import CodeHash from './CodeHash';
@@ -21,7 +21,7 @@ export class AliveContractInfo extends Struct {
constructor (value?: any) {
super({
trieId: TrieId,
storageSize: U64,
storageSize: U32,
codeHash: CodeHash,
rentAllowance: Balance,
deductBlock: BlockNumber,
@@ -45,8 +45,8 @@ export class AliveContractInfo extends Struct {
return this.get('rentAllowance') as Balance;
}
get storageSize (): U64 {
return this.get('storageSize') as U64;
get storageSize (): U32 {
return this.get('storageSize') as U32;
}
get trieId (): TrieId {