diff --git a/CHANGELOG.md b/CHANGELOG.md index b8cbc62879..12a1ad0c26 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,13 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +[Unreleased] + +## Version 5.1.1 + +## Fixed +- [E2E] Have port parsing handle comma-separated list ‒ [#2336](https://github.com/use-ink/ink/pull/2336) + ## Version 5.1.0 This is the first ink! release outside of Parity. ink! was started at Parity and @@ -32,13 +39,13 @@ to cross-contract calls, but can now execute cross-parachain calls. We added a contract example that demonstrates the usage: [`contract-xcm`](https://github.com/use-ink/ink-examples/tree/main/contract-xcm) -We also added a new page on our documentation website: +We also added a new page on our documentation website: [https://use.ink/basics/xcm](https://use.ink/basics/xcm). You can view the Rust docs of the two functions here: -* [`xcm_send`](https://docs.rs/ink_env/5.1.0/ink_env/fn.xcm_send.html) -* [`xcm_execute`](https://docs.rs/ink_env/5.1.0/ink_env/fn.xcm_execute.html) +* [`xcm_send`](https://docs.rs/ink_env/5.1.1/ink_env/fn.xcm_send.html) +* [`xcm_execute`](https://docs.rs/ink_env/5.1.1/ink_env/fn.xcm_execute.html) #### (2) Call an ink! contract from a `polkadot-sdk` runtime diff --git a/Cargo.lock b/Cargo.lock index ee8b16ef49..e640672452 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2714,7 +2714,7 @@ checksum = "8e04e2fd2b8188ea827b32ef11de88377086d690286ab35747ef7f9bf3ccb590" [[package]] name = "ink" -version = "5.1.0" +version = "5.1.1" dependencies = [ "derive_more 1.0.0", "ink_env", @@ -2733,7 +2733,7 @@ dependencies = [ [[package]] name = "ink_allocator" -version = "5.1.0" +version = "5.1.1" dependencies = [ "cfg-if", "quickcheck", @@ -2742,7 +2742,7 @@ dependencies = [ [[package]] name = "ink_codegen" -version = "5.1.0" +version = "5.1.1" dependencies = [ "blake2", "derive_more 1.0.0", @@ -2762,7 +2762,7 @@ dependencies = [ [[package]] name = "ink_e2e" -version = "5.1.0" +version = "5.1.1" dependencies = [ "cargo_metadata", "contract-build", @@ -2778,6 +2778,7 @@ dependencies = [ "pallet-contracts", "pallet-contracts-mock-network", "parity-scale-codec", + "regex", "scale-info", "serde", "serde_json", @@ -2798,7 +2799,7 @@ dependencies = [ [[package]] name = "ink_e2e_macro" -version = "5.1.0" +version = "5.1.1" dependencies = [ "darling 0.20.10", "derive_more 1.0.0", @@ -2815,7 +2816,7 @@ dependencies = [ [[package]] name = "ink_engine" -version = "5.1.0" +version = "5.1.1" dependencies = [ "blake2", "derive_more 1.0.0", @@ -2829,7 +2830,7 @@ dependencies = [ [[package]] name = "ink_env" -version = "5.1.0" +version = "5.1.1" dependencies = [ "blake2", "cfg-if", @@ -2859,7 +2860,7 @@ dependencies = [ [[package]] name = "ink_ir" -version = "5.1.0" +version = "5.1.1" dependencies = [ "blake2", "either", @@ -2873,7 +2874,7 @@ dependencies = [ [[package]] name = "ink_macro" -version = "5.1.0" +version = "5.1.1" dependencies = [ "ink", "ink_codegen", @@ -2893,7 +2894,7 @@ dependencies = [ [[package]] name = "ink_metadata" -version = "5.1.0" +version = "5.1.1" dependencies = [ "derive_more 1.0.0", "impl-serde 0.4.0", @@ -2910,14 +2911,14 @@ dependencies = [ [[package]] name = "ink_prelude" -version = "5.1.0" +version = "5.1.1" dependencies = [ "cfg-if", ] [[package]] name = "ink_primitives" -version = "5.1.0" +version = "5.1.1" dependencies = [ "derive_more 1.0.0", "ink_prelude", @@ -2930,7 +2931,7 @@ dependencies = [ [[package]] name = "ink_sandbox" -version = "5.1.0" +version = "5.1.1" dependencies = [ "frame-metadata 16.0.0", "frame-support", @@ -2949,7 +2950,7 @@ dependencies = [ [[package]] name = "ink_storage" -version = "5.1.0" +version = "5.1.1" dependencies = [ "array-init", "cfg-if", @@ -2970,7 +2971,7 @@ dependencies = [ [[package]] name = "ink_storage_traits" -version = "5.1.0" +version = "5.1.1" dependencies = [ "ink_metadata", "ink_prelude", diff --git a/Cargo.toml b/Cargo.toml index a8c68ffa16..5d6081e9e3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -30,7 +30,7 @@ homepage = "https://use.ink" keywords = ["wasm", "ink", "webassembly", "blockchain", "edsl"] license = "Apache-2.0" repository = "https://github.com/use-ink/ink" -version = "5.1.0" +version = "5.1.1" [workspace.dependencies] arrayref = { version = "0.3" } @@ -102,19 +102,19 @@ sp-weights = { version = "31.0.0", default-features = false } xcm = { package = "staging-xcm", version = "11.0.0", default-features = false } # Local dependencies -ink = { version = "=5.1.0", path = "crates/ink", default-features = false } -ink_allocator = { version = "=5.1.0", path = "crates/allocator", default-features = false } -ink_codegen = { version = "=5.1.0", path = "crates/ink/codegen", default-features = false } -ink_e2e_macro = { version = "=5.1.0", path = "crates/e2e/macro", default-features = false } -ink_engine = { version = "=5.1.0", path = "crates/engine", default-features = false } -ink_env = { version = "=5.1.0", path = "crates/env", default-features = false } -ink_ir = { version = "=5.1.0", path = "crates/ink/ir", default-features = false } -ink_macro = { version = "=5.1.0", path = "crates/ink/macro", default-features = false } -ink_metadata = { version = "=5.1.0", path = "crates/metadata", default-features = false } -ink_prelude = { version = "=5.1.0", path = "crates/prelude", default-features = false } -ink_primitives = { version = "=5.1.0", path = "crates/primitives", default-features = false } -ink_storage = { version = "=5.1.0", path = "crates/storage", default-features = false } -ink_storage_traits = { version = "=5.1.0", path = "crates/storage/traits", default-features = false } +ink = { version = "=5.1.1", path = "crates/ink", default-features = false } +ink_allocator = { version = "=5.1.1", path = "crates/allocator", default-features = false } +ink_codegen = { version = "=5.1.1", path = "crates/ink/codegen", default-features = false } +ink_e2e_macro = { version = "=5.1.1", path = "crates/e2e/macro", default-features = false } +ink_engine = { version = "=5.1.1", path = "crates/engine", default-features = false } +ink_env = { version = "=5.1.1", path = "crates/env", default-features = false } +ink_ir = { version = "=5.1.1", path = "crates/ink/ir", default-features = false } +ink_macro = { version = "=5.1.1", path = "crates/ink/macro", default-features = false } +ink_metadata = { version = "=5.1.1", path = "crates/metadata", default-features = false } +ink_prelude = { version = "=5.1.1", path = "crates/prelude", default-features = false } +ink_primitives = { version = "=5.1.1", path = "crates/primitives", default-features = false } +ink_storage = { version = "=5.1.1", path = "crates/storage", default-features = false } +ink_storage_traits = { version = "=5.1.1", path = "crates/storage/traits", default-features = false } [profile.release] panic = "abort" diff --git a/crates/e2e/Cargo.toml b/crates/e2e/Cargo.toml index 0ef4d60a11..bd06d04644 100644 --- a/crates/e2e/Cargo.toml +++ b/crates/e2e/Cargo.toml @@ -22,7 +22,7 @@ ink_primitives = { workspace = true, default-features = true } cargo_metadata = { workspace = true } contract-build = { workspace = true } -ink_sandbox = { version = "=5.1.0", path = "./sandbox", optional = true } +ink_sandbox = { version = "=5.1.1", path = "./sandbox", optional = true } pallet-contracts-mock-network = { workspace = true, optional = true } funty = { workspace = true } impl-serde = { workspace = true } @@ -47,6 +47,7 @@ sp-core = { workspace = true } sp-keyring = { workspace = true } sp-runtime = { workspace = true } sp-weights = { workspace = true } +regex = "1.11.1" [dev-dependencies] # Required for the doctest of `MessageBuilder::call` diff --git a/crates/e2e/sandbox/Cargo.toml b/crates/e2e/sandbox/Cargo.toml index 4d34750093..ea109f2912 100644 --- a/crates/e2e/sandbox/Cargo.toml +++ b/crates/e2e/sandbox/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ink_sandbox" -version = "5.1.0" +version = "5.1.1" authors = ["Use Ink ", "Cardinal Cryptography"] edition.workspace = true license.workspace = true diff --git a/crates/e2e/src/node_proc.rs b/crates/e2e/src/node_proc.rs index 8df4f3cab2..ed70795324 100644 --- a/crates/e2e/src/node_proc.rs +++ b/crates/e2e/src/node_proc.rs @@ -212,8 +212,17 @@ fn find_substrate_port_from_output(r: impl Read + Send + 'static) -> u16 { .or_else(|| line.rsplit_once("Running JSON-RPC server: addr=127.0.0.1:")) .map(|(_, port_str)| port_str)?; - // trim non-numeric chars from the end of the port part of the line. - let port_str = line_end.trim_end_matches(|b: char| !b.is_ascii_digit()); + // match the first group of digits + let re = regex::Regex::new(r"^\d+").expect("regex creation failed"); + let port_capture = re + .captures(line_end) + .unwrap_or_else(|| panic!("unable to extract port from '{}'", line_end)); + assert!( + port_capture.len() == 1, + "captured more than one port from '{}'", + line_end + ); + let port_str = &port_capture[0]; // expect to have a number here (the chars after '127.0.0.1:') and parse them // into a u16. @@ -269,4 +278,25 @@ mod tests { assert!(res1.is_err()); assert!(res2.is_err()); } + + #[test] + fn parse_port_from_node_output() { + let log = "2024-12-04 10:57:03.893 INFO main sc_rpc_server: Running JSON-RPC server: addr=127.0.0.1:9944,[::1]:9944 "; + let port = find_substrate_port_from_output(log.as_bytes()); + assert_eq!(port, 9944); + + let log = "2024-12-04 10:57:03.893 INFO main sc_rpc_server: Running JSON-RPC server: addr=127.0.0.1:9944 "; + let port = find_substrate_port_from_output(log.as_bytes()); + assert_eq!(port, 9944); + + let log = r#"2024-12-04 11:02:24.637 INFO main sc_cli::runner: 👤 Role: AUTHORITY +2024-12-04 11:02:24.637 INFO main sc_cli::runner: 💾 Database: RocksDb at /var/folders/s5/5gcp8ck95k39z006fj059_0c0000gn/T/substrateHZoRbb/chains/dev/db/full +2024-12-04 11:02:25.324 WARN main sc_service::config: Using default protocol ID "sup" because none is configured in the chain specs +2024-12-04 11:02:25.327 INFO main sc_rpc_server: Running JSON-RPC server: addr=127.0.0.1:9944,[::1]:9944 +2024-12-04 11:02:24.637 INFO main sc_cli::runner: 💾 Database: RocksDb at /var/folders/s5/5gcp8ck95k39z006fj059_0c0000gn/T/substrateHZoRbb/chains/dev/db/full +2024-12-04 11:02:24.637 INFO main sc_cli::runner: 💾 Database: RocksDb at /var/folders/s5/5gcp8ck95k39z006fj059_0c0000gn/T/substrateHZoRbb/chains/dev/db/full +"#; + let port = find_substrate_port_from_output(log.as_bytes()); + assert_eq!(port, 9944); + } } diff --git a/crates/ink/codegen/Cargo.toml b/crates/ink/codegen/Cargo.toml index 445cdac701..9af05c1e22 100644 --- a/crates/ink/codegen/Cargo.toml +++ b/crates/ink/codegen/Cargo.toml @@ -19,7 +19,7 @@ name = "ink_codegen" [dependencies] ink_primitives = { workspace = true } -ir = { version = "=5.1.0", package = "ink_ir", path = "../ir", default-features = false } +ir = { version = "=5.1.1", package = "ink_ir", path = "../ir", default-features = false } quote = { workspace = true } syn = { workspace = true, features = ["parsing", "full", "extra-traits"] } proc-macro2 = { workspace = true } diff --git a/integration-tests/internal/call-builder-return-value/Cargo.toml b/integration-tests/internal/call-builder-return-value/Cargo.toml index 2dd8aa5188..f6f645459f 100755 --- a/integration-tests/internal/call-builder-return-value/Cargo.toml +++ b/integration-tests/internal/call-builder-return-value/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "call_builder_return_value" -version = "5.1.0" +version = "5.1.1" authors = ["Use Ink "] edition = "2021" publish = false diff --git a/integration-tests/internal/e2e-runtime-only-backend/Cargo.toml b/integration-tests/internal/e2e-runtime-only-backend/Cargo.toml index 174a0bf0dc..0100039305 100644 --- a/integration-tests/internal/e2e-runtime-only-backend/Cargo.toml +++ b/integration-tests/internal/e2e-runtime-only-backend/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "e2e-runtime-only-backend" -version = "5.1.0" +version = "5.1.1" authors = ["Use Ink "] edition = "2021" publish = false diff --git a/integration-tests/internal/lang-err/call-builder-delegate/Cargo.toml b/integration-tests/internal/lang-err/call-builder-delegate/Cargo.toml index c7de42854c..163dd98e64 100755 --- a/integration-tests/internal/lang-err/call-builder-delegate/Cargo.toml +++ b/integration-tests/internal/lang-err/call-builder-delegate/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "call_builder_delegate" -version = "5.1.0" +version = "5.1.1" authors = ["Use Ink "] edition = "2021" publish = false diff --git a/integration-tests/internal/lang-err/call-builder/Cargo.toml b/integration-tests/internal/lang-err/call-builder/Cargo.toml index 5765992346..7a23d6b289 100755 --- a/integration-tests/internal/lang-err/call-builder/Cargo.toml +++ b/integration-tests/internal/lang-err/call-builder/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "call_builder" -version = "5.1.0" +version = "5.1.1" authors = ["Use Ink "] edition = "2021" publish = false diff --git a/integration-tests/internal/lang-err/constructors-return-value/Cargo.toml b/integration-tests/internal/lang-err/constructors-return-value/Cargo.toml index 08bcecb3b4..00306cce03 100644 --- a/integration-tests/internal/lang-err/constructors-return-value/Cargo.toml +++ b/integration-tests/internal/lang-err/constructors-return-value/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "constructors_return_value" -version = "5.1.0" +version = "5.1.1" authors = ["Use Ink "] edition = "2021" publish = false diff --git a/integration-tests/internal/lang-err/contract-ref/Cargo.toml b/integration-tests/internal/lang-err/contract-ref/Cargo.toml index c8f26ce7b8..16a57e1521 100755 --- a/integration-tests/internal/lang-err/contract-ref/Cargo.toml +++ b/integration-tests/internal/lang-err/contract-ref/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "contract_ref" -version = "5.1.0" +version = "5.1.1" authors = ["Use Ink "] edition = "2021" diff --git a/integration-tests/internal/lang-err/integration-flipper/Cargo.toml b/integration-tests/internal/lang-err/integration-flipper/Cargo.toml index bff755cf34..3a0c52f46d 100644 --- a/integration-tests/internal/lang-err/integration-flipper/Cargo.toml +++ b/integration-tests/internal/lang-err/integration-flipper/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "integration_flipper" -version = "5.1.0" +version = "5.1.1" authors = ["Use Ink "] edition = "2021" publish = false diff --git a/integration-tests/internal/mother/Cargo.toml b/integration-tests/internal/mother/Cargo.toml index def6672d49..46c81249a9 100755 --- a/integration-tests/internal/mother/Cargo.toml +++ b/integration-tests/internal/mother/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "mother" description = "Mother of all contracts" -version = "5.1.0" +version = "5.1.1" authors = ["Use Ink "] edition = "2021" publish = false diff --git a/integration-tests/internal/sr25519-verification/Cargo.toml b/integration-tests/internal/sr25519-verification/Cargo.toml index 4ba6f66ecb..3951d9ccb9 100644 --- a/integration-tests/internal/sr25519-verification/Cargo.toml +++ b/integration-tests/internal/sr25519-verification/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sr25519_verification" -version = "5.1.0" +version = "5.1.1" authors = ["Use Ink "] edition = "2021" publish = false diff --git a/integration-tests/internal/storage-types/Cargo.toml b/integration-tests/internal/storage-types/Cargo.toml index 1e9aaa2c76..d3f7797064 100755 --- a/integration-tests/internal/storage-types/Cargo.toml +++ b/integration-tests/internal/storage-types/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "storage-types" -version = "5.1.0" +version = "5.1.1" authors = ["Use Ink "] edition = "2021" publish = false diff --git a/integration-tests/public/call-runtime/Cargo.toml b/integration-tests/public/call-runtime/Cargo.toml index 3573327039..38af5195a1 100644 --- a/integration-tests/public/call-runtime/Cargo.toml +++ b/integration-tests/public/call-runtime/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "call-runtime" -version = "5.1.0" +version = "5.1.1" authors = ["Use Ink "] edition = "2021" publish = false diff --git a/integration-tests/public/combined-extension/Cargo.toml b/integration-tests/public/combined-extension/Cargo.toml index c0d869f5fe..fd2017418b 100755 --- a/integration-tests/public/combined-extension/Cargo.toml +++ b/integration-tests/public/combined-extension/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "combined_extension" -version = "5.1.0" +version = "5.1.1" authors = ["Use Ink "] edition = "2021" publish = false diff --git a/integration-tests/public/conditional-compilation/Cargo.toml b/integration-tests/public/conditional-compilation/Cargo.toml index 3d2bdf81d9..198398dd21 100755 --- a/integration-tests/public/conditional-compilation/Cargo.toml +++ b/integration-tests/public/conditional-compilation/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "conditional-compilation" -version = "5.1.0" +version = "5.1.1" authors = ["Use Ink "] edition = "2021" diff --git a/integration-tests/public/contract-storage/Cargo.toml b/integration-tests/public/contract-storage/Cargo.toml index ce3086818c..bb81496bb9 100755 --- a/integration-tests/public/contract-storage/Cargo.toml +++ b/integration-tests/public/contract-storage/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "contract-storage" -version = "5.1.0" +version = "5.1.1" authors = ["Use Ink "] edition = "2021" publish = false diff --git a/integration-tests/public/contract-terminate/Cargo.toml b/integration-tests/public/contract-terminate/Cargo.toml index e959e0515f..dc4ef3ff17 100644 --- a/integration-tests/public/contract-terminate/Cargo.toml +++ b/integration-tests/public/contract-terminate/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "contract_terminate" -version = "5.1.0" +version = "5.1.1" authors = ["Use Ink "] edition = "2021" publish = false diff --git a/integration-tests/public/contract-transfer/Cargo.toml b/integration-tests/public/contract-transfer/Cargo.toml index 003c5b750a..1efbbd5c67 100644 --- a/integration-tests/public/contract-transfer/Cargo.toml +++ b/integration-tests/public/contract-transfer/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "contract_transfer" -version = "5.1.0" +version = "5.1.1" authors = ["Use Ink "] edition = "2021" publish = false diff --git a/integration-tests/public/contract-xcm/Cargo.toml b/integration-tests/public/contract-xcm/Cargo.toml index 35fa9cb477..b6df8ad317 100644 --- a/integration-tests/public/contract-xcm/Cargo.toml +++ b/integration-tests/public/contract-xcm/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "contract-xcm" -version = "5.1.0" +version = "5.1.1" authors = ["Use Ink "] edition = "2021" publish = false diff --git a/integration-tests/public/cross-contract-calls/Cargo.toml b/integration-tests/public/cross-contract-calls/Cargo.toml index 0ca220ceea..15b86d2c33 100755 --- a/integration-tests/public/cross-contract-calls/Cargo.toml +++ b/integration-tests/public/cross-contract-calls/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cross-contract-calls" -version = "5.1.0" +version = "5.1.1" authors = ["Use Ink "] edition = "2021" publish = false diff --git a/integration-tests/public/cross-contract-calls/other-contract/Cargo.toml b/integration-tests/public/cross-contract-calls/other-contract/Cargo.toml index 699ca0455a..0851ba0151 100755 --- a/integration-tests/public/cross-contract-calls/other-contract/Cargo.toml +++ b/integration-tests/public/cross-contract-calls/other-contract/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "other-contract" -version = "5.1.0" +version = "5.1.1" authors = ["Use Ink "] edition = "2021" publish = false diff --git a/integration-tests/public/custom-allocator/Cargo.toml b/integration-tests/public/custom-allocator/Cargo.toml index 2648b5936a..a1666a9933 100755 --- a/integration-tests/public/custom-allocator/Cargo.toml +++ b/integration-tests/public/custom-allocator/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "custom-allocator" -version = "5.1.0" +version = "5.1.1" authors = ["Use Ink "] edition = "2021" publish = false diff --git a/integration-tests/public/custom-environment/Cargo.toml b/integration-tests/public/custom-environment/Cargo.toml index 08e26a9891..fd63957e96 100644 --- a/integration-tests/public/custom-environment/Cargo.toml +++ b/integration-tests/public/custom-environment/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "custom-environment" -version = "5.1.0" +version = "5.1.1" authors = ["Use Ink "] edition = "2021" publish = false diff --git a/integration-tests/public/dns/Cargo.toml b/integration-tests/public/dns/Cargo.toml index ea3feac862..5f40275fb3 100644 --- a/integration-tests/public/dns/Cargo.toml +++ b/integration-tests/public/dns/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dns" -version = "5.1.0" +version = "5.1.1" authors = ["Use Ink "] edition = "2021" publish = false diff --git a/integration-tests/public/e2e-call-runtime/Cargo.toml b/integration-tests/public/e2e-call-runtime/Cargo.toml index 03fe3d5541..2e0385632e 100644 --- a/integration-tests/public/e2e-call-runtime/Cargo.toml +++ b/integration-tests/public/e2e-call-runtime/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "e2e_call_runtime" -version = "5.1.0" +version = "5.1.1" authors = ["Use Ink "] edition = "2021" publish = false diff --git a/integration-tests/public/erc1155/Cargo.toml b/integration-tests/public/erc1155/Cargo.toml index b8d02842f1..7ae16a0b49 100644 --- a/integration-tests/public/erc1155/Cargo.toml +++ b/integration-tests/public/erc1155/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "erc1155" -version = "5.1.0" +version = "5.1.1" authors = ["Use Ink "] edition = "2021" publish = false diff --git a/integration-tests/public/erc20/Cargo.toml b/integration-tests/public/erc20/Cargo.toml index f6c2b2bed0..3f86a545df 100644 --- a/integration-tests/public/erc20/Cargo.toml +++ b/integration-tests/public/erc20/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "erc20" -version = "5.1.0" +version = "5.1.1" authors = ["Use Ink "] edition = "2021" publish = false diff --git a/integration-tests/public/erc721/Cargo.toml b/integration-tests/public/erc721/Cargo.toml index 88a2a1d308..7bef48801d 100644 --- a/integration-tests/public/erc721/Cargo.toml +++ b/integration-tests/public/erc721/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "erc721" -version = "5.1.0" +version = "5.1.1" authors = ["Use Ink "] edition = "2021" publish = false diff --git a/integration-tests/public/events/Cargo.toml b/integration-tests/public/events/Cargo.toml index 6d8842a534..1ae6e2ba9e 100644 --- a/integration-tests/public/events/Cargo.toml +++ b/integration-tests/public/events/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "events" -version = "5.1.0" +version = "5.1.1" authors = ["Use Ink "] edition = "2021" publish = false diff --git a/integration-tests/public/flipper/Cargo.toml b/integration-tests/public/flipper/Cargo.toml index f2afe5abd3..c651a7d5c6 100644 --- a/integration-tests/public/flipper/Cargo.toml +++ b/integration-tests/public/flipper/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "flipper" -version = "5.1.0" +version = "5.1.1" authors = ["Use Ink "] edition = "2021" publish = false diff --git a/integration-tests/public/incrementer/Cargo.toml b/integration-tests/public/incrementer/Cargo.toml index 7e3f72dd42..36fbf6ac6c 100644 --- a/integration-tests/public/incrementer/Cargo.toml +++ b/integration-tests/public/incrementer/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "incrementer" -version = "5.1.0" +version = "5.1.1" authors = ["Use Ink "] edition = "2021" publish = false diff --git a/integration-tests/public/lazyvec/Cargo.toml b/integration-tests/public/lazyvec/Cargo.toml index 424bff8bfc..8b4e83ac1c 100755 --- a/integration-tests/public/lazyvec/Cargo.toml +++ b/integration-tests/public/lazyvec/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lazyvec" -version = "5.1.0" +version = "5.1.1" authors = ["Use Ink "] edition = "2021" publish = false diff --git a/integration-tests/public/mapping/Cargo.toml b/integration-tests/public/mapping/Cargo.toml index e56aea1b7e..f02108931c 100755 --- a/integration-tests/public/mapping/Cargo.toml +++ b/integration-tests/public/mapping/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mapping" -version = "5.1.0" +version = "5.1.1" authors = ["Use Ink "] edition = "2021" publish = false diff --git a/integration-tests/public/multi-contract-caller/Cargo.toml b/integration-tests/public/multi-contract-caller/Cargo.toml index 9343e8b31b..f3b22f6d45 100644 --- a/integration-tests/public/multi-contract-caller/Cargo.toml +++ b/integration-tests/public/multi-contract-caller/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "multi-contract-caller" -version = "5.1.0" +version = "5.1.1" authors = ["Use Ink "] edition = "2021" publish = false diff --git a/integration-tests/public/multi-contract-caller/accumulator/Cargo.toml b/integration-tests/public/multi-contract-caller/accumulator/Cargo.toml index e40ae1b909..f6640c8abe 100644 --- a/integration-tests/public/multi-contract-caller/accumulator/Cargo.toml +++ b/integration-tests/public/multi-contract-caller/accumulator/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "accumulator" -version = "5.1.0" +version = "5.1.1" authors = ["Use Ink "] edition = "2021" diff --git a/integration-tests/public/multi-contract-caller/adder/Cargo.toml b/integration-tests/public/multi-contract-caller/adder/Cargo.toml index 4e92bd5b7c..3fa10a2b70 100644 --- a/integration-tests/public/multi-contract-caller/adder/Cargo.toml +++ b/integration-tests/public/multi-contract-caller/adder/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "adder" -version = "5.1.0" +version = "5.1.1" authors = ["Use Ink "] edition = "2021" diff --git a/integration-tests/public/multi-contract-caller/subber/Cargo.toml b/integration-tests/public/multi-contract-caller/subber/Cargo.toml index a6e9fb4a8b..b190796af6 100644 --- a/integration-tests/public/multi-contract-caller/subber/Cargo.toml +++ b/integration-tests/public/multi-contract-caller/subber/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "subber" -version = "5.1.0" +version = "5.1.1" authors = ["Use Ink "] edition = "2021" diff --git a/integration-tests/public/multisig/Cargo.toml b/integration-tests/public/multisig/Cargo.toml index d840f195c5..666b1606da 100755 --- a/integration-tests/public/multisig/Cargo.toml +++ b/integration-tests/public/multisig/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "multisig" -version = "5.1.0" +version = "5.1.1" authors = ["Use Ink "] edition = "2021" publish = false diff --git a/integration-tests/public/payment-channel/Cargo.toml b/integration-tests/public/payment-channel/Cargo.toml index 8ad117e163..c51341ee3a 100755 --- a/integration-tests/public/payment-channel/Cargo.toml +++ b/integration-tests/public/payment-channel/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "payment_channel" -version = "5.1.0" +version = "5.1.1" authors = ["Use Ink "] edition = "2021" publish = false diff --git a/integration-tests/public/psp22-extension/Cargo.toml b/integration-tests/public/psp22-extension/Cargo.toml index 28f0b1b106..c78c53187a 100755 --- a/integration-tests/public/psp22-extension/Cargo.toml +++ b/integration-tests/public/psp22-extension/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "psp22_extension" -version = "5.1.0" +version = "5.1.1" authors = ["Use Ink "] edition = "2021" publish = false diff --git a/integration-tests/public/rand-extension/Cargo.toml b/integration-tests/public/rand-extension/Cargo.toml index 3f39be53ae..30efe134e3 100755 --- a/integration-tests/public/rand-extension/Cargo.toml +++ b/integration-tests/public/rand-extension/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rand_extension" -version = "5.1.0" +version = "5.1.1" authors = ["Use Ink "] edition = "2021" publish = false diff --git a/integration-tests/public/runtime-call-contract/Cargo.toml b/integration-tests/public/runtime-call-contract/Cargo.toml index d03f283e71..1f33dcb300 100644 --- a/integration-tests/public/runtime-call-contract/Cargo.toml +++ b/integration-tests/public/runtime-call-contract/Cargo.toml @@ -19,7 +19,7 @@ scale-info = { version = "2.11.1", default-features = false } [package] name = "runtime-call-contract" -version = "5.1.0" +version = "5.1.1" authors = ["Use Ink "] edition = "2021" publish = false diff --git a/integration-tests/public/runtime-call-contract/traits/Cargo.toml b/integration-tests/public/runtime-call-contract/traits/Cargo.toml index e97a1d8ae6..c7760deea7 100644 --- a/integration-tests/public/runtime-call-contract/traits/Cargo.toml +++ b/integration-tests/public/runtime-call-contract/traits/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "flipper-traits" -version = "5.1.0" +version = "5.1.1" authors = ["Use Ink "] edition = "2021" publish = false diff --git a/integration-tests/public/static-buffer/Cargo.toml b/integration-tests/public/static-buffer/Cargo.toml index 11eea8c24f..8a2dbef207 100644 --- a/integration-tests/public/static-buffer/Cargo.toml +++ b/integration-tests/public/static-buffer/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "static-buffer" -version = "5.1.0" +version = "5.1.1" authors = ["Use Ink "] edition = "2021" publish = false diff --git a/integration-tests/public/trait-dyn-cross-contract-calls/Cargo.toml b/integration-tests/public/trait-dyn-cross-contract-calls/Cargo.toml index 11d0dda4a5..1137962aea 100644 --- a/integration-tests/public/trait-dyn-cross-contract-calls/Cargo.toml +++ b/integration-tests/public/trait-dyn-cross-contract-calls/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "trait-incrementer-caller" -version = "5.1.0" +version = "5.1.1" authors = ["Use Ink "] edition = "2021" publish = false diff --git a/integration-tests/public/trait-dyn-cross-contract-calls/contracts/incrementer/Cargo.toml b/integration-tests/public/trait-dyn-cross-contract-calls/contracts/incrementer/Cargo.toml index 8fdf4378ba..e8bbb7ec03 100644 --- a/integration-tests/public/trait-dyn-cross-contract-calls/contracts/incrementer/Cargo.toml +++ b/integration-tests/public/trait-dyn-cross-contract-calls/contracts/incrementer/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "trait-incrementer" -version = "5.1.0" +version = "5.1.1" authors = ["Use Ink "] edition = "2021" publish = false diff --git a/integration-tests/public/trait-dyn-cross-contract-calls/traits/Cargo.toml b/integration-tests/public/trait-dyn-cross-contract-calls/traits/Cargo.toml index b03a1bdb6b..531ca09bd1 100644 --- a/integration-tests/public/trait-dyn-cross-contract-calls/traits/Cargo.toml +++ b/integration-tests/public/trait-dyn-cross-contract-calls/traits/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dyn-traits" -version = "5.1.0" +version = "5.1.1" authors = ["Use Ink "] edition = "2021" publish = false diff --git a/integration-tests/public/trait-erc20/Cargo.toml b/integration-tests/public/trait-erc20/Cargo.toml index c568d31aa9..b80a593712 100644 --- a/integration-tests/public/trait-erc20/Cargo.toml +++ b/integration-tests/public/trait-erc20/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "trait_erc20" -version = "5.1.0" +version = "5.1.1" authors = ["Use Ink "] edition = "2021" publish = false diff --git a/integration-tests/public/trait-flipper/Cargo.toml b/integration-tests/public/trait-flipper/Cargo.toml index c726f3b7ef..1fd2c64837 100644 --- a/integration-tests/public/trait-flipper/Cargo.toml +++ b/integration-tests/public/trait-flipper/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "trait_flipper" -version = "5.1.0" +version = "5.1.1" authors = ["Use Ink "] edition = "2021" publish = false diff --git a/integration-tests/public/trait-incrementer/Cargo.toml b/integration-tests/public/trait-incrementer/Cargo.toml index a324785179..674b5bf325 100644 --- a/integration-tests/public/trait-incrementer/Cargo.toml +++ b/integration-tests/public/trait-incrementer/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "trait-incrementer" -version = "5.1.0" +version = "5.1.1" authors = ["Use Ink "] edition = "2021" publish = false diff --git a/integration-tests/public/trait-incrementer/traits/Cargo.toml b/integration-tests/public/trait-incrementer/traits/Cargo.toml index 7db478496c..3202ab2fb5 100644 --- a/integration-tests/public/trait-incrementer/traits/Cargo.toml +++ b/integration-tests/public/trait-incrementer/traits/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "traits" -version = "5.1.0" +version = "5.1.1" authors = ["Use Ink "] edition = "2021" publish = false diff --git a/integration-tests/public/upgradeable-contracts/delegator/Cargo.toml b/integration-tests/public/upgradeable-contracts/delegator/Cargo.toml index 4f7071341e..de480ce70e 100644 --- a/integration-tests/public/upgradeable-contracts/delegator/Cargo.toml +++ b/integration-tests/public/upgradeable-contracts/delegator/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "delegator" -version = "5.1.0" +version = "5.1.1" authors = ["Use Ink "] edition = "2021" publish = false diff --git a/integration-tests/public/upgradeable-contracts/delegator/delegatee/Cargo.toml b/integration-tests/public/upgradeable-contracts/delegator/delegatee/Cargo.toml index 570ad01cb5..39706dd5d9 100644 --- a/integration-tests/public/upgradeable-contracts/delegator/delegatee/Cargo.toml +++ b/integration-tests/public/upgradeable-contracts/delegator/delegatee/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "delegatee" -version = "5.1.0" +version = "5.1.1" authors = ["Use Ink "] edition = "2021" publish = false diff --git a/integration-tests/public/upgradeable-contracts/delegator/delegatee2/Cargo.toml b/integration-tests/public/upgradeable-contracts/delegator/delegatee2/Cargo.toml index 5bfa97aa24..7f769e9caa 100644 --- a/integration-tests/public/upgradeable-contracts/delegator/delegatee2/Cargo.toml +++ b/integration-tests/public/upgradeable-contracts/delegator/delegatee2/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "delegatee2" -version = "5.1.0" +version = "5.1.1" authors = ["Use Ink "] edition = "2021" publish = false diff --git a/integration-tests/public/upgradeable-contracts/set-code-hash-migration/Cargo.toml b/integration-tests/public/upgradeable-contracts/set-code-hash-migration/Cargo.toml index 5eb265ef6b..cfb97ee7e0 100644 --- a/integration-tests/public/upgradeable-contracts/set-code-hash-migration/Cargo.toml +++ b/integration-tests/public/upgradeable-contracts/set-code-hash-migration/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "incrementer" -version = "5.1.0" +version = "5.1.1" authors = ["Use Ink "] edition = "2021" publish = false diff --git a/integration-tests/public/upgradeable-contracts/set-code-hash-migration/migration/Cargo.toml b/integration-tests/public/upgradeable-contracts/set-code-hash-migration/migration/Cargo.toml index a6a760c11c..de9cf14f89 100644 --- a/integration-tests/public/upgradeable-contracts/set-code-hash-migration/migration/Cargo.toml +++ b/integration-tests/public/upgradeable-contracts/set-code-hash-migration/migration/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "migration" -version = "5.1.0" +version = "5.1.1" authors = ["Use Ink "] edition = "2021" publish = false diff --git a/integration-tests/public/upgradeable-contracts/set-code-hash-migration/updated-incrementer/Cargo.toml b/integration-tests/public/upgradeable-contracts/set-code-hash-migration/updated-incrementer/Cargo.toml index 8a0634b753..9c82d1d362 100644 --- a/integration-tests/public/upgradeable-contracts/set-code-hash-migration/updated-incrementer/Cargo.toml +++ b/integration-tests/public/upgradeable-contracts/set-code-hash-migration/updated-incrementer/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "updated-incrementer" -version = "5.1.0" +version = "5.1.1" authors = ["Use Ink "] edition = "2021" publish = false diff --git a/integration-tests/public/upgradeable-contracts/set-code-hash/Cargo.toml b/integration-tests/public/upgradeable-contracts/set-code-hash/Cargo.toml index 02218461ea..2d3697f905 100644 --- a/integration-tests/public/upgradeable-contracts/set-code-hash/Cargo.toml +++ b/integration-tests/public/upgradeable-contracts/set-code-hash/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "incrementer" -version = "5.1.0" +version = "5.1.1" authors = ["Use Ink "] edition = "2021" publish = false diff --git a/integration-tests/public/upgradeable-contracts/set-code-hash/updated-incrementer/Cargo.toml b/integration-tests/public/upgradeable-contracts/set-code-hash/updated-incrementer/Cargo.toml index 8a0634b753..9c82d1d362 100644 --- a/integration-tests/public/upgradeable-contracts/set-code-hash/updated-incrementer/Cargo.toml +++ b/integration-tests/public/upgradeable-contracts/set-code-hash/updated-incrementer/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "updated-incrementer" -version = "5.1.0" +version = "5.1.1" authors = ["Use Ink "] edition = "2021" publish = false diff --git a/integration-tests/public/wildcard-selector/Cargo.toml b/integration-tests/public/wildcard-selector/Cargo.toml index cd646c83b6..76505c2667 100644 --- a/integration-tests/public/wildcard-selector/Cargo.toml +++ b/integration-tests/public/wildcard-selector/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wildcard-selector" -version = "5.1.0" +version = "5.1.1" authors = ["Use Ink "] edition = "2021" publish = false diff --git a/linting/Cargo.toml b/linting/Cargo.toml index fa23321ce1..03f33fc5e7 100644 --- a/linting/Cargo.toml +++ b/linting/Cargo.toml @@ -7,7 +7,7 @@ members = [ ] [workspace.package] -version = "5.1.0" +version = "5.1.1" authors = ["Use Ink "] edition = "2021" license = "Apache-2.0" @@ -16,7 +16,7 @@ homepage = "https://use.ink" keywords = ["ink", "blockchain", "edsl", "dylint", "linting"] [workspace.dependencies] -ink_linting_utils = { version = "=5.1.0", path = "utils" } +ink_linting_utils = { version = "=5.1.1", path = "utils" } [workspace.metadata.dylint] libraries = [ diff --git a/linting/extra/Cargo.toml b/linting/extra/Cargo.toml index 599e75cc42..f666e0a9e1 100644 --- a/linting/extra/Cargo.toml +++ b/linting/extra/Cargo.toml @@ -22,7 +22,7 @@ if_chain = "1.0.2" log = "0.4.14" regex = "1.5.4" ink_linting_utils = { workspace = true } -ink_env = { version = "=5.1.0", path = "../../crates/env", default-features = false } +ink_env = { version = "=5.1.1", path = "../../crates/env", default-features = false } #rustc_middle = {path = "/Users/michi/.rustup/toolchains/nightly-2024-09-05-aarch64-apple-darwin/lib/rustlib/rustc-src/rust/compiler/rustc_middle", optional = true} @@ -34,10 +34,10 @@ dylint_testing = "3.2.0" # # These cannot be moved to the workspace level because `cargo` does not provide # the `[[workspace.dev-dependencies]]` directive. -ink = { version = "=5.1.0", path = "../../crates/ink", default-features = false, features = ["std"] } -ink_metadata = { version = "=5.1.0", path = "../../crates/metadata", default-features = false } -ink_primitives = { version = "=5.1.0", path = "../../crates/primitives", default-features = false } -ink_storage = { version = "=5.1.0", path = "../../crates/storage", default-features = false } +ink = { version = "=5.1.1", path = "../../crates/ink", default-features = false, features = ["std"] } +ink_metadata = { version = "=5.1.1", path = "../../crates/metadata", default-features = false } +ink_primitives = { version = "=5.1.1", path = "../../crates/primitives", default-features = false } +ink_storage = { version = "=5.1.1", path = "../../crates/storage", default-features = false } scale = { package = "parity-scale-codec", version = "3.4", default-features = false, features = ["derive"] } scale-info = { version = "2.6", default-features = false, features = ["derive"] } diff --git a/linting/mandatory/Cargo.toml b/linting/mandatory/Cargo.toml index 57f19dd7bf..619aed6842 100644 --- a/linting/mandatory/Cargo.toml +++ b/linting/mandatory/Cargo.toml @@ -31,11 +31,11 @@ dylint_testing = "3.2.0" # # These cannot be moved to the workspace level because `cargo` does not provide # the `[[workspace.dev-dependencies]]` directive. -ink = { version = "=5.1.0", path = "../../crates/ink", default-features = false, features = ["std"] } -ink_env = { version = "=5.1.0", path = "../../crates/env", default-features = false } -ink_metadata = { version = "=5.1.0", path = "../../crates/metadata", default-features = false } -ink_primitives = { version = "=5.1.0", path = "../../crates/primitives", default-features = false } -ink_storage = { version = "=5.1.0", path = "../../crates/storage", default-features = false } +ink = { version = "=5.1.1", path = "../../crates/ink", default-features = false, features = ["std"] } +ink_env = { version = "=5.1.1", path = "../../crates/env", default-features = false } +ink_metadata = { version = "=5.1.1", path = "../../crates/metadata", default-features = false } +ink_primitives = { version = "=5.1.1", path = "../../crates/primitives", default-features = false } +ink_storage = { version = "=5.1.1", path = "../../crates/storage", default-features = false } scale = { package = "parity-scale-codec", version = "3.4", default-features = false, features = ["derive"] } scale-info = { version = "2.6", default-features = false, features = ["derive"] }