Skip to content

Commit 9b3a2d9

Browse files
aleksussi-fix-typosmrLSDbirchmddependabot[bot]
committed
Release 3.2.0 (#852)
## Release 3.2.0 ### 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]: #746 [#834]: #834 [#840]: #840 [#844]: #844 [#846]: #846 [#847]: #847 --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: i-fix-typos <146758284+i-fix-typos@users.noreply.github.com> Co-authored-by: Evgeny Ukhanov <evgeny@aurora.dev> Co-authored-by: Michael Birch <michael.birch@aurora.dev> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Karim <karim@aurora.dev> Co-authored-by: Joshua J. Bouw <joshua@aurora.dev> Co-authored-by: ForwardSlashBack <142098649+ForwardSlashBack@users.noreply.github.com>
1 parent 6d861c8 commit 9b3a2d9

94 files changed

Lines changed: 8058 additions & 2967 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.env/mainnet-silo.env

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
CARGO_FEATURES_BUILD="mainnet,ext-connector"
2+
CARGO_FEATURES_BUILD_TEST="mainnet,integration-test,ext-connector"
3+
CARGO_FEATURES_TEST="mainnet-test,ext-connector"
4+
RUSTC_FLAGS_BUILD="-C link-arg=-s"
5+
NEAR_EVM_ACCOUNT="aurora"
6+
WASM_FILE="aurora-mainnet-silo.wasm"
7+
WASM_FILE_TEST="aurora-mainnet-silo-test.wasm"
8+
NEAR_CLI="near"
9+
PROFILE="mainnet-silo"
10+
IS_PROD=true

.env/testnet-silo.env

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
CARGO_FEATURES_BUILD="testnet,ext-connector"
2+
CARGO_FEATURES_BUILD_TEST="testnet,integration-test,ext-connector"
3+
CARGO_FEATURES_TEST="testnet-test,ext-connector"
4+
RUSTC_FLAGS_BUILD="-C link-arg=-s"
5+
NEAR_EVM_ACCOUNT="aurora"
6+
WASM_FILE="aurora-testnet-silo.wasm"
7+
WASM_FILE_TEST="aurora-testnet-silo-test.wasm"
8+
NEAR_CLI="near"
9+
PROFILE="testnet-silo"
10+
IS_PROD=false

.github/CODEOWNERS

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
1-
* @joshuajbouw
2-
/engine/ @aleksuss
3-
/engine-precompiles/ @mandreyel
4-
/engine-sdk/ @aleksuss
5-
/engine-standalone-storage/ @RomanHodulak
6-
/engine-standalone-tracing/ @RomanHodulak
7-
/engine-test-doubles/ @joshuajbouw
8-
/engine-tests/ @joshuajbouw
9-
/engine-transactions/ @aleksuss
1+
* @aleksuss
2+
/engine/ @birchmd
3+
/engine-hashchain/ @birchmd
4+
/engine-modexp/ @birchmd
5+
/engine-precompiles/ @birchmd
6+
/engine-sdk/ @mrLSD
7+
/engine-standalone-storage/ @birchmd
8+
/engine-standalone-tracing/ @birchmd
9+
/engine-tests-connector/ @mrLSD
10+
/engine-test-doubles/ @mrLSD
11+
/engine-tests/ @mrLSD
12+
/engine-workspace/ @mrLSD

.github/workflows/builds.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: [self-hosted, heavy]
1111
strategy:
1212
matrix:
13-
profile: [mainnet, testnet]
13+
profile: [mainnet, mainnet-silo, testnet, testnet-silo]
1414
steps:
1515
- name: Potential broken submodules fix
1616
run: |

.github/workflows/scheduled_lints.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,16 @@ jobs:
1212
run: |
1313
git checkout -f $(git -c user.name=x -c user.email=x@x commit-tree $(git hash-object -t tree /dev/null) < /dev/null) || :
1414
- name: Clone the repository
15-
uses: actions/checkout@v3
15+
uses: actions/checkout@v4
1616
- name: Test mainnet
17-
run: cargo make --profile mainnet test
17+
run: cargo make --profile mainnet test-flow
1818
- name: Test testnet
19-
run: cargo make --profile testnet test
19+
run: cargo make --profile testnet test-flow
20+
- name: Test mainnet silo
21+
run: cargo make --profile mainnet-silo test-flow
22+
- name: Test testnet silo
23+
run: cargo make --profile testnet-silo test-flow
24+
2025
checks:
2126
name: Run checks
2227
runs-on: [self-hosted, heavy]
@@ -25,5 +30,5 @@ jobs:
2530
run: |
2631
git checkout -f $(git -c user.name=x -c user.email=x@x commit-tree $(git hash-object -t tree /dev/null) < /dev/null) || :
2732
- name: Clone the repository
28-
uses: actions/checkout@v3
33+
uses: actions/checkout@v4
2934
- run: cargo make check

.github/workflows/tests.yml

Lines changed: 62 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -9,56 +9,80 @@ on:
99
name: Tests
1010
jobs:
1111
test:
12-
name: Test suite (mainnet, testnet)
13-
runs-on: [self-hosted, heavy]
12+
name: Test suite ${{ matrix.profile }}
13+
runs-on: github-hosted-heavy-runner
14+
strategy:
15+
fail-fast: false
16+
matrix:
17+
profile: [ mainnet, testnet, mainnet-silo, testnet-silo ]
1418
steps:
1519
- name: Potential broken submodules fix
1620
run: |
1721
git checkout -f $(git -c user.name=x -c user.email=x@x commit-tree $(git hash-object -t tree /dev/null) < /dev/null) || :
1822
- name: Clone the repository
19-
uses: actions/checkout@v3
20-
- name: Restore cache
21-
run: cache-util restore cargo_git cargo_registry yarn_cache
22-
- name: Build contracts
23-
run: cargo make build-contracts
24-
- name: Test contracts
25-
run: cargo make test-contracts
26-
- name: Build mainnet test WASM
27-
run: cargo make --profile mainnet build-test
28-
- name: List mainnet WASM directory and root directory
29-
run: ls -la target/wasm32-unknown-unknown/release && ls -la
30-
- name: Test mainnet
31-
run: cargo make --profile mainnet test-workspace
32-
- name: Build testnet test WASM
33-
run: cargo make --profile testnet build-test
34-
- name: List testnet WASM directory and root directory
35-
run: ls -la target/wasm32-unknown-unknown/release && ls -la
36-
- name: Test testnet
37-
run: cargo make --profile testnet test-workspace
38-
- name: Save cache
39-
run: cache-util save cargo_git cargo_registry yarn_cache
23+
uses: actions/checkout@v4
24+
- name: Cargo Cache
25+
uses: actions/cache@v3
26+
with:
27+
path: |
28+
~/.cargo/bin/
29+
~/.cargo/registry/index/
30+
~/.cargo/registry/cache/
31+
~/.cargo/git/db/
32+
target/
33+
key: ${{ matrix.profile }}-cargo-test
34+
- name: Setup Node and cache
35+
uses: actions/setup-node@v3
36+
with:
37+
node-version: 16
38+
cache: 'yarn'
39+
cache-dependency-path: |
40+
etc/eth-contracts
41+
etc/tests/uniswap
42+
- name: Install dependencies
43+
run: cargo make -V || cargo install cargo-make
44+
- name: Build main contract
45+
run: |
46+
case ${{ matrix.profile }} in
47+
mainnet-silo)
48+
cargo make --profile mainnet build-test
49+
;;
50+
testnet-silo)
51+
cargo make --profile testnet build-test
52+
;;
53+
*)
54+
;;
55+
esac
56+
- name: Tests ${{ matrix.profile }}
57+
run: cargo make --profile ${{ matrix.profile }} test-flow
4058

