Skip to content

Commit

Permalink
Release v0.2.0-rc.1 (#910)
Browse files Browse the repository at this point in the history
* Update `CHANGELOG`

* Bump `spec_version` and `transaction_version`

* Bump versions to `v0.2.0-rc.1`

* Bump metadata

* TaploFmt

* Update `register` command in `RELEASE_CHECKLIST`

* Add breaking change for `--mnemonic-option` flag

* Bump metadata

* Bump metadata using `--dev` config

* Cleanup `CHANGELOG` a bit

* Updated the commit used for the `Unreleased` header

* Update benchmarks

This only took 5 hours to run 🫠
  • Loading branch information
HCastano authored Jun 27, 2024
1 parent 82b81eb commit 0be76e1
Show file tree
Hide file tree
Showing 57 changed files with 1,514 additions and 1,135 deletions.
24 changes: 18 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,37 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
At the moment this project **does not** adhere to
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased](https://github.com/entropyxyz/entropy-core/compare/release/v0.1.0...master)
## [Unreleased](https://github.com/entropyxyz/entropy-core/compare/release/v0.2.0-rc.1...master)

## [0.2.0-rc.1](https://github.com/entropyxyz/entropy-core/compare/release/v0.1.0...release/v0.2.0-rc.1) - 2024-06-24

### Breaking Changes
- In [#866](https://github.com/entropyxyz/entropy-core/pull/866) timestamp was removed from `UserSignatureRequest` and replaced with block_number. Thus check_stale now uses block_number for stale checks
- In [#853](https://github.com/entropyxyz/entropy-core/pull/853) the responsibility of generating a
TSS mnemonic was shifted to operators, which can be done using the `--mnemonic` flag during
process startup. This also allows operators to back up the mnemonic for their TSS.
- In [#856](https://github.com/entropyxyz/entropy-core/pull/856) a new flag, `--mnemonic-option`,
and environment variable `DEPLOYER_MNEMONIC`, were added to the `entropy-test-cli` as ways to
indicate which account to use during registration. This replaces having an account name or
mnemonic directly in the command invocation.
- In [#866](https://github.com/entropyxyz/entropy-core/pull/866) timestamp was removed from
`UserSignatureRequest` and replaced with block_number. Thus check_stale now uses block_number for
stale checks
- In [#881](https://github.com/entropyxyz/entropy-core/pull/881) the `HashingAlgorithm` enum is
given an additional variant `Blake2_256` and marked as `non_exhaustive` meaning we must handle the
case that an unknown variant is added in the future.
- In [#900](https://github.com/entropyxyz/entropy-core/pull/900) the subgroup signer selection now adds a ```.sort()``` function before selecting the index to ensure consistentcy across libraries languages and clients
- In [#900](https://github.com/entropyxyz/entropy-core/pull/900) the subgroup signer selection was
sorted to ensure a predicatble order across libraries, languages and clients.

### Added
- Add a way to change program modification account ([#843](https://github.com/entropyxyz/entropy-core/pull/843))
- Add a way to change program modification account ([#843](https://github.com/entropyxyz/entropy-core/pull/843))
- Add support for `--mnemonic-file` and `THRESHOLD_SERVER_MNEMONIC` ([#864](https://github.com/entropyxyz/entropy-core/pull/864))
- Add validator helpers to cli ([#870](https://github.com/entropyxyz/entropy-core/pull/870))
- Add blake2 as built in hash function and make HashingAlgorithm non-exhaustive ([#881](https://github.com/entropyxyz/entropy-core/pull/881))
- Add `blake2` as built in hash function and make `HashingAlgorithm` non-exhaustive ([#881](https://github.com/entropyxyz/entropy-core/pull/881))
- Add sort to subgroup signer selection ([#900](https://github.com/entropyxyz/entropy-core/pull/900))
- Create four node Docker Compose chainspec ([#902](https://github.com/entropyxyz/entropy-core/pull/902))

### Changed
- Move TSS mnemonic out of keystore [#853](https://github.com/entropyxyz/entropy-core/pull/853)
- Move TSS mnemonic out of keystore ([#853](https://github.com/entropyxyz/entropy-core/pull/853))
- Prepare test CLI for use in Programs repo ([#856](https://github.com/entropyxyz/entropy-core/pull/856))
- Replace timestamp with block number ([#866](https://github.com/entropyxyz/entropy-core/pull/866))
- Change currency units ([#901](https://github.com/entropyxyz/entropy-core/pull/901))
Expand Down
32 changes: 16 additions & 16 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion RELEASE_CHECKLIST.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ tagged as the final release.
- Build the images and spin up the network using `docker compose up`
- Register an account using:
- `cargo run -p entropy-test-cli -- register \
One public ./crates/testing-utils/template_barebones.wasm`
public -m //One ./crates/testing-utils/template_barebones.wasm`
- Request a signature using:
- `cargo run -p entropy-test-cli -- sign \
$VERIFYING_KEY "Hello, Docker Compose"`
Expand Down
6 changes: 3 additions & 3 deletions crates/client/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name ="entropy-client"
version ="0.1.0"
version ="0.2.0-rc.1"
edition ="2021"
authors =['Entropy Cryptography <[email protected]>']
homepage ='https://entropy.xyz/'
Expand All @@ -11,7 +11,7 @@ repository ='https://github.com/entropyxyz/entropy-core'
[dependencies]
sha3 ="0.10.8"
serde ={ version="1.0", default-features=false, features=["derive"] }
entropy-shared={ version="0.1.0", path="../shared", default-features=false }
entropy-shared={ version="0.2.0-rc.1", path="../shared", default-features=false }
subxt ={ version="0.35.3", default-features=false, features=["jsonrpsee"] }
num ="0.4.3"
thiserror ="1.0.61"
Expand All @@ -24,7 +24,7 @@ blake2 ={ version="0.10.4", optional=true }
rand_core ={ version="0.6.4", optional=true }
serde_json ={ version="1.0", optional=true }
x25519-dalek ={ version="2.0.1", features=["static_secrets"], optional=true }
entropy-protocol={ version="0.1.0", path="../protocol", optional=true, default-features=false }
entropy-protocol={ version="0.2.0-rc.1", path="../protocol", optional=true, default-features=false }
reqwest ={ version="0.12.5", features=["json", "stream"], optional=true }
base64 ={ version="0.22.0", optional=true }
synedrion ={ version="0.1", optional=true }
Expand Down
Binary file modified crates/client/entropy_metadata.scale
Binary file not shown.
4 changes: 2 additions & 2 deletions crates/kvdb/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name ="entropy-kvdb"
description="Encrypted key-value database for the Entropy Theshold Signing Server"
version ="0.1.0"
version ="0.2.0-rc.1"
authors =['Entropy Cryptography <[email protected]>']
homepage ='https://entropy.xyz/'
license ='AGPL-3.0-or-later'
Expand Down Expand Up @@ -32,7 +32,7 @@ tracing={ version="0.1", default-features=false }
# Misc
sled ="0.34.7"
bincode ="1.3.3"
entropy-protocol={ version="0.1.0", path="../protocol" }
entropy-protocol={ version="0.2.0-rc.1", path="../protocol" }

[dev-dependencies]
serial_test="3.1.1"
4 changes: 2 additions & 2 deletions crates/protocol/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name ='entropy-protocol'
version ='0.1.0'
version ='0.2.0-rc.1'
authors =['Entropy Cryptography <[email protected]>']
description="Entropy Signing and DKG protocol execution and transport logic"
homepage ='https://entropy.xyz/'
Expand All @@ -10,7 +10,7 @@ edition ='2021'

[dependencies]
async-trait ="0.1.80"
entropy-shared ={ version="0.1.0", path="../shared", default-features=false }
entropy-shared ={ version="0.2.0-rc.1", path="../shared", default-features=false }
synedrion ="0.1"
serde ={ version="1.0", features=["derive"], default-features=false }
subxt ={ version="0.35.3", default-features=false }
Expand Down
2 changes: 1 addition & 1 deletion crates/shared/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name ="entropy-shared"
description="Shared types used by the Entropy chain node and Entropy Threshold Signing Server"
version ="0.1.0"
version ="0.2.0-rc.1"
authors =['Entropy Cryptography <[email protected]>']
homepage ='https://entropy.xyz/'
license ='AGPL-3.0-or-later'
Expand Down
4 changes: 2 additions & 2 deletions crates/test-cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
[package]
name ="entropy-test-cli"
description="Simple command line interface client for testing Entropy"
version ='0.1.0'
version ='0.2.0-rc.1'
authors =['Entropy Cryptography <[email protected]>']
homepage ='https://entropy.xyz/'
license ='AGPL-3.0-or-later'
repository ='https://github.com/entropyxyz/entropy-core'
edition ='2021'

[dependencies]
entropy-client={ version="0.1.0", path="../client" }
entropy-client={ version="0.2.0-rc.1", path="../client" }
clap ={ version="4.5.7", features=["derive"] }
colored ="2.0.4"
subxt ="0.35.3"
Expand Down
10 changes: 5 additions & 5 deletions crates/testing-utils/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name ="entropy-testing-utils"
description="Utilities for testing the Entropy Threshold Signature Server"
version ='0.1.0'
version ='0.2.0-rc.1'
authors =['Entropy Cryptography <[email protected]>']
homepage ='https://entropy.xyz/'
license ='AGPL-3.0-or-later'
Expand All @@ -18,10 +18,10 @@ lazy_static ="1.5.0"
hex-literal ="0.4.1"
tokio ={ version="1.38", features=["macros", "fs", "rt-multi-thread", "io-util", "process"] }
axum ={ version="0.7.5" }
entropy-shared ={ version="0.1.0", path="../shared" }
entropy-kvdb ={ version="0.1.0", path="../kvdb", default-features=false }
entropy-tss ={ version="0.1.0", path="../threshold-signature-server" }
entropy-protocol ={ version="0.1.0", path="../protocol" }
entropy-shared ={ version="0.2.0-rc.1", path="../shared" }
entropy-kvdb ={ version="0.2.0-rc.1", path="../kvdb", default-features=false }
entropy-tss ={ version="0.2.0-rc.1", path="../threshold-signature-server" }
entropy-protocol ={ version="0.2.0-rc.1", path="../protocol" }
synedrion ="0.1"
hex ="0.4.3"
rand_core ="0.6.4"
Expand Down
12 changes: 7 additions & 5 deletions crates/threshold-signature-server/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name ="entropy-tss"
version ="0.1.0"
version ="0.2.0-rc.1"
authors =['Entropy Cryptography <[email protected]>']
homepage ='https://entropy.xyz/'
description='Entropy threshold signature scheme (TSS) server'
Expand Down Expand Up @@ -38,10 +38,12 @@ parity-scale-codec="3.6.12"
sp-core ={ version="31.0.0", default-features=false }

# Entropy
entropy-shared ={ version="0.1.0", path="../shared" }
entropy-kvdb ={ version="0.1.0", path="../kvdb", default-features=false }
entropy-protocol={ version="0.1.0", path="../protocol", features=["server"] }
entropy-client ={ version="0.1.0", path="../client", default-features=false, features=["native"] }
entropy-shared={ version="0.2.0-rc.1", path="../shared" }
entropy-kvdb={ version="0.2.0-rc.1", path="../kvdb", default-features=false }
entropy-protocol={ version="0.2.0-rc.1", path="../protocol", features=["server"] }
entropy-client={ version="0.2.0-rc.1", path="../client", default-features=false, features=[
"native",
] }

# Programs
entropy-programs-runtime="0.10.0"
Expand Down
10 changes: 5 additions & 5 deletions node/cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name ='entropy'
version ='0.1.0'
version ='0.2.0-rc.1'
description="Entropy substrate node"
authors =['Entropy Cryptography <[email protected]>']
homepage ='https://entropy.xyz/'
Expand Down Expand Up @@ -90,12 +90,12 @@ pallet-transaction-payment ={ version="29.0.0" }
pallet-transaction-payment-rpc={ version="31.0.0" }

# Entropy Dependencies
entropy-runtime={ version="0.1.0", path="../../runtime" }
entropy-shared={ version="0.1.0", path="../../crates/shared", default-features=false, features=[
entropy-runtime={ version="0.2.0-rc.1", path="../../runtime" }
entropy-shared={ version="0.2.0-rc.1", path="../../crates/shared", default-features=false, features=[
"wasm-no-std",
] }
pallet-registry={ version="0.1.0", path="../../pallets/registry" }
pallet-staking-extension={ version="0.1.0", path="../../pallets/staking" }
pallet-registry={ version="0.2.0-rc.1", path="../../pallets/registry" }
pallet-staking-extension={ version="0.2.0-rc.1", path="../../pallets/staking" }
project-root="0.2.2"

[build-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion pallets/parameters/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name ="pallet-parameters"
version ='0.1.0'
version ='0.2.0-rc.1'
authors =['Entropy Cryptography <[email protected]>']
homepage ='https://entropy.xyz/'
license ='AGPL-3.0-or-later'
Expand Down
2 changes: 1 addition & 1 deletion pallets/programs/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name ='pallet-programs'
version ='0.1.0'
version ='0.2.0-rc.1'
authors =['Entropy Cryptography <[email protected]>']
homepage ='https://entropy.xyz/'
license ='AGPL-3.0-or-later'
Expand Down
10 changes: 5 additions & 5 deletions pallets/propagation/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name ='pallet-propagation'
version ='0.1.0'
version ='0.2.0-rc.1'
authors =['Entropy Cryptography <[email protected]>']
homepage ='https://entropy.xyz/'
license ='AGPL-3.0-or-later'
Expand All @@ -26,12 +26,12 @@ sp-io ={ version="31.0.0", default-features=false }
sp-runtime ={ version="32.0.0", default-features=false }
sp-staking ={ version="27.0.0", default-features=false }

entropy-shared={ version="0.1.0", path="../../crates/shared", default-features=false, features=[
entropy-shared={ version="0.2.0-rc.1", path="../../crates/shared", default-features=false, features=[
"wasm-no-std",
] }
pallet-registry={ version="0.1.0", path="../registry", default-features=false }
pallet-programs={ version="0.1.0", path="../programs", default-features=false }
pallet-staking-extension={ version="0.1.0", path="../staking", default-features=false }
pallet-registry={ version="0.2.0-rc.1", path="../registry", default-features=false }
pallet-programs={ version="0.2.0-rc.1", path="../programs", default-features=false }
pallet-staking-extension={ version="0.2.0-rc.1", path="../staking", default-features=false }

[dev-dependencies]
parking_lot="0.12.3"
Expand Down
Loading

0 comments on commit 0be76e1

Please sign in to comment.