git.delta.rocks / unique-network / refs/commits / abb3f22c0e4c

difftreelog

Contract update

str-mv2020-07-23parent: #4fc7c3c.patch.diff
in: master

2 files changed

modifiedsmart_contract/ink-types-node-runtime/.gitignorediffbeforeafterboth
1# Ignore build artifacts1# Ignore build artifacts
2/target/2/target/
3/**/target/3/examples/**/target/
44
5# Ignore backup files creates by cargo fmt.5# Ignore backup files creates by cargo fmt.
6**/*.rs.bk6**/*.rs.bk
13**/.vscode/**13**/.vscode/**
1414
15# Ignore history files.15# Ignore history files.
16**/.history/**16**/.history/**
17
modifiedsmart_contract/ink-types-node-runtime/calls/lib.rsdiffbeforeafterboth
--- a/smart_contract/ink-types-node-runtime/calls/lib.rs
+++ b/smart_contract/ink-types-node-runtime/calls/lib.rs
@@ -106,11 +106,6 @@
         }
 
         #[ink(message)]
-        fn get_test(&self) -> bool {
-            true
-        }
-
-        #[ink(message)]
         fn transfer_from(&self, collection_id: u64, item_id: u64, new_owner: AccountId) {
             env::println(&format!(
                 "transfer_from invoke_runtime params {:?}, {:?}, {:?} ",