Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
75 commits
Select commit Hold shift + click to select a range
ebb2edf
Remove the dependency on Lunarity. (#115)
birchmd Jun 1, 2021
418a473
Fix Clippy complaint with +nightly. (#117)
birchmd Jun 1, 2021
0f11b37
Add an `evm-bully=yes` build to CI. (#121)
Jun 4, 2021
544ad92
Fix evm-bully builds. (#130)
birchmd Jun 4, 2021
aaeec76
Handle transaction gas limit properly. (#123)
birchmd Jun 4, 2021
a7d2b19
Merge branch 'master' into develop
artob Jun 4, 2021
d8f042d
Add an `is_used_proof` interface. (#120)
sept-en Jun 5, 2021
b76c7a3
Simplify the `sdk::read_u64` return type. (#118)
birchmd Jun 5, 2021
9c81e52
Merge branch 'master' into develop
artob Jun 5, 2021
2bf9b25
Implement generational storage with `SELFDESTRUCT` tests (#84)
mfornet Jun 10, 2021
faff25c
Fix needless borrows. (#135)
birchmd Jun 11, 2021
c1b8466
Add JSON custom error types. (#131)
sept-en Jun 11, 2021
94cb338
Don't burn NEP-141 on deposit. (#133)
sept-en Jun 11, 2021
cb64a2d
Eth-connector: fixed u128 json parsing & tests (#125)
mrLSD Jun 12, 2021
99b4e17
Macro for logging (#142)
birchmd Jun 16, 2021
9c4b1d0
Add changelog sections.
artob Jun 17, 2021
cbb878f
Introduce precompiles for the ETH & ERC-20 connectors. (#51)
mfornet Jun 17, 2021
1007ce2
Improve and refactor the ETH connector. (#136)
sept-en Jun 17, 2021
7376cfb
Add missing trailing newline.
artob Jun 17, 2021
3b6bc37
Fix SPDX identifiers.
artob Jun 17, 2021
1dff687
Add missing trailing newlines.
artob Jun 17, 2021
680f519
Merge branch 'master' into develop
artob Jun 17, 2021
d923a02
Bump normalize-url from 4.5.0 to 4.5.1. (#144)
dependabot[bot] Jun 17, 2021
3caa772
Fix CI debug pipeline. (#145)
mfornet Jun 17, 2021
7715d90
Enable `meta_call` only with feature flag. (#146)
sept-en Jun 17, 2021
790c3f4
Implement EIP-2565 support. (#138)
joshuajbouw Jun 17, 2021
37961b2
Add `mainnet`, `testnet`, and `betanet` feature flags. (#147)
sept-en Jun 17, 2021
879c736
Fix `clippy::unnecessary_unwrap`. (#149)
birchmd Jun 17, 2021
1215c02
Prohibit static calls in exit precompiles. (#148)
sept-en Jun 17, 2021
ca8c5cc
Fix all Clippy warnings. (#150)
sept-en Jun 17, 2021
3054a27
Create the `ExitToNear` receiver account if it does not exist. (#151)
birchmd Jun 18, 2021
21a14bb
Update the changelog.
artob Jun 18, 2021
47933e5
Merge branch 'master' into develop
artob Jun 18, 2021
103ef46
Merge branch 'master' into develop
artob Jun 18, 2021
8786757
Remove engine feature flag (#154)
birchmd Jun 19, 2021
5a775f8
Refactor: Move tests to `src/tests` (#155)
birchmd Jun 19, 2021
76615d0
Improve the `EvmErc20.sol` contract. (#156)
0x3bfc Jun 21, 2021
9b759d9
Properly document endianess. (#157)
Jun 22, 2021
03e170f
Fix NEP-141 Compliance (#158)
mfornet Jun 23, 2021
6228db7
Update the changelog.
artob Jun 23, 2021
52f1d8d
Merge branch 'master' into develop
artob Jun 23, 2021
1e15f35
Bump the version to 1.4.2.
artob Jun 25, 2021
7d530b2
Update the changelog.
artob Jun 25, 2021
7656e32
Merge branch 'master' into develop
artob Jun 25, 2021
7dec43a
Tests: always compile with `mainnet` feature. (#162)
sept-en Jun 25, 2021
41b1a7d
Fix(engine): Fix scheduled nightly clippy (#160)
birchmd Jun 25, 2021
c08b3d3
Refactor: move eth-connector tests under `src/tests` (#164)
birchmd Jun 29, 2021
8ebcafc
EIP-2718: Typed Transaction Envelope support (#165)
birchmd Jun 29, 2021
74eedf4
Remove Prover - deprecated EIP-712 implementation (#168)
mrLSD Jul 6, 2021
0bae6ec
ERC-20: Allow admin to change token metadata. (#171)
sept-en Jul 8, 2021
28c0a64
Bump the version to 1.4.3.
artob Jul 8, 2021
d1d47b0
Merge branch 'master' into develop
artob Jul 8, 2021
3d8e3fd
JSON: bugs fixes, add unit tests. (#141)
sept-en Jul 14, 2021
5e5c8e0
feat: storage layout for EvmErc20.sol (#178)
0x3bfc Jul 14, 2021
ebf63a3
Migrate all workflows to self-hosted runners (#185)
strokovok Jul 16, 2021
93898da
Feat(engine): EIP-2930 support (#181)
birchmd Jul 20, 2021
866634a
Fix clippy::enum_variant_names warning (#192)
birchmd Jul 20, 2021
fc51f9a
Speed up workflow build caching (#189)
strokovok Jul 21, 2021
c57e2ce
Add different networks to makefile (#193)
joshuajbouw Jul 21, 2021
2ead537
Update network status in README.md (#194)
joshuajbouw Jul 21, 2021
82205cd
Remove toolchain-installation step in workflows (#195)
strokovok Jul 21, 2021
4ffc159
Feat(engine): Use new math API host functions (#190)
birchmd Jul 22, 2021
3c47521
Run all tests for all networks in CI (#196)
birchmd Jul 22, 2021
068e38e
Optimize for performance instead of code size (#197)
birchmd Jul 23, 2021
fe0be5f
Parallelize test suits (#198)
strokovok Jul 23, 2021
6ba39f3
Add build-caching to testing workflow (#201)
strokovok Jul 28, 2021
a268a9f
Refactor(tests): Use Signer (#203)
birchmd Jul 30, 2021
622b483
Add options to bench profile (#204)
birchmd Jul 30, 2021
74c5082
Remove duplicate test (#205)
birchmd Jul 30, 2021
84c703a
Add sanity test for access list handling. (#206)
birchmd Jul 30, 2021
28a5525
Update nearcore to latest branch, not commit
joshuajbouw Jul 30, 2021
5674e72
Add feature gates to SDK new host functions
joshuajbouw Jul 30, 2021
454b75c
Bump the version to 1.5.0.
artob Jul 30, 2021
46c3f5b
Update Cargo.lock
joshuajbouw Jul 30, 2021
f8a4ee6
ERC-20: forbid using invalid NEP141 AccountID for mapping (#179)
sept-en Jul 30, 2021
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
38 changes: 14 additions & 24 deletions .github/workflows/builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,56 +7,46 @@ name: Builds
jobs:
release:
name: Release
runs-on: ubuntu-latest
runs-on: self-hosted
steps:
- name: Clone the repository
uses: actions/checkout@v2
- name: Install the toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly-2021-03-25
override: true
- run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH
- run: make release
- run: ls -lH release.wasm
- name: Upload the release.wasm artifact
- run: ls -lH mainnet-release.wasm
- name: Upload the mainnet-release.wasm artifact
uses: actions/upload-artifact@v2
with:
name: release.wasm
path: release.wasm
name: mainnet-release.wasm
path: mainnet-release.wasm
- name: Update the latest release
uses: svenstaro/upload-release-action@v2
with:
tag: latest
file: release.wasm
file: mainnet-release.wasm
overwrite: true
repo_token: ${{ secrets.GITHUB_TOKEN }}
- name: Update the latest tag
uses: EndBug/latest-tag@latest
debug:
name: Debug
runs-on: ubuntu-latest
runs-on: self-hosted
steps:
- name: Clone the repository
uses: actions/checkout@v2
- name: Install the toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly-2021-03-25
override: true
- run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH
- run: make debug
- run: ls -lH debug.wasm
- name: Upload the debug.wasm artifact
- run: ls -lH mainnet-debug.wasm
- name: Upload the mainnet-debug.wasm artifact
uses: actions/upload-artifact@v2
with:
name: debug.wasm
path: debug.wasm
name: mainnet-debug.wasm
path: mainnet-debug.wasm
- name: Update the latest release
uses: svenstaro/upload-release-action@v2
with:
tag: latest
file: debug.wasm
file: mainnet-debug.wasm
overwrite: true
repo_token: ${{ secrets.GITHUB_TOKEN }}
- name: Update the latest tag
Expand Down
36 changes: 8 additions & 28 deletions .github/workflows/lints.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,49 +5,29 @@ name: Lints
jobs:
fmt:
name: rustfmt
runs-on: ubuntu-latest
runs-on: self-hosted
steps:
- name: Clone the repository
uses: actions/checkout@v2
- name: Install the toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly-2021-03-25
override: true
components: rustfmt
- run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH
- name: Run cargo fmt
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
run: cargo fmt --all -- --check
clippy:
name: Clippy
runs-on: ubuntu-latest
runs-on: self-hosted
steps:
- name: Clone the repository
uses: actions/checkout@v2
- name: Install the toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly-2021-03-25
override: true
components: clippy
- run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH
- run: make etc/eth-contracts/res/EvmErc20.bin
- name: Run Contract cargo clippy
uses: actions-rs/cargo@v1
with:
command: clippy
args: --no-default-features --features=contract -- -D warnings
run: cargo clippy --no-default-features --features=contract -- -D warnings
- name: Run cargo clippy
uses: actions-rs/cargo@v1
with:
command: clippy
run: cargo clippy

contracts:
name: eth-contracts
runs-on: ubuntu-latest
runs-on: self-hosted
steps:
- name: Clone the repository
uses: actions/checkout@v2
Expand Down
15 changes: 3 additions & 12 deletions .github/workflows/scheduled_lints.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,11 @@ name: Scheduled_Lints
jobs:
clippy:
name: Nightly_Clippy
runs-on: ubuntu-latest
runs-on: self-hosted
steps:
- name: Clone the repository
uses: actions/checkout@v2
- name: Install the toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
override: true
components: clippy
- run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH
- run: make etc/eth-contracts/res/EvmErc20.bin
- name: Run cargo clippy
uses: actions-rs/cargo@v1
with:
command: clippy
args: --no-default-features --features=mainnet -- -D warnings
run: cargo clippy --no-default-features --features=mainnet -- -D warnings
53 changes: 22 additions & 31 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,45 +3,36 @@ on: [push, pull_request]
name: Tests
jobs:
test:
name: Test suite
runs-on: ubuntu-latest
strategy:
matrix:
net: [main, test, beta]
name: Test suite (${{ matrix.net }}net)
runs-on: self-hosted
steps:
- name: Clone the repository
uses: actions/checkout@v2
- name: Cache Cargo artifacts
uses: actions/cache@v2
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Install the toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly-2021-03-25
override: true
- run: make test-build
- name: Run cargo test
uses: actions-rs/cargo@v1
with:
command: test
args: --locked --verbose --features meta-call
- run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH
- name: Cache lookup for target dir
run: cache-util -restore -path target -key aurora-engine-target@${{ matrix.net }}net@${{ hashFiles('**/Cargo.lock') }}
- run: make ${{ matrix.net }}net-test-build
- name: Run ${{ matrix.net }}net cargo test
run: cargo test --locked --verbose --features ${{ matrix.net }}net-test
- name: Caching target dir
run: cache-util -save -move -path target -key aurora-engine-target@${{ matrix.net }}net@${{ hashFiles('**/Cargo.lock') }}
bully-build:
name: Bully build
runs-on: ubuntu-latest
runs-on: self-hosted
steps:
- name: Clone the repository
uses: actions/checkout@v2
- name: Install the toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly-2021-03-25
override: true
- run: make evm-bully=yes
- run: ls -lH release.wasm
- run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH
- name: Cache lookup for target dir
run: cache-util -restore -path target -key aurora-engine-target@bully@${{ hashFiles('**/Cargo.lock') }}
- run: make mainnet-debug evm-bully=yes
- run: ls -lH mainnet-debug.wasm
- name: Cache target dir
run: cache-util -save -move -path target -key aurora-engine-target@bully@${{ hashFiles('**/Cargo.lock') }}
env:
CARGO_TERM_COLOR: always
CARGO_INCREMENTAL: 0
RUSTC_WRAPPER: sccache
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,4 @@ res/
etc/state-migration-test/target/

node_modules/*
artifacts/
cache
3 changes: 3 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.5.0] - 2021-07-30

## [1.4.3] - 2021-07-08

## [1.4.2] - 2021-06-25
Expand All @@ -21,6 +23,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [1.0.0] - 2021-05-12

[1.5.0]: https://github.com/aurora-is-near/aurora-engine/compare/1.4.3...1.5.0
[1.4.3]: https://github.com/aurora-is-near/aurora-engine/compare/1.4.2...1.4.3
[1.4.2]: https://github.com/aurora-is-near/aurora-engine/compare/1.4.1...1.4.2
[1.4.1]: https://github.com/aurora-is-near/aurora-engine/compare/1.4.0...1.4.1
Expand Down
Loading