From ad58970ef9409703a0f481076a720711724e11ab Mon Sep 17 00:00:00 2001 From: Gherman Date: Thu, 29 Feb 2024 19:06:41 +0000 Subject: [PATCH] Bump ink and cc crates (#109) --- Cargo.lock | 172 ++++++++++-------- Cargo.toml | 12 +- drink/src/session/record.rs | 2 +- examples/chain-extension/Cargo.toml | 2 +- examples/contract-events/Cargo.toml | 2 +- .../cross-contract-call-tracing/Cargo.toml | 2 +- examples/flipper/Cargo.toml | 3 +- examples/flipper/lib.rs | 18 +- examples/mocking/Cargo.toml | 2 +- examples/quick-start-with-drink/Cargo.toml | 2 +- 10 files changed, 117 insertions(+), 100 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 4f13d21..f08176d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -153,9 +153,9 @@ dependencies = [ [[package]] name = "anyhow" -version = "1.0.79" +version = "1.0.80" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "080e9890a082662b09c1ad45f567faeeb47f22b5fb23895fbe1e651e718e25ca" +checksum = "5ad32ce52e4161730f7098c077cd2ed6229b5804ccf99e5366be1ab72a98b4e1" [[package]] name = "approx" @@ -690,9 +690,9 @@ dependencies = [ [[package]] name = "clap" -version = "4.5.0" +version = "4.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "80c21025abd42669a92efc996ef13cfb2c5c627858421ea58d5c3b331a6c134f" +checksum = "c918d541ef2913577a0f9566e9ce27cb35b6df072075769e0b26cb5a554520da" dependencies = [ "clap_builder", "clap_derive", @@ -700,9 +700,9 @@ dependencies = [ [[package]] name = "clap_builder" -version = "4.5.0" +version = "4.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "458bf1f341769dfcf849846f65dffdf9146daa56bcd2a47cb4e1de9915567c99" +checksum = "9f3e7391dad68afb0c2ede1bf619f579a3dc9c2ec67f089baa397123a2f3d1eb" dependencies = [ "anstream", "anstyle", @@ -820,9 +820,9 @@ checksum = "cd7e35aee659887cbfb97aaf227ac12cad1a9d7c71e55ff3376839ed4e282d08" [[package]] name = "contract-build" -version = "4.0.0-rc.2" +version = "4.0.0-rc.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c478e9e5b73a2234c17f146a79b249242879c8a33b34fabea3008dd22c8795f" +checksum = "77b539a7d2ae5b94b6ded984749f22882b38f0bc1558da0f5fdecb06fc56c75d" dependencies = [ "anyhow", "blake2", @@ -860,9 +860,9 @@ dependencies = [ [[package]] name = "contract-metadata" -version = "4.0.0-rc.2" +version = "4.0.0-rc.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7277c42205552340b5979d27301512e2ca85fb21a0555f786f10d3d5dcf817aa" +checksum = "c7ded4f724afcfda2e39bda14c76ce502ba2e8c87bc49e77a98c20f61dba6043" dependencies = [ "anyhow", "impl-serde", @@ -874,9 +874,9 @@ dependencies = [ [[package]] name = "contract-transcode" -version = "4.0.0-rc.2" +version = "4.0.0-rc.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "414fce0008626b0e7835ec62caadc1e028bd8f8236a8962c9d38739829d97eb2" +checksum = "d8bf87e763e9b67379c987c68749d55676a0e14878f38048c120165ecc3c4214" dependencies = [ "anyhow", "base58", @@ -884,7 +884,7 @@ dependencies = [ "contract-metadata", "escape8259", "hex", - "indexmap 2.2.2", + "indexmap 2.2.4", "ink_env", "ink_metadata", "itertools 0.12.1", @@ -1341,7 +1341,7 @@ checksum = "9ea835d29036a4087793836fa931b08837ad5e957da9e23886b29586fb9b6650" [[package]] name = "drink" -version = "0.10.0" +version = "0.11.0" dependencies = [ "contract-metadata", "contract-transcode", @@ -1366,7 +1366,7 @@ dependencies = [ [[package]] name = "drink-cli" -version = "0.10.0" +version = "0.11.0" dependencies = [ "anyhow", "clap", @@ -1382,7 +1382,7 @@ dependencies = [ [[package]] name = "drink-test-macro" -version = "0.10.0" +version = "0.11.0" dependencies = [ "cargo_metadata", "contract-build", @@ -1946,7 +1946,7 @@ dependencies = [ "futures-sink", "futures-util", "http", - "indexmap 2.2.2", + "indexmap 2.2.4", "slab", "tokio", "tokio-util", @@ -2236,9 +2236,9 @@ dependencies = [ [[package]] name = "indexmap" -version = "2.2.2" +version = "2.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "824b2ae422412366ba479e8111fd301f7b5faece8149317bb81925979a53f520" +checksum = "967d6dd42f16dbf0eb8040cb9e477933562684d3918f7d253f2ff9087fb3e7a3" dependencies = [ "equivalent", "hashbrown 0.14.3", @@ -2251,36 +2251,25 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8e04e2fd2b8188ea827b32ef11de88377086d690286ab35747ef7f9bf3ccb590" -[[package]] -name = "ink-pallet-contracts-uapi" -version = "6.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd3e608f5410d03e529145875eb736305e0d7cae4b989faf54f932eff31bc048" -dependencies = [ - "bitflags 1.3.2", - "paste", - "polkavm-derive", -] - [[package]] name = "ink_allocator" -version = "5.0.0-rc.1" +version = "5.0.0-rc.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e66999b81e12f6e4e735594394f05e5e8ba8b5d887ce454f62bac9732527c738" +checksum = "1db87a731bd2534af4629d5bbf84b2fa659010f020f490abe996e5f76cfbcfd4" dependencies = [ "cfg-if", ] [[package]] name = "ink_engine" -version = "5.0.0-rc.1" +version = "5.0.0-rc.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a6311f58a385f6301aa0eb7766e13473ab6be7151b9ed90b0f01c6249fa6d29" +checksum = "3f2b07ba4113fa49d1d36771190a666b74cd5cff4840be572fb8194af9ca034f" dependencies = [ "blake2", "derive_more", - "ink-pallet-contracts-uapi", "ink_primitives", + "pallet-contracts-uapi-next", "parity-scale-codec", "secp256k1", "sha2 0.10.8", @@ -2289,21 +2278,21 @@ dependencies = [ [[package]] name = "ink_env" -version = "5.0.0-rc.1" +version = "5.0.0-rc.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "de851cc0a0d017d69521e0e5d4aeefe78d8a7cb4363a8a22cf673325efd07b5a" +checksum = "abc1fd2c16521d8c585e7b0dbee65a9bbbb8d37cb78a57b57ca27a76bfc06266" dependencies = [ "blake2", "cfg-if", "const_env", "derive_more", - "ink-pallet-contracts-uapi", "ink_allocator", "ink_engine", "ink_prelude", "ink_primitives", "ink_storage_traits", "num-traits", + "pallet-contracts-uapi-next", "parity-scale-codec", "paste", "rlibc", @@ -2319,9 +2308,9 @@ dependencies = [ [[package]] name = "ink_metadata" -version = "5.0.0-rc.1" +version = "5.0.0-rc.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0400c331aab950f0483638962e45049f1e40bf0102d4a7bf8428e6d15c798278" +checksum = "505fb52d8a5dccd6ca160d20aacb0f8d6f9e13f8a0f1f53bf05e8a4e083129ea" dependencies = [ "derive_more", "impl-serde", @@ -2336,18 +2325,18 @@ dependencies = [ [[package]] name = "ink_prelude" -version = "5.0.0-rc.1" +version = "5.0.0-rc.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd2ed651848272442a9e41cd35405aa31c3ca9c6267254d2d84643c8163c69f3" +checksum = "a69a99f23d3a0a2d173f81a2c57a055d9e46acc530634c79c54548b5b9deb7b9" dependencies = [ "cfg-if", ] [[package]] name = "ink_primitives" -version = "5.0.0-rc.1" +version = "5.0.0-rc.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8e6d5e9f34949655f4102916078ed8cef5d8c869f1d3a516b4d3683bf614415" +checksum = "8be98091b19e2e7f6cdc128b405863fbb6c59ef8e361f3a60589ef029f69f6a8" dependencies = [ "derive_more", "ink_prelude", @@ -2360,9 +2349,9 @@ dependencies = [ [[package]] name = "ink_storage_traits" -version = "5.0.0-rc.1" +version = "5.0.0-rc.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3566bca9c7755422c6aa87d13ff1bcd802e3f555ebfb4578272f5b0edeae115a" +checksum = "469fbbf0e1933ba34732ad9ca35a3d0da48934068759e97dbb5d34762e3ab3d4" dependencies = [ "ink_metadata", "ink_prelude", @@ -2544,18 +2533,18 @@ dependencies = [ [[package]] name = "linkme" -version = "0.3.22" +version = "0.3.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b53ad6a33de58864705954edb5ad5d571a010f9e296865ed43dc72a5621b430" +checksum = "1a78816ac097580aa7fd9d2e9cc7395dda34367c07267a8657516d4ad5e2e3d3" dependencies = [ "linkme-impl", ] [[package]] name = "linkme-impl" -version = "0.3.22" +version = "0.3.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "04e542a18c94a9b6fcc7adb090fa3ba6b79ee220a16404f325672729f32a66ff" +checksum = "ee9023a564f8bf7fe3da285a50c3e70de0df3e2bf277ff7c4e76d66008ef93b0" dependencies = [ "proc-macro2", "quote", @@ -3016,10 +3005,21 @@ dependencies = [ "bitflags 1.3.2", "parity-scale-codec", "paste", - "polkavm-derive", + "polkavm-derive 0.4.0", "scale-info", ] +[[package]] +name = "pallet-contracts-uapi-next" +version = "6.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e941fe56abf3b3d127c80d0a82989323f240ad81e6222421a56f1a3142db1e16" +dependencies = [ + "bitflags 1.3.2", + "paste", + "polkavm-derive 0.5.0", +] + [[package]] name = "pallet-timestamp" version = "27.0.0" @@ -3220,13 +3220,29 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fecd2caacfc4a7ee34243758dd7348859e6dec73f5e5df059890f5742ee46f0e" +[[package]] +name = "polkavm-common" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "88b4e215c80fe876147f3d58158d5dfeae7dabdd6047e175af77095b78d0035c" + [[package]] name = "polkavm-derive" version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "db65a500d4adf574893c726ae365e37e4fbb7f2cbd403f6eaa1b665457456adc" dependencies = [ - "polkavm-derive-impl", + "polkavm-derive-impl 0.4.0", + "syn 2.0.48", +] + +[[package]] +name = "polkavm-derive" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6380dbe1fb03ecc74ad55d841cfc75480222d153ba69ddcb00977866cbdabdb8" +dependencies = [ + "polkavm-derive-impl 0.5.0", "syn 2.0.48", ] @@ -3236,7 +3252,19 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c99f4e7a9ff434ef9c885b874c99d824c3a5693bf5e3e8569bb1d2245a8c1b7f" dependencies = [ - "polkavm-common", + "polkavm-common 0.4.0", + "proc-macro2", + "quote", + "syn 2.0.48", +] + +[[package]] +name = "polkavm-derive-impl" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dc8211b3365bbafb2fb32057d68b0e1ca55d079f5cf6f9da9b98079b94b3987d" +dependencies = [ + "polkavm-common 0.5.0", "proc-macro2", "quote", "syn 2.0.48", @@ -3801,18 +3829,18 @@ dependencies = [ [[package]] name = "semver" -version = "1.0.21" +version = "1.0.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b97ed7a9823b74f99c7742f5336af7be5ecd3eeafcb1507d1fa93347b1d589b0" +checksum = "92d43fe69e652f3df9bdc2b85b2854a0825b86e4fb76bc44d945137d053639ca" dependencies = [ "serde", ] [[package]] name = "serde" -version = "1.0.196" +version = "1.0.197" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "870026e60fa08c69f064aa766c10f10b1d62db9ccd4d0abb206472bee0ce3b32" +checksum = "3fb1c873e1b9b056a4dc4c0c198b24c3ffa059243875552b2bd0933b1aee4ce2" dependencies = [ "serde_derive", ] @@ -3828,9 +3856,9 @@ dependencies = [ [[package]] name = "serde_derive" -version = "1.0.196" +version = "1.0.197" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33c85360c95e7d137454dc81d9a4ed2b8efd8fbe19cee57357b32b9771fccb67" +checksum = "7eb0b34b42edc17f6b7cac84a52a1c5f0e1bb2227e997ca9011ea3dd34e8610b" dependencies = [ "proc-macro2", "quote", @@ -3850,9 +3878,9 @@ dependencies = [ [[package]] name = "serde_json" -version = "1.0.113" +version = "1.0.114" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "69801b70b1c3dac963ecb03a364ba0ceda9cf60c71cfe475e99864759c8b8a79" +checksum = "c5f09b1bd632ef549eaa9f60a1f8de742bdbc698e6cee2095fc84dde5f549ae0" dependencies = [ "itoa", "ryu", @@ -3901,7 +3929,7 @@ dependencies = [ "chrono", "hex", "indexmap 1.9.3", - "indexmap 2.2.2", + "indexmap 2.2.4", "serde", "serde_derive", "serde_json", @@ -4747,9 +4775,9 @@ checksum = "69758bda2e78f098e4ccb393021a0963bb3442eac05f135c30f61b7370bbafae" [[package]] name = "tempfile" -version = "3.10.0" +version = "3.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a365e8cd18e44762ef95d87f284f4b5cd04107fec2ff3052bd6a3e6069669e67" +checksum = "85b77fafb263dd9d05cbeac119526425676db3784113aa9295c88498cbf8bff1" dependencies = [ "cfg-if", "fastrand", @@ -4778,18 +4806,18 @@ dependencies = [ [[package]] name = "thiserror" -version = "1.0.56" +version = "1.0.57" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d54378c645627613241d077a3a79db965db602882668f9136ac42af9ecb730ad" +checksum = "1e45bcbe8ed29775f228095caf2cd67af7a4ccf756ebff23a306bf3e8b47b24b" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.56" +version = "1.0.57" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa0faa943b50f3db30a20aa7e265dbc66076993efed8463e8de414e5d06d3471" +checksum = "a953cb265bef375dae3de6663da4d3804eee9682ea80d8e2542529b73c531c81" dependencies = [ "proc-macro2", "quote", @@ -4943,7 +4971,7 @@ version = "0.19.15" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1b5bb770da30e5cbfde35a2d7b9b8a2c4b8ef89548a7a6aeab5c9a576e3e7421" dependencies = [ - "indexmap 2.2.2", + "indexmap 2.2.4", "toml_datetime", "winnow", ] @@ -4954,7 +4982,7 @@ version = "0.20.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "70f427fce4d84c72b5b732388bf4a9f4531b53f74e2887e3ecb2481f68f66d81" dependencies = [ - "indexmap 2.2.2", + "indexmap 2.2.4", "toml_datetime", "winnow", ] @@ -4965,7 +4993,7 @@ version = "0.21.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6a8534fd7f78b5405e860340ad6575217ce99f38d4d5c8f2442cb5ecb50090e1" dependencies = [ - "indexmap 2.2.2", + "indexmap 2.2.4", "toml_datetime", "winnow", ] @@ -4976,7 +5004,7 @@ version = "0.22.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0c9ffdf896f8daaabf9b66ba8e77ea1ed5ed0f72821b398aba62352e95062951" dependencies = [ - "indexmap 2.2.2", + "indexmap 2.2.4", "serde", "serde_spanned", "toml_datetime", diff --git a/Cargo.toml b/Cargo.toml index a4aac84..a58178b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,15 +18,15 @@ homepage = "https://github.com/Cardinal-Cryptography/drink" license = "Apache-2.0" readme = "README.md" repository = "https://github.com/Cardinal-Cryptography/drink" -version = "0.10.0" +version = "0.11.0" [workspace.dependencies] anyhow = { version = "1.0.71" } cargo_metadata = { version = "0.18.1" } clap = { version = "4.3.4" } -contract-build = { version = "4.0.0-rc.2" } -contract-metadata = { version = "4.0.0-rc.2" } -contract-transcode = { version = "4.0.0-rc.2" } +contract-build = { version = "4.0.0-rc.3" } +contract-metadata = { version = "4.0.0-rc.3" } +contract-transcode = { version = "4.0.0-rc.3" } convert_case = { version = "0.6.0" } crossterm = { version = "0.26.0" } darling = { version = "0.20.3" } @@ -57,5 +57,5 @@ sp-runtime-interface = { version = "24.0.0" } # Local dependencies -drink = { version = "0.10.0", path = "drink" } -drink-test-macro = { version = "0.10.0", path = "drink/test-macro" } +drink = { version = "0.11.0", path = "drink" } +drink-test-macro = { version = "0.11.0", path = "drink/test-macro" } diff --git a/drink/src/session/record.rs b/drink/src/session/record.rs index a09e102..e5ad2c3 100644 --- a/drink/src/session/record.rs +++ b/drink/src/session/record.rs @@ -192,7 +192,7 @@ impl EventBatch { // We have to `encode` the data because `decode_contract_event` is targeted // at decoding the data from the runtime, and not directly from the contract // events. - .decode_contract_event(&signature_topic.into(), &mut &*data.encode()) + .decode_contract_event(&signature_topic, &mut &*data.encode()) { return Some(decoded); } diff --git a/examples/chain-extension/Cargo.toml b/examples/chain-extension/Cargo.toml index 8380454..4b065cc 100644 --- a/examples/chain-extension/Cargo.toml +++ b/examples/chain-extension/Cargo.toml @@ -10,7 +10,7 @@ version = "0.1.0" path = "src/lib.rs" [dependencies] -ink = { version = "=5.0.0-rc.1", default-features = false } +ink = { version = "=5.0.0-rc.2", default-features = false } scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] } scale-info = { version = "2.6", default-features = false, features = ["derive"], optional = true } diff --git a/examples/contract-events/Cargo.toml b/examples/contract-events/Cargo.toml index 77d6cf2..14b7314 100644 --- a/examples/contract-events/Cargo.toml +++ b/examples/contract-events/Cargo.toml @@ -10,7 +10,7 @@ version = "0.1.0" path = "lib.rs" [dependencies] -ink = { version = "=5.0.0-rc.1", default-features = false } +ink = { version = "=5.0.0-rc.2", default-features = false } scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] } scale-info = { version = "2.6", default-features = false, features = ["derive"], optional = true } diff --git a/examples/cross-contract-call-tracing/Cargo.toml b/examples/cross-contract-call-tracing/Cargo.toml index 5584e76..c74744c 100644 --- a/examples/cross-contract-call-tracing/Cargo.toml +++ b/examples/cross-contract-call-tracing/Cargo.toml @@ -7,7 +7,7 @@ repository = "https://github.com/Cardinal-Cryptography/drink" version = "0.1.0" [dependencies] -ink = { version = "=5.0.0-rc.1", default-features = false } +ink = { version = "=5.0.0-rc.2", default-features = false } scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] } scale-info = { version = "2.6", default-features = false, features = ["derive"], optional = true } diff --git a/examples/flipper/Cargo.toml b/examples/flipper/Cargo.toml index 3f276a5..22cc828 100755 --- a/examples/flipper/Cargo.toml +++ b/examples/flipper/Cargo.toml @@ -7,7 +7,7 @@ repository = "https://github.com/Cardinal-Cryptography/drink" version = "0.1.0" [dependencies] -ink = { version = "=5.0.0-rc.1", default-features = false, features = ["ink-debug"] } +ink = { version = "=5.0.0-rc.2", default-features = false, features = ["ink-debug"] } scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] } scale-info = { version = "2.6", default-features = false, features = ["derive"], optional = true } @@ -18,7 +18,6 @@ drink = { path = "../../drink" } # testing custom runtime frame-support = "28.0.0" frame-system = "28.0.0" -pallet-contracts-mock-network = "3.0.0" [lib] diff --git a/examples/flipper/lib.rs b/examples/flipper/lib.rs index 8ae6ab8..37efebe 100755 --- a/examples/flipper/lib.rs +++ b/examples/flipper/lib.rs @@ -72,19 +72,10 @@ mod tests { Ok(()) } - use pallet_contracts_mock_network::{ALICE, parachain::Runtime as ParachainRuntime}; - use drink::impl_sandbox_config; - - impl_sandbox_config!( - struct ParachainConfig { - runtime: ParachainRuntime; - default_balance: 1_000_000_000_000_000; - default_actor: ALICE; - } - ); - - #[drink::test(config = ParachainConfig)] - fn test_flipping_with_custom_runtime(mut session: Session) -> Result<(), Box> { + #[drink::test] + fn test_flipping_with_custom_runtime( + mut session: Session, + ) -> Result<(), Box> { let contract = BundleProvider::Flipper.bundle()?; let init_value: bool = session .deploy_bundle_and(contract, "new", &["true"], NO_SALT, NO_ENDOWMENT)? @@ -101,4 +92,3 @@ mod tests { Ok(()) } } - diff --git a/examples/mocking/Cargo.toml b/examples/mocking/Cargo.toml index 92e0d4e..45729db 100755 --- a/examples/mocking/Cargo.toml +++ b/examples/mocking/Cargo.toml @@ -7,7 +7,7 @@ repository = "https://github.com/Cardinal-Cryptography/drink" version = "0.1.0" [dependencies] -ink = { version = "=5.0.0-rc.1", default-features = false } +ink = { version = "=5.0.0-rc.2", default-features = false } scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] } scale-info = { version = "2.6", default-features = false, features = ["derive"], optional = true } diff --git a/examples/quick-start-with-drink/Cargo.toml b/examples/quick-start-with-drink/Cargo.toml index 2d40b9a..75d229b 100755 --- a/examples/quick-start-with-drink/Cargo.toml +++ b/examples/quick-start-with-drink/Cargo.toml @@ -13,7 +13,7 @@ path = "lib.rs" # We use standard dependencies for an ink! smart-contract. # For debugging from contract, we enable the `ink-debug` feature of `ink` crate. -ink = { version = "=5.0.0-rc.1", default-features = false, features = ["ink-debug"] } +ink = { version = "=5.0.0-rc.2", default-features = false, features = ["ink-debug"] } scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] } scale-info = { version = "2.6", default-features = false, features = ["derive"], optional = true }