4159
test_modexp:
42-
name: Test modexp suite (mainnet, testnet)
43-
runs-on: [ self-hosted, heavy ]
60+
name: Test modexp suite ${{ matrix.profile }}
61+
runs-on: github-hosted-heavy-runner
62+
strategy:
63+
fail-fast: false
64+
matrix:
65+
profile: [ mainnet, testnet ]
4466
steps:
4567
- name: Potential broken submodules fix
4668
run: |
4769
git checkout -f $(git -c user.name=x -c user.email=x@x commit-tree $(git hash-object -t tree /dev/null) < /dev/null) || :
4870
- name: Clone the repository
49-
uses: actions/checkout@v3
50-
- name: Restore cache
51-
run: |
52-
cache-util restore cargo_git cargo_registry yarn_cache
53-
cache-util restore aurora-engine-target@generic@${{ hashFiles('**/Cargo.lock') }}:target
54-
- name: Test mainnet bench-modexp
55-
run: cargo make --profile mainnet bench-modexp
56-
- name: Test testnet bench-modexp
57-
run: cargo make --profile testnet bench-modexp
58-
- name: Save cache
59-
run: |
60-
cache-util save cargo_git cargo_registry yarn_cache
61-
cache-util msave aurora-engine-target@generic@${{ hashFiles('**/Cargo.lock') }}:target
71+
uses: actions/checkout@v4
72+
- name: Cargo Cache
73+
uses: actions/cache@v3
74+
with:
75+
path: |
76+
~/.cargo/bin/
77+
~/.cargo/registry/index/
78+
~/.cargo/registry/cache/
79+
~/.cargo/git/db/
80+
target/
81+
key: ${{ matrix.profile }}-cargo-modexp-test
82+
- name: Install dependencies
83+
run: cargo make -V || cargo install cargo-make
84+
- name: Test ${{ matrix.profile }} bench-modexp
85+
run: cargo make --profile ${{ matrix.profile }} bench-modexp
6286

6387
env:
6488
CARGO_TERM_COLOR: always

CHANGES.md

Lines changed: 38 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,36 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [3.2.0] 2023-10-17
11+
12+
### Changes
13+
14+
- Changed structure `SetEthConnectorContractAccountArgs` for setting eth connector account. It was extended with
15+
additional field: `withdraw_serialize_type` for defining serialization type for withdraw arguments by [@aleksuss]. ([#834])
16+
17+
- Updated rocksdb up to 0.21.0 by [@aleksuss]. ([#840])
18+
19+
### Additions
20+
21+
- Added a possibility of mirroring deployed ERC-20 contracts in the main Aurora contract in Silo mode by [@aleksuss]. ([#844])
22+
23+
- Allow to initialize hashchain directly with the `new` method by [@birchmd]. ([#846])
24+
25+
- Added a silo logic which allows to set fixed gas costs per transaction by [@aleksuss]. ([#746])
26+
27+
- Added a new type of transaction which allows to add full access key into account of the smart contract by [@aleksuss]. ([#847])
28+
29+
[#746]: https://github.com/aurora-is-near/aurora-engine/pull/746
30+
[#834]: https://github.com/aurora-is-near/aurora-engine/pull/834
31+
[#840]: https://github.com/aurora-is-near/aurora-engine/pull/840
32+
[#844]: https://github.com/aurora-is-near/aurora-engine/pull/844
33+
[#846]: https://github.com/aurora-is-near/aurora-engine/pull/846
34+
[#847]: https://github.com/aurora-is-near/aurora-engine/pull/847
35+
1036
## [3.1.0] 2023-09-25
1137

38+
### Additions
39+
1240
- Added the possibility to use native NEAR instead of wNEAR on Aurora by [@karim-en]. ([#750])
1341

1442
- Added hashchain integration by [@birchmd]. ([#831])
@@ -24,15 +52,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2452

2553
### Fixes
2654

27-
- Updated sputnikvm dependency with bugfix in the `returndatacopy` implementation and a performance improvement in accessing EVM memory. [@birchmd] ([#826])
55+
- Updated [SputnikVM](https://github.com/aurora-is-near/sputnikvm) dependency with bugfix in the `returndatacopy`
56+
implementation and a performance improvement in accessing EVM memory by [@birchmd]. ([#826])
2857

2958
### Changes
3059

31-
- BREAKING: `engine-standalone-storage` no loonger automatically writes to the DB when `consume_message` is called. It is up to downstream users of the library to commit the diff (after doing any validation for correctness). [@birchmd] ([#825])
60+
- BREAKING: `engine-standalone-storage` no longer automatically writes to the DB when `consume_message` is called.
61+
It is up to downstream users of the library to commit the diff (after doing any validation for correctness) by [@birchmd]. ([#825])
3262

3363
### Additions
3464

35-
- New crate for the so-called "hashchain" implementation. It will enable verification of Aurora blocks by light clients in the future. [@birchmd] ([#816])
65+
- New crate for the so-called "hashchain" implementation. It will enable verification of Aurora blocks by light clients
66+
in the future by [@birchmd]. ([#816])
3667

3768
[#816]: https://github.com/aurora-is-near/aurora-engine/pull/816
3869
[#825]: https://github.com/aurora-is-near/aurora-engine/pull/825
@@ -495,8 +526,10 @@ struct SubmitResult {
495526

496527
## [1.0.0] - 2021-05-12
497528

498-
[Unreleased]: https://github.com/aurora-is-near/aurora-engine/compare/2.10.2...develop
499-
[3.0.0]: https://github.com/aurora-is-near/aurora-engine/compare/2.10.2...3.0.0
529+
[Unreleased]: https://github.com/aurora-is-near/aurora-engine/compare/3.2.0...develop
530+
[3.2.0]: https://github.com/aurora-is-near/aurora-engine/compare/3.1.0...3.2.0
531+
[3.1.0]: https://github.com/aurora-is-near/aurora-engine/compare/3.0.0...3.1.0
532+
[3.0.0]: https://github.com/aurora-is-near/aurora-engine/compare/3.0.0...2.10.2
500533
[2.10.2]: https://github.com/aurora-is-near/aurora-engine/compare/2.10.1...2.10.2
501534
[2.10.1]: https://github.com/aurora-is-near/aurora-engine/compare/2.10.0...2.10.1
502535
[2.10.0]: https://github.com/aurora-is-near/aurora-engine/compare/2.9.3...2.10.0

0 commit comments

Comments
 (0)