Skip to content

Commit

Permalink
Release v0.0.11 (#721)
Browse files Browse the repository at this point in the history
* Clean up `CHANGELOG`

* Bump `spec_version` and `transaction_version`

* Bump non-SemVer versions to `v0.0.11`

* Bump metadata

* `CHANGELOG` fixes

* Couple more `CHANGELOG` fixes

* Run benchmarks
  • Loading branch information
HCastano authored Apr 8, 2024
1 parent 4c6b899 commit 8e7675b
Show file tree
Hide file tree
Showing 45 changed files with 1,238 additions and 1,171 deletions.
40 changes: 26 additions & 14 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,20 @@ 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.0.10...master)
## [[Unreleased]](https://github.com/entropyxyz/entropy-core/compare/release/v0.0.11...master)

## [0.0.11](https://github.com/entropyxyz/entropy-core/compare/release/v0.0.10...release/v0.0.11) - 2024-04-XX

### Breaking Changes
- In 'Public Access Mode' [#623](https://github.com/entropyxyz/entropy-core/pull/623) the
- In [#623](https://github.com/entropyxyz/entropy-core/pull/623), 'Public Access Mode', the
`UserSignatureRequest` given when requesting a signature with the 'sign_tx' http endpoint must now
contain an additional field, `signature_request_account: AccountId32`. In private and permissioned
modes, this must be identical to the account used to sign the `SignedMessage` containing the
signature request. In public access mode this may be an Entropy account owned by someone else.
- In 'Add proactive refresh keys on-chain' [#629](https://github.com/entropyxyz/entropy-core/pull/629) the
`StakingExtensionConfig::proactive_refresh_validators` field used by the chain spec is now
`StakingExtensionConfigproactive_refresh_data` and takes a tuple of `Vec`. Both should be empty at
genesis for production.
- In [#629](https://github.com/entropyxyz/entropy-core/pull/629), 'Add proactive refresh keys on-chain',
the `StakingExtensionConfig::proactive_refresh_validators` field used by the chain spec is now
`StakingExtensionConfig::proactive_refresh_data` and takes a tuple of `Vec`. Both should be empty
at genesis for production.
- In [#631](https://github.com/entropyxyz/entropy-core/pull/631), the `config_interface` field of
`ProgramInfo` was renamed to `interface_description` to be more semantically accurate. This field
will now be used to describe program interfaces, including the auxilary and configuration
Expand All @@ -29,8 +31,8 @@ At the moment this project **does not** adhere to
- In [#659](https://github.com/entropyxyz/entropy-core/pull/659), the Staking Extension pallet's
`validate` extrinsic changed to take a `ServerInfo` struct instead of individual fields.
- In [#660](https://github.com/entropyxyz/entropy-core/pull/660), if too many request are sent
for signing by a user in a block the TSS will reject them. As well a parameter config was
added to the chainspec
for signing by a user in a block the TSS will reject them. The chainspec now has an added field
for the new Parameters pallet, which itself has a `request_limit` field.
- In [#661](https://github.com/entropyxyz/entropy-core/pull/661), the Relayer pallet was renamed to
the Registry pallet as this better describes the purpose of the pallet.
- In [#662](https://github.com/entropyxyz/entropy-core/pull/662), the Free Transaction pallet was
Expand All @@ -41,29 +43,39 @@ At the moment this project **does not** adhere to
`registered` struct.
- In [#678](https://github.com/entropyxyz/entropy-core/pull/678), the Registry pallet's
`get_validator_info()` public method stopped returning the validator index
- In [#680](https://github.com/entropyxyz/entropy-core/pull/680), a new genesis config entry was
added for the Programs pallet. This entry, `initial_programs`, is a list of tuples which contains
information (`hash`, `bytecode`, `config`, `auxiliary data`) about what programs to have on chain
during genesis.
- In [#681](https://github.com/entropyxyz/entropy-core/pull/681) `program_interface` in
`program_data` of the `Programs` pallet has been split into `configuration_schema` and `auxiliary_data_schema`
- In 'Add HPKE implementation' [#674](https://github.com/entropyxyz/entropy-core/pull/674)
`program_data` of the `Programs` pallet has been split into `configuration_schema` and
`auxiliary_data_schema`
- In [#674](https://github.com/entropyxyz/entropy-core/pull/674), 'Add HPKE implementation',
`entropy-protocol`'s `SignedMessage` has been replaced by `EncryptedSignedMessage` which has some
small API differences, `derive_static_secret` is renamed `derive_x25519_static_secret`, and in the
`entropy-protocol` JS module, the subclass dealing with encryption has been renamed from
small API differences: `derive_static_secret` was renamed to `derive_x25519_static_secret`, and in
the `entropy-protocol` JS module the subclass dealing with encryption has been renamed from
`X25519Chacha20Poly1305` to `Hpke`. The JS API is otherwise the same as before.
- In [#703](https://github.com/entropyxyz/entropy-core/pull/703) a new genesis config parameter for
the Parameters pallet was added, `max_instructions_per_program`.

### Added
- Add ValidatorSubgroupRotated event ([#618](https://github.com/entropyxyz/entropy-core/pull/618))
- Public access mode ([#623](https://github.com/entropyxyz/entropy-core/pull/623))
- Emit events on TSS server errors ([#625](https://github.com/entropyxyz/entropy-core/pull/625))
- Add direct query for a validator's subgroup ([#642](https://github.com/entropyxyz/entropy-core/pull/642))
- Add version number to registered ([#658](https://github.com/entropyxyz/entropy-core/pull/658))
- Request limit check ([#660](https://github.com/entropyxyz/entropy-core/pull/660))
- Add helper for checking if a validator is in the signing committee ([#678](https://github.com/entropyxyz/entropy-core/pull/678))
- Note unresponsiveness reports in Slashing pallet ([#679](https://github.com/entropyxyz/entropy-core/pull/679))
- Add device key program to initial chianstate ([#680](https://github.com/entropyxyz/entropy-core/pull/660))
- Add device key program to initial chainstate ([#680](https://github.com/entropyxyz/entropy-core/pull/680))
- Add aux data to program info ([#681](https://github.com/entropyxyz/entropy-core/pull/681))
- Add HPKE implementation ([#674](https://github.com/entropyxyz/entropy-core/pull/674))
- Add max instructions parameters onchain ([#703](https://github.com/entropyxyz/entropy-core/pull/681))
- Add max instructions parameters onchain ([#703](https://github.com/entropyxyz/entropy-core/pull/703))

### Changed
- Test CLI - dont send hardcoded auxiliary data by default when signing ([#614](https://github.com/entropyxyz/entropy-core/pull/614))
- Add proactive refresh keys on-chain ([#629](https://github.com/entropyxyz/entropy-core/pull/629))
- Rename ProgramInfo.config_interface to interface_description ([#631](https://github.com/entropyxyz/entropy-core/pull/631))
- Change test-cli default access mode and update readme for recent changes ([#643](https://github.com/entropyxyz/entropy-core/pull/643))
- Add additional checks to TSS server's `/user/receive_key` endpoint ([#655](https://github.com/entropyxyz/entropy-core/pull/655))
- Disallow using existing TSS account IDs in Staking pallet ([#657](https://github.com/entropyxyz/entropy-core/pull/657))
Expand Down
20 changes: 10 additions & 10 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 crates/testing-utils/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name ="entropy-testing-utils"
version ='0.0.10'
version ='0.0.11'
authors =['Entropy Cryptography <engineering@entropy.xyz>']
homepage ='https://entropy.xyz/'
license ='AGPL-3.0-or-later'
Expand Down
Binary file modified crates/threshold-signature-server/entropy_metadata.scale
Binary file not shown.
8 changes: 4 additions & 4 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.10'
version ='0.0.11'
authors =['Entropy Cryptography <engineering@entropy.xyz>']
homepage ='https://entropy.xyz/'
license ='AGPL-3.0-or-later'
Expand Down Expand Up @@ -91,10 +91,10 @@ pallet-transaction-payment ={ version="25.0.0" }
pallet-transaction-payment-rpc ={ version="27.0.0" }

# Entropy Dependencies
entropy-runtime ={ version="0.0.10", path="../../runtime" }
entropy-runtime ={ version="0.0.11", path="../../runtime" }
entropy-shared ={ path="../../crates/shared", default-features=false, features=["wasm-no-std"] }
pallet-registry ={ version="0.0.10", path="../../pallets/registry" }
pallet-staking-extension={ version="0.0.10", path="../../pallets/staking" }
pallet-registry ={ version="0.0.11", path="../../pallets/registry" }
pallet-staking-extension={ version="0.0.11", path="../../pallets/staking" }

[build-dependencies]
clap ={ version="4.2.5", optional=true }
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.0.10'
version ='0.0.11'
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.10'
version ='0.0.11'
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.10'
version ='0.0.11'
authors =['Entropy Cryptography <engineering@entropy.xyz>']
homepage ='https://entropy.xyz/'
license ='AGPL-3.0-or-later'
Expand Down Expand Up @@ -28,9 +28,9 @@ sp-runtime ={ version="28.0.0", default-features=false }
sp-staking ={ version="23.0.0", default-features=false }

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

[dev-dependencies]
parking_lot="0.11.2"
Expand Down
6 changes: 3 additions & 3 deletions pallets/registry/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name ='pallet-registry'
version ='0.0.10'
version ='0.0.11'
authors =['Entropy Cryptography <engineering@entropy.xyz>']
homepage ='https://entropy.xyz/'
license ='AGPL-3.0-or-later'
Expand All @@ -27,8 +27,8 @@ sp-runtime ={ version="28.0.0", default-features=false }
sp-std ={ version="12.0.0", default-features=false }

entropy-shared ={ path="../../crates/shared", features=["wasm-no-std"], default-features=false }
pallet-programs ={ version="0.0.10", path="../programs", default-features=false }
pallet-staking-extension={ version="0.0.10", path="../staking", default-features=false }
pallet-programs ={ version="0.0.11", path="../programs", default-features=false }
pallet-staking-extension={ version="0.0.11", path="../staking", default-features=false }

[dev-dependencies]
frame-election-provider-support={ version="25.0.0", default-features=false }
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.10'
version ='0.0.11'
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.10'
version ='0.0.11'
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.10'
version ='0.0.11'
authors =['Entropy Cryptography <engineering@entropy.xyz>']
homepage ='https://entropy.xyz/'
license ='AGPL-3.0-or-later'
Expand All @@ -25,7 +25,7 @@ pallet-balances={ version="25.0.0" }
sp-core ={ version="25.0.0" }
sp-io ={ version="27.0.0" }

pallet-programs={ version="0.0.10", default-features=false, path="../programs" }
pallet-programs={ version="0.0.11", default-features=false, path="../programs" }

[features]
default=["std"]
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.10'
version ='0.0.11'
authors =['Entropy Cryptography <engineering@entropy.xyz>']
homepage ='https://entropy.xyz/'
license ='AGPL-3.0-or-later'
Expand Down Expand Up @@ -98,13 +98,13 @@ pallet-utility ={ version="25.0.0", default-featur
pallet-vesting ={ version="25.0.0", default-features=false }

# Entropy Pallets
pallet-programs ={ version='0.0.10', path='../pallets/programs', default-features=false }
pallet-propagation ={ version='0.0.10', path='../pallets/propagation', default-features=false }
pallet-registry ={ version='0.0.10', path='../pallets/registry', default-features=false }
pallet-slashing ={ version='0.0.10', path='../pallets/slashing', default-features=false }
pallet-staking-extension={ version='0.0.10', path='../pallets/staking', default-features=false }
pallet-transaction-pause={ version='0.0.10', path='../pallets/transaction-pause', default-features=false }
pallet-parameters ={ version='0.0.10', path='../pallets/parameters', default-features=false }
pallet-programs ={ version='0.0.11', path='../pallets/programs', default-features=false }
pallet-propagation ={ version='0.0.11', path='../pallets/propagation', default-features=false }
pallet-registry ={ version='0.0.11', path='../pallets/registry', default-features=false }
pallet-slashing ={ version='0.0.11', path='../pallets/slashing', default-features=false }
pallet-staking-extension={ version='0.0.11', path='../pallets/staking', default-features=false }
pallet-transaction-pause={ version='0.0.11', path='../pallets/transaction-pause', default-features=false }
pallet-parameters ={ version='0.0.11', path='../pallets/parameters', default-features=false }

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

Expand Down
4 changes: 2 additions & 2 deletions runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,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: 010,
spec_version: 011,

// We only bump this if the runtime behaviour remains unchanged, but the implementations details
// have changed.
Expand All @@ -221,7 +221,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
// call index, parameter changes, etc.).
//
// The `spec_version` also needs to be bumped in this case.
transaction_version: 4,
transaction_version: 5,

// Version of the state implementation to use.
//
Expand Down
Loading

0 comments on commit 8e7675b

Please sign in to comment.