Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 3.7.0 #965

Merged
merged 24 commits into from
Oct 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
07e9957
Feat(xcc): Open access for funding XCC sub-accounts (#931)
birchmd May 22, 2024
01881db
Feat: Implementation `EIP-3607` (#930)
mrLSD May 28, 2024
89d94a3
Feat: add CANCUN hard fork support (#926)
mrLSD Jun 13, 2024
02604ae
chore: remove unused `bytes_to_hex` (#942)
dwiekawki Aug 5, 2024
8ad4e3a
chore(docs): remove duplicate `test` task (#943)
dwiekawki Aug 7, 2024
0f09a22
Feat: Update dependencies & toolchain (#936)
mrLSD Aug 7, 2024
cfcfb51
build(deps): bump braces from 3.0.2 to 3.0.3 in /etc/tests/uniswap (#…
dependabot[bot] Aug 13, 2024
ef2ee0c
chore: add lang guard to README (#945)
DemoYeti Aug 13, 2024
f9e8eef
Feat: EVM gas cost optimizations (#934)
mrLSD Aug 14, 2024
520591d
chore: fix grammar in `Cargo.toml` (#946)
DemoYeti Aug 14, 2024
8e47dce
Feat: refactore gas charge logic form EVM exit reason (#935)
mrLSD Aug 27, 2024
2e8bda5
fix: exceeded prepaid gas error in mirror_erc20_token (#951)
aleksuss Sep 3, 2024
d877516
ci: build neard-sandbox corresponding release version (#950)
aleksuss Sep 4, 2024
39079d3
deps: bump near dependencies in the tests (#953)
aleksuss Sep 4, 2024
a174631
ci: fix path to neard-sandbox (#954)
aleksuss Sep 5, 2024
736c755
ci: decrease amount of parallel tasks in schedule CI (#955)
aleksuss Sep 6, 2024
3a6ecbb
Chore: Update SputnikVM to v0.45.4-aurora (#947)
mrLSD Sep 19, 2024
ec0c0db
Modifying hardhat.config.js to support contract verification (#958)
spilin Sep 19, 2024
9514de0
build(deps): bump express from 4.19.2 to 4.21.0 in /etc/eth-contracts…
dependabot[bot] Sep 21, 2024
87a454c
ci: add slack notification of failure scheduled checks (#961)
aleksuss Sep 30, 2024
8d7613f
ci: install cargo make (#962)
aleksuss Oct 1, 2024
5d6da1b
ci: install cargo make if not exist (#963)
aleksuss Oct 1, 2024
5e012fb
chore: release notes 3.7.0 (#964)
aleksuss Oct 10, 2024
4636e9d
chore: fix typo in CHANGES.md
aleksuss Oct 10, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 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 All @@ -41,7 +41,7 @@ jobs:
needs: build
steps:
- name: Download artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
- run: ls -la contracts
- name: Publish contracts for ${{ github.ref }} release
uses: svenstaro/upload-release-action@v2
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
Loading