difftreelog
ItemCreated Event changed
in: master
2 files changed
node/src/chain_spec.rsdiffbeforeafterboth115 balances: endowed_accounts115 balances: endowed_accounts116 .iter()116 .iter()117 .cloned()117 .cloned()118 .map(|k| (k, 1 << 60))118 .map(|k| (k, 1 << 100))119 .collect(),119 .collect(),120 }),120 }),121 aura: Some(AuraConfig {121 aura: Some(AuraConfig {pallets/nft/src/lib.rsdiffbeforeafterboth82 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);277277278 // call event278 // call event279 Self::deposit_event(RawEvent::ItemCreated(collection_id));279 Self::deposit_event(RawEvent::ItemCreated(collection_id, current_index));280280281 Ok(())281 Ok(())282 }282 }