Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v0.3.0-rc.1 #1098

Merged
merged 9 commits into from
Oct 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 17 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,17 @@ 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.2.0...master)
## [Unreleased](https://github.com/entropyxyz/entropy-core/compare/release/v0.3.0-rc.1...master)

## [0.3.0-rc.1](https://github.com/entropyxyz/entropy-core/compare/release/v0.2.0...release/v0.3.0-rc.1) - 2024-10-04

### Breaking Changes
- In [#799](https://github.com/entropyxyz/entropy-core/pull/799) the concept of subgroups was
removed in favour of a single pool of signers.
- In [#801](https://github.com/entropyxyz/entropy-core/pull/801) permissioned access mode was
removed.
- In [#879](https://github.com/entropyxyz/entropy-core/pull/879) the network migrated from t-of-N
cryptography to `t-of-N` cryptography.
- In [#938](https://github.com/entropyxyz/entropy-core/pull/938), the chainspec got a couple of new
fields, `pallet_staking_extension::initial_signers`, `pallet_parameters::total_signers`, and
`pallet_parameters::threshold`, which are used to set up the initial threshold signing
Expand All @@ -22,7 +30,8 @@ At the moment this project **does not** adhere to
to go through the `staking_extention` pallet. This makes sure no funds can be unbonded from a
validator if they are currently in the signing comittee. This was applied to `unbond`, `chill`,
and `withdraw_unbonded`
- In [#1045](https://github.com/entropyxyz/entropy-core/pull/1045), `ProgramsInfo` now takes `version_number` to maintain backwards compatibility if programs runtime is updated
- In [#1045](https://github.com/entropyxyz/entropy-core/pull/1045), `ProgramsInfo` now takes
`version_number` to maintain backwards compatibility if programs runtime is updated
- In [#1050](https://github.com/entropyxyz/entropy-core/pull/1050), the flow for signing has changed.
A user now sends their request to any validator that is not a signer. This will act as a relayer.
As such, `UserSignatureRequest` no longer requires the `validators_info` field since the the
Expand All @@ -46,23 +55,27 @@ At the moment this project **does not** adhere to
- Add parent key threshold dynamically ([#974](https://github.com/entropyxyz/entropy-core/pull/974))
- Signing flow with derived accounts ([#990](https://github.com/entropyxyz/entropy-core/pull/990))
- TSS attestation endpoint ([#1001](https://github.com/entropyxyz/entropy-core/pull/1001))
- Add `network-jumpstart` command to `entropy-test-cli` ([#1004](https://github.com/entropyxyz/entropy-core/pull/1004))
- Attestation pallet ([#1003](https://github.com/entropyxyz/entropy-core/pull/1003))
- Add `network-jumpstart` command to `entropy-test-cli` ([#1004](https://github.com/entropyxyz/entropy-core/pull/1004))
- Update test CLI for new registration and signing flows ([#1008](https://github.com/entropyxyz/entropy-core/pull/1008))
- Add remove program function to entropy-client ([#1023](https://github.com/entropyxyz/entropy-core/pull/1023))
- Select validators for jumpstart DKG [#1053](https://github.com/entropyxyz/entropy-core/pull/1053))
- Add a programs version ([#1045](https://github.com/entropyxyz/entropy-core/pull/1045))
- Handle Provisioning Certification Keys (PCKs) ([#1051](https://github.com/entropyxyz/entropy-core/pull/1051))
- Block tss chain when signer ([#1078](https://github.com/entropyxyz/entropy-core/pull/1078))
- Block tss chain when signer ([#1078](https://github.com/entropyxyz/entropy-core/pull/1078))

### Changed
- Migrate to threshold signing ([#800](https://github.com/entropyxyz/entropy-core/pull/800))
- Use t of n signing in `entropy-tss` ([#879](https://github.com/entropyxyz/entropy-core/pull/879))
- Fix TSS `AccountId` keys in chainspec ([#993](https://github.com/entropyxyz/entropy-core/pull/993))
- No unbonding when signer or next signer ([#1031](https://github.com/entropyxyz/entropy-core/pull/1031))
- Add relay tx endpoint ([#1050](https://github.com/entropyxyz/entropy-core/pull/1050))
- Trigger attestation check during validate ([#1063](https://github.com/entropyxyz/entropy-core/pull/1063))
- Add fourth node to `devnet-local` configuration ([#1086](https://github.com/entropyxyz/entropy-core/pull/1086))

### Removed
- Remove subgroups ([#799](https://github.com/entropyxyz/entropy-core/pull/799))
- Remove permission from chain ([#801](https://github.com/entropyxyz/entropy-core/pull/801))
- Remove `prune_registration` extrinsic ([#1022](https://github.com/entropyxyz/entropy-core/pull/1022))
- Remove `confirm_registered` extrinsic ([#1025](https://github.com/entropyxyz/entropy-core/pull/1025))
- Remove old registration flow ([#1030](https://github.com/entropyxyz/entropy-core/pull/1030))
Expand Down
38 changes: 19 additions & 19 deletions Cargo.lock

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

4 changes: 3 additions & 1 deletion RELEASE_CHECKLIST.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,11 @@ tagged as the final release.
- Change the `image` fields in `docker-compose-common.yaml` to a local build, e.g
`entropyxyz/entropy:local-vX.Y.Z-rc.1`
- Build the images and spin up the network using `docker compose up`
- Jumpstart the network using:
- `cargo run -p entropy-test-cli -- jumpstart-network`
- Register an account using:
- `cargo run -p entropy-test-cli -- register \
public -m //One ./crates/testing-utils/template_barebones.wasm`
./crates/testing-utils/template_barebones.wasm -m //One`
- 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.2.0"
version ="0.3.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.2.0", path="../shared", default-features=false }
entropy-shared={ version="0.3.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.64"
Expand All @@ -25,7 +25,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.2.0", path="../protocol", optional=true, default-features=false }
entropy-protocol={ version="0.3.0-rc.1", path="../protocol", optional=true, default-features=false }
reqwest ={ version="0.12.8", features=["json", "stream"], optional=true }
base64 ={ version="0.22.0", optional=true }
synedrion ={ version="0.2.0-beta.0", 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.2.0"
version ="0.3.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.2.0", path="../protocol" }
entropy-protocol={ version="0.3.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.2.0'
version ='0.3.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.83"
entropy-shared ={ version="0.2.0", path="../shared", default-features=false }
entropy-shared ={ version="0.3.0-rc.1", path="../shared", default-features=false }
synedrion ={ version="0.2.0-beta.0" }
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.2.0"
version ="0.3.0-rc.1"
authors =['Entropy Cryptography <[email protected]>']
homepage ='https://entropy.xyz/'
license ='AGPL-3.0-or-later'
Expand Down
6 changes: 3 additions & 3 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.2.0'
version ='0.3.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.2.0", path="../client" }
entropy-client={ version="0.3.0-rc.1", path="../client" }
clap ={ version="4.5.19", features=["derive"] }
colored ="2.0.4"
subxt ="0.35.3"
Expand All @@ -20,4 +20,4 @@ hex ="0.4.3"
bincode ="1.3.3"
x25519-dalek ="2.0.1"
sp-runtime ={ version="32.0.0", default-features=false }
entropy-shared={ version="0.2.0", path="../shared" }
entropy-shared={ version="0.3.0-rc.1", path="../shared" }
38 changes: 20 additions & 18 deletions crates/testing-utils/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,32 +1,34 @@
[package]
name ="entropy-testing-utils"
description="Utilities for testing the Entropy Threshold Signature Server"
version ='0.2.0'
version ='0.3.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]
subxt ="0.35.3"
sp-keyring ="34.0.0"
project-root ="0.2.2"
sp-core ={ version="31.0.0", default-features=false }
subxt="0.35.3"
sp-keyring="34.0.0"
project-root="0.2.2"
sp-core={ version="31.0.0", default-features=false }
parity-scale-codec="3.6.12"
lazy_static ="1.5.0"
hex-literal ="0.4.1"
tokio ={ version="1.40", features=["macros", "fs", "rt-multi-thread", "io-util", "process"] }
axum ={ version="0.7.7" }
entropy-shared ={ version="0.2.0", path="../shared" }
entropy-kvdb ={ version="0.2.0", path="../kvdb", default-features=false }
entropy-tss ={ version="0.2.0", path="../threshold-signature-server", features=["test_helpers"] }
entropy-protocol ={ version="0.2.0", path="../protocol" }
synedrion ={ version="0.2.0-beta.0" }
hex ="0.4.3"
rand_core ="0.6.4"
rand ="0.8.5"
tdx-quote ={ version="0.0.1", features=["mock"] }
lazy_static="1.5.0"
hex-literal="0.4.1"
tokio={ version="1.40", features=["macros", "fs", "rt-multi-thread", "io-util", "process"] }
axum={ version="0.7.7" }
entropy-shared={ version="0.3.0-rc.1", path="../shared" }
entropy-kvdb={ version="0.3.0-rc.1", path="../kvdb", default-features=false }
entropy-tss={ version="0.3.0-rc.1", path="../threshold-signature-server", features=[
"test_helpers",
] }
entropy-protocol={ version="0.3.0-rc.1", path="../protocol" }
synedrion={ version="0.2.0-beta.0" }
hex="0.4.3"
rand_core="0.6.4"
rand="0.8.5"
tdx-quote={ version="0.0.1", features=["mock"] }

# Logging
tracing ="0.1.37"
Expand Down
Loading
Loading