Skip to content

Commit

Permalink
Release v2.9.0. (#739)
Browse files Browse the repository at this point in the history
## [2.9.0] 2023-04-05

### Added

- Enabled XCC for mainnet release by [@birchmd]. ([#694])
- Added `set_owner` contract method which sets the owner of the contract
by [@hskang9]. ([#690])
- New variant of submit function `submit_with_args` which accepts
additional arguments along with the transaction such as the max gas
price a user is ready to pay by [@aleksuss]. ([#696])
- Added the ability to create and fund XCC sub-accounts from external
NEAR accounts by [@birchmd]. ([#735])

### Changes

- Replaced `rjson` with `serde_json` by [@aleksuss]. ([#677])
- Changed owner intended contract methods to now require owner or the
contract itself by [@hskang9]. ([#676])

### Fixes

- Fixed nonce incorrectly being incremented on an out of fund failure by
[@joshuajbouw]. ([#671])
- Fixed a check in promise results before executing cross contract calls
(XCC) callbacks by [@birchmd]. ([#693])
- Fixed a reachable panic in `receive_erc20_tokens` by [@0x3bfc].
([#709])
- Fixed a lack of minimum size checks when instantiating a new `EthGas`
object by [@lempire123]. ([#722])
- Fixed a lack of division by 0 checks in `EthGas::Div()` by
[@lempire123]. ([#718])
- Fixed the validation of the return of `exports:storage_remove` by
[@0x3bfc]. ([#712])
- Fixed missing account validations of NEAR account IDs by [@0x3bfc].
([#703])
- Fixed a reachable panic in the `exitToNear` and `exitToEthereum`
precompiles if the input amount is greater than 1^128 when cast from a
`U256` to `u128` by [@0x3bfc]. ([#681])
- Fixed a reachable panic in `modExp` due to arithmetic overflow by
[@0x3bfc]. ([#688])
- Fixed the ability attaching values to Aurora specific precompiles,
this no longer is possible, by [@0x3bfc]. ([#714])
- Fixed a return error if an ecrecover signature length is not exactly
65 by [@0x3bfc]. ([#717])
- Fixed size checks on input array passed to `exitToNear` and
`exitToEthereum` precompiles by [@0x3bfc]. ([#684])
- Fixed missing gas costs in `exitToNear` and `exitToEthereum`
precompiles by [@lempire123]. ([#687])
- Fixed a reachable panic due to out of memory in the `modExp`
precompile by [@0x3bfc]. ([#689])
- Fixed an assurance that the `sender_id` has a balance greater than the
amount in `ft_transfer_call` by [@0x3bfc]. ([#708])
- Fixed returning `0x` when a length cannot be cast as `usize` instead
of returning an error in the `modExp` precompile by [@birchmd]. ([#737])
- Miscellaneous minor fixes by [@0x3bfc]. ([#738])

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Leandro Casuso Montero <[email protected]>
Co-authored-by: Michael Birch <[email protected]>
Co-authored-by: Alexey Lapitsky <[email protected]>
Co-authored-by: Oleksandr Anyshchenko <[email protected]>
Co-authored-by: Alexey Lapitsky <[email protected]>
Co-authored-by: Hyungsuk Kang <[email protected]>
Co-authored-by: Ahmed Ali <[email protected]>
Co-authored-by: lempire123 <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
10 people committed Apr 5, 2023
1 parent 70063c9 commit 5b00548
Show file tree
Hide file tree
Showing 167 changed files with 5,650 additions and 5,779 deletions.
4 changes: 1 addition & 3 deletions .catalog-info.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,4 @@ metadata:
description: Public Aurora Engine repository
spec:
targets:
- ./engine/.catalog-info.yaml
- ./etc/eth-contracts/.catalog-info.yaml
- ./engine-precompiles/.catalog-info.yaml
- ./**/.catalog-info.yaml
9 changes: 8 additions & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,2 +1,9 @@
* @artob
* @joshuajbouw
/engine/ @aleksuss
/engine-precompiles/ @mandreyel
/engine-sdk/ @aleksuss
/engine-standalone-storage/ @RomanHodulak
/engine-standalone-tracing/ @RomanHodulak
/engine-test-doubles/ @hskang9
/engine-tests/ @hskang9
/engine-transactions/ @aleksuss
17 changes: 17 additions & 0 deletions .github/workflows/contract-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
on:
push:
branches:
- main
- develop
pull_request:
schedule:
- cron: "30 5 * * *"
workflow_dispatch:

name: "Contract Security Analysis"
jobs:
contract_analysis:
name: "Shared"
uses: aurora-is-near/.github/.github/workflows/contract_analysis.yml@master
secrets: inherit
28 changes: 16 additions & 12 deletions AUTHORS
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
Aleksey Kladov <[email protected]>
Andrew Bednoff <[email protected]>
Arto Bendiken <[email protected]>
Evgeny Kuzyakov <[email protected]>
Evgeny Ukhanov <[email protected]>
Frank Braun <[email protected]>
Illia Polosukhin <[email protected]>
Joshua J. Bouw <[email protected]>
Kirill Abramov <[email protected]>
Marcelo Fornet <[email protected]>
Michael Birch <[email protected]>
Roman Hodulak <[email protected]>
Ahmed Ali <[email protected]>
Aleksey Kladov <[email protected]>
Andrew Bednoff <[email protected]>
Arto Bendiken <[email protected]>
Evgeny Kuzyakov <[email protected]>
Evgeny Ukhanov <[email protected]>
Frank Braun <[email protected]>
Hyungsuk Kang <[email protected]>
Illia Polosukhin <[email protected]>
Joshua J. Bouw <[email protected]>
Kirill Abramov <[email protected]>
Leandro Casuso Montero <[email protected]>
Marcelo Fornet <[email protected]>
Michael Birch <[email protected]>
Oleksandr Anyshchenko <[email protected]>
Roman Hodulak <[email protected]>
73 changes: 69 additions & 4 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,68 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [2.9.0] 2023-04-05

### Added

- Enabled XCC for mainnet release by [@birchmd]. ([#694])
- Added `set_owner` contract method which sets the owner of the contract by [@hskang9]. ([#690])
- New variant of submit function `submit_with_args` which accepts additional arguments along with the transaction such as the max gas price a user is ready to pay by [@aleksuss]. ([#696])
- Added the ability to create and fund XCC sub-accounts from external NEAR accounts by [@birchmd]. ([#735])

### Changes

- Replaced `rjson` with `serde_json` by [@aleksuss]. ([#677])
- Changed owner intended contract methods to now require owner or the contract itself by [@hskang9]. ([#676])

### Fixes

- Fixed nonce incorrectly being incremented on an out of fund failure by [@joshuajbouw]. ([#671])
- Fixed a check in promise results before executing cross contract calls (XCC) callbacks by [@birchmd]. ([#693])
- Fixed a reachable panic in `receive_erc20_tokens` by [@0x3bfc]. ([#709])
- Fixed a lack of minimum size checks when instantiating a new `EthGas` object by [@lempire123]. ([#722])
- Fixed a lack of division by 0 checks in `EthGas::Div()` by [@lempire123]. ([#718])
- Fixed the validation of the return of `exports:storage_remove` by [@0x3bfc]. ([#712])
- Fixed missing account validations of NEAR account IDs by [@0x3bfc]. ([#703])
- Fixed a reachable panic in the `exitToNear` and `exitToEthereum` precompiles if the input amount is greater than 1^128 when cast from a `U256` to `u128` by [@0x3bfc]. ([#681])
- Fixed a reachable panic in `modExp` due to arithmetic overflow by [@0x3bfc]. ([#688])
- Fixed the ability attaching values to Aurora specific precompiles, this no longer is possible, by [@0x3bfc]. ([#714])
- Fixed a return error if an ecrecover signature length is not exactly 65 by [@0x3bfc]. ([#717])
- Fixed size checks on input array passed to `exitToNear` and `exitToEthereum` precompiles by [@0x3bfc]. ([#684])
- Fixed missing gas costs in `exitToNear` and `exitToEthereum` precompiles by [@lempire123]. ([#687])
- Fixed a reachable panic due to out of memory in the `modExp` precompile by [@0x3bfc]. ([#689])
- Fixed an assurance that the `sender_id` has a balance greater than the amount in `ft_transfer_call` by [@0x3bfc]. ([#708])
- Fixed returning `0x` when a length cannot be cast as `usize` instead of returning an error in the `modExp` precompile by [@birchmd]. ([#737])
- Miscellaneous minor fixes by [@0x3bfc]. ([#738])

[#671]: https://github.com/aurora-is-near/aurora-engine/pull/671
[#677]: https://github.com/aurora-is-near/aurora-engine/pull/677
[#693]: https://github.com/aurora-is-near/aurora-engine/pull/693
[#694]: https://github.com/aurora-is-near/aurora-engine/pull/694
[#690]: https://github.com/aurora-is-near/aurora-engine/pull/690
[#676]: https://github.com/aurora-is-near/aurora-engine/pull/676
[#709]: https://github.com/aurora-is-near/aurora-engine/pull/709
[#722]: https://github.com/aurora-is-near/aurora-engine/pull/722
[#718]: https://github.com/aurora-is-near/aurora-engine/pull/718
[#696]: https://github.com/aurora-is-near/aurora-engine/pull/696
[#712]: https://github.com/aurora-is-near/aurora-engine/pull/712
[#703]: https://github.com/aurora-is-near/aurora-engine/pull/703
[#681]: https://github.com/aurora-is-near/aurora-engine/pull/681
[#688]: https://github.com/aurora-is-near/aurora-engine/pull/688
[#714]: https://github.com/aurora-is-near/aurora-engine/pull/714
[#717]: https://github.com/aurora-is-near/aurora-engine/pull/717
[#684]: https://github.com/aurora-is-near/aurora-engine/pull/684
[#687]: https://github.com/aurora-is-near/aurora-engine/pull/687
[#689]: https://github.com/aurora-is-near/aurora-engine/pull/689
[#708]: https://github.com/aurora-is-near/aurora-engine/pull/708
[#737]: https://github.com/aurora-is-near/aurora-engine/pull/737
[#735]: https://github.com/aurora-is-near/aurora-engine/pull/735
[#738]: https://github.com/aurora-is-near/aurora-engine/pull/738

## [2.8.1] 2022-12-07

- Updated SputnikVM to v0.37.2 by [@birchmd]. ([#645])

## [2.8.1] 2022-12-07

### Changes
Expand Down Expand Up @@ -334,18 +396,18 @@ struct SubmitResult {

## [1.0.0] - 2021-05-12

[Unreleased]: https://github.com/aurora-is-near/aurora-engine/compare/2.8.1...develop
[2.8.1]: https://github.com/aurora-is-near/aurora-engine/compare/2.8.0...2.8.1
[Unreleased]: https://github.com/aurora-is-near/aurora-engine/compare/2.9.0...develop
[2.9.0]: https://github.com/aurora-is-near/aurora-engine/compare/2.8.0...2.9.0
[2.8.0]: https://github.com/aurora-is-near/aurora-engine/compare/2.7.0...2.8.0
[2.7.0]: https://github.com/aurora-is-near/aurora-engine/compare/2.6.1...2.7.0
[2.6.1]: https://github.com/aurora-is-near/aurora-engine/compare/2.6.0...2.6.1
[2.6.1]: https://github.com/aurora-is-near/aurora-engine/compare/2.6.0...2.6.1
[2.6.0]: https://github.com/aurora-is-near/aurora-engine/compare/2.5.3...2.6.0
[2.5.3]: https://github.com/aurora-is-near/aurora-engine/compare/2.5.2...2.5.3
[2.5.2]: https://github.com/aurora-is-near/aurora-engine/compare/2.5.1...2.5.2
[2.5.1]: https://github.com/aurora-is-near/aurora-engine/compare/2.5.0...2.5.1
[2.5.0]: https://github.com/aurora-is-near/aurora-engine/compare/2.4.0...2.5.0
[2.4.0]: https://github.com/aurora-is-near/aurora-engine/compare/2.3.0...2.4.0
[2.3.0]: https://github.com/aurora-is-near/aurora-engine/compare/2.2.0...2.3.0
[2.3.0]: https://github.com/aurora-is-near/aurora-engine/compare/2.2.0...2.3.0
[2.2.0]: https://github.com/aurora-is-near/aurora-engine/compare/2.1.0...2.2.0
[2.1.0]: https://github.com/aurora-is-near/aurora-engine/compare/2.0.2...2.1.0
[2.0.2]: https://github.com/aurora-is-near/aurora-engine/compare/2.0.1...2.0.2
Expand All @@ -367,8 +429,11 @@ struct SubmitResult {
[1.1.0]: https://github.com/aurora-is-near/aurora-engine/compare/1.0.0...1.1.0
[1.0.0]: https://github.com/aurora-is-near/aurora-engine/tree/1.0.0

[@0x3bfc]: https://github.com/0x3bfc
[@aleksuss]: https://github.com/aleksuss
[@andrcmdr]: https://github.com/andrcmdr
[@birchmd]: https://github.com/birchmd
[@hskang9]: https://github.com/hskang9
[@joshuajbouw]: https://github.com/joshuajbouw
[@mfornet]: https://github.com/mfornet
[@mrLSD]: https://github.com/mrLSD
Expand Down
Loading

0 comments on commit 5b00548

Please sign in to comment.