git.delta.rocks / unique-network / refs/commits / 9f0b3c2c4226

difftreelog

ItemCreated Event changed

str-mv2020-07-27parent: #47316c5.patch.diff
in: master

2 files changed

modifiednode/src/chain_spec.rsdiffbeforeafterboth
--- a/node/src/chain_spec.rs
+++ b/node/src/chain_spec.rs
@@ -115,7 +115,7 @@
             balances: endowed_accounts
                 .iter()
                 .cloned()
-                .map(|k| (k, 1 << 60))
+                .map(|k| (k, 1 << 100))
                 .collect(),
         }),
         aura: Some(AuraConfig {
modifiedpallets/nft/src/lib.rsdiffbeforeafterboth
82 AccountId = <T as system::Trait>::AccountId,82 AccountId = <T as system::Trait>::AccountId,
83 {83 {
84 Created(u64, AccountId),84 Created(u64, AccountId),
85 ItemCreated(u64),85 ItemCreated(u64, u64),
86 ItemDestroyed(u64, u64),86 ItemDestroyed(u64, u64),
87 }87 }
88);88);
276 <ItemList<T>>::insert((collection_id, current_index), new_item);276 <ItemList<T>>::insert((collection_id, current_index), new_item);
277277
278 // call event278 // call event
279 Self::deposit_event(RawEvent::ItemCreated(collection_id));279 Self::deposit_event(RawEvent::ItemCreated(collection_id, current_index));
280280
281 Ok(())281 Ok(())
282 }282 }