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.8.0 #995

Merged
merged 24 commits into from
Feb 5, 2025
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
ce1db31
Chore: Update SputnikVM to v0.46.1-aurora (#966)
mrLSD Oct 17, 2024
c5f867a
ci: use self-hosted runner in scheduled task (#969)
aleksuss Oct 18, 2024
5030b0e
chore: fix typos (#968)
omahs Oct 21, 2024
8994a98
fix README.md (#970)
nnsW3 Oct 21, 2024
a7cf337
fix: add relayer function call key vulnerability (#972)
aleksuss Nov 11, 2024
b09898c
build(deps): bump body-parser from 1.19.0 to 1.20.3 in /etc/eth-contr…
dependabot[bot] Nov 11, 2024
3827f88
ci: fix installing nodejs deps in the tests (#973)
aleksuss Nov 12, 2024
3cc4d6a
ci: bump node up to 18 in scheduled script (#975)
aleksuss Nov 16, 2024
2f706a2
build(deps): bump secp256k1 from 4.0.2 to 4.0.4 in /etc/eth-contracts…
dependabot[bot] Nov 16, 2024
a7cecb1
ci: bump node in scheduled lint task (#976)
aleksuss Nov 18, 2024
25cb5ad
feat: use stable 1.81.0 rust (#977)
aleksuss Nov 19, 2024
0158e50
doc: update README.md (#978)
aleksuss Nov 19, 2024
2737283
build(deps): bump rustls from 0.23.17 to 0.23.18 (#979)
dependabot[bot] Nov 26, 2024
e8e95a2
chore: fix some typos in comment (#980)
cuibuwei Dec 2, 2024
029af46
ci: fix scheduled task by changing self hosted runner (#981)
aleksuss Dec 5, 2024
9a93893
Feat: update primitive types & refactoring (#982)
mrLSD Jan 2, 2025
340e1a3
chore: add missing language fences (#983)
glitched-w0rld Jan 3, 2025
867ff2f
chore: extend clippy coverage (#984)
aleksuss Jan 8, 2025
d2a6120
chore: add some optimisations to the AccountId creation methods (#985)
aleksuss Jan 10, 2025
ec850c7
Chore: update clippy to toolchain 1.84 rules (#986)
mrLSD Jan 23, 2025
6a01c23
build(deps): bump undici from 5.28.4 to 5.28.5 in /etc/eth-contracts …
dependabot[bot] Jan 24, 2025
3824d65
build(deps): bump openssl from 0.10.68 to 0.10.70 (#993)
dependabot[bot] Feb 3, 2025
ec8e95a
feat: adapt the exitToNear precompile to be compatible with OMNI brid…
aleksuss Feb 5, 2025
c225425
chore: release notes 3.8.0 (#994)
aleksuss Feb 5, 2025
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
11 changes: 8 additions & 3 deletions .github/workflows/builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ jobs:
cargo make --profile ${{ matrix.profile }} build-xcc-docker
- run: ls -lH bin/aurora-*${{ matrix.profile }}.wasm
- name: Upload aurora-${{ matrix.profile }}.wasm artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: contracts
name: contract-${{ matrix.profile }}
path: bin/aurora*${{ matrix.profile }}.wasm

publish:
Expand All @@ -41,7 +41,11 @@ jobs:
needs: build
steps:
- name: Download artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
path: contracts
pattern: contract-*
merge-multiple: true
- run: ls -la contracts
- name: Publish contracts for ${{ github.ref }} release
uses: svenstaro/upload-release-action@v2
Expand All @@ -50,6 +54,7 @@ jobs:
file: contracts/aurora*.wasm
repo_token: ${{ secrets.GITHUB_TOKEN }}
file_glob: true
overwrite: true
env:
CARGO_TERM_COLOR: always
CARGO_INCREMENTAL: 0
21 changes: 20 additions & 1 deletion .github/workflows/lints.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,15 @@ jobs:
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 build-contracts
- name: Update Node and Yarn
run: |
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
nvm install 18 && nvm alias default 18
npm install -g yarn
echo "$(dirname $(nvm which node))" >> $GITHUB_PATH
- name: Build contracts
run: cargo make build-contracts
- name: Run Contract cargo clippy
run: cargo make clippy
udeps:
Expand All @@ -51,7 +59,18 @@ jobs:
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: Update Node and Yarn
run: |
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
nvm install 18 && nvm alias default 18
npm install -g yarn
echo "$(dirname $(nvm which node))" >> $GITHUB_PATH
- name: Run yarn lint
run: cargo make check-contracts
- name: Check committed EvmErc20.bin
run: bash scripts/verify_evm_erc20.sh

env:
CARGO_TERM_COLOR: always
CARGO_INCREMENTAL: 0
34 changes: 30 additions & 4 deletions .github/workflows/scheduled_lints.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
---
on:
schedule:
- cron: '0 9 * * 1-5'
- cron: '0 8 * * 1-5'

name: Scheduled checks
jobs:
tests:
Expand All @@ -15,8 +16,19 @@ jobs:
- 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: Install dependencies
run: |
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt update && sudo apt install -y yarn build-essential pkg-config libclang-dev libssl-dev
- name: Clone the repository
uses: actions/checkout@v4
- name: Install Rust toolchain
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
cache: false
toolchain: stable
override: false
- name: Cargo Cache
uses: actions/cache@v4
with:
Expand All @@ -30,8 +42,8 @@ jobs:
- name: Setup Node and cache
uses: actions/setup-node@v4
with:
node-version: 16
cache: 'yarn'
node-version: 18
cache: yarn
cache-dependency-path: |
etc/eth-contracts
etc/tests/uniswap
Expand All @@ -58,11 +70,25 @@ jobs:
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
- name: Update Node and Yarn
run: |
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
nvm install 18 && nvm alias default 18
npm install -g yarn
echo "$(dirname $(nvm which node))" >> $GITHUB_PATH
- name: Run checks
run: cargo make check
- name: Run build XCC router
run: cargo make build-xcc-router
- 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 }}

env:
CARGO_TERM_COLOR: always
CARGO_INCREMENTAL: 0
28 changes: 26 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ jobs:
- name: Setup Node and cache
uses: actions/setup-node@v4
with:
node-version: 16
cache: 'yarn'
node-version: 18
cache: yarn
cache-dependency-path: |
etc/eth-contracts
etc/tests/uniswap
Expand Down Expand Up @@ -84,6 +84,30 @@ jobs:
- name: Test ${{ matrix.profile }} bench-modexp
run: cargo make --profile ${{ matrix.profile }} bench-modexp

build_xcc_router:
name: Build XCC router
runs-on: github-hosted-heavy-runner
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: Cargo Cache
uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
etc/xcc-router/target/
key: cargo-build-xcc-router
- name: Install dependencies
run: cargo +stable make -V || cargo +stable install cargo-make
- name: Build
run: cargo make build-xcc-router

env:
CARGO_TERM_COLOR: always
CARGO_INCREMENTAL: 0
46 changes: 40 additions & 6 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,39 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [3.8.0] 2025-02-05

### Changes

- Bumped the SputnikVM up to 0.46.1-aurora by [@mrLSD]. ([#966])
- The nightly rust compiler has been replaced with stable by [@aleksuss]. ([#977])
- Added changes regarding bumping the `primitive-types` crate by [@mrLSD]. ([#982])
- The code coverage by clippy has been extended by [@aleksuss]. ([#984])
- The code is changed by the clippy suggestions from the toolchain 1.84.0 by [@mrLSD]. ([#986])
- The precompile `exitToNear` now is compatible with the OMNI bridge by [@aleksuss]. ([#992])

### Fixes

- Added optimisations to the `AccountId` creation methods by [@aleksuss]. ([#985])
- The `README.md` has been actualized by [@aleksuss]. ([#978])
- Modified CI scripts by [@aleksuss]. ([#969], [#973], [#975], [#976], [#981])
- Fixed the vulnerability in the `remove_relayer_key` transaction by [@aleksuss]. ([#972])

[#966]: https://github.com/aurora-is-near/aurora-engine/pull/966
[#969]: https://github.com/aurora-is-near/aurora-engine/pull/969
[#972]: https://github.com/aurora-is-near/aurora-engine/pull/972
[#973]: https://github.com/aurora-is-near/aurora-engine/pull/973
[#975]: https://github.com/aurora-is-near/aurora-engine/pull/975
[#976]: https://github.com/aurora-is-near/aurora-engine/pull/976
[#977]: https://github.com/aurora-is-near/aurora-engine/pull/977
[#978]: https://github.com/aurora-is-near/aurora-engine/pull/978
[#981]: https://github.com/aurora-is-near/aurora-engine/pull/981
[#982]: https://github.com/aurora-is-near/aurora-engine/pull/982
[#984]: https://github.com/aurora-is-near/aurora-engine/pull/984
[#985]: https://github.com/aurora-is-near/aurora-engine/pull/985
[#986]: https://github.com/aurora-is-near/aurora-engine/pull/986
[#992]: https://github.com/aurora-is-near/aurora-engine/pull/992

## [3.7.0] 2024-10-09

### Additions
Expand Down Expand Up @@ -101,7 +134,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixes

- Fixed underflow in the modexp gas calculation by [@guidovranken]. ([#883])
- Prevented subtraction underflow in th xcc module by [@guidovranken]. ([#888])
- Prevented subtraction underflow in the xcc module by [@guidovranken]. ([#888])
- Fixed balance and gas overflows in the xcc module by [@guidovranken]. ([#889])

### Changes
Expand Down Expand Up @@ -287,7 +320,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Fixes

- Use ibig implemenation of modexp by [@birchmd]. ([#778])
- Use ibig implementation of modexp by [@birchmd]. ([#778])

[#778]: https://github.com/aurora-is-near/aurora-engine/pull/778

Expand Down Expand Up @@ -504,9 +537,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changes

- Performance improvements by [@birchmd] and [@matklad]; the engine should now consume much less NEAR gas: ([#427]) ([#438]) ([#439]) ([#445]) ([#446])
- Security improvment: only Engine contract owner can use the `deploy_upgrade` method by [@birchmd]. ([#410])
- Security improvement: only Engine contract owner can use the `deploy_upgrade` method by [@birchmd]. ([#410])
- Bug fix: Engine now returns the error message in the case of a revert during an EVM contract deploy, previously it would always return an address (even when the deploy failed) by [@birchmd]. ([#424])
- Security improvment: Engine will no longer accept EVM transactions without a chain ID as part of their signature by [@birchmd]. This should have no impact on users as all modern Ethereum tooling includes the chain ID. ([#432])
- Security improvement: Engine will no longer accept EVM transactions without a chain ID as part of their signature by [@birchmd]. This should have no impact on users as all modern Ethereum tooling includes the chain ID. ([#432])
- Improvements to code quality by [@mrLSD]: ([#386]) ([#387])
- Improvements and additions to internal tests and benchmarks by [@birchmd]: ([#408]) ([#415]) ([#429])

Expand Down Expand Up @@ -592,7 +625,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added

- Public method for computing Aurora blockhash at a given hight by [@birchmd]. ([#303](https://github.com/aurora-is-near/aurora-engine/pull/303))
- Public method for computing Aurora blockhash at a given height by [@birchmd]. ([#303](https://github.com/aurora-is-near/aurora-engine/pull/303))

### Changed

Expand Down Expand Up @@ -697,7 +730,8 @@ struct SubmitResult {

## [1.0.0] - 2021-05-12

[Unreleased]: https://github.com/aurora-is-near/aurora-engine/compare/3.7.0...develop
[Unreleased]: https://github.com/aurora-is-near/aurora-engine/compare/3.8.0...develop
[3.8.0]: https://github.com/aurora-is-near/aurora-engine/compare/3.7.0...3.8.0
[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
Expand Down
Loading
Loading