From 002f85b86703ebd00eac90f7b6666b84fb557980 Mon Sep 17 00:00:00 2001 From: xgreenx Date: Sat, 21 May 2022 20:29:16 +0100 Subject: [PATCH 1/5] OpenBrush Release 1.7.0 --- Cargo.toml | 2 +- contracts/Cargo.toml | 14 +++++++------- contracts/derive/Cargo.toml | 2 +- docs/docs/smart-contracts/PSP1155/psp1155.md | 2 +- .../smart-contracts/PSP22/Extensions/capped.md | 2 +- .../smart-contracts/PSP22/Extensions/pausable.md | 2 +- .../smart-contracts/PSP22/Extensions/wrapper.md | 2 +- .../PSP22/Utils/token-timelock.md | 2 +- docs/docs/smart-contracts/PSP22/psp22.md | 2 +- .../smart-contracts/PSP34/Extensions/metadata.md | 2 +- docs/docs/smart-contracts/PSP34/psp34.md | 2 +- docs/docs/smart-contracts/access-control.md | 2 +- docs/docs/smart-contracts/diamond.md | 2 +- docs/docs/smart-contracts/example/contract.md | 12 ++++++------ docs/docs/smart-contracts/overview.md | 14 +++++++------- docs/docs/smart-contracts/ownable.md | 2 +- docs/docs/smart-contracts/pausable.md | 2 +- docs/docs/smart-contracts/payment-splitter.md | 2 +- docs/docs/smart-contracts/proxy.md | 2 +- docs/docs/smart-contracts/reentrancy-guard.md | 14 +++++++------- docs/docs/smart-contracts/timelock-controller.md | 2 +- example_project_structure/Cargo.toml | 14 +++++++------- .../contracts/lending/Cargo.toml | 14 +++++++------- .../contracts/loan/Cargo.toml | 14 +++++++------- .../contracts/shares/Cargo.toml | 14 +++++++------- .../contracts/stable_coin/Cargo.toml | 14 +++++++------- example_project_structure/derive/Cargo.toml | 2 +- examples/access_control/Cargo.toml | 14 +++++++------- examples/diamond/Cargo.toml | 14 +++++++------- examples/diamond/diamond_caller/Cargo.toml | 14 +++++++------- examples/diamond/psp22_facet_v1/Cargo.toml | 14 +++++++------- examples/diamond/psp22_facet_v2/Cargo.toml | 14 +++++++------- examples/diamond/psp22_metadata_facet/Cargo.toml | 14 +++++++------- examples/ownable/Cargo.toml | 14 +++++++------- examples/pausable/Cargo.toml | 14 +++++++------- examples/payment_splitter/Cargo.toml | 14 +++++++------- examples/proxy/Cargo.toml | 14 +++++++------- .../proxy/psp22_metadata_upgradeable/Cargo.toml | 14 +++++++------- examples/proxy/psp22_upgradeable/Cargo.toml | 14 +++++++------- examples/psp1155/Cargo.toml | 14 +++++++------- examples/psp1155_extensions/burnable/Cargo.toml | 14 +++++++------- examples/psp1155_extensions/metadata/Cargo.toml | 14 +++++++------- examples/psp1155_extensions/mintable/Cargo.toml | 14 +++++++------- examples/psp22/Cargo.toml | 14 +++++++------- examples/psp22_extensions/burnable/Cargo.toml | 14 +++++++------- examples/psp22_extensions/capped/Cargo.toml | 14 +++++++------- examples/psp22_extensions/flashmint/Cargo.toml | 14 +++++++------- examples/psp22_extensions/metadata/Cargo.toml | 14 +++++++------- examples/psp22_extensions/mintable/Cargo.toml | 14 +++++++------- examples/psp22_extensions/pausable/Cargo.toml | 14 +++++++------- examples/psp22_extensions/wrapper/Cargo.toml | 14 +++++++------- examples/psp22_utils/token_timelock/Cargo.toml | 14 +++++++------- examples/psp34/Cargo.toml | 14 +++++++------- examples/psp34_extensions/burnable/Cargo.toml | 14 +++++++------- examples/psp34_extensions/enumerable/Cargo.toml | 14 +++++++------- examples/psp34_extensions/metadata/Cargo.toml | 14 +++++++------- examples/psp34_extensions/mintable/Cargo.toml | 14 +++++++------- examples/reentrancy_guard/Cargo.toml | 14 +++++++------- .../contracts/flip_on_me/Cargo.toml | 14 +++++++------- .../contracts/flipper/Cargo.toml | 14 +++++++------- examples/timelock_controller/Cargo.toml | 14 +++++++------- mock/flash-borrower/Cargo.toml | 14 +++++++------- mock/psp1155-receiver/Cargo.toml | 14 +++++++------- mock/psp22-receiver/Cargo.toml | 14 +++++++------- mock/psp34-receiver/Cargo.toml | 14 +++++++------- utils/brush_derive/Cargo.toml | 2 +- utils/brush_lang/Cargo.toml | 10 +++++----- utils/brush_lang/proc_macros/Cargo.toml | 16 ++++++++-------- utils/brush_lang/test_utils/Cargo.toml | 2 +- 69 files changed, 361 insertions(+), 361 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 9dee22a54..6016b38e4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,7 +13,7 @@ exclude = [ [package] name = "brush" -version = "1.6.1" +version = "1.7.0" authors = ["Supercolony "] edition = "2018" diff --git a/contracts/Cargo.toml b/contracts/Cargo.toml index f229601ae..2413c82da 100644 --- a/contracts/Cargo.toml +++ b/contracts/Cargo.toml @@ -1,16 +1,16 @@ [package] name = "contracts" -version = "1.6.1" +version = "1.7.0" authors = ["Supercolony "] edition = "2021" [dependencies] -ink_primitives = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_metadata = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false, features = ["derive"], optional = true } -ink_env = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_storage = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_lang = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_prelude = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } +ink_primitives = { version = "3.1.0", default-features = false } +ink_metadata = { version = "3.1.0", default-features = false, features = ["derive"], optional = true } +ink_env = { version = "3.1.0", default-features = false } +ink_storage = { version = "3.1.0", default-features = false } +ink_lang = { version = "3.1.0", default-features = false } +ink_prelude = { version = "3.1.0", default-features = false } scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] } scale-info = { version = "2", default-features = false, features = ["derive"], optional = true } diff --git a/contracts/derive/Cargo.toml b/contracts/derive/Cargo.toml index d6f2599bf..ceada811c 100644 --- a/contracts/derive/Cargo.toml +++ b/contracts/derive/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "derive" -version = "1.6.1" +version = "1.7.0" authors = ["Supercolony "] edition = "2021" diff --git a/docs/docs/smart-contracts/PSP1155/psp1155.md b/docs/docs/smart-contracts/PSP1155/psp1155.md index 2d0a3238c..6e3364d25 100644 --- a/docs/docs/smart-contracts/PSP1155/psp1155.md +++ b/docs/docs/smart-contracts/PSP1155/psp1155.md @@ -11,7 +11,7 @@ Include `brush` as dependency in the cargo file or you can use [default `Cargo.t After you need to enable default implementation of PSP1155 via `brush` feature. ```toml -brush = { tag = "v1.6.1", git = "https://github.com/Supercolony-net/openbrush-contracts", default-features = false, features = ["psp1155"] } +brush = { tag = "v1.7.0", git = "https://github.com/Supercolony-net/openbrush-contracts", default-features = false, features = ["psp1155"] } ``` ## Step 2: Add imports and enable unstable feature diff --git a/docs/docs/smart-contracts/PSP22/Extensions/capped.md b/docs/docs/smart-contracts/PSP22/Extensions/capped.md index 12e7b4328..054bc94df 100644 --- a/docs/docs/smart-contracts/PSP22/Extensions/capped.md +++ b/docs/docs/smart-contracts/PSP22/Extensions/capped.md @@ -11,7 +11,7 @@ Include `brush` as dependency in the cargo file or you can use [default `Cargo.t After you need to enable default implementation of PSP22 via `brush` features. ```toml -brush = { tag = "v1.6.1", git = "https://github.com/Supercolony-net/openbrush-contracts", default-features = false, features = ["psp22"] } +brush = { tag = "v1.7.0", git = "https://github.com/Supercolony-net/openbrush-contracts", default-features = false, features = ["psp22"] } ``` ## Step 2: Add imports and enable unstable feature diff --git a/docs/docs/smart-contracts/PSP22/Extensions/pausable.md b/docs/docs/smart-contracts/PSP22/Extensions/pausable.md index 3b353adc2..c2b634f4d 100644 --- a/docs/docs/smart-contracts/PSP22/Extensions/pausable.md +++ b/docs/docs/smart-contracts/PSP22/Extensions/pausable.md @@ -11,7 +11,7 @@ Include `brush` as dependency in the cargo file or you can use [default `Cargo.t After you need to enable default implementation of PSP22 and Pausable via `brush` features. ```toml -brush = { tag = "v1.6.1", git = "https://github.com/Supercolony-net/openbrush-contracts", default-features = false, features = ["psp22", "pausable"] } +brush = { tag = "v1.7.0", git = "https://github.com/Supercolony-net/openbrush-contracts", default-features = false, features = ["psp22", "pausable"] } ``` ## Step 2: Add imports and enable unstable feature diff --git a/docs/docs/smart-contracts/PSP22/Extensions/wrapper.md b/docs/docs/smart-contracts/PSP22/Extensions/wrapper.md index 496a8576c..118bc535b 100644 --- a/docs/docs/smart-contracts/PSP22/Extensions/wrapper.md +++ b/docs/docs/smart-contracts/PSP22/Extensions/wrapper.md @@ -11,7 +11,7 @@ Include `brush` as dependency in the cargo file or you can use [default `Cargo.t After you need to enable default implementation of PSP22 via `brush` features. ```toml -brush = { tag = "v1.6.1", git = "https://github.com/Supercolony-net/openbrush-contracts", default-features = false, features = ["psp22"] } +brush = { tag = "v1.7.0", git = "https://github.com/Supercolony-net/openbrush-contracts", default-features = false, features = ["psp22"] } ``` ## Step 2: Add imports and enable unstable feature diff --git a/docs/docs/smart-contracts/PSP22/Utils/token-timelock.md b/docs/docs/smart-contracts/PSP22/Utils/token-timelock.md index ecf6a9847..b15caab16 100644 --- a/docs/docs/smart-contracts/PSP22/Utils/token-timelock.md +++ b/docs/docs/smart-contracts/PSP22/Utils/token-timelock.md @@ -11,7 +11,7 @@ Include `brush` as dependency in the cargo file or you can use [default `Cargo.t After you need to enable default implementation of PSP22 via `brush` features. ```toml -brush = { tag = "v1.6.1", git = "https://github.com/Supercolony-net/openbrush-contracts", default-features = false, features = ["psp22"] } +brush = { tag = "v1.7.0", git = "https://github.com/Supercolony-net/openbrush-contracts", default-features = false, features = ["psp22"] } ``` ## Step 2: Add imports and enable unstable feature diff --git a/docs/docs/smart-contracts/PSP22/psp22.md b/docs/docs/smart-contracts/PSP22/psp22.md index 5edaee9ab..a8d4c7586 100644 --- a/docs/docs/smart-contracts/PSP22/psp22.md +++ b/docs/docs/smart-contracts/PSP22/psp22.md @@ -11,7 +11,7 @@ Include `brush` as dependency in the cargo file or you can use [default `Cargo.t After you need to enable default implementation of PSP22 via `brush` features. ```toml -brush = { tag = "v1.6.1", git = "https://github.com/Supercolony-net/openbrush-contracts", default-features = false, features = ["psp22"] } +brush = { tag = "v1.7.0", git = "https://github.com/Supercolony-net/openbrush-contracts", default-features = false, features = ["psp22"] } ``` ## Step 2: Add imports and enable unstable feature diff --git a/docs/docs/smart-contracts/PSP34/Extensions/metadata.md b/docs/docs/smart-contracts/PSP34/Extensions/metadata.md index 88d0dbcfc..91f6e9453 100644 --- a/docs/docs/smart-contracts/PSP34/Extensions/metadata.md +++ b/docs/docs/smart-contracts/PSP34/Extensions/metadata.md @@ -11,7 +11,7 @@ Include `brush` as dependency in the cargo file or you can use [default `Cargo.t After you need to enable default implementation of PSP34 via `brush` features. ```toml -brush = { tag = "v1.6.1", git = "https://github.com/Supercolony-net/openbrush-contracts", default-features = false, features = ["psp34"] } +brush = { tag = "v1.7.0", git = "https://github.com/Supercolony-net/openbrush-contracts", default-features = false, features = ["psp34"] } ``` ## Step 2: Add imports and enable unstable feature diff --git a/docs/docs/smart-contracts/PSP34/psp34.md b/docs/docs/smart-contracts/PSP34/psp34.md index 4f5ca6737..4008b5eef 100644 --- a/docs/docs/smart-contracts/PSP34/psp34.md +++ b/docs/docs/smart-contracts/PSP34/psp34.md @@ -11,7 +11,7 @@ Include `brush` as dependency in the cargo file or you can use [default `Cargo.t After you need to enable default implementation of PSP34 via `brush` features. ```toml -brush = { tag = "v1.6.1", git = "https://github.com/Supercolony-net/openbrush-contracts", default-features = false, features = ["psp34"] } +brush = { tag = "v1.7.0", git = "https://github.com/Supercolony-net/openbrush-contracts", default-features = false, features = ["psp34"] } ``` ## Step 2: Add imports and enable unstable feature diff --git a/docs/docs/smart-contracts/access-control.md b/docs/docs/smart-contracts/access-control.md index f81935e1f..541c818e0 100644 --- a/docs/docs/smart-contracts/access-control.md +++ b/docs/docs/smart-contracts/access-control.md @@ -11,7 +11,7 @@ Include `brush` as dependency in the cargo file or you can use [default `Cargo.t After you need to enable default implementation of Access Control via `brush` features. ```toml -brush = { tag = "v1.6.1", git = "https://github.com/Supercolony-net/openbrush-contracts", default-features = false, features = ["access_control"] } +brush = { tag = "v1.7.0", git = "https://github.com/Supercolony-net/openbrush-contracts", default-features = false, features = ["access_control"] } ``` ## Step 2: Add imports and enable unstable feature diff --git a/docs/docs/smart-contracts/diamond.md b/docs/docs/smart-contracts/diamond.md index b4847a059..fe904ff96 100644 --- a/docs/docs/smart-contracts/diamond.md +++ b/docs/docs/smart-contracts/diamond.md @@ -11,7 +11,7 @@ Include `brush` as dependency in the cargo file or you can use [default `Cargo.t After you need to enable default implementation of Diamond Standard via `brush` features. ```toml -brush = { tag = "v1.6.1", git = "https://github.com/Supercolony-net/openbrush-contracts", default-features = false, features = ["diamond"] } +brush = { tag = "v1.7.0", git = "https://github.com/Supercolony-net/openbrush-contracts", default-features = false, features = ["diamond"] } ``` ## Step 2: Add imports and enable unstable feature diff --git a/docs/docs/smart-contracts/example/contract.md b/docs/docs/smart-contracts/example/contract.md index 3aabe23c1..9fae1359a 100644 --- a/docs/docs/smart-contracts/example/contract.md +++ b/docs/docs/smart-contracts/example/contract.md @@ -21,12 +21,12 @@ authors = ["Supercolony "] edition = "2021" [dependencies] -ink_primitives = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_metadata = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false, features = ["derive"], optional = true } -ink_env = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_storage = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_lang = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_prelude = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } +ink_primitives = { version = "3.1.0", default-features = false } +ink_metadata = { version = "3.1.0", default-features = false, features = ["derive"], optional = true } +ink_env = { version = "3.1.0", default-features = false } +ink_storage = { version = "3.1.0", default-features = false } +ink_lang = { version = "3.1.0", default-features = false } +ink_prelude = { version = "3.1.0", default-features = false } scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] } scale-info = { version = "2", default-features = false, features = ["derive"], optional = true } diff --git a/docs/docs/smart-contracts/overview.md b/docs/docs/smart-contracts/overview.md index b767f1463..e9bc3c53a 100644 --- a/docs/docs/smart-contracts/overview.md +++ b/docs/docs/smart-contracts/overview.md @@ -12,18 +12,18 @@ So you should use the same version of the ink! across your project. ```toml [dependencies] # Import of all ink! crates -ink_primitives = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_metadata = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false, features = ["derive"], optional = true } -ink_env = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_storage = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_lang = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_prelude = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } +ink_primitives = { version = "3.1.0", default-features = false } +ink_metadata = { version = "3.1.0", default-features = false, features = ["derive"], optional = true } +ink_env = { version = "3.1.0", default-features = false } +ink_storage = { version = "3.1.0", default-features = false } +ink_lang = { version = "3.1.0", default-features = false } +ink_prelude = { version = "3.1.0", default-features = false } scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] } scale-info = { version = "2", default-features = false, features = ["derive"], optional = true } # Brush dependency -brush = { tag = "v1.6.1", git = "https://github.com/Supercolony-net/openbrush-contracts", default-features = false } +brush = { tag = "v1.7.0", git = "https://github.com/Supercolony-net/openbrush-contracts", default-features = false } [features] default = ["std"] diff --git a/docs/docs/smart-contracts/ownable.md b/docs/docs/smart-contracts/ownable.md index ec800f569..d9ae9f5d2 100644 --- a/docs/docs/smart-contracts/ownable.md +++ b/docs/docs/smart-contracts/ownable.md @@ -11,7 +11,7 @@ Include `brush` as dependency in the cargo file or you can use [default `Cargo.t After you need to enable default implementation of Ownable via `brush` features. ```toml -brush = { tag = "v1.6.1", git = "https://github.com/Supercolony-net/openbrush-contracts", default-features = false, features = ["ownable"] } +brush = { tag = "v1.7.0", git = "https://github.com/Supercolony-net/openbrush-contracts", default-features = false, features = ["ownable"] } ``` ## Step 2: Add imports and enable unstable feature diff --git a/docs/docs/smart-contracts/pausable.md b/docs/docs/smart-contracts/pausable.md index e5f70fc89..7a786c521 100644 --- a/docs/docs/smart-contracts/pausable.md +++ b/docs/docs/smart-contracts/pausable.md @@ -12,7 +12,7 @@ Include `brush` as dependency in the cargo file or you can use [default `Cargo.t After you need to enable default implementation of Pausable via `brush` features. ```toml -brush = { tag = "v1.6.1", git = "https://github.com/Supercolony-net/openbrush-contracts", default-features = false, features = ["pausable"] } +brush = { tag = "v1.7.0", git = "https://github.com/Supercolony-net/openbrush-contracts", default-features = false, features = ["pausable"] } ``` ## Step 2: Add imports and enable unstable feature diff --git a/docs/docs/smart-contracts/payment-splitter.md b/docs/docs/smart-contracts/payment-splitter.md index a5fd2b053..e89fedc5b 100644 --- a/docs/docs/smart-contracts/payment-splitter.md +++ b/docs/docs/smart-contracts/payment-splitter.md @@ -12,7 +12,7 @@ Include `brush` as dependency in the cargo file or you can use [default `Cargo.t After you need to enable default implementation of Payment Splitter via `brush` features. ```toml -brush = { tag = "v1.6.1", git = "https://github.com/Supercolony-net/openbrush-contracts", default-features = false, features = ["payment_splitter"] } +brush = { tag = "v1.7.0", git = "https://github.com/Supercolony-net/openbrush-contracts", default-features = false, features = ["payment_splitter"] } # payment-splitter uses dividing inside, so your version of rust can require you to disable check overflow. [profile.dev] diff --git a/docs/docs/smart-contracts/proxy.md b/docs/docs/smart-contracts/proxy.md index 0512d054d..a960b7f38 100644 --- a/docs/docs/smart-contracts/proxy.md +++ b/docs/docs/smart-contracts/proxy.md @@ -11,7 +11,7 @@ Include `brush` as dependency in the cargo file or you can use [default `Cargo.t After you need to enable default implementation of Proxy via `brush` features. ```toml -brush = { tag = "v1.6.1", git = "https://github.com/Supercolony-net/openbrush-contracts", default-features = false, features = ["proxy"] } +brush = { tag = "v1.7.0", git = "https://github.com/Supercolony-net/openbrush-contracts", default-features = false, features = ["proxy"] } ``` ## Step 2: Add imports and enable unstable feature diff --git a/docs/docs/smart-contracts/reentrancy-guard.md b/docs/docs/smart-contracts/reentrancy-guard.md index 450619024..351a3dac8 100644 --- a/docs/docs/smart-contracts/reentrancy-guard.md +++ b/docs/docs/smart-contracts/reentrancy-guard.md @@ -20,7 +20,7 @@ Include `brush` as dependency in the cargo file or you can use [default `Cargo.t After you need to enable default implementation of Reentrancy Guard via `brush` features. ```toml -brush = { tag = "v1.6.1", git = "https://github.com/Supercolony-net/openbrush-contracts", default-features = false, features = ["reentrancy_guard"] } +brush = { tag = "v1.7.0", git = "https://github.com/Supercolony-net/openbrush-contracts", default-features = false, features = ["reentrancy_guard"] } ``` ### Step 2: Add imports @@ -174,12 +174,12 @@ To do a cross-contract call to `MyFlipper` you need to import the `MyFlipper` co ```toml [dependencies] -ink_primitives = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_metadata = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false, features = ["derive"], optional = true } -ink_env = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_storage = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_lang = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_prelude = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } +ink_primitives = { version = "3.1.0", default-features = false } +ink_metadata = { version = "3.1.0", default-features = false, features = ["derive"], optional = true } +ink_env = { version = "3.1.0", default-features = false } +ink_storage = { version = "3.1.0", default-features = false } +ink_lang = { version = "3.1.0", default-features = false } +ink_prelude = { version = "3.1.0", default-features = false } scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] } scale-info = { version = "2", default-features = false, features = ["derive"], optional = true } diff --git a/docs/docs/smart-contracts/timelock-controller.md b/docs/docs/smart-contracts/timelock-controller.md index 9fd08e1c1..58eb013ab 100644 --- a/docs/docs/smart-contracts/timelock-controller.md +++ b/docs/docs/smart-contracts/timelock-controller.md @@ -12,7 +12,7 @@ Include `brush` as dependency in the cargo file or you can use [default `Cargo.t After you need to enable default implementation of Timelock Controller via `brush` features. ```toml -brush = { tag = "v1.6.1", git = "https://github.com/Supercolony-net/openbrush-contracts", default-features = false, features = ["timelock_controller"] } +brush = { tag = "v1.7.0", git = "https://github.com/Supercolony-net/openbrush-contracts", default-features = false, features = ["timelock_controller"] } ``` ## Step 2: Add imports and enable unstable feature diff --git a/example_project_structure/Cargo.toml b/example_project_structure/Cargo.toml index 6d0474f07..3aa61c09b 100644 --- a/example_project_structure/Cargo.toml +++ b/example_project_structure/Cargo.toml @@ -1,16 +1,16 @@ [package] name = "lending_project" -version = "1.6.1" +version = "1.7.0" authors = ["Supercolony "] edition = "2021" [dependencies] -ink_primitives = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_metadata = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false, features = ["derive"], optional = true } -ink_env = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_storage = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_lang = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_prelude = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } +ink_primitives = { version = "3.1.0", default-features = false } +ink_metadata = { version = "3.1.0", default-features = false, features = ["derive"], optional = true } +ink_env = { version = "3.1.0", default-features = false } +ink_storage = { version = "3.1.0", default-features = false } +ink_lang = { version = "3.1.0", default-features = false } +ink_prelude = { version = "3.1.0", default-features = false } scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] } scale-info = { version = "2", 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 1c402f056..1f9dbdebc 100644 --- a/example_project_structure/contracts/lending/Cargo.toml +++ b/example_project_structure/contracts/lending/Cargo.toml @@ -1,16 +1,16 @@ [package] name = "lending_contract" -version = "1.6.1" +version = "1.7.0" authors = ["Supercolony "] edition = "2021" [dependencies] -ink_primitives = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_metadata = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false, features = ["derive"], optional = true } -ink_env = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_storage = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_lang = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_prelude = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } +ink_primitives = { version = "3.1.0", default-features = false } +ink_metadata = { version = "3.1.0", default-features = false, features = ["derive"], optional = true } +ink_env = { version = "3.1.0", default-features = false } +ink_storage = { version = "3.1.0", default-features = false } +ink_lang = { version = "3.1.0", default-features = false } +ink_prelude = { version = "3.1.0", default-features = false } scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] } scale-info = { version = "2", 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 d8b1bdbff..3007b869f 100644 --- a/example_project_structure/contracts/loan/Cargo.toml +++ b/example_project_structure/contracts/loan/Cargo.toml @@ -1,16 +1,16 @@ [package] name = "loan_contract" -version = "1.6.1" +version = "1.7.0" authors = ["Supercolony "] edition = "2021" [dependencies] -ink_primitives = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_metadata = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false, features = ["derive"], optional = true } -ink_env = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_storage = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_lang = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_prelude = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } +ink_primitives = { version = "3.1.0", default-features = false } +ink_metadata = { version = "3.1.0", default-features = false, features = ["derive"], optional = true } +ink_env = { version = "3.1.0", default-features = false } +ink_storage = { version = "3.1.0", default-features = false } +ink_lang = { version = "3.1.0", default-features = false } +ink_prelude = { version = "3.1.0", default-features = false } scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] } scale-info = { version = "2", 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 931c2f703..390838642 100644 --- a/example_project_structure/contracts/shares/Cargo.toml +++ b/example_project_structure/contracts/shares/Cargo.toml @@ -1,16 +1,16 @@ [package] name = "shares_contract" -version = "1.6.1" +version = "1.7.0" authors = ["Supercolony "] edition = "2021" [dependencies] -ink_primitives = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_metadata = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false, features = ["derive"], optional = true } -ink_env = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_storage = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_lang = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_prelude = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } +ink_primitives = { version = "3.1.0", default-features = false } +ink_metadata = { version = "3.1.0", default-features = false, features = ["derive"], optional = true } +ink_env = { version = "3.1.0", default-features = false } +ink_storage = { version = "3.1.0", default-features = false } +ink_lang = { version = "3.1.0", default-features = false } +ink_prelude = { version = "3.1.0", default-features = false } scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] } scale-info = { version = "2", 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 badcb76dd..6f689d314 100644 --- a/example_project_structure/contracts/stable_coin/Cargo.toml +++ b/example_project_structure/contracts/stable_coin/Cargo.toml @@ -1,16 +1,16 @@ [package] name = "stable_coin_contract" -version = "1.6.1" +version = "1.7.0" authors = ["Supercolony "] edition = "2021" [dependencies] -ink_primitives = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_metadata = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false, features = ["derive"], optional = true } -ink_env = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_storage = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_lang = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_prelude = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } +ink_primitives = { version = "3.1.0", default-features = false } +ink_metadata = { version = "3.1.0", default-features = false, features = ["derive"], optional = true } +ink_env = { version = "3.1.0", default-features = false } +ink_storage = { version = "3.1.0", default-features = false } +ink_lang = { version = "3.1.0", default-features = false } +ink_prelude = { version = "3.1.0", default-features = false } scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] } scale-info = { version = "2", default-features = false, features = ["derive"], optional = true } diff --git a/example_project_structure/derive/Cargo.toml b/example_project_structure/derive/Cargo.toml index ebd2490bf..5da04a7ec 100644 --- a/example_project_structure/derive/Cargo.toml +++ b/example_project_structure/derive/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lending_project_derive" -version = "1.6.1" +version = "1.7.0" authors = ["Supercolony "] edition = "2021" diff --git a/examples/access_control/Cargo.toml b/examples/access_control/Cargo.toml index 5cd71d2aa..c9c47ca0a 100644 --- a/examples/access_control/Cargo.toml +++ b/examples/access_control/Cargo.toml @@ -1,16 +1,16 @@ [package] name = "my_access_control" -version = "1.6.1" +version = "1.7.0" authors = ["Supercolony "] edition = "2021" [dependencies] -ink_primitives = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_metadata = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false, features = ["derive"], optional = true } -ink_env = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_storage = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_lang = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_prelude = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } +ink_primitives = { version = "3.1.0", default-features = false } +ink_metadata = { version = "3.1.0", default-features = false, features = ["derive"], optional = true } +ink_env = { version = "3.1.0", default-features = false } +ink_storage = { version = "3.1.0", default-features = false } +ink_lang = { version = "3.1.0", default-features = false } +ink_prelude = { version = "3.1.0", default-features = false } scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] } scale-info = { version = "2", default-features = false, features = ["derive"], optional = true } diff --git a/examples/diamond/Cargo.toml b/examples/diamond/Cargo.toml index c4693b417..9bca3ec3b 100644 --- a/examples/diamond/Cargo.toml +++ b/examples/diamond/Cargo.toml @@ -1,16 +1,16 @@ [package] name = "my_diamond" -version = "1.6.1" +version = "1.7.0" authors = ["Supercolony "] edition = "2021" [dependencies] -ink_primitives = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_metadata = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false, features = ["derive"], optional = true } -ink_env = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_storage = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_lang = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_prelude = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } +ink_primitives = { version = "3.1.0", default-features = false } +ink_metadata = { version = "3.1.0", default-features = false, features = ["derive"], optional = true } +ink_env = { version = "3.1.0", default-features = false } +ink_storage = { version = "3.1.0", default-features = false } +ink_lang = { version = "3.1.0", default-features = false } +ink_prelude = { version = "3.1.0", default-features = false } scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] } scale-info = { version = "2", default-features = false, features = ["derive"], optional = true } diff --git a/examples/diamond/diamond_caller/Cargo.toml b/examples/diamond/diamond_caller/Cargo.toml index d20e7f432..1fc2f54f2 100644 --- a/examples/diamond/diamond_caller/Cargo.toml +++ b/examples/diamond/diamond_caller/Cargo.toml @@ -1,16 +1,16 @@ [package] name = "diamond_caller" -version = "1.6.1" +version = "1.7.0" authors = ["Supercolony "] edition = "2021" [dependencies] -ink_primitives = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_metadata = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false, features = ["derive"], optional = true } -ink_env = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_storage = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_lang = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_prelude = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } +ink_primitives = { version = "3.1.0", default-features = false } +ink_metadata = { version = "3.1.0", default-features = false, features = ["derive"], optional = true } +ink_env = { version = "3.1.0", default-features = false } +ink_storage = { version = "3.1.0", default-features = false } +ink_lang = { version = "3.1.0", default-features = false } +ink_prelude = { version = "3.1.0", default-features = false } scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] } scale-info = { version = "2", 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 1223d5259..c67393403 100644 --- a/examples/diamond/psp22_facet_v1/Cargo.toml +++ b/examples/diamond/psp22_facet_v1/Cargo.toml @@ -1,16 +1,16 @@ [package] name = "my_psp22_facet_v1" -version = "1.6.1" +version = "1.7.0" authors = ["Supercolony "] edition = "2021" [dependencies] -ink_primitives = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_metadata = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false, features = ["derive"], optional = true } -ink_env = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_storage = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_lang = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_prelude = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } +ink_primitives = { version = "3.1.0", default-features = false } +ink_metadata = { version = "3.1.0", default-features = false, features = ["derive"], optional = true } +ink_env = { version = "3.1.0", default-features = false } +ink_storage = { version = "3.1.0", default-features = false } +ink_lang = { version = "3.1.0", default-features = false } +ink_prelude = { version = "3.1.0", default-features = false } scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] } scale-info = { version = "2", 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 75d3f3595..a6956fab4 100644 --- a/examples/diamond/psp22_facet_v2/Cargo.toml +++ b/examples/diamond/psp22_facet_v2/Cargo.toml @@ -1,16 +1,16 @@ [package] name = "my_psp22_facet_v2" -version = "1.6.1" +version = "1.7.0" authors = ["Supercolony "] edition = "2021" [dependencies] -ink_primitives = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_metadata = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false, features = ["derive"], optional = true } -ink_env = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_storage = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_lang = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_prelude = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } +ink_primitives = { version = "3.1.0", default-features = false } +ink_metadata = { version = "3.1.0", default-features = false, features = ["derive"], optional = true } +ink_env = { version = "3.1.0", default-features = false } +ink_storage = { version = "3.1.0", default-features = false } +ink_lang = { version = "3.1.0", default-features = false } +ink_prelude = { version = "3.1.0", default-features = false } scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] } scale-info = { version = "2", 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 17955241e..95dfbd46d 100644 --- a/examples/diamond/psp22_metadata_facet/Cargo.toml +++ b/examples/diamond/psp22_metadata_facet/Cargo.toml @@ -1,16 +1,16 @@ [package] name = "my_psp22_metadata_facet" -version = "1.6.1" +version = "1.7.0" authors = ["Supercolony "] edition = "2021" [dependencies] -ink_primitives = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_metadata = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false, features = ["derive"], optional = true } -ink_env = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_storage = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_lang = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_prelude = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } +ink_primitives = { version = "3.1.0", default-features = false } +ink_metadata = { version = "3.1.0", default-features = false, features = ["derive"], optional = true } +ink_env = { version = "3.1.0", default-features = false } +ink_storage = { version = "3.1.0", default-features = false } +ink_lang = { version = "3.1.0", default-features = false } +ink_prelude = { version = "3.1.0", default-features = false } scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] } scale-info = { version = "2", default-features = false, features = ["derive"], optional = true } diff --git a/examples/ownable/Cargo.toml b/examples/ownable/Cargo.toml index 54becbca5..486402896 100644 --- a/examples/ownable/Cargo.toml +++ b/examples/ownable/Cargo.toml @@ -1,16 +1,16 @@ [package] name = "my_ownable" -version = "1.6.1" +version = "1.7.0" authors = ["Supercolony "] edition = "2021" [dependencies] -ink_primitives = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_metadata = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false, features = ["derive"], optional = true } -ink_env = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_storage = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_lang = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_prelude = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } +ink_primitives = { version = "3.1.0", default-features = false } +ink_metadata = { version = "3.1.0", default-features = false, features = ["derive"], optional = true } +ink_env = { version = "3.1.0", default-features = false } +ink_storage = { version = "3.1.0", default-features = false } +ink_lang = { version = "3.1.0", default-features = false } +ink_prelude = { version = "3.1.0", default-features = false } scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] } scale-info = { version = "2", default-features = false, features = ["derive"], optional = true } diff --git a/examples/pausable/Cargo.toml b/examples/pausable/Cargo.toml index 29174a445..908635893 100644 --- a/examples/pausable/Cargo.toml +++ b/examples/pausable/Cargo.toml @@ -1,16 +1,16 @@ [package] name = "my_pausable" -version = "1.6.1" +version = "1.7.0" authors = ["Supercolony "] edition = "2021" [dependencies] -ink_primitives = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_metadata = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false, features = ["derive"], optional = true } -ink_env = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_storage = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_lang = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_prelude = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } +ink_primitives = { version = "3.1.0", default-features = false } +ink_metadata = { version = "3.1.0", default-features = false, features = ["derive"], optional = true } +ink_env = { version = "3.1.0", default-features = false } +ink_storage = { version = "3.1.0", default-features = false } +ink_lang = { version = "3.1.0", default-features = false } +ink_prelude = { version = "3.1.0", default-features = false } scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] } scale-info = { version = "2", default-features = false, features = ["derive"], optional = true } diff --git a/examples/payment_splitter/Cargo.toml b/examples/payment_splitter/Cargo.toml index 760dee808..eb7e782fc 100644 --- a/examples/payment_splitter/Cargo.toml +++ b/examples/payment_splitter/Cargo.toml @@ -1,16 +1,16 @@ [package] name = "my_payment_splitter" -version = "1.6.1" +version = "1.7.0" authors = ["Supercolony "] edition = "2021" [dependencies] -ink_primitives = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_metadata = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false, features = ["derive"], optional = true } -ink_env = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_storage = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_lang = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_prelude = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } +ink_primitives = { version = "3.1.0", default-features = false } +ink_metadata = { version = "3.1.0", default-features = false, features = ["derive"], optional = true } +ink_env = { version = "3.1.0", default-features = false } +ink_storage = { version = "3.1.0", default-features = false } +ink_lang = { version = "3.1.0", default-features = false } +ink_prelude = { version = "3.1.0", default-features = false } scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] } scale-info = { version = "2", default-features = false, features = ["derive"], optional = true } diff --git a/examples/proxy/Cargo.toml b/examples/proxy/Cargo.toml index 0f69e17dc..995eba6e1 100644 --- a/examples/proxy/Cargo.toml +++ b/examples/proxy/Cargo.toml @@ -1,16 +1,16 @@ [package] name = "my_proxy" -version = "1.6.1" +version = "1.7.0" authors = ["Supercolony "] edition = "2021" [dependencies] -ink_primitives = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_metadata = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false, features = ["derive"], optional = true } -ink_env = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_storage = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_lang = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_prelude = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } +ink_primitives = { version = "3.1.0", default-features = false } +ink_metadata = { version = "3.1.0", default-features = false, features = ["derive"], optional = true } +ink_env = { version = "3.1.0", default-features = false } +ink_storage = { version = "3.1.0", default-features = false } +ink_lang = { version = "3.1.0", default-features = false } +ink_prelude = { version = "3.1.0", default-features = false } scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] } scale-info = { version = "2", 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 747398ed7..f637992de 100644 --- a/examples/proxy/psp22_metadata_upgradeable/Cargo.toml +++ b/examples/proxy/psp22_metadata_upgradeable/Cargo.toml @@ -1,16 +1,16 @@ [package] name = "my_psp22_metadata_upgradeable" -version = "1.6.1" +version = "1.7.0" authors = ["Supercolony "] edition = "2021" [dependencies] -ink_primitives = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_metadata = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false, features = ["derive"], optional = true } -ink_env = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_storage = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_lang = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_prelude = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } +ink_primitives = { version = "3.1.0", default-features = false } +ink_metadata = { version = "3.1.0", default-features = false, features = ["derive"], optional = true } +ink_env = { version = "3.1.0", default-features = false } +ink_storage = { version = "3.1.0", default-features = false } +ink_lang = { version = "3.1.0", default-features = false } +ink_prelude = { version = "3.1.0", default-features = false } scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] } scale-info = { version = "2", default-features = false, features = ["derive"], optional = true } diff --git a/examples/proxy/psp22_upgradeable/Cargo.toml b/examples/proxy/psp22_upgradeable/Cargo.toml index 68ae7d54b..7093ae595 100644 --- a/examples/proxy/psp22_upgradeable/Cargo.toml +++ b/examples/proxy/psp22_upgradeable/Cargo.toml @@ -1,16 +1,16 @@ [package] name = "my_psp22_upgradeable" -version = "1.6.1" +version = "1.7.0" authors = ["Supercolony "] edition = "2021" [dependencies] -ink_primitives = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_metadata = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false, features = ["derive"], optional = true } -ink_env = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_storage = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_lang = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_prelude = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } +ink_primitives = { version = "3.1.0", default-features = false } +ink_metadata = { version = "3.1.0", default-features = false, features = ["derive"], optional = true } +ink_env = { version = "3.1.0", default-features = false } +ink_storage = { version = "3.1.0", default-features = false } +ink_lang = { version = "3.1.0", default-features = false } +ink_prelude = { version = "3.1.0", default-features = false } scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] } scale-info = { version = "2", default-features = false, features = ["derive"], optional = true } diff --git a/examples/psp1155/Cargo.toml b/examples/psp1155/Cargo.toml index 9777e73b1..37499bfec 100644 --- a/examples/psp1155/Cargo.toml +++ b/examples/psp1155/Cargo.toml @@ -1,16 +1,16 @@ [package] name = "my_psp1155" -version = "1.6.1" +version = "1.7.0" authors = ["Supercolony "] edition = "2021" [dependencies] -ink_primitives = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_metadata = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false, features = ["derive"], optional = true } -ink_env = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_storage = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_lang = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_prelude = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } +ink_primitives = { version = "3.1.0", default-features = false } +ink_metadata = { version = "3.1.0", default-features = false, features = ["derive"], optional = true } +ink_env = { version = "3.1.0", default-features = false } +ink_storage = { version = "3.1.0", default-features = false } +ink_lang = { version = "3.1.0", default-features = false } +ink_prelude = { version = "3.1.0", default-features = false } scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] } scale-info = { version = "2", default-features = false, features = ["derive"], optional = true } diff --git a/examples/psp1155_extensions/burnable/Cargo.toml b/examples/psp1155_extensions/burnable/Cargo.toml index edec07ade..2e8b85c49 100644 --- a/examples/psp1155_extensions/burnable/Cargo.toml +++ b/examples/psp1155_extensions/burnable/Cargo.toml @@ -1,16 +1,16 @@ [package] name = "my_psp1155_burnable" -version = "1.6.1" +version = "1.7.0" authors = ["Supercolony "] edition = "2021" [dependencies] -ink_primitives = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_metadata = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false, features = ["derive"], optional = true } -ink_env = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_storage = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_lang = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_prelude = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } +ink_primitives = { version = "3.1.0", default-features = false } +ink_metadata = { version = "3.1.0", default-features = false, features = ["derive"], optional = true } +ink_env = { version = "3.1.0", default-features = false } +ink_storage = { version = "3.1.0", default-features = false } +ink_lang = { version = "3.1.0", default-features = false } +ink_prelude = { version = "3.1.0", default-features = false } scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] } scale-info = { version = "2", default-features = false, features = ["derive"], optional = true } diff --git a/examples/psp1155_extensions/metadata/Cargo.toml b/examples/psp1155_extensions/metadata/Cargo.toml index 7430220da..0ab9ced8a 100644 --- a/examples/psp1155_extensions/metadata/Cargo.toml +++ b/examples/psp1155_extensions/metadata/Cargo.toml @@ -1,16 +1,16 @@ [package] name = "my_psp1155_metadata" -version = "1.6.1" +version = "1.7.0" authors = ["Supercolony "] edition = "2021" [dependencies] -ink_primitives = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_metadata = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false, features = ["derive"], optional = true } -ink_env = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_storage = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_lang = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_prelude = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } +ink_primitives = { version = "3.1.0", default-features = false } +ink_metadata = { version = "3.1.0", default-features = false, features = ["derive"], optional = true } +ink_env = { version = "3.1.0", default-features = false } +ink_storage = { version = "3.1.0", default-features = false } +ink_lang = { version = "3.1.0", default-features = false } +ink_prelude = { version = "3.1.0", default-features = false } scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] } scale-info = { version = "2", default-features = false, features = ["derive"], optional = true } diff --git a/examples/psp1155_extensions/mintable/Cargo.toml b/examples/psp1155_extensions/mintable/Cargo.toml index 9a84ec524..30e961db8 100644 --- a/examples/psp1155_extensions/mintable/Cargo.toml +++ b/examples/psp1155_extensions/mintable/Cargo.toml @@ -1,16 +1,16 @@ [package] name = "my_psp1155_mintable" -version = "1.6.1" +version = "1.7.0" authors = ["Supercolony "] edition = "2021" [dependencies] -ink_primitives = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_metadata = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false, features = ["derive"], optional = true } -ink_env = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_storage = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_lang = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_prelude = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } +ink_primitives = { version = "3.1.0", default-features = false } +ink_metadata = { version = "3.1.0", default-features = false, features = ["derive"], optional = true } +ink_env = { version = "3.1.0", default-features = false } +ink_storage = { version = "3.1.0", default-features = false } +ink_lang = { version = "3.1.0", default-features = false } +ink_prelude = { version = "3.1.0", default-features = false } scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] } scale-info = { version = "2", default-features = false, features = ["derive"], optional = true } diff --git a/examples/psp22/Cargo.toml b/examples/psp22/Cargo.toml index 438c34dad..f3f62b123 100644 --- a/examples/psp22/Cargo.toml +++ b/examples/psp22/Cargo.toml @@ -1,16 +1,16 @@ [package] name = "my_psp22" -version = "1.6.1" +version = "1.7.0" authors = ["Supercolony "] edition = "2021" [dependencies] -ink_primitives = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_metadata = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false, features = ["derive"], optional = true } -ink_env = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_storage = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_lang = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_prelude = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } +ink_primitives = { version = "3.1.0", default-features = false } +ink_metadata = { version = "3.1.0", default-features = false, features = ["derive"], optional = true } +ink_env = { version = "3.1.0", default-features = false } +ink_storage = { version = "3.1.0", default-features = false } +ink_lang = { version = "3.1.0", default-features = false } +ink_prelude = { version = "3.1.0", default-features = false } scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] } scale-info = { version = "2", default-features = false, features = ["derive"], optional = true } diff --git a/examples/psp22_extensions/burnable/Cargo.toml b/examples/psp22_extensions/burnable/Cargo.toml index 254bcabbc..50688fb82 100644 --- a/examples/psp22_extensions/burnable/Cargo.toml +++ b/examples/psp22_extensions/burnable/Cargo.toml @@ -1,16 +1,16 @@ [package] name = "my_psp22_burnable" -version = "1.6.1" +version = "1.7.0" authors = ["Supercolony "] edition = "2021" [dependencies] -ink_primitives = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_metadata = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false, features = ["derive"], optional = true } -ink_env = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_storage = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_lang = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_prelude = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } +ink_primitives = { version = "3.1.0", default-features = false } +ink_metadata = { version = "3.1.0", default-features = false, features = ["derive"], optional = true } +ink_env = { version = "3.1.0", default-features = false } +ink_storage = { version = "3.1.0", default-features = false } +ink_lang = { version = "3.1.0", default-features = false } +ink_prelude = { version = "3.1.0", default-features = false } scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] } scale-info = { version = "2", default-features = false, features = ["derive"], optional = true } diff --git a/examples/psp22_extensions/capped/Cargo.toml b/examples/psp22_extensions/capped/Cargo.toml index c225f8a30..23700b439 100644 --- a/examples/psp22_extensions/capped/Cargo.toml +++ b/examples/psp22_extensions/capped/Cargo.toml @@ -1,16 +1,16 @@ [package] name = "my_psp22_capped" -version = "1.6.1" +version = "1.7.0" authors = ["Supercolony "] edition = "2021" [dependencies] -ink_primitives = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_metadata = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false, features = ["derive"], optional = true } -ink_env = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_storage = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_lang = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_prelude = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } +ink_primitives = { version = "3.1.0", default-features = false } +ink_metadata = { version = "3.1.0", default-features = false, features = ["derive"], optional = true } +ink_env = { version = "3.1.0", default-features = false } +ink_storage = { version = "3.1.0", default-features = false } +ink_lang = { version = "3.1.0", default-features = false } +ink_prelude = { version = "3.1.0", default-features = false } scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] } scale-info = { version = "2", default-features = false, features = ["derive"], optional = true } diff --git a/examples/psp22_extensions/flashmint/Cargo.toml b/examples/psp22_extensions/flashmint/Cargo.toml index 21f2014c3..1369edce9 100644 --- a/examples/psp22_extensions/flashmint/Cargo.toml +++ b/examples/psp22_extensions/flashmint/Cargo.toml @@ -1,16 +1,16 @@ [package] name = "my_psp22_flashmint" -version = "1.6.1" +version = "1.7.0" authors = ["Supercolony "] edition = "2021" [dependencies] -ink_primitives = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_metadata = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false, features = ["derive"], optional = true } -ink_env = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_storage = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_lang = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_prelude = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } +ink_primitives = { version = "3.1.0", default-features = false } +ink_metadata = { version = "3.1.0", default-features = false, features = ["derive"], optional = true } +ink_env = { version = "3.1.0", default-features = false } +ink_storage = { version = "3.1.0", default-features = false } +ink_lang = { version = "3.1.0", default-features = false } +ink_prelude = { version = "3.1.0", default-features = false } scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] } scale-info = { version = "2", default-features = false, features = ["derive"], optional = true } diff --git a/examples/psp22_extensions/metadata/Cargo.toml b/examples/psp22_extensions/metadata/Cargo.toml index 483684cea..d08d11929 100644 --- a/examples/psp22_extensions/metadata/Cargo.toml +++ b/examples/psp22_extensions/metadata/Cargo.toml @@ -1,16 +1,16 @@ [package] name = "my_psp22_metadata" -version = "1.6.1" +version = "1.7.0" authors = ["Supercolony "] edition = "2021" [dependencies] -ink_primitives = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_metadata = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false, features = ["derive"], optional = true } -ink_env = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_storage = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_lang = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_prelude = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } +ink_primitives = { version = "3.1.0", default-features = false } +ink_metadata = { version = "3.1.0", default-features = false, features = ["derive"], optional = true } +ink_env = { version = "3.1.0", default-features = false } +ink_storage = { version = "3.1.0", default-features = false } +ink_lang = { version = "3.1.0", default-features = false } +ink_prelude = { version = "3.1.0", default-features = false } scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] } scale-info = { version = "2", default-features = false, features = ["derive"], optional = true } diff --git a/examples/psp22_extensions/mintable/Cargo.toml b/examples/psp22_extensions/mintable/Cargo.toml index d478faad9..662da9678 100644 --- a/examples/psp22_extensions/mintable/Cargo.toml +++ b/examples/psp22_extensions/mintable/Cargo.toml @@ -1,16 +1,16 @@ [package] name = "my_psp22_mintable" -version = "1.6.1" +version = "1.7.0" authors = ["Supercolony "] edition = "2021" [dependencies] -ink_primitives = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_metadata = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false, features = ["derive"], optional = true } -ink_env = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_storage = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_lang = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_prelude = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } +ink_primitives = { version = "3.1.0", default-features = false } +ink_metadata = { version = "3.1.0", default-features = false, features = ["derive"], optional = true } +ink_env = { version = "3.1.0", default-features = false } +ink_storage = { version = "3.1.0", default-features = false } +ink_lang = { version = "3.1.0", default-features = false } +ink_prelude = { version = "3.1.0", default-features = false } scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] } scale-info = { version = "2", default-features = false, features = ["derive"], optional = true } diff --git a/examples/psp22_extensions/pausable/Cargo.toml b/examples/psp22_extensions/pausable/Cargo.toml index 05ca38706..aabacf3dd 100644 --- a/examples/psp22_extensions/pausable/Cargo.toml +++ b/examples/psp22_extensions/pausable/Cargo.toml @@ -1,16 +1,16 @@ [package] name = "my_psp22_pausable" -version = "1.6.1" +version = "1.7.0" authors = ["Supercolony "] edition = "2021" [dependencies] -ink_primitives = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_metadata = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false, features = ["derive"], optional = true } -ink_env = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_storage = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_lang = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_prelude = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } +ink_primitives = { version = "3.1.0", default-features = false } +ink_metadata = { version = "3.1.0", default-features = false, features = ["derive"], optional = true } +ink_env = { version = "3.1.0", default-features = false } +ink_storage = { version = "3.1.0", default-features = false } +ink_lang = { version = "3.1.0", default-features = false } +ink_prelude = { version = "3.1.0", default-features = false } scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] } scale-info = { version = "2", default-features = false, features = ["derive"], optional = true } diff --git a/examples/psp22_extensions/wrapper/Cargo.toml b/examples/psp22_extensions/wrapper/Cargo.toml index ba91ea830..78abc28db 100644 --- a/examples/psp22_extensions/wrapper/Cargo.toml +++ b/examples/psp22_extensions/wrapper/Cargo.toml @@ -1,16 +1,16 @@ [package] name = "my_psp22_wrapper" -version = "1.6.1" +version = "1.7.0" authors = ["Supercolony "] edition = "2021" [dependencies] -ink_primitives = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_metadata = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false, features = ["derive"], optional = true } -ink_env = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_storage = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_lang = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_prelude = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } +ink_primitives = { version = "3.1.0", default-features = false } +ink_metadata = { version = "3.1.0", default-features = false, features = ["derive"], optional = true } +ink_env = { version = "3.1.0", default-features = false } +ink_storage = { version = "3.1.0", default-features = false } +ink_lang = { version = "3.1.0", default-features = false } +ink_prelude = { version = "3.1.0", default-features = false } scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] } scale-info = { version = "2", 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 92546c748..e3be60eb0 100644 --- a/examples/psp22_utils/token_timelock/Cargo.toml +++ b/examples/psp22_utils/token_timelock/Cargo.toml @@ -1,16 +1,16 @@ [package] name = "my_psp22_token_timelock" -version = "1.6.1" +version = "1.7.0" authors = ["Supercolony "] edition = "2021" [dependencies] -ink_primitives = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_metadata = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false, features = ["derive"], optional = true } -ink_env = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_storage = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_lang = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_prelude = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } +ink_primitives = { version = "3.1.0", default-features = false } +ink_metadata = { version = "3.1.0", default-features = false, features = ["derive"], optional = true } +ink_env = { version = "3.1.0", default-features = false } +ink_storage = { version = "3.1.0", default-features = false } +ink_lang = { version = "3.1.0", default-features = false } +ink_prelude = { version = "3.1.0", default-features = false } scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] } scale-info = { version = "2", default-features = false, features = ["derive"], optional = true } diff --git a/examples/psp34/Cargo.toml b/examples/psp34/Cargo.toml index bffd17876..d6a18b604 100644 --- a/examples/psp34/Cargo.toml +++ b/examples/psp34/Cargo.toml @@ -1,16 +1,16 @@ [package] name = "my_psp34" -version = "1.6.1" +version = "1.7.0" authors = ["Supercolony "] edition = "2021" [dependencies] -ink_primitives = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_metadata = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false, features = ["derive"], optional = true } -ink_env = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_storage = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_lang = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_prelude = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } +ink_primitives = { version = "3.1.0", default-features = false } +ink_metadata = { version = "3.1.0", default-features = false, features = ["derive"], optional = true } +ink_env = { version = "3.1.0", default-features = false } +ink_storage = { version = "3.1.0", default-features = false } +ink_lang = { version = "3.1.0", default-features = false } +ink_prelude = { version = "3.1.0", default-features = false } scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] } scale-info = { version = "2", default-features = false, features = ["derive"], optional = true } diff --git a/examples/psp34_extensions/burnable/Cargo.toml b/examples/psp34_extensions/burnable/Cargo.toml index 33c602f03..4d24784cf 100644 --- a/examples/psp34_extensions/burnable/Cargo.toml +++ b/examples/psp34_extensions/burnable/Cargo.toml @@ -1,16 +1,16 @@ [package] name = "my_psp34_burnable" -version = "1.6.1" +version = "1.7.0" authors = ["Supercolony "] edition = "2021" [dependencies] -ink_primitives = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_metadata = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false, features = ["derive"], optional = true } -ink_env = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_storage = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_lang = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_prelude = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } +ink_primitives = { version = "3.1.0", default-features = false } +ink_metadata = { version = "3.1.0", default-features = false, features = ["derive"], optional = true } +ink_env = { version = "3.1.0", default-features = false } +ink_storage = { version = "3.1.0", default-features = false } +ink_lang = { version = "3.1.0", default-features = false } +ink_prelude = { version = "3.1.0", default-features = false } scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] } scale-info = { version = "2", default-features = false, features = ["derive"], optional = true } diff --git a/examples/psp34_extensions/enumerable/Cargo.toml b/examples/psp34_extensions/enumerable/Cargo.toml index edb02902c..b26cfaa2c 100644 --- a/examples/psp34_extensions/enumerable/Cargo.toml +++ b/examples/psp34_extensions/enumerable/Cargo.toml @@ -1,16 +1,16 @@ [package] name = "my_psp34_enumerable" -version = "1.6.1" +version = "1.7.0" authors = ["Supercolony "] edition = "2021" [dependencies] -ink_primitives = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_metadata = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false, features = ["derive"], optional = true } -ink_env = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_storage = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_lang = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_prelude = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } +ink_primitives = { version = "3.1.0", default-features = false } +ink_metadata = { version = "3.1.0", default-features = false, features = ["derive"], optional = true } +ink_env = { version = "3.1.0", default-features = false } +ink_storage = { version = "3.1.0", default-features = false } +ink_lang = { version = "3.1.0", default-features = false } +ink_prelude = { version = "3.1.0", default-features = false } scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] } scale-info = { version = "2", default-features = false, features = ["derive"], optional = true } diff --git a/examples/psp34_extensions/metadata/Cargo.toml b/examples/psp34_extensions/metadata/Cargo.toml index a1bfe7177..8260511e2 100644 --- a/examples/psp34_extensions/metadata/Cargo.toml +++ b/examples/psp34_extensions/metadata/Cargo.toml @@ -1,16 +1,16 @@ [package] name = "my_psp34_metadata" -version = "1.6.1" +version = "1.7.0" authors = ["Supercolony "] edition = "2021" [dependencies] -ink_primitives = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_metadata = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false, features = ["derive"], optional = true } -ink_env = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_storage = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_lang = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_prelude = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } +ink_primitives = { version = "3.1.0", default-features = false } +ink_metadata = { version = "3.1.0", default-features = false, features = ["derive"], optional = true } +ink_env = { version = "3.1.0", default-features = false } +ink_storage = { version = "3.1.0", default-features = false } +ink_lang = { version = "3.1.0", default-features = false } +ink_prelude = { version = "3.1.0", default-features = false } scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] } scale-info = { version = "2", default-features = false, features = ["derive"], optional = true } diff --git a/examples/psp34_extensions/mintable/Cargo.toml b/examples/psp34_extensions/mintable/Cargo.toml index 036d88fbb..75bce5346 100644 --- a/examples/psp34_extensions/mintable/Cargo.toml +++ b/examples/psp34_extensions/mintable/Cargo.toml @@ -1,16 +1,16 @@ [package] name = "my_psp34_mintable" -version = "1.6.1" +version = "1.7.0" authors = ["Supercolony "] edition = "2021" [dependencies] -ink_primitives = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_metadata = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false, features = ["derive"], optional = true } -ink_env = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_storage = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_lang = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_prelude = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } +ink_primitives = { version = "3.1.0", default-features = false } +ink_metadata = { version = "3.1.0", default-features = false, features = ["derive"], optional = true } +ink_env = { version = "3.1.0", default-features = false } +ink_storage = { version = "3.1.0", default-features = false } +ink_lang = { version = "3.1.0", default-features = false } +ink_prelude = { version = "3.1.0", default-features = false } scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] } scale-info = { version = "2", default-features = false, features = ["derive"], optional = true } diff --git a/examples/reentrancy_guard/Cargo.toml b/examples/reentrancy_guard/Cargo.toml index 25aed6558..8ed280f4b 100644 --- a/examples/reentrancy_guard/Cargo.toml +++ b/examples/reentrancy_guard/Cargo.toml @@ -1,16 +1,16 @@ [package] name = "flipper" -version = "1.6.1" +version = "1.7.0" authors = ["Supercolony "] edition = "2021" [dependencies] -ink_primitives = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_metadata = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false, features = ["derive"], optional = true } -ink_env = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_storage = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_lang = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_prelude = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } +ink_primitives = { version = "3.1.0", default-features = false } +ink_metadata = { version = "3.1.0", default-features = false, features = ["derive"], optional = true } +ink_env = { version = "3.1.0", default-features = false } +ink_storage = { version = "3.1.0", default-features = false } +ink_lang = { version = "3.1.0", default-features = false } +ink_prelude = { version = "3.1.0", default-features = false } scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] } scale-info = { version = "2", 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 e11d26b6f..224ec4482 100644 --- a/examples/reentrancy_guard/contracts/flip_on_me/Cargo.toml +++ b/examples/reentrancy_guard/contracts/flip_on_me/Cargo.toml @@ -1,16 +1,16 @@ [package] name = "flip_on_me" -version = "1.6.1" +version = "1.7.0" authors = ["Supercolony "] edition = "2021" [dependencies] -ink_primitives = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_metadata = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false, features = ["derive"], optional = true } -ink_env = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_storage = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_lang = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_prelude = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } +ink_primitives = { version = "3.1.0", default-features = false } +ink_metadata = { version = "3.1.0", default-features = false, features = ["derive"], optional = true } +ink_env = { version = "3.1.0", default-features = false } +ink_storage = { version = "3.1.0", default-features = false } +ink_lang = { version = "3.1.0", default-features = false } +ink_prelude = { version = "3.1.0", default-features = false } scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] } scale-info = { version = "2", 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 087515293..b8fd169ea 100644 --- a/examples/reentrancy_guard/contracts/flipper/Cargo.toml +++ b/examples/reentrancy_guard/contracts/flipper/Cargo.toml @@ -1,16 +1,16 @@ [package] name = "my_flipper_guard" -version = "1.6.1" +version = "1.7.0" authors = ["Supercolony "] edition = "2021" [dependencies] -ink_primitives = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_metadata = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false, features = ["derive"], optional = true } -ink_env = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_storage = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_lang = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_prelude = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } +ink_primitives = { version = "3.1.0", default-features = false } +ink_metadata = { version = "3.1.0", default-features = false, features = ["derive"], optional = true } +ink_env = { version = "3.1.0", default-features = false } +ink_storage = { version = "3.1.0", default-features = false } +ink_lang = { version = "3.1.0", default-features = false } +ink_prelude = { version = "3.1.0", default-features = false } scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] } scale-info = { version = "2", default-features = false, features = ["derive"], optional = true } diff --git a/examples/timelock_controller/Cargo.toml b/examples/timelock_controller/Cargo.toml index ff7ab4d7c..5a25d126a 100644 --- a/examples/timelock_controller/Cargo.toml +++ b/examples/timelock_controller/Cargo.toml @@ -1,16 +1,16 @@ [package] name = "my_timelock_controller" -version = "1.6.1" +version = "1.7.0" authors = ["Supercolony "] edition = "2021" [dependencies] -ink_primitives = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_metadata = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false, features = ["derive"], optional = true } -ink_env = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_storage = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_lang = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_prelude = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } +ink_primitives = { version = "3.1.0", default-features = false } +ink_metadata = { version = "3.1.0", default-features = false, features = ["derive"], optional = true } +ink_env = { version = "3.1.0", default-features = false } +ink_storage = { version = "3.1.0", default-features = false } +ink_lang = { version = "3.1.0", default-features = false } +ink_prelude = { version = "3.1.0", default-features = false } scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] } scale-info = { version = "2", default-features = false, features = ["derive"], optional = true } diff --git a/mock/flash-borrower/Cargo.toml b/mock/flash-borrower/Cargo.toml index dbe0cc798..480245094 100644 --- a/mock/flash-borrower/Cargo.toml +++ b/mock/flash-borrower/Cargo.toml @@ -1,16 +1,16 @@ [package] name = "flash_borrower" -version = "1.6.1" +version = "1.7.0" authors = ["Supercolony "] edition = "2021" [dependencies] -ink_primitives = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_metadata = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false, features = ["derive"], optional = true } -ink_env = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_storage = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_lang = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_prelude = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } +ink_primitives = { version = "3.1.0", default-features = false } +ink_metadata = { version = "3.1.0", default-features = false, features = ["derive"], optional = true } +ink_env = { version = "3.1.0", default-features = false } +ink_storage = { version = "3.1.0", default-features = false } +ink_lang = { version = "3.1.0", default-features = false } +ink_prelude = { version = "3.1.0", default-features = false } scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] } scale-info = { version = "2", default-features = false, features = ["derive"], optional = true } diff --git a/mock/psp1155-receiver/Cargo.toml b/mock/psp1155-receiver/Cargo.toml index ff5aabc1e..7ba57edac 100644 --- a/mock/psp1155-receiver/Cargo.toml +++ b/mock/psp1155-receiver/Cargo.toml @@ -1,16 +1,16 @@ [package] name = "psp1155_receiver" -version = "1.6.1" +version = "1.7.0" authors = ["Supercolony "] edition = "2021" [dependencies] -ink_primitives = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_metadata = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false, features = ["derive"], optional = true } -ink_env = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_storage = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_lang = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_prelude = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } +ink_primitives = { version = "3.1.0", default-features = false } +ink_metadata = { version = "3.1.0", default-features = false, features = ["derive"], optional = true } +ink_env = { version = "3.1.0", default-features = false } +ink_storage = { version = "3.1.0", default-features = false } +ink_lang = { version = "3.1.0", default-features = false } +ink_prelude = { version = "3.1.0", default-features = false } scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] } scale-info = { version = "2", default-features = false, features = ["derive"], optional = true } diff --git a/mock/psp22-receiver/Cargo.toml b/mock/psp22-receiver/Cargo.toml index ee1a1f53b..ae37ee01e 100644 --- a/mock/psp22-receiver/Cargo.toml +++ b/mock/psp22-receiver/Cargo.toml @@ -1,16 +1,16 @@ [package] name = "psp22_receiver" -version = "1.6.1" +version = "1.7.0" authors = ["Supercolony "] edition = "2021" [dependencies] -ink_primitives = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_metadata = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false, features = ["derive"], optional = true } -ink_env = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_storage = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_lang = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_prelude = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } +ink_primitives = { version = "3.1.0", default-features = false } +ink_metadata = { version = "3.1.0", default-features = false, features = ["derive"], optional = true } +ink_env = { version = "3.1.0", default-features = false } +ink_storage = { version = "3.1.0", default-features = false } +ink_lang = { version = "3.1.0", default-features = false } +ink_prelude = { version = "3.1.0", default-features = false } scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] } scale-info = { version = "2", default-features = false, features = ["derive"], optional = true } diff --git a/mock/psp34-receiver/Cargo.toml b/mock/psp34-receiver/Cargo.toml index 6c293af1b..f12d7225c 100644 --- a/mock/psp34-receiver/Cargo.toml +++ b/mock/psp34-receiver/Cargo.toml @@ -1,16 +1,16 @@ [package] name = "psp34_receiver" -version = "1.6.1" +version = "1.7.0" authors = ["Supercolony "] edition = "2021" [dependencies] -ink_primitives = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_metadata = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false, features = ["derive"], optional = true } -ink_env = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_storage = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_lang = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_prelude = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } +ink_primitives = { version = "3.1.0", default-features = false } +ink_metadata = { version = "3.1.0", default-features = false, features = ["derive"], optional = true } +ink_env = { version = "3.1.0", default-features = false } +ink_storage = { version = "3.1.0", default-features = false } +ink_lang = { version = "3.1.0", default-features = false } +ink_prelude = { version = "3.1.0", default-features = false } scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] } scale-info = { version = "2", default-features = false, features = ["derive"], optional = true } diff --git a/utils/brush_derive/Cargo.toml b/utils/brush_derive/Cargo.toml index 4e1e4d291..4dcc4ff4d 100644 --- a/utils/brush_derive/Cargo.toml +++ b/utils/brush_derive/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "brush_derive" -version = "1.6.1" +version = "1.7.0" authors = ["Supercolony "] edition = "2021" diff --git a/utils/brush_lang/Cargo.toml b/utils/brush_lang/Cargo.toml index 91149cf43..fc6efbf7b 100644 --- a/utils/brush_lang/Cargo.toml +++ b/utils/brush_lang/Cargo.toml @@ -1,14 +1,14 @@ [package] name = "brush_lang" -version = "1.6.1" +version = "1.7.0" authors = ["Supercolony "] edition = "2021" [dependencies] -ink_env = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_lang = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_primitives = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_storage = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } +ink_env = { version = "3.1.0", default-features = false } +ink_lang = { version = "3.1.0", default-features = false } +ink_primitives = { version = "3.1.0", default-features = false } +ink_storage = { version = "3.1.0", default-features = false } proc_macros = { path = "proc_macros" } test_utils = { path = "test_utils", default-features = false } diff --git a/utils/brush_lang/proc_macros/Cargo.toml b/utils/brush_lang/proc_macros/Cargo.toml index f865ad610..51ac80a72 100644 --- a/utils/brush_lang/proc_macros/Cargo.toml +++ b/utils/brush_lang/proc_macros/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "proc_macros" -version = "1.6.1" +version = "1.7.0" authors = ["Supercolony "] edition = "2021" @@ -15,16 +15,16 @@ cargo_metadata = "0.13.1" unwrap = "1.2.1" blake2 = "0.9" heck = "0.3.1" -ink_lang_ir = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } +ink_lang_ir = { version = "3.1.0", default-features = false } synstructure = "0.12" [dev-dependencies] -ink_primitives = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_metadata = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false, features = ["derive"] } -ink_env = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_lang = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_storage = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } -ink_prelude = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } +ink_primitives = { version = "3.1.0", default-features = false } +ink_metadata = { version = "3.1.0", default-features = false, features = ["derive"] } +ink_env = { version = "3.1.0", default-features = false } +ink_lang = { version = "3.1.0", default-features = false } +ink_storage = { version = "3.1.0", default-features = false } +ink_prelude = { version = "3.1.0", default-features = false } scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] } scale-info = { version = "2", default-features = false, features = ["derive"] } diff --git a/utils/brush_lang/test_utils/Cargo.toml b/utils/brush_lang/test_utils/Cargo.toml index 71ca83022..238f4fcfb 100644 --- a/utils/brush_lang/test_utils/Cargo.toml +++ b/utils/brush_lang/test_utils/Cargo.toml @@ -5,7 +5,7 @@ edition = "2021" [dependencies] -ink_env = { tag = "v3.0.1", git = "https://github.com/paritytech/ink", default-features = false } +ink_env = { version = "3.1.0", default-features = false } scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] } scale-info = { version = "2", default-features = false, features = ["derive"], optional = true } From 0604e55c8e859aa6752e1206387fc562c76051b1 Mon Sep 17 00:00:00 2001 From: xgreenx Date: Sun, 22 May 2022 19:18:54 +0100 Subject: [PATCH 2/5] Comment warnings --- .github/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 31afdbe9d..7d282228c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,7 +27,9 @@ jobs: - uses: actions/checkout@v2 - name: Build & Run cargo tests run: | - RUSTFLAGS="-D warnings" cargo test --all-features --workspace -- --test-threads=10 +# Due to https://github.com/paritytech/ink/issues/1269 +# RUSTFLAGS="-D warnings" cargo test --all-features --workspace -- --test-threads=10 + cargo test --all-features --workspace -- --test-threads=10 integration-tests: runs-on: ubuntu-latest container: From 9b9de551c855f20cd95094e4af24c1fd0f64d5c4 Mon Sep 17 00:00:00 2001 From: xgreenx Date: Sun, 22 May 2022 19:19:54 +0100 Subject: [PATCH 3/5] Comment warnings --- .github/workflows/ci.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7d282228c..16bf00ff6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,8 +27,6 @@ jobs: - uses: actions/checkout@v2 - name: Build & Run cargo tests run: | -# Due to https://github.com/paritytech/ink/issues/1269 -# RUSTFLAGS="-D warnings" cargo test --all-features --workspace -- --test-threads=10 cargo test --all-features --workspace -- --test-threads=10 integration-tests: runs-on: ubuntu-latest From 7afc396443097a0a43c042c2a1327dd2aa1c534a Mon Sep 17 00:00:00 2001 From: xgreenx Date: Mon, 23 May 2022 00:17:36 +0100 Subject: [PATCH 4/5] Added delay before each test case. Decrease timeout time --- package.json | 2 +- tests/setup/hooks.ts | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index cc7c7d8ba..a05b8d983 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "build:release": "npx redspot compile --release", "build": "npx redspot compile", "test:redspot": "npx redspot test", - "test:mocha": "mocha --require @babel/register --require ts-node/register --require ./tests/setup/hooks.ts --recursive ./tests --extension \".ts\" --exit --timeout 120000", + "test:mocha": "mocha --require @babel/register --require ts-node/register --require ./tests/setup/hooks.ts --recursive ./tests --extension \".ts\" --exit --timeout 20000", "test": "yarn build:release && yarn test:mocha" } } diff --git a/tests/setup/hooks.ts b/tests/setup/hooks.ts index fc65f01c0..ee8a7be1b 100644 --- a/tests/setup/hooks.ts +++ b/tests/setup/hooks.ts @@ -5,5 +5,8 @@ const { api } = network export const mochaHooks = { afterAll: () => { api.disconnect() + }, + beforeEach: function (done) { + setTimeout(done, 1000); } } From 094ae225c13564b56fdecca0a0accbf41a9ce037 Mon Sep 17 00:00:00 2001 From: xgreenx Date: Tue, 24 May 2022 21:36:47 +0200 Subject: [PATCH 5/5] Hope to fix CI --- .github/workflows/ci.yml | 7 +++---- tests/setup/hooks.ts | 3 --- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 16bf00ff6..787489bec 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,7 +9,6 @@ jobs: image: ghcr.io/supercolony-net/openbrush-contracts-ci options: --user root env: - node: /usr/local/bin/node CARGO_TARGET_DIR: /usr/local/cache/target steps: - uses: actions/checkout@v2 @@ -21,7 +20,6 @@ jobs: image: ghcr.io/supercolony-net/openbrush-contracts-ci options: --user root env: - node: /usr/local/bin/node CARGO_TARGET_DIR: /usr/local/cache/target steps: - uses: actions/checkout@v2 @@ -34,12 +32,13 @@ jobs: image: ghcr.io/supercolony-net/openbrush-contracts-ci options: --user root env: - node: /usr/local/bin/node CARGO_TARGET_DIR: /usr/local/cache/target steps: - uses: actions/checkout@v2 - name: Yarn install dependencies - run: yarn + run: | + yarn + yarn add ts-node - name: Redspot Сompile run: | chown -R root . diff --git a/tests/setup/hooks.ts b/tests/setup/hooks.ts index ee8a7be1b..fc65f01c0 100644 --- a/tests/setup/hooks.ts +++ b/tests/setup/hooks.ts @@ -5,8 +5,5 @@ const { api } = network export const mochaHooks = { afterAll: () => { api.disconnect() - }, - beforeEach: function (done) { - setTimeout(done, 1000); } }