From 031866ac83ea068ff48a03850e4efb8960a12fec Mon Sep 17 00:00:00 2001 From: Artemka374 Date: Tue, 12 Sep 2023 14:36:37 +0300 Subject: [PATCH] bump ink version to 5.0,0-alpha --- Cargo.toml | 2 +- contracts/Cargo.toml | 2 +- example_project_structure/Cargo.toml | 2 +- example_project_structure/contracts/lending/Cargo.toml | 2 +- example_project_structure/contracts/loan/Cargo.toml | 2 +- example_project_structure/contracts/shares/Cargo.toml | 2 +- example_project_structure/contracts/stable_coin/Cargo.toml | 2 +- examples/access_control/Cargo.toml | 2 +- examples/access_control_extensions/enumerable/Cargo.toml | 2 +- examples/diamond/Cargo.toml | 2 +- examples/diamond/diamond_caller/Cargo.toml | 2 +- examples/diamond/psp22_facet_v1/Cargo.toml | 2 +- examples/diamond/psp22_facet_v2/Cargo.toml | 2 +- examples/diamond/psp22_metadata_facet/Cargo.toml | 2 +- examples/flash-borrower/Cargo.toml | 2 +- examples/governance/extensions/timelock_controller/Cargo.toml | 2 +- examples/ownable/Cargo.toml | 2 +- examples/pausable/Cargo.toml | 2 +- examples/payment_splitter/Cargo.toml | 2 +- examples/proxy/Cargo.toml | 2 +- examples/proxy/psp22_metadata_upgradeable/Cargo.toml | 2 +- examples/proxy/psp22_upgradeable/Cargo.toml | 2 +- examples/psp22/Cargo.toml | 2 +- examples/psp22_extensions/burnable/Cargo.toml | 2 +- examples/psp22_extensions/capped/Cargo.toml | 2 +- examples/psp22_extensions/flashmint/Cargo.toml | 2 +- examples/psp22_extensions/metadata/Cargo.toml | 2 +- examples/psp22_extensions/mintable/Cargo.toml | 2 +- examples/psp22_extensions/permit/Cargo.toml | 2 +- examples/psp22_extensions/wrapper/Cargo.toml | 2 +- examples/psp22_pallet/Cargo.toml | 2 +- examples/psp22_pallet_extensions/burnable/Cargo.toml | 2 +- examples/psp22_pallet_extensions/metadata/Cargo.toml | 2 +- examples/psp22_pallet_extensions/mintable/Cargo.toml | 2 +- examples/psp22_utils/token_timelock/Cargo.toml | 2 +- examples/psp34/Cargo.toml | 2 +- examples/psp34_extensions/burnable/Cargo.toml | 2 +- examples/psp34_extensions/enumerable/Cargo.toml | 2 +- examples/psp34_extensions/metadata/Cargo.toml | 2 +- examples/psp34_extensions/mintable/Cargo.toml | 2 +- examples/psp37/Cargo.toml | 2 +- examples/psp37_extensions/batch/Cargo.toml | 2 +- examples/psp37_extensions/burnable/Cargo.toml | 2 +- examples/psp37_extensions/enumerable/Cargo.toml | 2 +- examples/psp37_extensions/metadata/Cargo.toml | 2 +- examples/psp37_extensions/mintable/Cargo.toml | 2 +- examples/reentrancy_guard/Cargo.toml | 2 +- examples/reentrancy_guard/contracts/flip_on_me/Cargo.toml | 2 +- examples/reentrancy_guard/contracts/flipper/Cargo.toml | 2 +- examples/upgradeable/v1/Cargo.toml | 2 +- examples/upgradeable/v2/Cargo.toml | 2 +- lang/Cargo.toml | 2 +- lang/macro/Cargo.toml | 2 +- lang/src/storage/mapping.rs | 2 +- lang/src/storage/multi_mapping.rs | 2 +- 55 files changed, 55 insertions(+), 55 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 6ad147f7e..d79cb2ed2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -27,7 +27,7 @@ categories = ["no-std", "embedded"] include = ["Cargo.toml", "src/**/*.rs"] [dependencies] -ink = { version = "4.3.0", default-features = false } +ink = { version = "5.0.0-alpha", 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"] } diff --git a/contracts/Cargo.toml b/contracts/Cargo.toml index 2f00de381..5d59a27dd 100644 --- a/contracts/Cargo.toml +++ b/contracts/Cargo.toml @@ -15,7 +15,7 @@ categories = ["no-std", "embedded"] include = ["Cargo.toml", "src/**/*.rs"] [dependencies] -ink = { version = "4.3.0", default-features = false} +ink = { version = "5.0.0-alpha", 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 } hex = { version = "0.4.3", default-features = false, features = ["alloc"] } diff --git a/example_project_structure/Cargo.toml b/example_project_structure/Cargo.toml index 19fcce438..7b6de5a3d 100644 --- a/example_project_structure/Cargo.toml +++ b/example_project_structure/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Brushfam "] edition = "2021" [dependencies] -ink = { version = "4.3.0", default-features = false} +ink = { version = "5.0.0-alpha", 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/example_project_structure/contracts/lending/Cargo.toml b/example_project_structure/contracts/lending/Cargo.toml index a22f702e8..6a552dcf6 100644 --- a/example_project_structure/contracts/lending/Cargo.toml +++ b/example_project_structure/contracts/lending/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Brushfam "] edition = "2021" [dependencies] -ink = { version = "4.3.0", default-features = false} +ink = { version = "5.0.0-alpha", 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/example_project_structure/contracts/loan/Cargo.toml b/example_project_structure/contracts/loan/Cargo.toml index d69d358bc..b3ddaaceb 100644 --- a/example_project_structure/contracts/loan/Cargo.toml +++ b/example_project_structure/contracts/loan/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Brushfam "] edition = "2021" [dependencies] -ink = { version = "4.3.0", default-features = false} +ink = { version = "5.0.0-alpha", 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/example_project_structure/contracts/shares/Cargo.toml b/example_project_structure/contracts/shares/Cargo.toml index caa6e9914..342e93b82 100644 --- a/example_project_structure/contracts/shares/Cargo.toml +++ b/example_project_structure/contracts/shares/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Brushfam "] edition = "2021" [dependencies] -ink = { version = "4.3.0", default-features = false} +ink = { version = "5.0.0-alpha", 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/example_project_structure/contracts/stable_coin/Cargo.toml b/example_project_structure/contracts/stable_coin/Cargo.toml index 2f4b17c89..45442a0c8 100644 --- a/example_project_structure/contracts/stable_coin/Cargo.toml +++ b/example_project_structure/contracts/stable_coin/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Brushfam "] edition = "2021" [dependencies] -ink = { version = "4.3.0", default-features = false} +ink = { version = "5.0.0-alpha", 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/access_control/Cargo.toml b/examples/access_control/Cargo.toml index 5dcbcbe88..03f49d8e0 100644 --- a/examples/access_control/Cargo.toml +++ b/examples/access_control/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Brushfam "] edition = "2021" [dependencies] -ink = { version = "4.3.0", default-features = false} +ink = { version = "5.0.0-alpha", 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/access_control_extensions/enumerable/Cargo.toml b/examples/access_control_extensions/enumerable/Cargo.toml index 472fa7459..d94327d63 100644 --- a/examples/access_control_extensions/enumerable/Cargo.toml +++ b/examples/access_control_extensions/enumerable/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Brushfam "] edition = "2021" [dependencies] -ink = { version = "4.3.0", default-features = false} +ink = { version = "5.0.0-alpha", 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/diamond/Cargo.toml b/examples/diamond/Cargo.toml index 86b8abf32..8bf0e2a3a 100644 --- a/examples/diamond/Cargo.toml +++ b/examples/diamond/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Brushfam "] edition = "2021" [dependencies] -ink = { version = "4.3.0", default-features = false} +ink = { version = "5.0.0-alpha", 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/diamond/diamond_caller/Cargo.toml b/examples/diamond/diamond_caller/Cargo.toml index f3ef21912..a019eeea1 100644 --- a/examples/diamond/diamond_caller/Cargo.toml +++ b/examples/diamond/diamond_caller/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Brushfam "] edition = "2021" [dependencies] -ink = { version = "4.3.0", default-features = false} +ink = { version = "5.0.0-alpha", 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/diamond/psp22_facet_v1/Cargo.toml b/examples/diamond/psp22_facet_v1/Cargo.toml index bddaaac75..31217ec1c 100644 --- a/examples/diamond/psp22_facet_v1/Cargo.toml +++ b/examples/diamond/psp22_facet_v1/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Brushfam "] edition = "2021" [dependencies] -ink = { version = "4.3.0", default-features = false} +ink = { version = "5.0.0-alpha", 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/diamond/psp22_facet_v2/Cargo.toml b/examples/diamond/psp22_facet_v2/Cargo.toml index 6a939c2dd..ce65f5567 100644 --- a/examples/diamond/psp22_facet_v2/Cargo.toml +++ b/examples/diamond/psp22_facet_v2/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Brushfam "] edition = "2021" [dependencies] -ink = { version = "4.3.0", default-features = false} +ink = { version = "5.0.0-alpha", 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/diamond/psp22_metadata_facet/Cargo.toml b/examples/diamond/psp22_metadata_facet/Cargo.toml index 936d9e1b3..3fe7d44d3 100644 --- a/examples/diamond/psp22_metadata_facet/Cargo.toml +++ b/examples/diamond/psp22_metadata_facet/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Brushfam "] edition = "2021" [dependencies] -ink = { version = "4.3.0", default-features = false} +ink = { version = "5.0.0-alpha", 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/flash-borrower/Cargo.toml b/examples/flash-borrower/Cargo.toml index d8a02cd62..a285c1d2c 100644 --- a/examples/flash-borrower/Cargo.toml +++ b/examples/flash-borrower/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Brushfam "] edition = "2021" [dependencies] -ink = { version = "4.3.0", default-features = false} +ink = { version = "5.0.0-alpha", 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/governance/extensions/timelock_controller/Cargo.toml b/examples/governance/extensions/timelock_controller/Cargo.toml index a2ccc596e..6d369499a 100644 --- a/examples/governance/extensions/timelock_controller/Cargo.toml +++ b/examples/governance/extensions/timelock_controller/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Brushfam "] edition = "2021" [dependencies] -ink = { version = "4.3.0", default-features = false} +ink = { version = "5.0.0-alpha", 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/ownable/Cargo.toml b/examples/ownable/Cargo.toml index 4b4a75d89..96e48e33d 100644 --- a/examples/ownable/Cargo.toml +++ b/examples/ownable/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Brushfam "] edition = "2021" [dependencies] -ink = { version = "4.3.0", default-features = false} +ink = { version = "5.0.0-alpha", 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/pausable/Cargo.toml b/examples/pausable/Cargo.toml index 245b3007d..270a0cd83 100644 --- a/examples/pausable/Cargo.toml +++ b/examples/pausable/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Brushfam "] edition = "2021" [dependencies] -ink = { version = "4.3.0", default-features = false} +ink = { version = "5.0.0-alpha", 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/payment_splitter/Cargo.toml b/examples/payment_splitter/Cargo.toml index b8b738183..bed03b177 100644 --- a/examples/payment_splitter/Cargo.toml +++ b/examples/payment_splitter/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Brushfam "] edition = "2021" [dependencies] -ink = { version = "4.3.0", default-features = false} +ink = { version = "5.0.0-alpha", 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/proxy/Cargo.toml b/examples/proxy/Cargo.toml index cbe8912dc..43eee3910 100644 --- a/examples/proxy/Cargo.toml +++ b/examples/proxy/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Brushfam "] edition = "2021" [dependencies] -ink = { version = "4.3.0", default-features = false} +ink = { version = "5.0.0-alpha", 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/proxy/psp22_metadata_upgradeable/Cargo.toml b/examples/proxy/psp22_metadata_upgradeable/Cargo.toml index 6b0b16f82..840592c75 100644 --- a/examples/proxy/psp22_metadata_upgradeable/Cargo.toml +++ b/examples/proxy/psp22_metadata_upgradeable/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Brushfam "] edition = "2021" [dependencies] -ink = { version = "4.3.0", default-features = false} +ink = { version = "5.0.0-alpha", 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/proxy/psp22_upgradeable/Cargo.toml b/examples/proxy/psp22_upgradeable/Cargo.toml index 41f5da638..3c769cbc7 100644 --- a/examples/proxy/psp22_upgradeable/Cargo.toml +++ b/examples/proxy/psp22_upgradeable/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Brushfam "] edition = "2021" [dependencies] -ink = { version = "4.3.0", default-features = false} +ink = { version = "5.0.0-alpha", 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/psp22/Cargo.toml b/examples/psp22/Cargo.toml index 8827400b3..6bd39adde 100644 --- a/examples/psp22/Cargo.toml +++ b/examples/psp22/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Brushfam "] edition = "2021" [dependencies] -ink = { version = "4.3.0", default-features = false} +ink = { version = "5.0.0-alpha", 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/psp22_extensions/burnable/Cargo.toml b/examples/psp22_extensions/burnable/Cargo.toml index bae577356..ae6d01111 100644 --- a/examples/psp22_extensions/burnable/Cargo.toml +++ b/examples/psp22_extensions/burnable/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Brushfam "] edition = "2021" [dependencies] -ink = { version = "4.3.0", default-features = false} +ink = { version = "5.0.0-alpha", 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/psp22_extensions/capped/Cargo.toml b/examples/psp22_extensions/capped/Cargo.toml index f3f1af6af..85120a2dc 100644 --- a/examples/psp22_extensions/capped/Cargo.toml +++ b/examples/psp22_extensions/capped/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Brushfam "] edition = "2021" [dependencies] -ink = { version = "4.3.0", default-features = false} +ink = { version = "5.0.0-alpha", 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/psp22_extensions/flashmint/Cargo.toml b/examples/psp22_extensions/flashmint/Cargo.toml index 51c51c234..2d6682e75 100644 --- a/examples/psp22_extensions/flashmint/Cargo.toml +++ b/examples/psp22_extensions/flashmint/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Brushfam "] edition = "2021" [dependencies] -ink = { version = "4.3.0", default-features = false} +ink = { version = "5.0.0-alpha", 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/psp22_extensions/metadata/Cargo.toml b/examples/psp22_extensions/metadata/Cargo.toml index 602a4eeb8..1733da034 100644 --- a/examples/psp22_extensions/metadata/Cargo.toml +++ b/examples/psp22_extensions/metadata/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Brushfam "] edition = "2021" [dependencies] -ink = { version = "4.3.0", default-features = false} +ink = { version = "5.0.0-alpha", 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/psp22_extensions/mintable/Cargo.toml b/examples/psp22_extensions/mintable/Cargo.toml index 5fcb91f3c..3ddcbc33b 100644 --- a/examples/psp22_extensions/mintable/Cargo.toml +++ b/examples/psp22_extensions/mintable/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Brushfam "] edition = "2021" [dependencies] -ink = { version = "4.3.0", default-features = false} +ink = { version = "5.0.0-alpha", 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/psp22_extensions/permit/Cargo.toml b/examples/psp22_extensions/permit/Cargo.toml index b750335bd..e81238173 100644 --- a/examples/psp22_extensions/permit/Cargo.toml +++ b/examples/psp22_extensions/permit/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Brushfam "] edition = "2021" [dependencies] -ink = { version = "4.3.0", default-features = false} +ink = { version = "5.0.0-alpha", 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/psp22_extensions/wrapper/Cargo.toml b/examples/psp22_extensions/wrapper/Cargo.toml index 15a31f1a1..2c595e717 100644 --- a/examples/psp22_extensions/wrapper/Cargo.toml +++ b/examples/psp22_extensions/wrapper/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Brushfam "] edition = "2021" [dependencies] -ink = { version = "4.3.0", default-features = false} +ink = { version = "5.0.0-alpha", 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/psp22_pallet/Cargo.toml b/examples/psp22_pallet/Cargo.toml index ffc759494..e7f9d359b 100644 --- a/examples/psp22_pallet/Cargo.toml +++ b/examples/psp22_pallet/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Brushfam "] edition = "2021" [dependencies] -ink = { version = "4.3.0", default-features = false} +ink = { version = "5.0.0-alpha", 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/psp22_pallet_extensions/burnable/Cargo.toml b/examples/psp22_pallet_extensions/burnable/Cargo.toml index 797f9fe56..ae335e5db 100644 --- a/examples/psp22_pallet_extensions/burnable/Cargo.toml +++ b/examples/psp22_pallet_extensions/burnable/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Brushfam "] edition = "2021" [dependencies] -ink = { version = "4.3.0", default-features = false} +ink = { version = "5.0.0-alpha", 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/psp22_pallet_extensions/metadata/Cargo.toml b/examples/psp22_pallet_extensions/metadata/Cargo.toml index f3b3a2aa3..eabcae72b 100644 --- a/examples/psp22_pallet_extensions/metadata/Cargo.toml +++ b/examples/psp22_pallet_extensions/metadata/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Brushfam "] edition = "2021" [dependencies] -ink = { version = "4.3.0", default-features = false} +ink = { version = "5.0.0-alpha", 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/psp22_pallet_extensions/mintable/Cargo.toml b/examples/psp22_pallet_extensions/mintable/Cargo.toml index a63d6dbbf..13b88fa75 100644 --- a/examples/psp22_pallet_extensions/mintable/Cargo.toml +++ b/examples/psp22_pallet_extensions/mintable/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Brushfam "] edition = "2021" [dependencies] -ink = { version = "4.3.0", default-features = false} +ink = { version = "5.0.0-alpha", 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/psp22_utils/token_timelock/Cargo.toml b/examples/psp22_utils/token_timelock/Cargo.toml index 935e73285..12bae84a4 100644 --- a/examples/psp22_utils/token_timelock/Cargo.toml +++ b/examples/psp22_utils/token_timelock/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Brushfam "] edition = "2021" [dependencies] -ink = { version = "4.3.0", default-features = false} +ink = { version = "5.0.0-alpha", 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/psp34/Cargo.toml b/examples/psp34/Cargo.toml index 57fb08137..e796e1bce 100644 --- a/examples/psp34/Cargo.toml +++ b/examples/psp34/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Brushfam "] edition = "2021" [dependencies] -ink = { version = "4.3.0", default-features = false} +ink = { version = "5.0.0-alpha", 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/psp34_extensions/burnable/Cargo.toml b/examples/psp34_extensions/burnable/Cargo.toml index 5d7b8eef5..d7d415a24 100644 --- a/examples/psp34_extensions/burnable/Cargo.toml +++ b/examples/psp34_extensions/burnable/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Brushfam "] edition = "2021" [dependencies] -ink = { version = "4.3.0", default-features = false} +ink = { version = "5.0.0-alpha", 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/psp34_extensions/enumerable/Cargo.toml b/examples/psp34_extensions/enumerable/Cargo.toml index 557225db1..5023977d8 100644 --- a/examples/psp34_extensions/enumerable/Cargo.toml +++ b/examples/psp34_extensions/enumerable/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Brushfam "] edition = "2021" [dependencies] -ink = { version = "4.3.0", default-features = false} +ink = { version = "5.0.0-alpha", 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/psp34_extensions/metadata/Cargo.toml b/examples/psp34_extensions/metadata/Cargo.toml index 7dc26f7f7..d956740db 100644 --- a/examples/psp34_extensions/metadata/Cargo.toml +++ b/examples/psp34_extensions/metadata/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Brushfam "] edition = "2021" [dependencies] -ink = { version = "4.3.0", default-features = false} +ink = { version = "5.0.0-alpha", 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/psp34_extensions/mintable/Cargo.toml b/examples/psp34_extensions/mintable/Cargo.toml index ec19d9494..3671d9934 100644 --- a/examples/psp34_extensions/mintable/Cargo.toml +++ b/examples/psp34_extensions/mintable/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Brushfam "] edition = "2021" [dependencies] -ink = { version = "4.3.0", default-features = false} +ink = { version = "5.0.0-alpha", 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/psp37/Cargo.toml b/examples/psp37/Cargo.toml index 5e787a6ac..bc9e86d45 100644 --- a/examples/psp37/Cargo.toml +++ b/examples/psp37/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Brushfam "] edition = "2021" [dependencies] -ink = { version = "4.3.0", default-features = false} +ink = { version = "5.0.0-alpha", 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/psp37_extensions/batch/Cargo.toml b/examples/psp37_extensions/batch/Cargo.toml index 642f09b3a..229cf3d43 100644 --- a/examples/psp37_extensions/batch/Cargo.toml +++ b/examples/psp37_extensions/batch/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Brushfam "] edition = "2021" [dependencies] -ink = { version = "4.3.0", default-features = false} +ink = { version = "5.0.0-alpha", 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/psp37_extensions/burnable/Cargo.toml b/examples/psp37_extensions/burnable/Cargo.toml index 438c5aaf6..c8c3aa79d 100644 --- a/examples/psp37_extensions/burnable/Cargo.toml +++ b/examples/psp37_extensions/burnable/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Brushfam "] edition = "2021" [dependencies] -ink = { version = "4.3.0", default-features = false} +ink = { version = "5.0.0-alpha", 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/psp37_extensions/enumerable/Cargo.toml b/examples/psp37_extensions/enumerable/Cargo.toml index 4056e379a..977dda258 100644 --- a/examples/psp37_extensions/enumerable/Cargo.toml +++ b/examples/psp37_extensions/enumerable/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Brushfam "] edition = "2021" [dependencies] -ink = { version = "4.3.0", default-features = false} +ink = { version = "5.0.0-alpha", 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/psp37_extensions/metadata/Cargo.toml b/examples/psp37_extensions/metadata/Cargo.toml index 8db1248ba..f35a64025 100644 --- a/examples/psp37_extensions/metadata/Cargo.toml +++ b/examples/psp37_extensions/metadata/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Brushfam "] edition = "2021" [dependencies] -ink = { version = "4.3.0", default-features = false} +ink = { version = "5.0.0-alpha", 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/psp37_extensions/mintable/Cargo.toml b/examples/psp37_extensions/mintable/Cargo.toml index 00c549877..38db6e2b6 100644 --- a/examples/psp37_extensions/mintable/Cargo.toml +++ b/examples/psp37_extensions/mintable/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Brushfam "] edition = "2021" [dependencies] -ink = { version = "4.3.0", default-features = false} +ink = { version = "5.0.0-alpha", 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/reentrancy_guard/Cargo.toml b/examples/reentrancy_guard/Cargo.toml index 0fb7976d2..332f861da 100644 --- a/examples/reentrancy_guard/Cargo.toml +++ b/examples/reentrancy_guard/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Brushfam "] edition = "2021" [dependencies] -ink = { version = "4.3.0", default-features = false} +ink = { version = "5.0.0-alpha", 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/reentrancy_guard/contracts/flip_on_me/Cargo.toml b/examples/reentrancy_guard/contracts/flip_on_me/Cargo.toml index 4d1d983e6..33256d11e 100644 --- a/examples/reentrancy_guard/contracts/flip_on_me/Cargo.toml +++ b/examples/reentrancy_guard/contracts/flip_on_me/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Brushfam "] edition = "2021" [dependencies] -ink = { version = "4.3.0", default-features = false} +ink = { version = "5.0.0-alpha", 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/reentrancy_guard/contracts/flipper/Cargo.toml b/examples/reentrancy_guard/contracts/flipper/Cargo.toml index 34483b618..489f73c93 100644 --- a/examples/reentrancy_guard/contracts/flipper/Cargo.toml +++ b/examples/reentrancy_guard/contracts/flipper/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Brushfam "] edition = "2021" [dependencies] -ink = { version = "4.3.0", default-features = false} +ink = { version = "5.0.0-alpha", 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/upgradeable/v1/Cargo.toml b/examples/upgradeable/v1/Cargo.toml index f5cade5be..fc600f47b 100644 --- a/examples/upgradeable/v1/Cargo.toml +++ b/examples/upgradeable/v1/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Brushfam "] edition = "2021" [dependencies] -ink = { version = "4.3.0", default-features = false} +ink = { version = "5.0.0-alpha", 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/upgradeable/v2/Cargo.toml b/examples/upgradeable/v2/Cargo.toml index 0b4104c36..66c1ebb69 100644 --- a/examples/upgradeable/v2/Cargo.toml +++ b/examples/upgradeable/v2/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Brushfam "] edition = "2021" [dependencies] -ink = { version = "4.3.0", default-features = false} +ink = { version = "5.0.0-alpha", 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/lang/Cargo.toml b/lang/Cargo.toml index 0c54cbd33..7a330444f 100644 --- a/lang/Cargo.toml +++ b/lang/Cargo.toml @@ -16,7 +16,7 @@ include = ["Cargo.toml", "src/**/*.rs"] [dependencies] openbrush_lang_macro = { version = "~4.0.0-beta.1", path = "macro", default-features = false } -ink = { version = "4.3.0", default-features = false} +ink = { version = "5.0.0-alpha", 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"] } diff --git a/lang/macro/Cargo.toml b/lang/macro/Cargo.toml index 9d1383f29..f430e49a0 100644 --- a/lang/macro/Cargo.toml +++ b/lang/macro/Cargo.toml @@ -20,7 +20,7 @@ proc-macro2 = "1" synstructure = "0.12" [dev-dependencies] -ink = { version = "4.3.0", default-features = false} +ink = { version = "5.0.0-alpha", 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"] } diff --git a/lang/src/storage/mapping.rs b/lang/src/storage/mapping.rs index 548e5e67f..3661c478b 100644 --- a/lang/src/storage/mapping.rs +++ b/lang/src/storage/mapping.rs @@ -228,7 +228,7 @@ const _: () = { TGV: 'static, { fn layout(_: &Key) -> Layout { - Layout::Root(RootLayout::new( + Layout::Root(RootLayout::new::( LayoutKey::from(&KeyType::KEY), ::layout(&KeyType::KEY), )) diff --git a/lang/src/storage/multi_mapping.rs b/lang/src/storage/multi_mapping.rs index fb123bd60..409ff4cff 100644 --- a/lang/src/storage/multi_mapping.rs +++ b/lang/src/storage/multi_mapping.rs @@ -358,7 +358,7 @@ const _: () = { TGV: 'static, { fn layout(_: &Key) -> Layout { - Layout::Root(RootLayout::new( + Layout::Root(RootLayout::new::( LayoutKey::from(&KeyType::KEY), ::layout(&KeyType::KEY), ))