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.2.0 #852

Merged
merged 10 commits into from
Oct 17, 2023
Merged

Release 3.2.0 #852

merged 10 commits into from
Oct 17, 2023

Conversation

aleksuss
Copy link
Member

Release 3.2.0

Changes

  • Changed structure SetEthConnectorContractAccountArgs for setting eth connector account. It was extended with
    additional field: withdraw_serialize_type for defining serialization type for withdraw arguments by [@aleksuss]. (#834)

  • Updated rocksdb up to 0.21.0 by [@aleksuss]. (#840)

Additions

  • Added a possibility of mirroring deployed ERC-20 contracts in the main Aurora contract in Silo mode by [@aleksuss]. (#844)

  • Allow to initialize hashchain directly with the new method by [@birchmd]. (#846)

  • Added a silo logic which allows to set fixed gas costs per transaction by [@aleksuss]. (#746)

  • Added a new type of transaction which allows to add full access key into account of the smart contract by [@aleksuss]. (#847)

aleksuss and others added 10 commits October 17, 2023 09:33
## Description

The `rocksdb` crate has been updated up to 0.21 in the nearcore
1.36.0-rc.1.
## Description

Code owners is pretty outdated. It's updated.
## Description

For the mainnet Aurora Engine we must use the `pause_contract` +
`start_hashchain` migration procedure because it is already live.
However, for new silos it will be useful to have the hashchain enabled
from the start. This PR adds a new optional parameter to the `new`
function where an initial (genesis) hashchain value can be specified and
then hashchain will be enabled on all transactions going forward.

## Performance / NEAR gas cost considerations

N/A; impacts `new` only.

## Testing

Tests updated to use `new` for starting the hashchain by default. Some
tests still use the migration procedure to ensure that is also tested.
…acts (#841)

Bumps [get-func-name](https://github.com/chaijs/get-func-name) from
2.0.0 to 2.0.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/chaijs/get-func-name/releases">get-func-name's
releases</a>.</em></p>
<blockquote>
<h2>v2.0.2</h2>
<h2>What's Changed</h2>
<p>Revert previous changes that shipped this as an ES module.</p>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/chaijs/get-func-name/commits/v2.0.2">https://github.com/chaijs/get-func-name/commits/v2.0.2</a></p>
<h2>v2.0.1</h2>
<h2>What's Changed</h2>
<p>Fix <a
href="https://github.com/chaijs/get-func-name/security/advisories/GHSA-4q6p-r6v2-jvc5">https://github.com/chaijs/get-func-name/security/advisories/GHSA-4q6p-r6v2-jvc5</a></p>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/chaijs/get-func-name/commits/v2.0.1">https://github.com/chaijs/get-func-name/commits/v2.0.1</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/chaijs/get-func-name/commits/v2.0.2">compare
view</a></li>
</ul>
</details>
<details>
<summary>Maintainer changes</summary>
<p>This version was pushed to npm by <a
href="https://www.npmjs.com/~keithamus">keithamus</a>, a new releaser
for get-func-name since your current version.</p>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=get-func-name&package-manager=npm_and_yarn&previous-version=2.0.0&new-version=2.0.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/aurora-is-near/aurora-engine/network/alerts).

</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Oleksandr Anyshchenko <oleksandr.anyshchenko@aurora.dev>
## Description

The PR adds the possibility to set fixed gas costs per EVM transaction.
The feature could be switched on by calling the transaction
`set_fixed_gas_cost`. Also, four types of white lists have been added
for applying restrictions to deploy code and submit transactions.

**Additions**: The PR introduces a new feature: `ext-connector`, and two
additional profiles: `mainnet-silo` and `testnet-silo`. The smart
contract built with one of these profiles implies the usage of an
external eth-connector.

## Performance / NEAR gas cost considerations

There are insignificant gas cost increases. That is because we read from
the storage fixed gas cost in the execution of the `submit` method.

## Testing

The unit and integration tests which test the new logic have been added.

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

---------

Co-authored-by: Karim <karim@aurora.dev>
Co-authored-by: Joshua J. Bouw <joshua@aurora.dev>
Co-authored-by: Evgeny Ukhanov <evgeny@aurora.dev>
Co-authored-by: Michael Birch <michael.birch@aurora.dev>
<!--
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:
- [x] 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
- [x] 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.
-->

This is a documentation only change to the `README.md` file. I updated
some portions that had some grammar issues and updated some formatting.

## Performance / NEAR gas cost considerations

N/A

## Testing

N/A, `README.md` change only.

## How should this be reviewed

README only change, so let me know if the changes make it easier to
read/follow the instructions. Happy to make more updates.

---------

Co-authored-by: Oleksandr Anyshchenko <oleksandr.anyshchenko@aurora.dev>
## Description

Attempt to improve CI tests flow by using GitHub hosted heavy runners.
## Description

The PR adds a transaction which allows adding the full access key into
the account of the smart contract.

## Performance / NEAR gas cost considerations

No changes.

## Testing

The corresponding test has been added.

---------

Co-authored-by: Michael Birch <michael.birch@aurora.dev>
@aleksuss aleksuss merged commit 8699150 into master Oct 17, 2023
24 checks passed
@aleksuss aleksuss deleted the release/aleksuss/3.2.0 branch October 17, 2023 12:41
aleksuss added a commit that referenced this pull request Oct 17, 2023
## Release 3.2.0

### Changes

- Changed structure `SetEthConnectorContractAccountArgs` for setting eth
connector account. It was extended with
additional field: `withdraw_serialize_type` for defining serialization
type for withdraw arguments by [@aleksuss]. ([#834])

- Updated rocksdb up to 0.21.0 by [@aleksuss]. ([#840])

### Additions

- Added a possibility of mirroring deployed ERC-20 contracts in the main
Aurora contract in Silo mode by [@aleksuss]. ([#844])

- Allow to initialize hashchain directly with the `new` method by
[@birchmd]. ([#846])

- Added a silo logic which allows to set fixed gas costs per transaction
by [@aleksuss]. ([#746])

- Added a new type of transaction which allows to add full access key
into account of the smart contract by [@aleksuss]. ([#847])

[#746]: #746
[#834]: #834
[#840]: #840
[#844]: #844
[#846]: #846
[#847]: #847

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: i-fix-typos <146758284+i-fix-typos@users.noreply.github.com>
Co-authored-by: Evgeny Ukhanov <evgeny@aurora.dev>
Co-authored-by: Michael Birch <michael.birch@aurora.dev>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Karim <karim@aurora.dev>
Co-authored-by: Joshua J. Bouw <joshua@aurora.dev>
Co-authored-by: ForwardSlashBack <142098649+ForwardSlashBack@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants