Skip to content

Commit

Permalink
Release 2.8.0 (#636)
Browse files Browse the repository at this point in the history
* Chore(docs): Additional documentation for xcc gas values (#590)
* Feat(standalone): Conversion from standalone's TransactionKind to NormalizedEthTransaction (#586)
* Add Backstage metadata (#534)
* Add Backstage metadata
* Fix(aurora-engine-transactions): remove hex feaure from std (#600)
* Feat(tests): benchmark transaction Emufid2pv2UpxrZae4NyowF2N2ZHvYEPq16LsQc7Uoc6 (#599)
* Connector-tests: Add tests for the case where an account other than aurora-engine is used for ETH deposit (#598)
* [Docs] Eth Connector - extended documentation (#601)
* feat: add serde JSON to JSON serializable structs in parameters (#605)
* Pausable precompiles (#588)
* Test(engine): Increase unit test coverage (#614)
* Feat: allow xcc calls to perform any possible NEAR call (#610)
* Test(engine): Increase unit test coverage (#618)
* Refactor: Mark functions that create promises on NEAR as unsafe (#617)
* Fix(xcc): Only update the router contract version in storage if the deploy is successful (#616)
* Fix(CI): broken submodules checkout + Clippy warnings (#621)
* Chore(standalone): Upgrade rocksdb to v0.19. (#615)
* fix: remove sscache from CI (#626)
* Tiny refactoring by clippy suggestions (#625)
* Improvements in log macro (#630)
* Fix (engine): update SputnikVM dependency to avoid stack overflow on deeply nested EVM calls (#628)
* Fix(xcc): Ensure the xcc router attaches enough gas to the execute function (#622)
* Release 2.8.0 notes
* Build: Add reproducible build job. (#633)
* fix: bn 256 regression (#637)
* Update release notes
* Update README to exclude version (#623)
* Chore: Update to SputnikVM version v0.37.1-aurora. Includes some overflow-related fixes. (#638)
* fix: modexp underestimated gas
* chore: bump Cargo to 2.8
* chore: remove version from deployments in README.md

Co-authored-by: Alexey Lapitsky <lex@realisticgroup.com>
Co-authored-by: Joshua J. Bouw <joshua@aurora.dev>
Co-authored-by: Kirill <kirill@aurora.dev>
Co-authored-by: Evgeny Ukhanov <evgeny@aurora.dev>
Co-authored-by: Roman Hodulák <roman.hodulak@aurora.dev>
Co-authored-by: Dmitry Strokov <dmitry.strokov@aurora.dev>
Co-authored-by: Oleksandr Anyshchenko <aanischenko@gmail.com>
Co-authored-by: Oleksandr Anyshchenko <oleksandr.anyshchenko@aurora.dev>
  • Loading branch information
9 people authored Nov 25, 2022
1 parent 22c176c commit d9b9111
Show file tree
Hide file tree
Showing 117 changed files with 6,581 additions and 1,908 deletions.
11 changes: 11 additions & 0 deletions .catalog-info.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
apiVersion: backstage.io/v1alpha1
kind: Location
metadata:
name: aurora-engine-public
description: Public Aurora Engine repository
spec:
targets:
- ./engine/.catalog-info.yaml
- ./etc/eth-contracts/.catalog-info.yaml
- ./engine-precompiles/.catalog-info.yaml
3 changes: 3 additions & 0 deletions .env/custom_example.env
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,8 @@
# instead use `local-near`.
#NEAR_CLI = "local-near"

# The profile name.
#PROFILE = "testnet"

# The Rust compilier flags to use when compiling any binary. Does not work for the tests.
#RUSTC_FLAGS_BUILD = "-C link-arg=-s"
1 change: 1 addition & 0 deletions .env/local.env
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ RUSTC_FLAGS_BUILD="-C link-arg=-s"
NEAR_EVM_ACCOUNT="aurora.test.near"
WASM_FILE="aurora-local.wasm"
NEAR_CLI="local_near"
PROFILE="testnet"
IS_PROD=false
1 change: 1 addition & 0 deletions .env/mainnet.env
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ NEAR_EVM_ACCOUNT="aurora"
WASM_FILE="aurora-mainnet.wasm"
WASM_FILE_TEST="aurora-mainnet-test.wasm"
NEAR_CLI="near"
PROFILE="mainnet"
IS_PROD=true
1 change: 1 addition & 0 deletions .env/testnet.env
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ NEAR_EVM_ACCOUNT="aurora"
WASM_FILE="aurora-testnet.wasm"
WASM_FILE_TEST="aurora-testnet-test.wasm"
NEAR_CLI="near"
PROFILE="testnet"
IS_PROD=false
6 changes: 4 additions & 2 deletions .github/workflows/builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,12 @@ jobs:
matrix:
profile: [mainnet, testnet]
steps:
- name: Potential broken submodules fix
run: |
git checkout -f $(git -c user.name=x -c user.email=x@x commit-tree $(git hash-object -t tree /dev/null) < /dev/null) || :
- name: Clone the repository
uses: actions/checkout@v3
- run: cargo make --profile ${{ matrix.profile }} build
- run: cargo make --profile ${{ matrix.profile }} build-docker
- run: ls -lH bin/aurora-${{ matrix.profile }}.wasm
- name: Upload the aurora-${{ matrix.profile }}.wasm artifact
uses: actions/upload-artifact@v2
Expand All @@ -33,4 +36,3 @@ jobs:
env:
CARGO_TERM_COLOR: always
CARGO_INCREMENTAL: 0
RUSTC_WRAPPER: sccache
16 changes: 15 additions & 1 deletion .github/workflows/lints.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ jobs:
name: Format
runs-on: [self-hosted, light]
steps:
- name: Potential broken submodules fix
run: |
git checkout -f $(git -c user.name=x -c user.email=x@x commit-tree $(git hash-object -t tree /dev/null) < /dev/null) || :
- name: Clone the repository
uses: actions/checkout@v3
- name: Run cargo fmt
Expand All @@ -20,6 +23,9 @@ jobs:
name: Clippy
runs-on: [self-hosted, heavy]
steps:
- name: Potential broken submodules fix
run: |
git checkout -f $(git -c user.name=x -c user.email=x@x commit-tree $(git hash-object -t tree /dev/null) < /dev/null) || :
- name: Clone the repository
uses: actions/checkout@v3
- run: cargo make build-contracts
Expand All @@ -31,17 +37,25 @@ jobs:
name: Udeps
runs-on: [self-hosted, heavy]
steps:
- name: Potential broken submodules fix
run: |
git checkout -f $(git -c user.name=x -c user.email=x@x commit-tree $(git hash-object -t tree /dev/null) < /dev/null) || :
- name: Clone the repository
uses: actions/checkout@v3
- name: Update udeps
run: cargo install --force cargo-udeps
- name: Run udeps
run: cargo make udeps
contracts:
name: Contracts
runs-on: [self-hosted, light]
steps:
- name: Potential broken submodules fix
run: |
git checkout -f $(git -c user.name=x -c user.email=x@x commit-tree $(git hash-object -t tree /dev/null) < /dev/null) || :
- name: Clone the repository
uses: actions/checkout@v3
- name: Run yarn lint
run: cargo make check-contracts
- name: Check committed EvmErc20.bin
run: bash verify_evm_erc20.sh
run: bash scripts/verify_evm_erc20.sh
3 changes: 3 additions & 0 deletions .github/workflows/scheduled_lints.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ jobs:
name: Nightly Clippy
runs-on: [self-hosted, heavy]
steps:
- name: Potential broken submodules fix
run: |
git checkout -f $(git -c user.name=x -c user.email=x@x commit-tree $(git hash-object -t tree /dev/null) < /dev/null) || :
- name: Clone the repository
uses: actions/checkout@v3
- run: make etc/eth-contracts/res/EvmErc20.bin
Expand Down
14 changes: 9 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,31 +12,35 @@ jobs:
name: Test suite (mainnet, testnet)
runs-on: [self-hosted, heavy]
steps:
- name: Potential broken submodules fix
run: |
git checkout -f $(git -c user.name=x -c user.email=x@x commit-tree $(git hash-object -t tree /dev/null) < /dev/null) || :
- name: Clone the repository
uses: actions/checkout@v3
- name: Restore cache
run: |
cache-util restore cargo_git cargo_registry sccache yarn_cache
cache-util restore cargo_git cargo_registry yarn_cache
cache-util restore aurora-engine-target@generic@${{ hashFiles('**/Cargo.lock') }}:target
- name: List directories
run: ls -la target/wasm32-unknown-unknown/release && ls -la
- name: Build contracts
run: cargo make build-contracts
- name: Test contracts
run: cargo make test-contracts
- name: Build mainnet test WASM
run: cargo make --profile mainnet build-test
- name: List mainnet WASM directory and root directory
run: ls -la target/wasm32-unknown-unknown/release && ls -la
- name: Test mainnet
run: cargo make --profile mainnet test-workspace
- name: Build testnet test WASM
run: cargo make --profile testnet build-test
- name: List testnet WASM directory and root directory
run: ls -la target/wasm32-unknown-unknown/release && ls -la
- name: Test testnet
run: cargo make --profile testnet test-workspace
- name: Save cache
run: |
cache-util save cargo_git cargo_registry sccache yarn_cache
cache-util save cargo_git cargo_registry yarn_cache
cache-util msave aurora-engine-target@generic@${{ hashFiles('**/Cargo.lock') }}:target
env:
CARGO_TERM_COLOR: always
CARGO_INCREMENTAL: 0
RUSTC_WRAPPER: sccache
24 changes: 23 additions & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,27 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [2.8.0] 2022-11-15

### Added

- New functions `pause_precompiles` and `resume_precompiles` to allow pausing/unpausing the exit precompiles on Aurora by [@RomanHodulak]. ([#588])
- Reproducible build in Docker by [@RomanHodulak]. ([#633])

### Fixes

- Update to latest SputnikVM by [@birchmd] (fixes some security issues including a potential call stack overflow and incorrect `is_static` indicator in exit precompiles). ([#628])
- Minor fixes for the XCC functionality by [@birchmd]. ([#610] [#616] [#622])
- Fix bn256 regression by [@joshuajbouw]. ([#637])

[#588]: https://github.com/aurora-is-near/aurora-engine/pull/588
[#610]: https://github.com/aurora-is-near/aurora-engine/pull/610
[#616]: https://github.com/aurora-is-near/aurora-engine/pull/616
[#622]: https://github.com/aurora-is-near/aurora-engine/pull/622
[#628]: https://github.com/aurora-is-near/aurora-engine/pull/628
[#633]: https://github.com/aurora-is-near/aurora-engine/pull/633
[#637]: https://github.com/aurora-is-near/aurora-engine/pull/637

## [2.7.0] 2022-08-19

### Added
Expand Down Expand Up @@ -300,7 +321,8 @@ struct SubmitResult {

## [1.0.0] - 2021-05-12

[Unreleased]: https://github.com/aurora-is-near/aurora-engine/compare/2.7.0...develop
[Unreleased]: https://github.com/aurora-is-near/aurora-engine/compare/2.8.0...develop
[2.8.0]: https://github.com/aurora-is-near/aurora-engine/compare/2.7.0...2.8.0
[2.7.0]: https://github.com/aurora-is-near/aurora-engine/compare/2.6.1...2.7.0
[2.6.1]: https://github.com/aurora-is-near/aurora-engine/compare/2.6.0...2.6.1
[2.6.0]: https://github.com/aurora-is-near/aurora-engine/compare/2.5.3...2.6.0
Expand Down
Loading

0 comments on commit d9b9111

Please sign in to comment.