Skip to content

Commit

Permalink
[bump]: Bump Iroha version to RC20 (#3993)
Browse files Browse the repository at this point in the history
Signed-off-by: Marin Veršić <[email protected]>
  • Loading branch information
mversic authored Oct 17, 2023
1 parent bf90a7d commit 0eb7fab
Show file tree
Hide file tree
Showing 5 changed files with 144 additions and 47 deletions.
97 changes: 97 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,103 @@
Changelog
=========

2.0.0-pre-rc.20
---------------

Features
~~~~~~~~
* make FindTrigger queries return original WASM
* Transfer `Domain` ownership
* `Domain` owner permissions
* Add `owned_by` field to `Domain`
* parse filter as JSON5 in `iroha_client_cli` (#3923)
* Add support for usage of Self type in serde partially tagged enums
* Standardize block API (#3884)
* Implement `Fast` kura init mode
* Add iroha_swarm disclaimer header
* initial support for WSV snapshots

Bugfixes
~~~~~~~~
* Fix executor downloading in update_configs.sh (#3990)
* proper rustc in devShell
* Fix burn `Trigger` reprtitions
* Fix transfer `AssetDefinition`
* Fix `RemoveKeyValue` for `Domain`
* Fix double free in wasm tests
* Fix the usage of `Span::join`
* Fix topology mismatch bug (#3903)
* Fix `apply_blocks` and `validate_blocks` benchmark
* Fix wasm memory leak
* `mkdir -r` with store path, not lock path (#3908)
* Don't fail if dir exists in test_env.py
* Fix authentication/authorization docstring (#3876)
* Better error message for query find error
* Add genesis account public key to dev docker compose
* Compare permission token payload as JSON (#3855)
* Fix `irrefutable_let_patterns` in the `#[model]` macro
* Allow genesis to execute any ISI (#3850)
* Fix genesis validation (#3844)
* Fix topology for 3 or less peers
* Correct how tx_amounts histogram is calculated.
* `genesis_transactions_are_validated()` test flakiness
* Default validator generation
* Fix iroha graceful shutdown

Refactor
~~~~~
* remove unused dependencies (#3992)
* remove optimized WASM from data_model
* bump dependencies (#3981)
* Rename validator to executor (#3976)
* Remove `IsAssetDefinitionOwner` (#3979)
* Include smart contract code into the workspace (#3944)
* Merge API and Telemetry endpoints into a single server
* move expression len out of public API into core (#3949)
* Avoid clone in roles lookup
* Range queries for roles
* Move account roles to `WSV`
* Rename ISI from *Box to *Expr (#3930)
* Remove 'Versioned' prefix from versioned containers (#3913)
* move `commit_topology` into block payload (#3916)
* Migrate iroha_futures_derive to syn 2.0
* Registered with Identifiable in ISI bounds (#3925)
* Add basic generics support to `derive(HasOrigin)`
* Clean up Emitter APIs documentation to make clippy happy
* Add tests for derive(HasOrigin) macro, reduce repetition in derive(IdEqOrdHash), fix error reporting on stable
* Improve naming, simplify repeated .filter_maps & get rid of unnecessary .except in derive(Filter)
* Make PartiallyTaggedSerialize/Deserialize use darling
* Make derive(IdEqOrdHash) use darling, add tests
* Make derive(Filter) use darling
* Update iroha_data_model_derive to use syn 2.0
* Add signature check condition unit tests
* Allow only a fixed set of signature verification conditions
* Generalize ConstBytes into a ConstVec that holds any const sequence
* Use a more efficient representation for bytes values that are not changing
* Store finalized wsv in snapshot
* Add `SnapshotMaker` actor
* document limitation of parsing derives in proc macros
* clean up comments
* extract a common test utility for parsing attributes to lib.rs
* use parse_display & update Attr -> Attrs naming
* allow usage of pattern matching in ffi function args
* reduce repetition in getset attrs parsing
* rename Emitter::into_token_stream into Emitter::finish_token_stream
* Use parse_display to parse getset tokens
* Fix typos and improve error messages
* iroha_ffi_derive: use darling to parse attributes and use syn 2.0
* iroha_ffi_derive: replace proc-macro-error with manyhow
* Simplify kura lock file code
* make all numeric values serialize as string literals
* Split off Kagami (#3841)
* Rewrite `scripts/test-env.sh`
* Differentiate between smart contract and trigger entrypoints
* Elide `.cloned()` in `data_model/src/block.rs`
* Wasm entrypoint payloads
* Make wasm entrypoint names to be public constants
* update `iroha_schema_derive` to use syn 2.0
* store original contract WASM in TriggerSet
2.0.0-pre-rc.19
---------------

Expand Down
80 changes: 40 additions & 40 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.19"
version = "2.0.0-pre-rc.20"
# TODO: teams are being deprecated update the authors URL
authors = ["Iroha 2 team <https://github.com/orgs/soramitsu/teams/iroha2>"]

Expand All @@ -15,47 +15,47 @@ categories = ["cryptography::cryptocurrencies"]

[workspace.dependencies]
iroha = { path = "cli" }
iroha_dsl = { version = "=2.0.0-pre-rc.19", path = "dsl" }
iroha_cli_derive = { version = "=2.0.0-pre-rc.19", path = "cli/derive" }
iroha_macro_utils = { version = "=2.0.0-pre-rc.19", path = "macro/utils" }
iroha_telemetry = { version = "=2.0.0-pre-rc.19", path = "telemetry" }
iroha_telemetry_derive = { version = "=2.0.0-pre-rc.19", path = "telemetry/derive" }
iroha_p2p = { version = "=2.0.0-pre-rc.19", path = "p2p" }
iroha_core = { version = "=2.0.0-pre-rc.19 ", path = "core" }
iroha_primitives = { version = "=2.0.0-pre-rc.19", path = "primitives", default-features = false }
iroha_primitives_derive = { version = "=2.0.0-pre-rc.19", path = "primitives/derive" }
iroha_data_model = { version = "=2.0.0-pre-rc.19", path = "data_model", default-features = false }
iroha_data_model_derive = { version = "=2.0.0-pre-rc.19", path = "data_model/derive" }
iroha_client = { version = "=2.0.0-pre-rc.19", path = "client" }
iroha_config = { version = "=2.0.0-pre-rc.19", path = "config" }
iroha_config_base = { version = "=2.0.0-pre-rc.19", path = "config/base" }
iroha_config_derive = { version = "=2.0.0-pre-rc.19", path = "config/base/derive" }
iroha_schema_gen = { version = "=2.0.0-pre-rc.19", path = "schema/gen" }
iroha_schema = { version = "=2.0.0-pre-rc.19", path = "schema", default-features = false }
iroha_schema_derive = { version = "=2.0.0-pre-rc.19", path = "schema/derive" }
iroha_logger = { version = "=2.0.0-pre-rc.19", path = "logger" }
iroha_crypto = { version = "=2.0.0-pre-rc.19", path = "crypto", default-features = false }
iroha_macro = { version = "=2.0.0-pre-rc.19", path = "macro", default-features = false }
iroha_derive = { version = "=2.0.0-pre-rc.19", path = "macro/derive" }
iroha_futures = { version = "=2.0.0-pre-rc.19", path = "futures" }
iroha_futures_derive = { version = "=2.0.0-pre-rc.19", path = "futures/derive" }
iroha_genesis = { version = "=2.0.0-pre-rc.19", path = "genesis" }
iroha_ffi = { version = "=2.0.0-pre-rc.19", path = "ffi" }
iroha_ffi_derive = { version = "=2.0.0-pre-rc.19", path = "ffi/derive" }
iroha_version = { version = "=2.0.0-pre-rc.19", path = "version", default-features = false }
iroha_version_derive = { version = "=2.0.0-pre-rc.19", path = "version/derive", default-features = false }
iroha_wasm_codec = { version = "=2.0.0-pre-rc.19", path = "wasm_codec" }
iroha_wasm_builder = { version = "=2.0.0-pre-rc.19", path = "wasm_builder" }
iroha_dsl = { version = "=2.0.0-pre-rc.20", path = "dsl" }
iroha_cli_derive = { version = "=2.0.0-pre-rc.20", path = "cli/derive" }
iroha_macro_utils = { version = "=2.0.0-pre-rc.20", path = "macro/utils" }
iroha_telemetry = { version = "=2.0.0-pre-rc.20", path = "telemetry" }
iroha_telemetry_derive = { version = "=2.0.0-pre-rc.20", path = "telemetry/derive" }
iroha_p2p = { version = "=2.0.0-pre-rc.20", path = "p2p" }
iroha_core = { version = "=2.0.0-pre-rc.20 ", path = "core" }
iroha_primitives = { version = "=2.0.0-pre-rc.20", path = "primitives", default-features = false }
iroha_primitives_derive = { version = "=2.0.0-pre-rc.20", path = "primitives/derive" }
iroha_data_model = { version = "=2.0.0-pre-rc.20", path = "data_model", default-features = false }
iroha_data_model_derive = { version = "=2.0.0-pre-rc.20", path = "data_model/derive" }
iroha_client = { version = "=2.0.0-pre-rc.20", path = "client" }
iroha_config = { version = "=2.0.0-pre-rc.20", path = "config" }
iroha_config_base = { version = "=2.0.0-pre-rc.20", path = "config/base" }
iroha_config_derive = { version = "=2.0.0-pre-rc.20", path = "config/base/derive" }
iroha_schema_gen = { version = "=2.0.0-pre-rc.20", path = "schema/gen" }
iroha_schema = { version = "=2.0.0-pre-rc.20", path = "schema", default-features = false }
iroha_schema_derive = { version = "=2.0.0-pre-rc.20", path = "schema/derive" }
iroha_logger = { version = "=2.0.0-pre-rc.20", path = "logger" }
iroha_crypto = { version = "=2.0.0-pre-rc.20", path = "crypto", default-features = false }
iroha_macro = { version = "=2.0.0-pre-rc.20", path = "macro", default-features = false }
iroha_derive = { version = "=2.0.0-pre-rc.20", path = "macro/derive" }
iroha_futures = { version = "=2.0.0-pre-rc.20", path = "futures" }
iroha_futures_derive = { version = "=2.0.0-pre-rc.20", path = "futures/derive" }
iroha_genesis = { version = "=2.0.0-pre-rc.20", path = "genesis" }
iroha_ffi = { version = "=2.0.0-pre-rc.20", path = "ffi" }
iroha_ffi_derive = { version = "=2.0.0-pre-rc.20", path = "ffi/derive" }
iroha_version = { version = "=2.0.0-pre-rc.20", path = "version", default-features = false }
iroha_version_derive = { version = "=2.0.0-pre-rc.20", path = "version/derive", default-features = false }
iroha_wasm_codec = { version = "=2.0.0-pre-rc.20", path = "wasm_codec" }
iroha_wasm_builder = { version = "=2.0.0-pre-rc.20", path = "wasm_builder" }

iroha_smart_contract = { version = "=2.0.0-pre-rc.19", path = "smart_contract" }
iroha_smart_contract_derive = { version = "=2.0.0-pre-rc.19", path = "smart_contract/derive" }
iroha_smart_contract_utils = { version = "=2.0.0-pre-rc.19", path = "smart_contract/utils" }
iroha_executor = { version = "=2.0.0-pre-rc.19", path = "smart_contract/executor" }
iroha_executor_derive = { version = "=2.0.0-pre-rc.19", path = "smart_contract/executor/derive" }
iroha_trigger = { version = "=2.0.0-pre-rc.19", path = "smart_contract/trigger" }
iroha_trigger_derive = { version = "=2.0.0-pre-rc.19", path = "smart_contract/trigger/derive" }
iroha_smart_contract = { version = "=2.0.0-pre-rc.20", path = "smart_contract" }
iroha_smart_contract_derive = { version = "=2.0.0-pre-rc.20", path = "smart_contract/derive" }
iroha_smart_contract_utils = { version = "=2.0.0-pre-rc.20", path = "smart_contract/utils" }
iroha_executor = { version = "=2.0.0-pre-rc.20", path = "smart_contract/executor" }
iroha_executor_derive = { version = "=2.0.0-pre-rc.20", path = "smart_contract/executor/derive" }
iroha_trigger = { version = "=2.0.0-pre-rc.20", path = "smart_contract/trigger" }
iroha_trigger_derive = { version = "=2.0.0-pre-rc.20", path = "smart_contract/trigger/derive" }

test_network = { version = "=2.0.0-pre-rc.19", path = "core/test_network" }
test_network = { version = "=2.0.0-pre-rc.20", path = "core/test_network" }

proc-macro-error = "1.0.4"
proc-macro2 = "1.0.69"
Expand Down
8 changes: 4 additions & 4 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.19"
version = "2.0.0-pre-rc.20"
# TODO: teams are being deprecated update the authors URL
authors = ["Iroha 2 team <https://github.com/orgs/soramitsu/teams/iroha2>"]

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

[workspace.dependencies]
iroha_trigger = { version = "=2.0.0-pre-rc.19", path = "../../../../smart_contract/trigger", features = ["debug"]}
iroha_executor = { version = "=2.0.0-pre-rc.19", path = "../../../../smart_contract/executor" }
iroha_schema = { version = "=2.0.0-pre-rc.19", path = "../../../../schema" }
iroha_trigger = { version = "=2.0.0-pre-rc.20", path = "../../../../smart_contract/trigger", features = ["debug"]}
iroha_executor = { version = "=2.0.0-pre-rc.20", path = "../../../../smart_contract/executor" }
iroha_schema = { version = "=2.0.0-pre-rc.20", path = "../../../../schema" }

parity-scale-codec = { version = "3.2.1", default-features = false }
anyhow = { version = "1.0.71", default-features = false }
Expand Down
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.19"
version = "2.0.0-pre-rc.20"
# 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.19", path = "../smart_contract/executor", features = ["debug"]}
iroha_executor = { version = "2.0.0-pre-rc.20", path = "../smart_contract/executor", features = ["debug"]}

lol_alloc = "0.4.0"
panic-halt = "0.2.0"
2 changes: 1 addition & 1 deletion wasm_codec/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ license.workspace = true
workspace = true

[dependencies]
iroha_core_wasm_codec_derive = { version = "=2.0.0-pre-rc.19", path = "derive" }
iroha_core_wasm_codec_derive = { version = "=2.0.0-pre-rc.20", path = "derive" }

thiserror = { workspace = true }
wasmtime = { workspace = true }
Expand Down

0 comments on commit 0eb7fab

Please sign in to comment.