-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update to ink-5.0.0-rc.1
- Loading branch information
Showing
73 changed files
with
900 additions
and
1,023 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,20 @@ | ||
[package] | ||
name = "basic_contract_caller" | ||
version = "4.3.0" | ||
name = "basic-contract-caller" | ||
version = "5.0.0-rc.1" | ||
authors = ["Parity Technologies <[email protected]>"] | ||
edition = "2021" | ||
publish = false | ||
|
||
[dependencies] | ||
ink = { version = "4.3", default-features = false } | ||
|
||
scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] } | ||
scale-info = { version = "2.5", default-features = false, features = ["derive"], optional = true } | ||
ink = { version = "5.0.0-rc.1", default-features = false } | ||
|
||
# Note: We **need** to specify the `ink-as-dependency` feature. | ||
# | ||
# If we don't we will end up with linking errors! | ||
other_contract = { path = "other_contract", default-features = false, features = ["ink-as-dependency"] } | ||
other-contract = { path = "other-contract", default-features = false, features = ["ink-as-dependency"] } | ||
|
||
[dev-dependencies] | ||
ink_e2e = { version = "4.3" } | ||
ink_e2e = { version = "5.0.0-rc.1" } | ||
|
||
[lib] | ||
path = "lib.rs" | ||
|
@@ -26,12 +23,10 @@ path = "lib.rs" | |
default = ["std"] | ||
std = [ | ||
"ink/std", | ||
"scale/std", | ||
"scale-info/std", | ||
|
||
# Note: The metadata generation step requires `std`. If we don't specify this the metadata | ||
# generation for our contract will fail! | ||
"other_contract/std", | ||
"other-contract/std", | ||
] | ||
ink-as-dependency = [] | ||
e2e-tests = [] |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
[package] | ||
name = "other-contract" | ||
version = "5.0.0-rc.1" | ||
authors = ["Parity Technologies <[email protected]>"] | ||
edition = "2021" | ||
publish = false | ||
|
||
[dependencies] | ||
ink = { version = "5.0.0-rc.1", default-features = false } | ||
|
||
[dev-dependencies] | ||
ink_e2e = { version = "5.0.0-rc.1" } | ||
|
||
[lib] | ||
path = "lib.rs" | ||
|
||
[features] | ||
default = ["std"] | ||
std = [ | ||
"ink/std", | ||
] | ||
ink-as-dependency = [] | ||
e2e-tests = [] |
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,12 @@ | ||
[package] | ||
name = "call-runtime" | ||
version = "4.0.0" | ||
version = "5.0.0-rc.1" | ||
authors = ["Parity Technologies <[email protected]>"] | ||
edition = "2021" | ||
publish = false | ||
|
||
[dependencies] | ||
ink = { version = "4.3", default-features = false, features = ["call-runtime"] } | ||
|
||
scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] } | ||
scale-info = { version = "2.5", default-features = false, features = ["derive"], optional = true } | ||
ink = { version = "5.0.0-rc.1", default-features = false } | ||
|
||
# Substrate | ||
# | ||
|
@@ -21,7 +18,7 @@ sp-io = { version = "23.0.0", default-features = false, features = ["disable_pan | |
sp-runtime = { version = "24.0.0", default-features = false } | ||
|
||
[dev-dependencies] | ||
ink_e2e = { version = "4.3" } | ||
ink_e2e = { version = "5.0.0-rc.1" } | ||
|
||
[lib] | ||
path = "lib.rs" | ||
|
@@ -30,14 +27,8 @@ path = "lib.rs" | |
default = ["std"] | ||
std = [ | ||
"ink/std", | ||
"scale/std", | ||
"scale-info/std", | ||
"sp-runtime/std", | ||
"sp-io/std", | ||
] | ||
ink-as-dependency = [] | ||
e2e-tests = [] | ||
|
||
# Assumes that the node used in E2E testing allows using the `call-runtime` API, including triggering | ||
# `Balances::transfer` extrinsic. | ||
permissive-node = [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.