Skip to content

Commit c2c0a9f

Browse files
ascjonesHCastano
andauthored
Release v4.0.0-alpha.3 (#1409)
* (cargo-release) version 4.0.0-alpha.3 * (cargo-release) version 4.0.0-alpha.3 * (cargo-release) version 4.0.0-alpha.3 * (cargo-release) version 4.0.0-alpha.3 * (cargo-release) version 4.0.0-alpha.3 * (cargo-release) version 4.0.0-alpha.3 * (cargo-release) version 4.0.0-alpha.3 * (cargo-release) version 4.0.0-alpha.3 * (cargo-release) version 4.0.0-alpha.3 * (cargo-release) version 4.0.0-alpha.3 * (cargo-release) version 4.0.0-alpha.3 * (cargo-release) version 4.0.0-alpha.3 * Bump inter crate dependency versions * Update CHANGELOG.md for alpha.3 * Human error * Update CHANGELOG.md Co-authored-by: Hernando Castano <[email protected]> * Remove redundant circular dependency on ink_env Co-authored-by: Hernando Castano <[email protected]>
1 parent 6f2beed commit c2c0a9f

File tree

39 files changed

+80
-78
lines changed

39 files changed

+80
-78
lines changed

CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [Unreleased]
88

9-
## Version 4.0.0-alpha.2
9+
## Version 4.0.0-alpha.3
1010

1111
### Breaking Changes
1212

@@ -49,6 +49,13 @@ through a feature flag. `wee-alloc` is no longer maintained and we removed suppo
4949
### Removed
5050
- Remove `wee-alloc`[#1403](https://github.com/paritytech/ink/pull/1403)
5151

52+
## Version 4.0.0-alpha.2
53+
54+
**This version was skipped due to an error during the release process**
55+
56+
As part of this series of `alpha`s we are looking for ways to streamline our release process,
57+
so small errors like this are learning experiences for us.
58+
5259
## Version 4.0.0-alpha.1
5360

5461
### Compatibility

crates/allocator/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ink_allocator"
3-
version = "4.0.0-alpha.2"
3+
version = "4.0.0-alpha.3"
44
authors = ["Parity Technologies <[email protected]>", "Robin Freyler <[email protected]>"]
55
edition = "2021"
66

crates/engine/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ink_engine"
3-
version = "4.0.0-alpha.2"
3+
version = "4.0.0-alpha.3"
44
authors = ["Parity Technologies <[email protected]>", "Michael Müller <[email protected]>"]
55
edition = "2021"
66

@@ -15,7 +15,7 @@ categories = ["no-std", "embedded"]
1515
include = ["Cargo.toml", "src/**/*.rs", "README.md", "LICENSE"]
1616

1717
[dependencies]
18-
ink_primitives = { version = "4.0.0-alpha.2", path = "../../crates/primitives", default-features = false }
18+
ink_primitives = { version = "4.0.0-alpha.3", path = "../../crates/primitives", default-features = false }
1919
scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive", "full"] }
2020
derive_more = { version = "0.99", default-features = false, features = ["from", "display"] }
2121

crates/env/Cargo.toml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ink_env"
3-
version = "4.0.0-alpha.2"
3+
version = "4.0.0-alpha.3"
44
authors = ["Parity Technologies <[email protected]>", "Robin Freyler <[email protected]>"]
55
edition = "2021"
66

@@ -15,11 +15,11 @@ categories = ["no-std", "embedded"]
1515
include = ["Cargo.toml", "src/**/*.rs", "README.md", "LICENSE"]
1616

1717
[dependencies]
18-
ink_metadata = { version = "4.0.0-alpha.2", path = "../metadata", default-features = false, features = ["derive"], optional = true }
19-
ink_allocator = { version = "4.0.0-alpha.2", path = "../allocator", default-features = false }
20-
ink_storage_traits = { version = "4.0.0-alpha.2", path = "../storage/traits", default-features = false }
21-
ink_prelude = { version = "4.0.0-alpha.2", path = "../prelude", default-features = false }
22-
ink_primitives = { version = "4.0.0-alpha.2", path = "../primitives", default-features = false }
18+
ink_metadata = { version = "4.0.0-alpha.3", path = "../metadata", default-features = false, features = ["derive"], optional = true }
19+
ink_allocator = { version = "4.0.0-alpha.3", path = "../allocator", default-features = false }
20+
ink_storage_traits = { version = "4.0.0-alpha.3", path = "../storage/traits", default-features = false }
21+
ink_prelude = { version = "4.0.0-alpha.3", path = "../prelude", default-features = false }
22+
ink_primitives = { version = "4.0.0-alpha.3", path = "../primitives", default-features = false }
2323

2424
scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive", "full"] }
2525
derive_more = { version = "0.99", default-features = false, features = ["from", "display"] }
@@ -33,7 +33,7 @@ static_assertions = "1.1"
3333
rlibc = "1"
3434

3535
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
36-
ink_engine = { version = "4.0.0-alpha.2", path = "../engine/", optional = true }
36+
ink_engine = { version = "4.0.0-alpha.3", path = "../engine/", optional = true }
3737

3838
# Hashes for the off-chain environment.
3939
sha2 = { version = "0.10", optional = true }

crates/ink/Cargo.toml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ink"
3-
version = "4.0.0-alpha.2"
3+
version = "4.0.0-alpha.3"
44
authors = ["Parity Technologies <[email protected]>", "Robin Freyler <[email protected]>"]
55
edition = "2021"
66

@@ -15,12 +15,12 @@ categories = ["no-std", "embedded"]
1515
include = ["Cargo.toml", "src/**/*.rs", "README.md", "LICENSE"]
1616

1717
[dependencies]
18-
ink_env = { version = "4.0.0-alpha.2", path = "../env", default-features = false }
19-
ink_storage = { version = "4.0.0-alpha.2", path = "../storage", default-features = false }
20-
ink_primitives = { version = "4.0.0-alpha.2", path = "../primitives", default-features = false }
21-
ink_metadata = { version = "4.0.0-alpha.2", path = "../metadata", default-features = false, optional = true }
22-
ink_prelude = { version = "4.0.0-alpha.2", path = "../prelude", default-features = false }
23-
ink_macro = { version = "4.0.0-alpha.2", path = "macro", default-features = false }
18+
ink_env = { version = "4.0.0-alpha.3", path = "../env", default-features = false }
19+
ink_storage = { version = "4.0.0-alpha.3", path = "../storage", default-features = false }
20+
ink_primitives = { version = "4.0.0-alpha.3", path = "../primitives", default-features = false }
21+
ink_metadata = { version = "4.0.0-alpha.3", path = "../metadata", default-features = false, optional = true }
22+
ink_prelude = { version = "4.0.0-alpha.3", path = "../prelude", default-features = false }
23+
ink_macro = { version = "4.0.0-alpha.3", path = "macro", default-features = false }
2424

2525
scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive", "full"] }
2626
derive_more = { version = "0.99", default-features = false, features = ["from"] }

crates/ink/codegen/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ink_codegen"
3-
version = "4.0.0-alpha.2"
3+
version = "4.0.0-alpha.3"
44
authors = ["Parity Technologies <[email protected]>", "Robin Freyler <[email protected]>"]
55
edition = "2021"
66

@@ -18,8 +18,8 @@ include = ["Cargo.toml", "src/**/*.rs", "README.md", "LICENSE"]
1818
name = "ink_codegen"
1919

2020
[dependencies]
21-
ink_primitives = { version = "4.0.0-alpha.2", path = "../../primitives" }
22-
ir = { version = "4.0.0-alpha.2", package = "ink_ir", path = "../ir", default-features = false }
21+
ink_primitives = { version = "4.0.0-alpha.3", path = "../../primitives" }
22+
ir = { version = "4.0.0-alpha.3", package = "ink_ir", path = "../ir", default-features = false }
2323
quote = "1"
2424
syn = { version = "1.0", features = ["parsing", "full", "extra-traits"] }
2525
proc-macro2 = "1.0"

crates/ink/ir/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ink_ir"
3-
version = "4.0.0-alpha.2"
3+
version = "4.0.0-alpha.3"
44
authors = ["Parity Technologies <[email protected]>", "Robin Freyler <[email protected]>"]
55
edition = "2021"
66

crates/ink/macro/Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ink_macro"
3-
version = "4.0.0-alpha.2"
3+
version = "4.0.0-alpha.3"
44
authors = ["Parity Technologies <[email protected]>", "Robin Freyler <[email protected]>"]
55
edition = "2021"
66

@@ -15,9 +15,9 @@ categories = ["no-std", "embedded"]
1515
include = ["Cargo.toml", "src/**/*.rs", "README.md", "LICENSE"]
1616

1717
[dependencies]
18-
ink_ir = { version = "4.0.0-alpha.2", path = "../ir", default-features = false }
19-
ink_codegen = { version = "4.0.0-alpha.2", path = "../codegen", default-features = false }
20-
ink_primitives = { version = "4.0.0-alpha.2", path = "../../primitives/", default-features = false }
18+
ink_ir = { version = "4.0.0-alpha.3", path = "../ir", default-features = false }
19+
ink_codegen = { version = "4.0.0-alpha.3", path = "../codegen", default-features = false }
20+
ink_primitives = { version = "4.0.0-alpha.3", path = "../../primitives/", default-features = false }
2121

2222
scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] }
2323
syn = "1"

