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
before · smart_contract/ink-types-node-runtime/.gitignore
1# Ignore build artifacts2/target/3/**/target/45# Ignore backup files creates by cargo fmt.6**/*.rs.bk78# Remove Cargo.lock when creating an executable, leave it for libraries9# More information here http://doc.crates.io/guide.html#cargotoml-vs-cargolock10Cargo.lock1112# Ignore VS Code artifacts.13**/.vscode/**1415# Ignore history files.16**/.history/**
after · smart_contract/ink-types-node-runtime/.gitignore
1# Ignore build artifacts2/target/3/examples/**/target/45# Ignore backup files creates by cargo fmt.6**/*.rs.bk78# Remove Cargo.lock when creating an executable, leave it for libraries9# More information here http://doc.crates.io/guide.html#cargotoml-vs-cargolock10Cargo.lock1112# Ignore VS Code artifacts.13**/.vscode/**1415# Ignore history files.16**/.history/**
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 {:?}, {:?}, {:?} ",