Skip to content

Commit

Permalink
Release v0.0.9 (#538)
Browse files Browse the repository at this point in the history
* Bump `spec_version`

* Bump TOML versions to `0.0.9`

* Add missing `CHANGELOG` entries

* Wrap long `CHANGELOG` line

* Write high level release overview in `CHANGELOG`

* Update `RELEASE_CHECKLIST` step to follow our tag structure

* Bump lockfile

* Update metadata

* Update weights
  • Loading branch information
HCastano committed Nov 30, 2023
1 parent ea755ed commit c4fba10
Show file tree
Hide file tree
Showing 50 changed files with 1,132 additions and 1,081 deletions.
47 changes: 36 additions & 11 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,27 +9,52 @@ At the moment this project **does not** adhere to

## [Unreleased]

## [0.0.9](https://github.com/entropyxyz/entropy-core/compare/release/v0.0.8..release/v0.0.9) - 2023-11-30

Some of the noteworthy changes related to this release are related to better integration in Web
Assembly contexts, and improvements to logging for the Threshold Signature Server.

Certain key components related to distributed key generation (DKG) are now able to be compiled to
Wasm. This opens up the possiblity for users to participate in DKG themselves from the browser!

There are changes around how logging in the `server` binary is done. When running the binary users
can now choose the type of output they would like to see (e.g `--logger json`), and can even send
their logs to a [Loki](https://grafana.com/oss/loki/) server (`--loki`) for aggregation and
visualization.

### Breaking Changes

- In the JSON body of the `/sign_tx` endpoint, the `preimage` field has been renamed to `message`. It remains a hex-encoded `string`. [#475](https://github.com/entropyxyz/entropy-core/pull/475/)
- In [#475](https://github.com/entropyxyz/entropy-core/pull/475/), in the JSON body of the
`/sign_tx` endpoint the `preimage` field has been renamed to `message`. It remains a hex-encoded
`string`.

### Added
- Wasm bindings for user to participate in DKG and signing protocols ([#414](https://github.com/entropyxyz/entropy-core/pull/414/))
- Auxiliary data for program evaluation ([#475](https://github.com/entropyxyz/entropy-core/pull/475/))
- Add versioning to server ([#516](https://github.com/entropyxyz/entropy-core/pull/516/))
- Allow logger to be configured from CLI ([#520](https://github.com/entropyxyz/entropy-core/pull/520/))
- Add `bunyan` JSON formatter ([#524](https://github.com/entropyxyz/entropy-core/pull/524/))
- Add Loki logging layer ([#528](https://github.com/entropyxyz/entropy-core/pull/528/))
- Wasm bindings for user to participate in DKG and signing protocols ([#414](https://github.com/entropyxyz/entropy-core/pull/414/))
- Auxiliary data for program evaluation ([#475](https://github.com/entropyxyz/entropy-core/pull/475/))
- Add a keyshare type for wasm which wraps `synedrion::KeyShare` ([#512](https://github.com/entropyxyz/entropy-core/pull/512/))
- Add versioning to server ([#516](https://github.com/entropyxyz/entropy-core/pull/516/))
- Cross-compile for `linux/arm64` and push multi-platform Docker images. ([#518](https://github.com/entropyxyz/entropy-core/pull/518/))
- Allow logger to be configured from CLI ([#520](https://github.com/entropyxyz/entropy-core/pull/520/))
- Add `bunyan` JSON formatter ([#524](https://github.com/entropyxyz/entropy-core/pull/524/))
- Add Loki logging layer ([#528](https://github.com/entropyxyz/entropy-core/pull/528/))

### Changed
- Change SocketAddr type for String ([#496](https://github.com/entropyxyz/entropy-core/pull/496/))
- Add `#[tracing::instrument]` macro to routes ([#515](https://github.com/entropyxyz/entropy-core/pull/515/))
- Remove subxt-signer from server and entropy-protocol ([#526](https://github.com/entropyxyz/entropy-core/pull/526/))
- Validate proactive refresh endpoint ([#483](https://github.com/entropyxyz/entropy-core/pull/483/))
- No proactive refresh on private key visibility ([#485](https://github.com/entropyxyz/entropy-core/pull/485/))
- Use bincode rather than JSON for protocol and subscribe messages ([#492](https://github.com/entropyxyz/entropy-core/pull/492/))
- Allow big protocol messages ([#495](https://github.com/entropyxyz/entropy-core/pull/495/))
- Change `SocketAddr` type for `String` ([#496](https://github.com/entropyxyz/entropy-core/pull/496/))
- Partition proactive refresh ([#504](https://github.com/entropyxyz/entropy-core/pull/504/))
- Add `#[tracing::instrument]` macro to routes ([#515](https://github.com/entropyxyz/entropy-core/pull/515/))
- Make `server` a library, and add integration test for testing protocol crate on wasm ([#517](https://github.com/entropyxyz/entropy-core/pull/517/))
- Remove subxt-signer from server and entropy-protocol ([#526](https://github.com/entropyxyz/entropy-core/pull/526/))
- `ec-runtime` now errors for zero-sized programs ([#529](https://github.com/entropyxyz/entropy-core/pull/529/))
- `entropy-protocol` - polkadot-js compatible sr25519 key generation for wasm API ([#533](https://github.com/entropyxyz/entropy-core/pull/533/))

### Fixed
- Return package version instead of rustc version ([#523](https://github.com/entropyxyz/entropy-core/pull/523/))

## [0.0.8](https://github.com/entropyxyz/entropy-core/compare/v0.0.7..v0.0.8) - 2023-11-06
## [0.0.8](https://github.com/entropyxyz/entropy-core/compare/v0.0.7..release/v0.0.8) - 2023-11-06

### Breaking Changes

Expand Down
22 changes: 11 additions & 11 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 @@ -29,7 +29,7 @@
- [ ] Ensure `CHANGELOG` entries are up to date
- Go through recent commit history and manually verify this
- E.g, compare the previous release to the current `HEAD`
- https://github.com/entropyxyz/entropy-core/compare/vX.X.X...master
- https://github.com/entropyxyz/entropy-core/compare/release/vX.X.X...master
- Ensure headers follow [Keep a Changelog](https://keepachangelog.com/en/1.1.0/)'s conventions
- Only document user facing changes (e.g, it's fine to ignore changes to CI)
- It's especially important that changing affecting external tooling (e.g the Entropy SDK) are
Expand Down
Binary file modified crypto/server/entropy_metadata.scale
Binary file not shown.
2 changes: 1 addition & 1 deletion crypto/testing-utils/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name ="testing-utils"
version ='0.0.8'
version ='0.0.9'
authors =['Entropy Cryptography <engineering@entropy.xyz>']
homepage ='https://entropy.xyz/'
license ='AGPL-3.0-or-later'
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.0.8'
version ='0.0.9'
authors =['Entropy Cryptography <engineering@entropy.xyz>']
homepage ='https://entropy.xyz/'
license ='AGPL-3.0-or-later'
Expand Down Expand Up @@ -50,10 +50,10 @@ sp-keyring ={ version="24.0.0", git='https://github.com/p
frame-system ={ version="4.0.0-dev", git='https://github.com/paritytech/substrate', branch="polkadot-v1.0.0" }
frame-system-rpc-runtime-api ={ version="4.0.0-dev", git='https://github.com/paritytech/substrate', branch="polkadot-v1.0.0" }
pallet-transaction-payment ={ version="4.0.0-dev", git='https://github.com/paritytech/substrate', branch="polkadot-v1.0.0" }
pallet-staking-extension ={ version="0.0.8", path="../../pallets/staking" }
pallet-staking-extension ={ version="0.0.9", path="../../pallets/staking" }
pallet-asset-conversion-tx-payment={ version="4.0.0-dev", git='https://github.com/paritytech/substrate', branch="polkadot-v1.0.0" }
pallet-free-tx ={ version="0.0.8", path="../../pallets/free-tx" }
pallet-relayer ={ version="0.0.8", path="../../pallets/relayer" }
pallet-free-tx ={ version="0.0.9", path="../../pallets/free-tx" }
pallet-relayer ={ version="0.0.9", path="../../pallets/relayer" }
node-inspect ={ version="0.9.0-dev", optional=true, git='https://github.com/paritytech/substrate', branch="polkadot-v1.0.0" }
substrate-frame-cli ={ version="4.0.0-dev", optional=true, git='https://github.com/paritytech/substrate', branch="polkadot-v1.0.0" }
sc-sysinfo ={ version="6.0.0-dev", git='https://github.com/paritytech/substrate', branch="polkadot-v1.0.0" }
Expand Down Expand Up @@ -81,7 +81,7 @@ sp-tracing={ version="10.0.0", git='https://github.com/paritytech/substrate', br

[dependencies.entropy-runtime]
path ='../../runtime'
version='0.0.8'
version='0.0.9'

[dependencies.frame-benchmarking]
git ='https://github.com/paritytech/substrate'
Expand Down
6 changes: 3 additions & 3 deletions pallets/free-tx/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name ='pallet-free-tx'
version ='0.0.8'
version ='0.0.9'
authors =['Entropy Cryptography <engineering@entropy.xyz>']
homepage ='https://entropy.xyz/'
license ='AGPL-3.0-or-later'
Expand Down Expand Up @@ -30,8 +30,8 @@ pallet-bags-list ={ version="4.0.0-dev", default-features=false, g
pallet-staking-reward-curve ={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" }
sp-npos-elections ={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" }
frame-election-provider-support={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" }
pallet-staking-extension ={ version="0.0.8", default-features=false, path="../staking" }
pallet-relayer ={ version="0.0.8", default-features=false, path="../relayer" }
pallet-staking-extension ={ version="0.0.9", default-features=false, path="../staking" }
pallet-relayer ={ version="0.0.9", default-features=false, path="../relayer" }
pallet-authorship ={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" }
sp-tracing ={ version="10.0.0", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" }

Expand Down
2 changes: 1 addition & 1 deletion pallets/helpers/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name ="helpers"
version ='0.0.8'
version ='0.0.9'
authors =['Entropy Cryptography <engineering@entropy.xyz>']
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.0.8'
version ='0.0.9'
authors =['Entropy Cryptography <engineering@entropy.xyz>']
homepage ='https://entropy.xyz/'
license ='AGPL-3.0-or-later'
Expand Down
8 changes: 4 additions & 4 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.0.8'
version ='0.0.9'
authors =['Entropy Cryptography <engineering@entropy.xyz>']
homepage ='https://entropy.xyz/'
license ='AGPL-3.0-or-later'
Expand Down Expand Up @@ -38,9 +38,9 @@ version ='4.0.0-dev'

[dependencies]
pallet-authorship ={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" }
pallet-relayer ={ version="0.0.8", default-features=false, path="../relayer" }
pallet-programs ={ version="0.0.8", default-features=false, path="../programs" }
pallet-staking-extension={ version="0.0.8", default-features=false, path="../staking" }
pallet-relayer ={ version="0.0.9", default-features=false, path="../relayer" }
pallet-programs ={ version="0.0.9", default-features=false, path="../programs" }
pallet-staking-extension={ version="0.0.9", default-features=false, path="../staking" }

scale-info ={ version="2.0.1", default-features=false, features=["derive"] }
log ={ version="0.4.0", default-features=false }
Expand Down
6 changes: 3 additions & 3 deletions pallets/relayer/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name ='pallet-relayer'
version ='0.0.8'
version ='0.0.9'
authors =['Entropy Cryptography <engineering@entropy.xyz>']
homepage ='https://entropy.xyz/'
license ='AGPL-3.0-or-later'
Expand Down Expand Up @@ -65,10 +65,10 @@ entropy-shared ={ path="../../crypto/shared", default-features=false, f
sp-std ={ package="sp-std", git="https://github.com/paritytech/substrate", branch="polkadot-v1.0.0", default-features=false }
pallet-authorship ={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" }
log ={ version="0.4.0", default-features=false }
pallet-programs ={ version="0.0.8", path="../programs", default-features=false }
pallet-programs ={ version="0.0.9", path="../programs", default-features=false }
pallet-session ={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" }
pallet-staking ={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" }
pallet-staking-extension={ version="0.0.8", default-features=false, path="../staking" }
pallet-staking-extension={ version="0.0.9", default-features=false, path="../staking" }

[dev-dependencies]
pallet-balances ={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" }
Expand Down
2 changes: 1 addition & 1 deletion pallets/slashing/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name ='pallet-slashing'
version ='0.0.8'
version ='0.0.9'
authors =['Entropy Cryptography <engineering@entropy.xyz>']
homepage ='https://entropy.xyz/'
license ='AGPL-3.0-or-later'
Expand Down
2 changes: 1 addition & 1 deletion pallets/staking/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name ='pallet-staking-extension'
version ='0.0.8'
version ='0.0.9'
authors =['Entropy Cryptography <engineering@entropy.xyz>']
homepage ='https://entropy.xyz/'
license ='AGPL-3.0-or-later'
Expand Down
4 changes: 2 additions & 2 deletions pallets/transaction-pause/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name ="pallet-transaction-pause"
version ='0.0.8'
version ='0.0.9'
authors =['Entropy Cryptography <engineering@entropy.xyz>']
homepage ='https://entropy.xyz/'
license ='AGPL-3.0-or-later'
Expand All @@ -19,7 +19,7 @@ sp-std ={ git="https://github.com/paritytech/substrate", branch="polk

[dev-dependencies]
pallet-balances={ git="https://github.com/paritytech/substrate", branch="polkadot-v1.0.0" }
pallet-programs={ version="0.0.8", default-features=false, path="../programs" }
pallet-programs={ version="0.0.9", default-features=false, path="../programs" }
smallvec ="1.4.1"
sp-core ={ version="21.0.0", git="https://github.com/paritytech/substrate", branch="polkadot-v1.0.0" }
sp-io ={ git="https://github.com/paritytech/substrate", branch="polkadot-v1.0.0" }
Expand Down
16 changes: 8 additions & 8 deletions runtime/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name ='entropy-runtime'
version ='0.0.8'
version ='0.0.9'
authors =['Entropy Cryptography <engineering@entropy.xyz>']
homepage ='https://entropy.xyz/'
license ='AGPL-3.0-or-later'
Expand Down Expand Up @@ -100,13 +100,13 @@ pallet-nomination-pools-benchmarking={ version="1.0.0", default-features=false,
pallet-nomination-pools-runtime-api={ version="1.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" }
pallet-vesting={ version="4.0.0-dev", default-features=false, git='https://github.com/paritytech/substrate.git', branch="polkadot-v1.0.0" }

pallet-relayer ={ version='0.0.8', default-features=false, path='../pallets/relayer' }
pallet-slashing ={ version='0.0.8', default-features=false, path='../pallets/slashing' }
pallet-programs ={ version='0.0.8', default-features=false, path='../pallets/programs' }
pallet-staking-extension={ version='0.0.8', default-features=false, path='../pallets/staking' }
pallet-transaction-pause={ version='0.0.8', default-features=false, path='../pallets/transaction-pause' }
pallet-free-tx ={ version='0.0.8', default-features=false, path='../pallets/free-tx' }
pallet-propagation ={ version='0.0.8', default-features=false, path='../pallets/propagation' }
pallet-relayer ={ version='0.0.9', default-features=false, path='../pallets/relayer' }
pallet-slashing ={ version='0.0.9', default-features=false, path='../pallets/slashing' }
pallet-programs ={ version='0.0.9', default-features=false, path='../pallets/programs' }
pallet-staking-extension={ version='0.0.9', default-features=false, path='../pallets/staking' }
pallet-transaction-pause={ version='0.0.9', default-features=false, path='../pallets/transaction-pause' }
pallet-free-tx ={ version='0.0.9', default-features=false, path='../pallets/free-tx' }
pallet-propagation ={ version='0.0.9', default-features=false, path='../pallets/propagation' }

entropy-shared={ path="../crypto/shared", default-features=false, features=["wasm-no-std"] }

Expand Down
2 changes: 1 addition & 1 deletion runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
// We update this if the runtime behaviour has changed. When this happens we set the
// `impl_version` to `0`.
#[allow(clippy::zero_prefixed_literal)]
spec_version: 008,
spec_version: 009,

// We only bump this if the runtime behaviour remains unchanged, but the implementations details
// have changed.
Expand Down
Loading

0 comments on commit c4fba10

Please sign in to comment.