Changed firstSlot and lastSlot to firstPeriod and lastPeriod. Reference: [Polkadot definition source](https://github.com/paritytech/polkadot/blob/master/runtime/common/src/crowdloan.rs#L141) (#3568)
This commit is contained in:
@@ -25,8 +25,8 @@ export default {
|
||||
end: 'BlockNumber',
|
||||
cap: 'Balance',
|
||||
lastContribution: 'LastContribution',
|
||||
firstSlot: 'LeasePeriod',
|
||||
lastSlot: 'LeasePeriod',
|
||||
firstPeriod: 'LeasePeriod',
|
||||
lastPeriod: 'LeasePeriod',
|
||||
trieIndex: 'TrieIndex'
|
||||
},
|
||||
TrieIndex: 'u32'
|
||||
|
||||
@@ -17,8 +17,8 @@ export interface FundInfo extends Struct {
|
||||
readonly end: BlockNumber;
|
||||
readonly cap: Balance;
|
||||
readonly lastContribution: LastContribution;
|
||||
readonly firstSlot: LeasePeriod;
|
||||
readonly lastSlot: LeasePeriod;
|
||||
readonly firstPeriod: LeasePeriod;
|
||||
readonly lastPeriod: LeasePeriod;
|
||||
readonly trieIndex: TrieIndex;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user