crates/metadata/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ink_metadata"
3-
version = "4.0.0-alpha.2"
3+
version = "4.0.0-alpha.3"
44
authors = ["Parity Technologies <[email protected]>", "Robin Freyler <[email protected]>"]
55
edition = "2021"
66

@@ -15,8 +15,8 @@ categories = ["no-std", "embedded"]
1515
include = ["Cargo.toml", "src/**/*.rs", "README.md", "LICENSE"]
1616

1717
[dependencies]
18-
ink_prelude = { version = "4.0.0-alpha.2", path = "../prelude/", default-features = false }
19-
ink_primitives = { version = "4.0.0-alpha.2", path = "../primitives/", default-features = false }
18+
ink_prelude = { version = "4.0.0-alpha.3", path = "../prelude/", default-features = false }
19+
ink_primitives = { version = "4.0.0-alpha.3", path = "../primitives/", default-features = false }
2020

2121
serde = { version = "1.0", default-features = false, features = ["derive", "alloc"] }
2222
impl-serde = "0.4.0"

crates/prelude/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ink_prelude"
3-
version = "4.0.0-alpha.2"
3+
version = "4.0.0-alpha.3"
44
authors = ["Parity Technologies <[email protected]>", "Robin Freyler <[email protected]>"]
55
edition = "2021"
66

