Skip to content

Commit

Permalink
Release 3.7.0 (#965)
Browse files Browse the repository at this point in the history
### Additions

- Added support of CANCUN hardfork by [@mrLSD]. ([#926])
- Added support of EIP-3607 by [@mrLSD]. ([#930])
- Removed restrictions from funding XCC sub-accounts by [@birchmd].
([#931])

### Changes

- Made some EVM gas costs optimisations by [@mrLSD]. ([#934])
- Refactored the gas charge logic form EVM exit reasons by [@mrLSD].
([#935])
- Updated some dependencies and rust-toolchain by [@mrLSD]. ([#936])
- Removed unused `bytes_to_hex` function by [@dwiekawki]. ([#942])
- Added building of actual version of the `near-sandbox` in the
scheduled CI job by [@aleksuss] ([#950])

### Fixes

- Removed duplicated `test` task in the `README.md` by [@dwiekawki].
([#943])
- Fixed some typos in the `README.md` and `Cargo.toml` by [@DemoYeti].
([#945]) ([#946])
- Fixed exceeded prepaid gas error in the `mirror_erc20_token`
transaction by [@aleksuss] ([#951])
- Modified `hardhat.config.js` to support contract verification by
[@spilin] ([#958])

[#926]: #926
[#930]: #930
[#931]: #931
[#934]: #934
[#935]: #935
[#936]: #936
[#942]: #942
[#943]: #943
[#945]: #945
[#946]: #946
[#950]: #950
[#951]: #951
[#958]: #958

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Michael Birch <[email protected]>
Co-authored-by: Evgeny Ukhanov <[email protected]>
Co-authored-by: dwiekawki <[email protected]>
Co-authored-by: dwiekawki <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: DemoYeti <[email protected]>
Co-authored-by: spilin <[email protected]>
  • Loading branch information
8 people committed Oct 10, 2024
1 parent 28396c1 commit 338dd61
Show file tree
Hide file tree
Showing 66 changed files with 2,725 additions and 1,603 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ jobs:
runs-on: github-hosted-heavy-runner
strategy:
matrix:
profile: [mainnet, mainnet-silo, testnet, testnet-silo]
profile: [ mainnet, mainnet-silo, testnet, testnet-silo ]
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
uses: actions/checkout@v4
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/lints.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,47 +10,47 @@ name: Lints
jobs:
fmt:
name: Format
runs-on: [self-hosted, light]
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
uses: actions/checkout@v4
- name: Run cargo fmt
run: cargo make check-fmt
clippy:
name: Clippy
runs-on: [self-hosted, heavy]
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
uses: actions/checkout@v4
- run: cargo make build-contracts
- name: Run Contract cargo clippy
run: cargo make clippy
udeps:
name: Udeps
runs-on: [self-hosted, heavy]
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
uses: actions/checkout@v4
- name: Run udeps
run: cargo make udeps
contracts:
name: Contracts
runs-on: [self-hosted, light]
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
uses: actions/checkout@v4
- name: Run yarn lint
run: cargo make check-contracts
- name: Check committed EvmErc20.bin
Expand Down
56 changes: 45 additions & 11 deletions .github/workflows/scheduled_lints.yml
Original file line number Diff line number Diff line change
@@ -1,34 +1,68 @@
---
on:
schedule:
- cron: '30 8 * * 1-5'
- cron: '0 9 * * 1-5'
name: Scheduled checks
jobs:
tests:
name: Run tests
runs-on: [self-hosted, heavy]
runs-on: github-hosted-heavy-runner
strategy:
fail-fast: false
matrix:
profile: [ mainnet, mainnet-silo, testnet, testnet-silo ]
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@v4
- name: Test mainnet
run: cargo make --profile mainnet test-flow
- name: Test testnet
run: cargo make --profile testnet test-flow
- name: Test mainnet silo
run: cargo make --profile mainnet-silo test-flow
- name: Test testnet silo
run: cargo make --profile testnet-silo test-flow
- name: Cargo Cache
uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ matrix.profile }}-cargo-test
- name: Setup Node and cache
uses: actions/setup-node@v4
with:
node-version: 16
cache: 'yarn'
cache-dependency-path: |
etc/eth-contracts
etc/tests/uniswap
- name: Install cargo-make
run: cargo +stable make -V || cargo +stable install cargo-make
- name: Build actual neard-sandbox
run: scripts/build-neard-sandbox.sh ${{ matrix.profile }}
- name: Test ${{ matrix.profile }}
run: cargo make --profile ${{ matrix.profile }} test-flow
- uses: 8398a7/action-slack@v3
if: failure()
with:
status: ${{ job.status }}
fields: repo,message,commit,author,action,eventName,job,took
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}

checks:
name: Run checks
runs-on: [self-hosted, heavy]
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@v4
- run: cargo make check
- uses: 8398a7/action-slack@v3
if: failure()
with:
status: ${{ job.status }}
fields: repo,message,commit,author,action,eventName,job,took
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Clone the repository
uses: actions/checkout@v4
- name: Cargo Cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
Expand All @@ -32,7 +32,7 @@ jobs:
target/
key: ${{ matrix.profile }}-cargo-test
- name: Setup Node and cache
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 16
cache: 'yarn'
Expand Down Expand Up @@ -70,7 +70,7 @@ jobs:
- name: Clone the repository
uses: actions/checkout@v4
- name: Cargo Cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

# ENV
.env/custom.env
etc/eth-contracts/.env

# Rust artifacts
bin/
Expand Down
43 changes: 42 additions & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,43 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [3.7.0] 2024-10-09

### Additions

- Added support of CANCUN hardfork by [@mrLSD]. ([#926])
- Added support of EIP-3607 by [@mrLSD]. ([#930])
- Removed restrictions from funding XCC sub-accounts by [@birchmd]. ([#931])

### Changes

- Made some EVM gas costs optimisations by [@mrLSD]. ([#934])
- Refactored the gas charge logic form EVM exit reasons by [@mrLSD]. ([#935])
- Updated some dependencies and rust-toolchain by [@mrLSD]. ([#936])
- Removed unused `bytes_to_hex` function by [@dwiekawki]. ([#942])
- Added building of actual version of the `near-sandbox` in the scheduled CI job by [@aleksuss] ([#950])

### Fixes

- Removed duplicated `test` task in the `README.md` by [@dwiekawki]. ([#943])
- Fixed some typos in the `README.md` and `Cargo.toml` by [@DemoYeti]. ([#945]) ([#946])
- Fixed exceeded prepaid gas error in the `mirror_erc20_token` transaction by [@aleksuss] ([#951])
- Modified `hardhat.config.js` to support contract verification by [@spilin] ([#958])

[#926]: https://github.com/aurora-is-near/aurora-engine/pull/926
[#930]: https://github.com/aurora-is-near/aurora-engine/pull/930
[#931]: https://github.com/aurora-is-near/aurora-engine/pull/931
[#934]: https://github.com/aurora-is-near/aurora-engine/pull/934
[#935]: https://github.com/aurora-is-near/aurora-engine/pull/935
[#936]: https://github.com/aurora-is-near/aurora-engine/pull/936
[#942]: https://github.com/aurora-is-near/aurora-engine/pull/942
[#943]: https://github.com/aurora-is-near/aurora-engine/pull/943
[#945]: https://github.com/aurora-is-near/aurora-engine/pull/945
[#946]: https://github.com/aurora-is-near/aurora-engine/pull/946
[#950]: https://github.com/aurora-is-near/aurora-engine/pull/950
[#951]: https://github.com/aurora-is-near/aurora-engine/pull/951
[#958]: https://github.com/aurora-is-near/aurora-engine/pull/958

## [3.6.4] 2024-07-22

### Additions
Expand Down Expand Up @@ -660,7 +697,8 @@ struct SubmitResult {

## [1.0.0] - 2021-05-12

[Unreleased]: https://github.com/aurora-is-near/aurora-engine/compare/3.6.4...develop
[Unreleased]: https://github.com/aurora-is-near/aurora-engine/compare/3.7.0...develop
[3.7.0]: https://github.com/aurora-is-near/aurora-engine/compare/3.6.4...3.7.0
[3.6.4]: https://github.com/aurora-is-near/aurora-engine/compare/3.6.3...3.6.4
[3.6.3]: https://github.com/aurora-is-near/aurora-engine/compare/3.6.2...3.6.3
[3.6.2]: https://github.com/aurora-is-near/aurora-engine/compare/3.6.1...3.6.2
Expand Down Expand Up @@ -716,6 +754,8 @@ struct SubmitResult {
[@andrcmdr]: https://github.com/andrcmdr
[@birchmd]: https://github.com/birchmd
[@Casuso]: https://github.com/Casuso
[@DemoYeti]: https://github.com/DemoYeti
[@dwiekawki]: https://github.com/dwiekawki
[@guidovranken]: https://github.com/guidovranken
[@hskang9]: https://github.com/hskang9
[@joshuajbouw]: https://github.com/joshuajbouw
Expand All @@ -728,3 +768,4 @@ struct SubmitResult {
[@raventid]: https://github.com/raventid
[@RomanHodulak]: https://github.com/RomanHodulak
[@sept-en]: https://github.com/sept-en
[@spilin]: https://github.com/spilin
Loading

0 comments on commit 338dd61

Please sign in to comment.