From eb0255f66e745c610ec284e9e562cd6191c88465 Mon Sep 17 00:00:00 2001 From: Oleksandr Anyshchenko Date: Tue, 17 Oct 2023 08:40:56 +0100 Subject: [PATCH] chore: release notes 3.2.0 (#851) --- CHANGES.md | 17 ++++++++++++++++- Cargo.lock | 2 +- Makefile.toml | 4 ++-- VERSION | 2 +- .../src/benches/eth_standard_precompiles.rs | 2 +- engine-tests/src/tests/standalone/tracing.rs | 2 +- engine/Cargo.toml | 2 +- 7 files changed, 23 insertions(+), 8 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 8d553fcac..9c0ec25a0 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -7,17 +7,31 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [3.2.0] 2023-10-17 + ### Changes - Changed structure `SetEthConnectorContractAccountArgs` for setting eth connector account. It was extended with additional field: `withdraw_serialize_type` for defining serialization type for withdraw arguments by [@aleksuss]. ([#834]) +- Updated rocksdb up to 0.21.0 by [@aleksuss]. ([#840]) + ### Additions - Added a possibility of mirroring deployed ERC-20 contracts in the main Aurora contract in Silo mode by [@aleksuss]. ([#844]) +- Allow to initialize hashchain directly with the `new` method by [@birchmd]. ([#846]) + +- Added a silo logic which allows to set fixed gas costs per transaction by [@aleksuss]. ([#746]) + +- Added a new type of transaction which allows to add full access key into account of the smart contract by [@aleksuss]. ([#847]) + +[#746]: https://github.com/aurora-is-near/aurora-engine/pull/746 [#834]: https://github.com/aurora-is-near/aurora-engine/pull/834 +[#840]: https://github.com/aurora-is-near/aurora-engine/pull/840 [#844]: https://github.com/aurora-is-near/aurora-engine/pull/844 +[#846]: https://github.com/aurora-is-near/aurora-engine/pull/846 +[#847]: https://github.com/aurora-is-near/aurora-engine/pull/847 ## [3.1.0] 2023-09-25 @@ -512,7 +526,8 @@ struct SubmitResult { ## [1.0.0] - 2021-05-12 -[Unreleased]: https://github.com/aurora-is-near/aurora-engine/compare/3.1.0...develop +[Unreleased]: https://github.com/aurora-is-near/aurora-engine/compare/3.2.0...develop +[3.2.0]: https://github.com/aurora-is-near/aurora-engine/compare/3.1.0...3.2.0 [3.1.0]: https://github.com/aurora-is-near/aurora-engine/compare/3.0.0...3.1.0 [3.0.0]: https://github.com/aurora-is-near/aurora-engine/compare/3.0.0...2.10.2 [2.10.2]: https://github.com/aurora-is-near/aurora-engine/compare/2.10.1...2.10.2 diff --git a/Cargo.lock b/Cargo.lock index 6d4426ad8..d927cb31c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -327,7 +327,7 @@ dependencies = [ [[package]] name = "aurora-engine" -version = "3.1.0" +version = "3.2.0" dependencies = [ "aurora-engine-hashchain", "aurora-engine-modexp", diff --git a/Makefile.toml b/Makefile.toml index 228c462d1..367ba8263 100644 --- a/Makefile.toml +++ b/Makefile.toml @@ -319,7 +319,7 @@ run_task = "build-engine-flow-docker" [tasks.build-docker] category = "Build" script = ''' -docker run --volume $PWD:/host -w /host -i --rm nearprotocol/contract-builder:master-f033430c4fc619aaf8b88eb2fcb976bb8d24d65d-amd64 ./scripts/docker-entrypoint.sh ${PROFILE} +docker run --volume $PWD:/host -w /host -i --rm nearprotocol/contract-builder:master-15bfb0e6d54ff386478d137074027c2cb863df03-amd64 ./scripts/docker-entrypoint.sh ${PROFILE} ''' [tasks.build-xcc-router-docker-inner] @@ -332,7 +332,7 @@ run_task = "build-xcc-router-flow-docker" condition = { profiles = ["mainnet", "testnet"] } category = "Build" script = ''' -docker run --volume $PWD:/host -w /host -i --rm nearprotocol/contract-builder:master-f033430c4fc619aaf8b88eb2fcb976bb8d24d65d-amd64 ./scripts/docker-xcc-router-entrypoint.sh ${PROFILE} +docker run --volume $PWD:/host -w /host -i --rm nearprotocol/contract-builder:master-15bfb0e6d54ff386478d137074027c2cb863df03-amd64 ./scripts/docker-xcc-router-entrypoint.sh ${PROFILE} ''' [tasks.test-contracts] diff --git a/VERSION b/VERSION index fd2a01863..944880fa1 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -3.1.0 +3.2.0 diff --git a/engine-tests/src/benches/eth_standard_precompiles.rs b/engine-tests/src/benches/eth_standard_precompiles.rs index c48cc6cab..5ee94fd03 100644 --- a/engine-tests/src/benches/eth_standard_precompiles.rs +++ b/engine-tests/src/benches/eth_standard_precompiles.rs @@ -59,7 +59,7 @@ pub fn eth_standard_precompiles_benchmark(c: &mut Criterion) { let mut group = c.benchmark_group("standard_precompiles"); // measure wall-clock time - for (tx_bytes, id) in transactions.iter().zip(bench_ids.into_iter()) { + for (tx_bytes, id) in transactions.iter().zip(bench_ids) { group.bench_function(id, |b| { b.iter_batched( || (runner.one_shot(), calling_account_id, tx_bytes.clone()), diff --git a/engine-tests/src/tests/standalone/tracing.rs b/engine-tests/src/tests/standalone/tracing.rs index 153f00ef5..616a574bf 100644 --- a/engine-tests/src/tests/standalone/tracing.rs +++ b/engine-tests/src/tests/standalone/tracing.rs @@ -212,7 +212,7 @@ fn check_transaction_trace>(trace: &TransactionTrace, expected_tr }; assert_eq!(trace.logs().0.len(), expected_trace.len()); - for (log, step) in trace.logs().0.iter().zip(expected_trace.into_iter()) { + for (log, step) in trace.logs().0.iter().zip(expected_trace) { assert_eq!( log.program_counter.0, step.pc, "Program counters should match" diff --git a/engine/Cargo.toml b/engine/Cargo.toml index 35deb5c6e..b65bef5ee 100644 --- a/engine/Cargo.toml +++ b/engine/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "aurora-engine" -version = "3.1.0" +version = "3.2.0" authors.workspace = true edition.workspace = true homepage.workspace = true