crates/primitives/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ink_primitives"
3-
version = "4.0.0-alpha.2"
3+
version = "4.0.0-alpha.3"
44
authors = ["Parity Technologies <[email protected]>", "Robin Freyler <[email protected]>"]
55
edition = "2021"
66

@@ -16,7 +16,7 @@ include = ["/Cargo.toml", "src/**/*.rs", "/README.md", "/LICENSE"]
1616

1717
[dependencies]
1818
derive_more = { version = "0.99", default-features = false, features = ["from", "display"] }
19-
ink_prelude = { version = "4.0.0-alpha.2", path = "../prelude/", default-features = false }
19+
ink_prelude = { version = "4.0.0-alpha.3", path = "../prelude/", default-features = false }
2020
scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive", "full"] }
2121
scale-info = { version = "2", default-features = false, features = ["derive"], optional = true }
2222
xxhash-rust = { version = "0.8", features = ["const_xxh32"] }
@@ -27,4 +27,4 @@ std = [
2727
"ink_prelude/std",
2828
"scale/std",
2929
"scale-info/std",
30-
]
30+
]

crates/storage/Cargo.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ink_storage"
3-
version = "4.0.0-alpha.2"
3+
version = "4.0.0-alpha.3"
44
authors = ["Parity Technologies <[email protected]>", "Robin Freyler <[email protected]>"]
55
edition = "2021"
66

