-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feat(tracing): Implement callTracer (#538) Add docker as a prerequisites (#542) Update dependencies (#541) Chore: Update js dependencies (#543) Constant error messages (#535) chore: Cargo make integration (#378) Chore: PR template (#548) Chore: Delete binaries (#553) Chore(engine): Update to latest version of SputnikVM (#565) Chore(CI): Update checkout to v3 (#566) Chore: Disallow as_conversions (#561) Chore: Update Rust crypto libraries (#568) Fix(engine-transactions): Prevent panic on empty input (#573) Feat(engine): Get promise results precompile (#575) Fix(engine): Return correct value for get_bridge_prover function (#581) Refactor(Tests): Move test contracts to test etc folder (#577) Co-authored-by: Michael Birch <michael.birch@aurora.dev> Chore: Cleanup dead dependencies (#571) Chore(Precompiles): Ripemd160 lib deprecated (#570) Feat(precompiles): Use near host functions for alt_bn128 when compiling wasm artifact (#540) Co-authored-by: Joshua J. Bouw <joshua@aurora.dev> Feat(engine): Cross contract calls (#560) Chore(eth-contracts): Update openzeppelin to 4.7.3 (#584) Fix: Make binaries on push (#585) 2.7.0 release prep
- Loading branch information
1 parent
7109e30
commit 22c176c
Showing
124 changed files
with
7,607 additions
and
4,797 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# To create a new "custom.env" which is then invoked by `--profile custom`, the available | ||
# environment values are below with an explanation. | ||
# | ||
# Simply remove the prefixed `#` to enable them. | ||
|
||
# The cargo features should either be `mainnet`, `testnet` or something extra in order to make use | ||
# of your own custom features. | ||
#CARGO_FEATURES_BUILD = "mainnet" | ||
|
||
# The cargo test features are used to build a test environment version of the engine WASM and test | ||
# library. Either use `mainnet-test`, `testnet-test` or something extra in order to make use of your | ||
# own custom features. | ||
#CARGO_FEATURES_BUILD_TEST = "mainnet,integration-test" | ||
|
||
# The cargo features to enable for the testing environment which will use the compiled binary for | ||
# testing. | ||
#CARGO_FEATURES_TEST | ||
|
||
# The NEAR evm account where to deploy. | ||
# | ||
# For our own purposes, we have a special `aurora` TLD which only Aurora Labs can deploy to on both | ||
# testnet and mainnet. Otherwise, use a name similar to `aurora-test.near` to deploy locally or | ||
# elsewhere. | ||
#NEAR_EVM_ACCOUNT = "aurora-test.near" | ||
|
||
# The Aurora contract WASM file name. | ||
# | ||
# After building the binary, it will end up in the `bin` folder with this following name. | ||
#WASM_FILE = "aurora-custom.wasm" | ||
|
||
# The Aurora contract WASM test file name. | ||
# | ||
# To avoid confusion with the mainnet binary, it is wise to set this as something different as the | ||
# test binary should never go to production and is only used in testing exclusively. | ||
# | ||
# After building the binary, it will end up in the `bin` folder with this following name. | ||
#WASM_FILE_TEST = "aurora-custom-test.wasm" | ||
|
||
# The NEAR CLI service name to use. | ||
# | ||
# For live purposes, this should be `near` however if you have setup a local development environment | ||
# for the NEAR blockchain following https://docs.near.org/docs/tools/kurtosis-localnet, you should | ||
# instead use `local-near`. | ||
#NEAR_CLI = "local-near" | ||
|
||
# The Rust compilier flags to use when compiling any binary. Does not work for the tests. | ||
#RUSTC_FLAGS_BUILD = "-C link-arg=-s" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
CARGO_FEATURES_BUILD="testnet" | ||
RUSTC_FLAGS_BUILD="-C link-arg=-s" | ||
NEAR_EVM_ACCOUNT="aurora.test.near" | ||
WASM_FILE="aurora-local.wasm" | ||
NEAR_CLI="local_near" | ||
IS_PROD=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
CARGO_FEATURES_BUILD="mainnet" | ||
CARGO_FEATURES_BUILD_TEST="mainnet,integration-test" | ||
CARGO_FEATURES_TEST="mainnet-test" | ||
RUSTC_FLAGS_BUILD="-C link-arg=-s" | ||
NEAR_EVM_ACCOUNT="aurora" | ||
WASM_FILE="aurora-mainnet.wasm" | ||
WASM_FILE_TEST="aurora-mainnet-test.wasm" | ||
NEAR_CLI="near" | ||
IS_PROD=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
CARGO_FEATURES_BUILD="testnet" | ||
CARGO_FEATURES_BUILD_TEST="testnet,integration-test" | ||
CARGO_FEATURES_TEST="testnet-test" | ||
RUSTC_FLAGS_BUILD="-C link-arg=-s" | ||
NEAR_EVM_ACCOUNT="aurora" | ||
WASM_FILE="aurora-testnet.wasm" | ||
WASM_FILE_TEST="aurora-testnet-test.wasm" | ||
NEAR_CLI="near" | ||
IS_PROD=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
<!-- | ||
Thanks for submitting a pull request! Here are some helpful tips: | ||
* Always create branches on and target the `develop` branch. | ||
* Run all the tests locally and ensure that they are passing. | ||
* Run `make format` to ensure that the code is formatted. | ||
* Run `make check` to ensure that all checks passed successfully. | ||
* Small commits and contributions that attempt one single goal is preferable. | ||
* If the idea changes or adds anything functional which will affect users, an | ||
AIP discussion is required first on the Aurora forum: | ||
https://forum.aurora.dev/discussions/AIPs%20(Aurora%20Improvement%20Proposals). | ||
* Avoid breaking the public API (namely in engine/src/lib.rs) unless required. | ||
* If your PR is a WIP, ensure that you enable "draft" mode. | ||
* Your first PRs won't use the CI automatically unless a maintainer starts. | ||
If this is not your first PR, please do NOT abuse the CI resources. | ||
Checklist: | ||
- [ ] I have performed a self-review of my code | ||
- [ ] I have documented my code, particularly in the hard-to-understand areas | ||
- [ ] I have made corresponding changes to the documentation | ||
- [ ] I have added tests to prove my fix or new feature is effective and works | ||
- [ ] Any dependent changes have been merged | ||
- [ ] The PR is targeting the `develop` branch and not `master` | ||
- [ ] I have pre-squashed my commits into a single commit and rebased. | ||
--> | ||
|
||
## Description | ||
|
||
<!-- | ||
Provide a general summary of your changes. A clear overview along with an | ||
in-depth explanation is beneficial. | ||
If this PR closes any issues, be sure to add "closes #<number>" somewhere. | ||
--> | ||
|
||
## Performance / NEAR gas cost considerations | ||
|
||
<!-- | ||
Performance regressions are not ideal, though we welcome performance | ||
improvements. Any PR must be completely mindful of any gas cost increases. The | ||
CI will fail if the gas costs change at all. Do update these tests to | ||
accommodate for the new gas changes. It is good to explain | ||
this change, if necessary. | ||
--> | ||
|
||
## Testing | ||
|
||
<!-- | ||
Please describe the tests that you ran to verify your changes. | ||
--> | ||
|
||
## How should this be reviewed | ||
|
||
<!-- | ||
Include any recommendations of areas to be careful of to ensure that the | ||
reviewers use extra attention. | ||
--> | ||
|
||
## Additional information | ||
|
||
<!-- | ||
Include any additional information which you think should be in this PR, such | ||
as prior arts, future extensions, unresolved problems, or a TODO list which | ||
should be followed up. | ||
--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.