git.delta.rocks / unique-network / refs/commits / 0c99fe85a93b

difftreelog

Rc3

str-mv2020-07-14parent: #8f6e068.patch.diff
in: master

4 files changed

modifiedsmart_contract/ink-types-node-runtime/Cargo.tomldiffbeforeafterboth
--- a/smart_contract/ink-types-node-runtime/Cargo.toml
+++ b/smart_contract/ink-types-node-runtime/Cargo.toml
@@ -19,11 +19,11 @@
 
 [dependencies]
 ink_core = { version = "2", git = "https://github.com/paritytech/ink", tag = "latest-v2", package = "ink_core", default-features = false }
-frame-system = { git = "https://github.com/paritytech/substrate/", version = "2.0.0-alpha.6", package = "frame-system", default-features = false }
-pallet-indices = { git = "https://github.com/paritytech/substrate/", package = "pallet-indices", default-features = false }
-sp-core = { git = "https://github.com/paritytech/substrate/", version = "2.0.0-alpha.6", package = "sp-core", default-features = false }
-sp-io = { git = "https://github.com/paritytech/substrate/", version = "2.0.0-alpha.6", package = "sp-io", default-features = false, features = ["disable_panic_handler", "disable_oom", "disable_allocator"] }
-sp-runtime = { git = "https://github.com/paritytech/substrate/", version = "2.0.0-alpha.6", package = "sp-runtime", default-features = false }
+frame-system = { git = "https://github.com/paritytech/substrate/", tag = "v2.0.0-rc3", package = "frame-system", default-features = false }
+pallet-indices = { git = "https://github.com/paritytech/substrate/", tag = "v2.0.0-rc3", package = "pallet-indices", default-features = false }
+sp-core = { git = "https://github.com/paritytech/substrate/", tag = "v2.0.0-rc3", package = "sp-core", default-features = false }
+sp-io = { git = "https://github.com/paritytech/substrate/", tag = "v2.0.0-rc3", package = "sp-io", default-features = false, features = ["disable_panic_handler", "disable_oom", "disable_allocator"] }
+sp-runtime = { git = "https://github.com/paritytech/substrate/", tag = "v2.0.0-rc3", package = "sp-runtime", default-features = false }
 scale = { package = "parity-scale-codec", version = "1.3", default-features = false, features = ["derive"] }
 
 [dependencies.type-metadata]
modifiedsmart_contract/ink-types-node-runtime/examples/calls/Cargo.lockdiffbeforeafterboth
before · smart_contract/ink-types-node-runtime/examples/calls/Cargo.lock
207 packageslockfile v1
after · smart_contract/ink-types-node-runtime/examples/calls/Cargo.lock
204 packageslockfile v1
modifiedsmart_contract/ink-types-node-runtime/examples/calls/Cargo.tomldiffbeforeafterboth
--- a/smart_contract/ink-types-node-runtime/examples/calls/Cargo.toml
+++ b/smart_contract/ink-types-node-runtime/examples/calls/Cargo.toml
@@ -12,7 +12,7 @@
 ink_prelude = { version = "2", git = "https://github.com/paritytech/ink", tag = "latest-v2", package = "ink_prelude", default-features = false }
 
 scale = { package = "parity-scale-codec", version = "1.3", default-features = false, features = ["derive"] }
-sp-keyring = { git = "https://github.com/paritytech/substrate/", package = "sp-keyring", optional = true }
+sp-keyring = { git = "https://github.com/paritytech/substrate/", tag = "v2.0.0-rc3", package = "sp-keyring", optional = true }
 ink_types_node_runtime = { path = "../../", default-features = false }
 
 [dependencies.type-metadata]
modifiedsmart_contract/ink-types-node-runtime/examples/calls/lib.rsdiffbeforeafterboth
--- a/smart_contract/ink-types-node-runtime/examples/calls/lib.rs
+++ b/smart_contract/ink-types-node-runtime/examples/calls/lib.rs
@@ -4,8 +4,8 @@
 
 #[ink::contract(version = "0.1.0", env = NodeRuntimeTypes)]
 mod calls {
-    use ink_core::env;
-    use ink_prelude::*;
+    // use ink_core::env;
+    // use ink_prelude::*;
     use ink_types_node_runtime::{calls as runtime_calls, NodeRuntimeTypes};
 
     /// This simple dummy contract dispatches substrate runtime calls
@@ -26,10 +26,10 @@
 
             // report result to console
             // NOTE: println should only be used on a development chain)
-            env::println(&format!(
-                "Balance transfer invoke_runtime result {:?}",
-                result
-            ));
+            // env::println(&format!(
+            //     "Balance transfer invoke_runtime result {:?}",
+            //     result
+            // ));
         }
     }