Skip to content

Commit 338dd61

Browse files
aleksussbirchmdmrLSDdwiekawkidependabot[bot]
committed
Release 3.7.0 (#965)
### 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] <support@github.com> Co-authored-by: Michael Birch <michael.birch@aurora.dev> Co-authored-by: Evgeny Ukhanov <evgeny@aurora.dev> Co-authored-by: dwiekawki <176287097+dwiekawki@users.noreply.github.com> Co-authored-by: dwiekawki <dwiekawki@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: DemoYeti <164791169+DemoYeti@users.noreply.github.com> Co-authored-by: spilin <LyoshaKR@gmail.com>
1 parent 28396c1 commit 338dd61

66 files changed

Lines changed: 2725 additions & 1603 deletions

Some content is hidden

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

.github/workflows/builds.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ jobs:
1010
runs-on: github-hosted-heavy-runner
1111
strategy:
1212
matrix:
13-
profile: [mainnet, mainnet-silo, testnet, testnet-silo]
13+
profile: [ mainnet, mainnet-silo, testnet, testnet-silo ]
1414
steps:
1515
- name: Potential broken submodules fix
1616
run: |
1717
git checkout -f $(git -c user.name=x -c user.email=x@x commit-tree $(git hash-object -t tree /dev/null) < /dev/null) || :
1818
- name: Clone the repository
19-
uses: actions/checkout@v3
19+
uses: actions/checkout@v4
2020
- name: Install Rust
2121
uses: actions-rs/toolchain@v1
2222
with:

.github/workflows/lints.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,47 +10,47 @@ name: Lints
1010
jobs:
1111
fmt:
1212
name: Format
13-
runs-on: [self-hosted, light]
13+
runs-on: [ self-hosted, light ]
1414
steps:
1515
- name: Potential broken submodules fix
1616
run: |
1717
git checkout -f $(git -c user.name=x -c user.email=x@x commit-tree $(git hash-object -t tree /dev/null) < /dev/null) || :
1818
- name: Clone the repository
19-
uses: actions/checkout@v3
19+
uses: actions/checkout@v4
2020
- name: Run cargo fmt
2121
run: cargo make check-fmt
2222
clippy:
2323
name: Clippy
24-
runs-on: [self-hosted, heavy]
24+
runs-on: [ self-hosted, heavy ]
2525
steps:
2626
- name: Potential broken submodules fix
2727
run: |
2828
git checkout -f $(git -c user.name=x -c user.email=x@x commit-tree $(git hash-object -t tree /dev/null) < /dev/null) || :
2929
- name: Clone the repository
30-
uses: actions/checkout@v3
30+
uses: actions/checkout@v4
3131
- run: cargo make build-contracts
3232
- name: Run Contract cargo clippy
3333
run: cargo make clippy
3434
udeps:
3535
name: Udeps
36-
runs-on: [self-hosted, heavy]
36+
runs-on: [ self-hosted, heavy ]
3737
steps:
3838
- name: Potential broken submodules fix
3939
run: |
4040
git checkout -f $(git -c user.name=x -c user.email=x@x commit-tree $(git hash-object -t tree /dev/null) < /dev/null) || :
4141
- name: Clone the repository
42-
uses: actions/checkout@v3
42+
uses: actions/checkout@v4
4343
- name: Run udeps
4444
run: cargo make udeps
4545
contracts:
4646
name: Contracts
47-
runs-on: [self-hosted, light]
47+
runs-on: [ self-hosted, light ]
4848
steps:
4949
- name: Potential broken submodules fix
5050
run: |
5151
git checkout -f $(git -c user.name=x -c user.email=x@x commit-tree $(git hash-object -t tree /dev/null) < /dev/null) || :
5252
- name: Clone the repository
53-
uses: actions/checkout@v3
53+
uses: actions/checkout@v4
5454
- name: Run yarn lint
5555
run: cargo make check-contracts
5656
- name: Check committed EvmErc20.bin
Lines changed: 45 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,68 @@
11
---
22
on:
33
schedule:
4-
- cron: '30 8 * * 1-5'
4+
- cron: '0 9 * * 1-5'
55
name: Scheduled checks
66
jobs:
77
tests:
88
name: Run tests
9-
runs-on: [self-hosted, heavy]
9+
runs-on: github-hosted-heavy-runner
10+
strategy:
11+
fail-fast: false
12+
matrix:
13+
profile: [ mainnet, mainnet-silo, testnet, testnet-silo ]
1014
steps:
1115
- name: Potential broken submodules fix
1216
run: |
1317
git checkout -f $(git -c user.name=x -c user.email=x@x commit-tree $(git hash-object -t tree /dev/null) < /dev/null) || :
1418
- name: Clone the repository
1519
uses: actions/checkout@v4
16-
- name: Test mainnet
17-
run: cargo make --profile mainnet test-flow
18-
- name: Test testnet
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
20+
- name: Cargo Cache
21+
uses: actions/cache@v4
22+
with:
23+
path: |
24+
~/.cargo/bin/
25+
~/.cargo/registry/index/
26+
~/.cargo/registry/cache/
27+
~/.cargo/git/db/
28+
target/
29+
key: ${{ matrix.profile }}-cargo-test
30+
- name: Setup Node and cache
31+
uses: actions/setup-node@v4
32+
with:
33+
node-version: 16
34+
cache: 'yarn'
35+
cache-dependency-path: |
36+
etc/eth-contracts
37+
etc/tests/uniswap
38+
- name: Install cargo-make
39+
run: cargo +stable make -V || cargo +stable install cargo-make
40+
- name: Build actual neard-sandbox
41+
run: scripts/build-neard-sandbox.sh ${{ matrix.profile }}
42+
- name: Test ${{ matrix.profile }}
43+
run: cargo make --profile ${{ matrix.profile }} test-flow
44+
- uses: 8398a7/action-slack@v3
45+
if: failure()
46+
with:
47+
status: ${{ job.status }}
48+
fields: repo,message,commit,author,action,eventName,job,took
49+
env:
50+
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
2451

2552
checks:
2653
name: Run checks
27-
runs-on: [self-hosted, heavy]
54+
runs-on: [ self-hosted, heavy ]
2855
steps:
2956
- name: Potential broken submodules fix
3057
run: |
3158
git checkout -f $(git -c user.name=x -c user.email=x@x commit-tree $(git hash-object -t tree /dev/null) < /dev/null) || :
3259
- name: Clone the repository
3360
uses: actions/checkout@v4
3461
- run: cargo make check
62+
- uses: 8398a7/action-slack@v3
63+
if: failure()
64+
with:
65+
status: ${{ job.status }}
66+
fields: repo,message,commit,author,action,eventName,job,took
67+
env:
68+
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}

