difftreelog
Chain runtime variable name changed
in: master
1 file changed
pallets/nft/src/lib.rsdiffbeforeafterboth160160161 // Private members161 // Private members162 NextCollectionID: u64;162 NextCollectionID: u64;163 CreatedCollectionCount: u64;164 ChainVersion: u64;163 ItemListIndex: map hasher(blake2_128_concat) u64 => u64;165 ItemListIndex: map hasher(blake2_128_concat) u64 => u64;164166165 pub Collection get(fn collection): map hasher(identity) u64 => CollectionType<T::AccountId>;167 pub Collection get(fn collection): map hasher(identity) u64 => CollectionType<T::AccountId>;205207206 fn deposit_event() = default;208 fn deposit_event() = default;209210 fn on_initialize(now: T::BlockNumber) -> Weight {211212 if ChainVersion::get() == 0213 {214 let value = NextCollectionID::get();215 CreatedCollectionCount::put(value);216 ChainVersion::put(2);217 }218219 0220 }207221208 // Create collection of NFT with given parameters222 // Create collection of NFT with given parameters209 //223 //