difftreelog
Merge branch 'master' of github.com:usetech-llc/nft_parachain
in: master
4 files changed
node/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 {
pallets/nft/src/lib.rsdiffbeforeafterboth--- a/pallets/nft/src/lib.rs
+++ b/pallets/nft/src/lib.rs
@@ -108,7 +108,7 @@
AccountId = <T as system::Trait>::AccountId,
{
Created(u64, AccountId),
- ItemCreated(u64),
+ ItemCreated(u64, u64),
ItemDestroyed(u64, u64),
}
);
@@ -352,7 +352,7 @@
<ItemList<T>>::insert((collection_id, current_index), new_item);
// call event
- Self::deposit_event(RawEvent::ItemCreated(collection_id));
+ Self::deposit_event(RawEvent::ItemCreated(collection_id, current_index));
Ok(())
}
smart_contract/ink-types-node-runtime/.gitignorediffbeforeafterboth--- a/smart_contract/ink-types-node-runtime/.gitignore
+++ b/smart_contract/ink-types-node-runtime/.gitignore
@@ -1,6 +1,6 @@
# Ignore build artifacts
/target/
-/**/target/
+/examples/**/target/
# Ignore backup files creates by cargo fmt.
**/*.rs.bk
@@ -13,4 +13,4 @@
**/.vscode/**
# Ignore history files.
-**/.history/**
+**/.history/**
\ No newline at end of file
smart_contract/ink-types-node-runtime/calls/lib.rsdiffbeforeafterboth105 }105 }106 }106 }107108 #[ink(message)]109 fn get_test(&self) -> bool {110 true111 }112107113 #[ink(message)]108 #[ink(message)]114 fn transfer_from(&self, collection_id: u64, item_id: u64, new_owner: AccountId) {109 fn transfer_from(&self, collection_id: u64, item_id: u64, new_owner: AccountId) {