@@ -15,11 +15,11 @@ categories = ["no-std", "embedded"]
1515
include = ["Cargo.toml", "src/**/*.rs", "README.md", "LICENSE"]
1616

1717
[dependencies]
18-
ink_env = { version = "4.0.0-alpha.2", path = "../env/", default-features = false }
19-
ink_metadata = { version = "4.0.0-alpha.2", path = "../metadata/", default-features = false, features = ["derive"], optional = true }
20-
ink_primitives = { version = "4.0.0-alpha.2", path = "../primitives/", default-features = false }
21-
ink_storage_traits = { version = "4.0.0-alpha.2", path = "traits", default-features = false }
22-
ink_prelude = { version = "4.0.0-alpha.2", path = "../prelude/", default-features = false }
18+
ink_env = { version = "4.0.0-alpha.3", path = "../env/", default-features = false }
19+
ink_metadata = { version = "4.0.0-alpha.3", path = "../metadata/", default-features = false, features = ["derive"], optional = true }
20+
ink_primitives = { version = "4.0.0-alpha.3", path = "../primitives/", default-features = false }
21+
ink_storage_traits = { version = "4.0.0-alpha.3", path = "traits", default-features = false }
22+
ink_prelude = { version = "4.0.0-alpha.3", path = "../prelude/", default-features = false }
2323

2424
scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive", "full"] }
2525
derive_more = { version = "0.99", default-features = false, features = ["from", "display"] }

crates/storage/traits/Cargo.toml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ink_storage_traits"
3-
version = "4.0.0-alpha.2"
3+
version = "4.0.0-alpha.3"
44
authors = ["Parity Technologies <[email protected]>"]
55
edition = "2021"
66

@@ -15,16 +15,15 @@ categories = ["no-std", "embedded"]
1515
include = ["Cargo.toml", "src/**/*.rs", "README.md", "LICENSE"]
1616

1717
[dependencies]
18-
ink_metadata = { version = "4.0.0-alpha.2", path = "../../metadata", default-features = false, features = ["derive"], optional = true }
19-
ink_primitives = { version = "4.0.0-alpha.2", path = "../../primitives", default-features = false }
20-
ink_prelude = { version = "4.0.0-alpha.2", path = "../../prelude", default-features = false }
18+
ink_metadata = { version = "4.0.0-alpha.3", path = "../../metadata", default-features = false, features = ["derive"], optional = true }
19+
ink_primitives = { version = "4.0.0-alpha.3", path = "../../primitives", default-features = false }
20+
ink_prelude = { version = "4.0.0-alpha.3", path = "../../prelude", default-features = false }
2121
scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive", "full"] }
2222
scale-info = { version = "2", default-features = false, features = ["derive"], optional = true }
2323
syn = { version = "1", features = ["full"] }
2424

2525
[dev-dependencies]
2626
paste = "1.0"
27-
ink_env = { version = "4.0.0-alpha.2", path = "../../env" }
2827

2928
[features]
3029
default = ["std"]
@@ -34,4 +33,4 @@ std = [
3433
"ink_prelude/std",
3534
"scale/std",
3635
"scale-info/std",
37-
]
36+
]