.github/workflows/tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Clone the repository
2323
uses: actions/checkout@v4
2424
- name: Cargo Cache
25-
uses: actions/cache@v3
25+
uses: actions/cache@v4
2626
with:
2727
path: |
2828
~/.cargo/bin/
@@ -32,7 +32,7 @@ jobs:
3232
target/
3333
key: ${{ matrix.profile }}-cargo-test
3434
- name: Setup Node and cache
35-
uses: actions/setup-node@v3
35+
uses: actions/setup-node@v4
3636
with:
3737
node-version: 16
3838
cache: 'yarn'
@@ -70,7 +70,7 @@ jobs:
7070
- name: Clone the repository
7171
uses: actions/checkout@v4
7272
- name: Cargo Cache
73-
uses: actions/cache@v3
73+
uses: actions/cache@v4
7474
with:
7575
path: |
7676
~/.cargo/bin/

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313
# ENV
1414
.env/custom.env
15+
etc/eth-contracts/.env
1516

1617
# Rust artifacts
1718
bin/

CHANGES.md

Lines changed: 42 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,43 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [3.7.0] 2024-10-09
11+
12+
### Additions
13+
14+
- Added support of CANCUN hardfork by [@mrLSD]. ([#926])
15+
- Added support of EIP-3607 by [@mrLSD]. ([#930])
16+
- Removed restrictions from funding XCC sub-accounts by [@birchmd]. ([#931])
17+
18+
### Changes
19+
20+
- Made some EVM gas costs optimisations by [@mrLSD]. ([#934])
21+
- Refactored the gas charge logic form EVM exit reasons by [@mrLSD]. ([#935])
22+
- Updated some dependencies and rust-toolchain by [@mrLSD]. ([#936])
23+
- Removed unused `bytes_to_hex` function by [@dwiekawki]. ([#942])
24+
- Added building of actual version of the `near-sandbox` in the scheduled CI job by [@aleksuss] ([#950])
25+
26+
### Fixes
27+
28+
- Removed duplicated `test` task in the `README.md` by [@dwiekawki]. ([#943])
29+
- Fixed some typos in the `README.md` and `Cargo.toml` by [@DemoYeti]. ([#945]) ([#946])
30+
- Fixed exceeded prepaid gas error in the `mirror_erc20_token` transaction by [@aleksuss] ([#951])
31+
- Modified `hardhat.config.js` to support contract verification by [@spilin] ([#958])
32+
33+
[#926]: https://github.com/aurora-is-near/aurora-engine/pull/926
34+
[#930]: https://github.com/aurora-is-near/aurora-engine/pull/930
35+
[#931]: https://github.com/aurora-is-near/aurora-engine/pull/931
36+
[#934]: https://github.com/aurora-is-near/aurora-engine/pull/934
37+
[#935]: https://github.com/aurora-is-near/aurora-engine/pull/935
38+
[#936]: https://github.com/aurora-is-near/aurora-engine/pull/936
39+
[#942]: https://github.com/aurora-is-near/aurora-engine/pull/942
40+
[#943]: https://github.com/aurora-is-near/aurora-engine/pull/943
41+
[#945]: https://github.com/aurora-is-near/aurora-engine/pull/945
42+
[#946]: https://github.com/aurora-is-near/aurora-engine/pull/946
43+
[#950]: https://github.com/aurora-is-near/aurora-engine/pull/950
44+
[#951]: https://github.com/aurora-is-near/aurora-engine/pull/951
45+
[#958]: https://github.com/aurora-is-near/aurora-engine/pull/958
46+
1047
## [3.6.4] 2024-07-22
1148

1249
### Additions
@@ -660,7 +697,8 @@ struct SubmitResult {
660697

661698
## [1.0.0] - 2021-05-12
662699

663-
[Unreleased]: https://github.com/aurora-is-near/aurora-engine/compare/3.6.4...develop
700+
[Unreleased]: https://github.com/aurora-is-near/aurora-engine/compare/3.7.0...develop
701+
[3.7.0]: https://github.com/aurora-is-near/aurora-engine/compare/3.6.4...3.7.0
664702
[3.6.4]: https://github.com/aurora-is-near/aurora-engine/compare/3.6.3...3.6.4
665703
[3.6.3]: https://github.com/aurora-is-near/aurora-engine/compare/3.6.2...3.6.3
666704
[3.6.2]: https://github.com/aurora-is-near/aurora-engine/compare/3.6.1...3.6.2
@@ -716,6 +754,8 @@ struct SubmitResult {
716754
[@andrcmdr]: https://github.com/andrcmdr
717755
[@birchmd]: https://github.com/birchmd
718756
[@Casuso]: https://github.com/Casuso
757+
[@DemoYeti]: https://github.com/DemoYeti
758+
[@dwiekawki]: https://github.com/dwiekawki
719759
[@guidovranken]: https://github.com/guidovranken
720760
[@hskang9]: https://github.com/hskang9
721761
[@joshuajbouw]: https://github.com/joshuajbouw
@@ -728,3 +768,4 @@ struct SubmitResult {
728768
[@raventid]: https://github.com/raventid
729769
[@RomanHodulak]: https://github.com/RomanHodulak
730770
[@sept-en]: https://github.com/sept-en
771+
[@spilin]: https://github.com/spilin

0 commit comments

Comments
 (0)