Skip to content

Commit

Permalink
Release v0.0.8 (#471)
Browse files Browse the repository at this point in the history
* Bump `RuntimeVersion` parameters

* Bump pallet and runtime versions to `v0.0.8`

* Bump `entropy-protocol` to `v0.1.0`

This matches all the other unreleased crates

* Update runtime benchmarks

* Bump pallet weights as well

* Bump metadata

* Fix a couple instructions in the `RELEASE_CHECKLIST`

* Update the `CHANGELOG` with missing changes

* Add a couple more notes to the `RELEASE_CHECKLIST`

* Remove extra line from `CHANGELOG`

* Update metadata
  • Loading branch information
HCastano authored Nov 6, 2023
1 parent 5ea3ba1 commit 97138a5
Show file tree
Hide file tree
Showing 27 changed files with 791 additions and 771 deletions.
13 changes: 11 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ At the moment this project **does not** adhere to

## [Unreleased]

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

### Breaking Changes

There are a few breaking changes in this release, mostly related to the APIs around Programs
Expand All @@ -19,15 +21,17 @@ Some notables changes introduced in [#428](https://github.com/entropyxyz/entropy
[#451](https://github.com/entropyxyz/entropy-core/pull/451) are:

- The Constraint pallet's `update_v2_constraints` extrinsic has been renamed to `update_program`.
The extrinsic arguments remain unchanged
- The extrinsic arguments remain unchanged
- The Constraint pallet's `ConstraintsV2Updated` event has been renamed to `ProgramUpdated` and now
has two fields instead of a single tuple for its body
- The Constraint pallet's `V2ConstraintLengthExceeded` error has been renamed to `ProgramLengthExceeded`
- The Relayer pallet's `register` extrinsic now takes a `Vec<u8>` as a program instead of an
`Option<Contraints>`
- The Constraints pallet has been renamed to the Programs pallet
- The `entropy-constraints` crate has been removed

### Added
- Separate `entropy-protocol` crate with protocol execution logic ([#404](https://github.com/entropyxyz/entropy-core/pull/404))
- Proactive refresh ([#413](https://github.com/entropyxyz/entropy-core/pull/413))
- Write a Dockerfile that can build both `entropy` and `server`. ([#430](https://github.com/entropyxyz/entropy-core/pull/430))
- Developer experience improvements: SSH auth from workstations, entirely local "devnet"
Expand All @@ -37,13 +41,18 @@ Some notables changes introduced in [#428](https://github.com/entropyxyz/entropy
- This introduces a new `FailedRegistration` event which might be of interest to consumers of this
pallet.
- Add `prune_registration` extrinsic ([#472](https://github.com/entropyxyz/entropy-core/pull/472))
- Allows for accounts to be moved out of registering state (e.g if DKG fails).
- Allows for accounts to be moved out of registering state (e.g if DKG fails).
- This introduces a new `RegistrationCancelled` event which might be of interest to consumers of
this pallet.

### Changed
- Replace outdated `--ws-external` with `--rpc-external` ([#424](https://github.com/entropyxyz/entropy-core/pull/424))
- Ensure correct validator order by using ValidatorInfo from chain rather than from user ([#425](https://github.com/entropyxyz/entropy-core/pull/425))
- Place `demo_offence` dispatchable behind root origin check ([#426](https://github.com/entropyxyz/entropy-core/pull/426))
- Update `pallet-relayer` to use Contraints V2 ([#433](https://github.com/entropyxyz/entropy-core/pull/433))
- Rename `pallet-constraints` to `pallet-programs` ([#451](https://github.com/entropyxyz/entropy-core/pull/451))
- Add way for validators to resolve diff verifying keys ([#460](https://github.com/entropyxyz/entropy-core/pull/460))
- Fix socket address type ([#469](https://github.com/entropyxyz/entropy-core/pull/469))

### Removed
- Remove `is_swapping` from registration details ([#437](https://github.com/entropyxyz/entropy-core/pull/437))
Expand Down
24 changes: 12 additions & 12 deletions Cargo.lock

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

9 changes: 7 additions & 2 deletions RELEASE_CHECKLIST.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,13 @@
etc.), bump `transaction_version` and bump `spec_version`
- [ ] If you're confused about what to bump, read [this](https://paritytech.github.io/polkadot-sdk/master/sp_version/struct.RuntimeVersion.html)
- [ ] Update runtime benchmarks
- `cargo build -p entropy --release && ./scripts/benchmarks.sh`
- `cargo build -p entropy --release --features runtime-benchmarks && ./scripts/benchmarks.sh`
- [ ] Bump `version` in TOML manifests
- For crates with `publish = false`, bump `PATCH` version
- For crates with `publish = true`, bump based off [SemVer](https://semver.org/)
- [ ] Update runtime metadata
- `cargo run -p entropy -- --dev && ./scripts/pull_entropy_metadata.sh`
- `cargo run -p entropy -- --dev`
- `./scripts/pull_entropy_metadata.sh`

## Prep the Threshold Signing Server (TSS)
- [ ] Bump `version` in TOML manifests
Expand All @@ -27,6 +28,8 @@
## Prep the `CHANGELOG`
- [ ] 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
- 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 All @@ -37,6 +40,8 @@
- [ ] Open a PR targeting `master`
- [ ] Get approvals from Entropy core devs
- [ ] Merge release PR into `master`
- Make sure nothing has gone into `master` in the meantime or you may have you repeat the
previous steps!

## Publish Artifacts and Release
- [ ] Ensure **all** CI checks on `master` pass
Expand Down
2 changes: 1 addition & 1 deletion crypto/protocol/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name ='entropy-protocol'
version ='0.0.1'
version ='0.1.0'
authors =['Entropy Cryptography <engineering@entropy.xyz>']
description="Entropy Signing and DKG protocol execution and transport logic"
homepage ='https://entropy.xyz/'
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.7'
version ='0.0.8'
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.7'
version ='0.0.8'
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.7", path="../../pallets/staking" }
pallet-staking-extension ={ version="0.0.8", 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.7", path="../../pallets/free-tx" }
pallet-relayer ={ version="0.0.7", path="../../pallets/relayer" }
pallet-free-tx ={ version="0.0.8", path="../../pallets/free-tx" }
pallet-relayer ={ version="0.0.8", 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 All @@ -80,7 +80,7 @@ sp-tracing={ version="10.0.0", git='https://github.com/paritytech/substrate', br

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

[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.7'
version ='0.0.8'
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.7", default-features=false, path="../staking" }
pallet-relayer ={ version="0.0.7", default-features=false, path="../relayer" }
pallet-staking-extension ={ version="0.0.8", default-features=false, path="../staking" }
pallet-relayer ={ version="0.0.8", 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
Loading

0 comments on commit 97138a5

Please sign in to comment.