crates/storage/traits/src/impls/mod.rs

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -119,14 +119,10 @@ mod tests {
119119
#[test]
120120
#[allow(non_snake_case)]
121121
fn [<$ty _storage_hint_works>] () {
122-
ink_env::test::run_test::<ink_env::DefaultEnvironment, _>(|_| {
123-
assert_eq!(
124-
::core::any::TypeId::of::<$ty>(),
125-
::core::any::TypeId::of::<<$ty as $crate::StorableHint<$crate::ManualKey<123>>>::Type>()
126-
);
127-
Ok(())
128-
})
129-
.unwrap()
122+
assert_eq!(
123+
::core::any::TypeId::of::<$ty>(),
124+
::core::any::TypeId::of::<<$ty as $crate::StorableHint<$crate::ManualKey<123>>>::Type>()
125+
);
130126
}
131127
}
132128
};

examples/contract-terminate/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "contract_terminate"
3-
version = "4.0.0-alpha.2"
3+
version = "4.0.0-alpha.3"
44
authors = ["Parity Technologies <[email protected]>"]
55
edition = "2021"
66
publish = false

examples/contract-transfer/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "contract_transfer"
3-
version = "4.0.0-alpha.2"
3+
version = "4.0.0-alpha.3"
44
authors = ["Parity Technologies <[email protected]>"]
55
edition = "2021"
66
publish = false

examples/delegator/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "delegator"
3-
version = "4.0.0-alpha.2"
3+
version = "4.0.0-alpha.3"
44
authors = ["Parity Technologies <[email protected]>"]
55
edition = "2021"
66
publish = false

examples/delegator/accumulator/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "accumulator"
3-
version = "4.0.0-alpha.2"
3+
version = "4.0.0-alpha.3"
44
authors = ["Parity Technologies <[email protected]>"]
55
edition = "2021"
66

examples/delegator/adder/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "adder"
3-
version = "4.0.0-alpha.2"
3+
version = "4.0.0-alpha.3"
44
authors = ["Parity Technologies <[email protected]>"]
55
edition = "2021"
66

examples/delegator/subber/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "subber"
3-
version = "4.0.0-alpha.2"
3+
version = "4.0.0-alpha.3"
44
authors = ["Parity Technologies <[email protected]>"]
55
edition = "2021"
66

examples/dns/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "dns"
3-
version = "4.0.0-alpha.2"
3+
version = "4.0.0-alpha.3"
44
authors = ["Parity Technologies <[email protected]>"]
55
edition = "2021"
66
publish = false

examples/erc1155/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "erc1155"
3-
version = "4.0.0-alpha.2"
3+
version = "4.0.0-alpha.3"
44
authors = ["Parity Technologies <[email protected]>"]
55
edition = "2021"
66
publish = false

examples/erc20/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "erc20"
3-
version = "4.0.0-alpha.2"
3+
version = "4.0.0-alpha.3"
44
authors = ["Parity Technologies <[email protected]>"]
55
edition = "2021"
66
publish = false

examples/erc721/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "erc721"
3-
version = "4.0.0-alpha.2"
3+
version = "4.0.0-alpha.3"
44
authors = ["Parity Technologies <[email protected]>"]
55
edition = "2021"
66
publish = false

examples/flipper/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "flipper"
3-
version = "4.0.0-alpha.2"
3+
version = "4.0.0-alpha.3"
44
authors = ["Parity Technologies <[email protected]>"]
55
edition = "2021"
66
publish = false

examples/incrementer/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "incrementer"
3-
version = "4.0.0-alpha.2"
3+
version = "4.0.0-alpha.3"
44
authors = ["Parity Technologies <[email protected]>"]
55
edition = "2021"
66
publish = false

examples/mother/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "mother"
33
description = "Mother of all contracts"
4-
version = "4.0.0-alpha.2"
4+
version = "4.0.0-alpha.3"
55
authors = ["Parity Technologies <[email protected]>"]
66
edition = "2021"
77
publish = false

examples/multisig/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "multisig"
3-
version = "4.0.0-alpha.2"
3+
version = "4.0.0-alpha.3"
44
authors = ["Parity Technologies <[email protected]>"]
55
edition = "2021"
66
publish = false

0 commit comments

Comments
 (0)