Skip to content

Commit

Permalink
chore: version bump to RC22 (#4891)
Browse files Browse the repository at this point in the history
Signed-off-by: Marin Veršić <[email protected]>
  • Loading branch information
mversic authored Jul 26, 2024
1 parent c529992 commit 29f1a48
Show file tree
Hide file tree
Showing 6 changed files with 138 additions and 47 deletions.
91 changes: 91 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,97 @@

## [Unreleased]

## [2.0.0-pre-rc.22.0] - 2024-07-25

### Added

- specify on-chain parameters explicitly in genesis (#4812)
- allow turbofish with multiple `Instruction`s (#4805)
- reimplement multisignature transactions (#4788)
- implement built-in vs custom on-chain parameters (#4731)
- improve custom instruction usage (#4778)
- make the metadata dynamic via implementing JsonString (#4732)
- allow multiple peers submit genesis block (#4775)
- supply `SignedBlock` instead of `SignedTransaction` to peer (#4739)
- custom instructions in executor (#4645)
- extend client cli to request json queries (#4684)
- add detect support for `parity_scale_decoder` (#4680)
- generalize permissions schema to executor data model (#4658)
- added register trigger permissions in the default executor (#4616)
- support JSON in `parity_scale_cli`
- deduplicate triggers with the same wasm code (#4434)
- introduce p2p idle timeout

### Changed

- replace `lol_alloc` with `dlmalloc` (#4857)
- rename `type_` to `type` in schema (#4855)
- replace `Duration` with `u64` in schema (#4841)
- use `RUST_LOG`-like EnvFilter for logging (#4837)
- keep voting block when possible (#4828)
- migrate from warp to axum (#4718)
- split executor data model (#4791)
- shallow data model (#4734) (#4792)
- don't send public key with signature (#4518)
- rename `--outfile` to `--out-file` (#4679)
- rename iroha server and client (#4662)
- rename `PermissionToken` to `Permission` (#4635)
- reject `BlockMessages` eagerly (#4606)
- make `SignedBlock` immutable (#4620)
- rename TransactionValue into CommittedTransaction (#4610)
- authenticate personal accounts by ID (#4411)
- use multihash format for private keys (#4541)
- rename `parity_scale_decoder` to `parity_scale_cli`
- send blocks to observing peers
- make `Role` transparent (#4886)
- derive block hash from header (#4890)

### Fixed

- check that authority owns domain to transfer (#4807)
- remove logger double initialization (#4800)
- fix naming convention for assets and permissions (#4741)
- upgrade executor in separate transaction in genesis block (#4757)
- make `iroha_smart_contract_utils` `log` and `dbg` functions work outside of wasm (#4725)
- correct default value for `JsonString` (#4692)
- improve deserialization error message (#4659)
- do not panic if the passed Ed25519Sha512 public key is of invalid length (#4650)
- use proper view change index on init block load (#4612)
- don't prematurely execute time-triggers before their `start` timestamp (#4333)
- support `https` for `torii_url` (#4601) (#4617)
- remove serde(flatten) from SetKeyValue/RemoveKeyValue (#4547)
- trigger set is correctly serialized
- revoke removed `PermissionToken`s on `Upgrade<Executor>` (#4503)
- report correct view change index for current round
- remove corresponding triggers on `Unregister<Domain>` (#4461)
- check genesis pub key in genesis round
- prevent registering genesis Domain or Account
- remove permissions from roles on entity unregistration
- trigger metadata is accessible in smart contracts
- use rw lock to prevent inconsitent state view (#4867)
- handle soft fork in snapshot (#4868)
- fix MinSize for ChaCha20Poly1305
- add limits to LiveQueryStore to prevent high memory usage (#4893)

### Removed

- remove public key from ed25519 private key (#4856)
- remove kura.lock (#4849)
- revert `_ms` and `_bytes` suffixes in config (#4667)
- remove `_id` and `_file` suffix from genesis fields (#4724)
- remove index Assets in AssetsMap by AssetDefinitionId (#4701)
- remove domain from trigger identity (#4640)
- remove genesis signing from Iroha (#4673)
- remove `Visit` bound from `Validate` (#4642)
- remove `TriggeringEventFilterBox` (#4866)
- remove `garbage` in p2p handshake (#4889)
- remove `committed_topology` from block (#4880)

### Security

- sign all query parameters, implement query filters in wasm
- guard against secrets leakage

## [2.0.0-pre-rc.21] - 2024-04-19

### Added
Expand Down
72 changes: 36 additions & 36 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[workspace.package]
edition = "2021"
version = "2.0.0-pre-rc.21"
version = "2.0.0-pre-rc.22.0"
# TODO: teams are being deprecated update the authors URL
authors = ["Iroha 2 team <https://github.com/orgs/soramitsu/teams/iroha2>"]

Expand All @@ -14,41 +14,41 @@ keywords = ["blockchain", "crypto", "iroha", "ledger"]
categories = ["cryptography::cryptocurrencies"]

[workspace.dependencies]
iroha_core = { version = "=2.0.0-pre-rc.21 ", path = "core" }

irohad = { version = "=2.0.0-pre-rc.21", path = "cli" }
iroha_torii = { version = "=2.0.0-pre-rc.21", path = "torii" }
iroha_torii_const = { version = "=2.0.0-pre-rc.21", path = "torii/const" }

iroha = { version = "=2.0.0-pre-rc.21", path = "client" }

iroha_macro_utils = { version = "=2.0.0-pre-rc.21", path = "macro/utils" }
iroha_telemetry = { version = "=2.0.0-pre-rc.21", path = "telemetry" }
iroha_p2p = { version = "=2.0.0-pre-rc.21", path = "p2p" }
iroha_primitives = { version = "=2.0.0-pre-rc.21", path = "primitives", default-features = false }
iroha_data_model = { version = "=2.0.0-pre-rc.21", path = "data_model", default-features = false }
iroha_config = { version = "=2.0.0-pre-rc.21", path = "config" }
iroha_config_base = { version = "=2.0.0-pre-rc.21", path = "config/base" }
iroha_schema_gen = { version = "=2.0.0-pre-rc.21", path = "schema/gen" }
iroha_schema = { version = "=2.0.0-pre-rc.21", path = "schema", default-features = false }
iroha_logger = { version = "=2.0.0-pre-rc.21", path = "logger" }
iroha_crypto = { version = "=2.0.0-pre-rc.21", path = "crypto", default-features = false }
iroha_macro = { version = "=2.0.0-pre-rc.21", path = "macro", default-features = false }
iroha_futures = { version = "=2.0.0-pre-rc.21", path = "futures" }
iroha_genesis = { version = "=2.0.0-pre-rc.21", path = "genesis" }
iroha_ffi = { version = "=2.0.0-pre-rc.21", path = "ffi" }
iroha_version = { version = "=2.0.0-pre-rc.21", path = "version", default-features = false }
iroha_wasm_codec = { version = "=2.0.0-pre-rc.21", path = "wasm_codec" }
iroha_wasm_builder = { version = "=2.0.0-pre-rc.21", path = "wasm_builder" }

iroha_smart_contract = { version = "=2.0.0-pre-rc.21", path = "smart_contract" }
iroha_smart_contract_utils = { version = "=2.0.0-pre-rc.21", path = "smart_contract/utils" }

iroha_executor = { version = "=2.0.0-pre-rc.21", path = "smart_contract/executor" }
iroha_executor_data_model = { version = "=2.0.0-pre-rc.21", path = "smart_contract/executor/data_model" }

test_network = { version = "=2.0.0-pre-rc.21", path = "core/test_network" }
test_samples = { version = "=2.0.0-pre-rc.21", path = "test_samples" }
iroha_core = { version = "=2.0.0-pre-rc.22.0 ", path = "core" }

irohad = { version = "=2.0.0-pre-rc.22.0", path = "cli" }
iroha_torii = { version = "=2.0.0-pre-rc.22.0", path = "torii" }
iroha_torii_const = { version = "=2.0.0-pre-rc.22.0", path = "torii/const" }

iroha = { version = "=2.0.0-pre-rc.22.0", path = "client" }

iroha_macro_utils = { version = "=2.0.0-pre-rc.22.0", path = "macro/utils" }
iroha_telemetry = { version = "=2.0.0-pre-rc.22.0", path = "telemetry" }
iroha_p2p = { version = "=2.0.0-pre-rc.22.0", path = "p2p" }
iroha_primitives = { version = "=2.0.0-pre-rc.22.0", path = "primitives", default-features = false }
iroha_data_model = { version = "=2.0.0-pre-rc.22.0", path = "data_model", default-features = false }
iroha_config = { version = "=2.0.0-pre-rc.22.0", path = "config" }
iroha_config_base = { version = "=2.0.0-pre-rc.22.0", path = "config/base" }
iroha_schema_gen = { version = "=2.0.0-pre-rc.22.0", path = "schema/gen" }
iroha_schema = { version = "=2.0.0-pre-rc.22.0", path = "schema", default-features = false }
iroha_logger = { version = "=2.0.0-pre-rc.22.0", path = "logger" }
iroha_crypto = { version = "=2.0.0-pre-rc.22.0", path = "crypto", default-features = false }
iroha_macro = { version = "=2.0.0-pre-rc.22.0", path = "macro", default-features = false }
iroha_futures = { version = "=2.0.0-pre-rc.22.0", path = "futures" }
iroha_genesis = { version = "=2.0.0-pre-rc.22.0", path = "genesis" }
iroha_ffi = { version = "=2.0.0-pre-rc.22.0", path = "ffi" }
iroha_version = { version = "=2.0.0-pre-rc.22.0", path = "version", default-features = false }
iroha_wasm_codec = { version = "=2.0.0-pre-rc.22.0", path = "wasm_codec" }
iroha_wasm_builder = { version = "=2.0.0-pre-rc.22.0", path = "wasm_builder" }

iroha_smart_contract = { version = "=2.0.0-pre-rc.22.0", path = "smart_contract" }
iroha_smart_contract_utils = { version = "=2.0.0-pre-rc.22.0", path = "smart_contract/utils" }

iroha_executor = { version = "=2.0.0-pre-rc.22.0", path = "smart_contract/executor" }
iroha_executor_data_model = { version = "=2.0.0-pre-rc.22.0", path = "smart_contract/executor/data_model" }

test_network = { version = "=2.0.0-pre-rc.22.0", path = "core/test_network" }
test_samples = { version = "=2.0.0-pre-rc.22.0", path = "test_samples" }

proc-macro2 = "1.0.86"
syn = { version = "2.0.72", default-features = false }
Expand Down
14 changes: 7 additions & 7 deletions client/tests/integration/smartcontracts/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[workspace.package]
edition = "2021"
version = "2.0.0-pre-rc.21"
version = "2.0.0-pre-rc.22.0"
# TODO: teams are being deprecated update the authors URL
authors = ["Iroha 2 team <https://github.com/orgs/soramitsu/teams/iroha2>"]

Expand Down Expand Up @@ -39,12 +39,12 @@ codegen-units = 1 # Further reduces binary size but increases compilation time
[workspace.dependencies]
executor_custom_data_model = { path = "executor_custom_data_model" }

iroha_smart_contract = { version = "=2.0.0-pre-rc.21", path = "../../../../smart_contract", features = ["debug"] }
iroha_trigger = { version = "=2.0.0-pre-rc.21", path = "../../../../smart_contract/trigger", features = ["debug"] }
iroha_executor = { version = "=2.0.0-pre-rc.21", path = "../../../../smart_contract/executor", features = ["debug"] }
iroha_schema = { version = "=2.0.0-pre-rc.21", path = "../../../../schema" }
iroha_data_model = { version = "=2.0.0-pre-rc.21", path = "../../../../data_model", default-features = false }
iroha_executor_data_model = { version = "=2.0.0-pre-rc.21", path = "../../../../smart_contract/executor/data_model" }
iroha_smart_contract = { version = "=2.0.0-pre-rc.22.0", path = "../../../../smart_contract", features = ["debug"] }
iroha_trigger = { version = "=2.0.0-pre-rc.22.0", path = "../../../../smart_contract/trigger", features = ["debug"] }
iroha_executor = { version = "=2.0.0-pre-rc.22.0", path = "../../../../smart_contract/executor", features = ["debug"] }
iroha_schema = { version = "=2.0.0-pre-rc.22.0", path = "../../../../schema" }
iroha_data_model = { version = "=2.0.0-pre-rc.22.0", path = "../../../../data_model", default-features = false }
iroha_executor_data_model = { version = "=2.0.0-pre-rc.22.0", path = "../../../../smart_contract/executor/data_model" }

parity-scale-codec = { version = "3.2.1", default-features = false }
anyhow = { version = "1.0.71", default-features = false }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ serde = { workspace = true, features = ["derive"] }
serde_json = { workspace = true, default-features = false }

[build-dependencies]
iroha_wasm_builder = { version = "=2.0.0-pre-rc.21", path = "../../../../../wasm_builder" }
iroha_wasm_builder = { version = "=2.0.0-pre-rc.22.0", path = "../../../../../wasm_builder" }
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ serde = { workspace = true, features = ["derive"] }
serde_json = { workspace = true, default-features = false }

[build-dependencies]
iroha_wasm_builder = { version = "=2.0.0-pre-rc.21", path = "../../../../../wasm_builder" }
iroha_wasm_builder = { version = "=2.0.0-pre-rc.22.0", path = "../../../../../wasm_builder" }
4 changes: 2 additions & 2 deletions default_executor/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "iroha_default_executor"

edition = "2021"
version = "2.0.0-pre-rc.21"
version = "2.0.0-pre-rc.22.0"
# TODO: teams are being deprecated update the authors URL
authors = ["Iroha 2 team <https://github.com/orgs/soramitsu/teams/iroha2>"]

Expand All @@ -24,7 +24,7 @@ opt-level = "z" # Optimize for size vs speed with "s"/"z"(removes vectorizat
codegen-units = 1 # Further reduces binary size but increases compilation time

[dependencies]
iroha_executor = { version = "2.0.0-pre-rc.21", path = "../smart_contract/executor", features = ["debug"] }
iroha_executor = { version = "2.0.0-pre-rc.22.0", path = "../smart_contract/executor", features = ["debug"] }
getrandom = { version = "0.2", features = ["custom"] }

dlmalloc = { version = "0.2.6", features = ["global"] }
Expand Down

0 comments on commit 29f1a48

Please sign in to comment.