Skip to content

Release 1.6.0#235

Merged
artob merged 99 commits into
masterfrom
develop
Aug 14, 2021
Merged

Release 1.6.0#235
artob merged 99 commits into
masterfrom
develop

Conversation

@artob
Copy link
Copy Markdown
Contributor

@artob artob commented Aug 13, 2021

No description provided.

birchmd and others added 30 commits June 1, 2021 19:04
* Add tests for state check after selfdestruct

* Aurora runner tracks storage usage to avoid underflow when storage is released in future transactions (#85)

* Implement generational storage (#87)

* Base precompile code between connectors (#73)

* Base precompile code between connectors

* Handle errors and validate input

* Use proper result

* Document `aurora encode-address` usage.

* Cache cargo artifacts between CI runs. (#92)

* Address comments from audit. (#86)

* Validate register length in `read_input_arr20()`
* Only read register length in `Engine::get_code_size`
* Add `read_input_borsh()`
* Ensure `method.args.len() == args_decoded.len()`
* Ensure register size is 8 in `read_u64`
* Use constant to specify the register ID used in `read_input()`

* Reduce size of `cargo cache` in CI. (#95)

* Define a `Wei` newtype for balances. (#96)

* Fix evm-bully builds after recent refactoring. (#100)

* Refactor `Engine::get_state` to return a `Result`. (#99)

* Ensure that `Cargo.lock` in the repo is valid. (#101)

* Remove unneeded nightly feature. (#102)

* Implement BC generational storage.

* fix address input

* remove note

* put key on the end of the storage key

* remove pub from methods

* Dispatch precompiles on the full address. (#107)

* Support state migration on upgrade. (#103)

* Implement the ETH connector. (#59)

* Move when to call `set_generation`

* Fix arg

Co-authored-by: Marcelo Fornet <mfornet94@gmail.com>
Co-authored-by: Arto Bendiken <arto@aurora.dev>
Co-authored-by: Michael Birch <michael@near.org>
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
Co-authored-by: Evgeny Ukhanov <mrlsd@ya.ru>

* Fix layout of the key

* Fix all tests (don't wipe the storage all the time)

* Use correct generation in writing storage

* Remove unnecessary references

Co-authored-by: Michael Birch <michael@near.org>
Co-authored-by: Joshua J. Bouw <dev@joshuajbouw.com>
Co-authored-by: Arto Bendiken <arto@aurora.dev>
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
Co-authored-by: Evgeny Ukhanov <mrlsd@ya.ru>
Co-authored-by: Michael Birch <michael.birch@aurora.dev>
* Eth-connector: fixed u128 json parsing & tests.
* fixed issue at tests: assert_execution_status_failure pattern
* fixed all u128 tests for eth-connector
  - test_ft_transfer_max_value
  - test_ft_transfer_empty_value

* Update tests/test_connector.rs

Spell improvements

Co-authored-by: Kirill <septengineering@pm.me>

* JSON: `u128` - use JsonError.

* JSON: `u128` - add error for using `Number`.

Co-authored-by: Kirill <septengineering@pm.me>
Co-authored-by: Septen <gammerxpower@gmail.com>
Co-authored-by: Arto Bendiken <arto@aurora.dev>
Co-authored-by: Marcelo Fornet <marcelo@aurora.dev>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Michael Birch <michael@aurora.dev>
* Add the `mainnet`, `testnet`, `betanet` features.
* Remove the obsolete `exit-precompiles` feature.
* Update the `README` build instructions.
birchmd and others added 17 commits August 4, 2021 10:16
* Define blockhash using block_height, chain_id, and account_id

* Tests for blockhash

* Named size constants
Bumps [tar](https://github.com/npm/node-tar) from 4.4.13 to 4.4.15.
- [Release notes](https://github.com/npm/node-tar/releases)
- [Changelog](https://github.com/npm/node-tar/blob/main/CHANGELOG.md)
- [Commits](isaacs/node-tar@v4.4.13...v4.4.15)

---
updated-dependencies:
- dependency-name: tar
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Charge for gas when the price is non-zero; payment goes to the relayer's address

* Refactor EngineError to include gas used

* Tests for charging gas

* Variable renaming

* Return U256 copies instead of references
* Test showing state changes to do stick when transaction execution causes an error

* `OutOfOffset`, `OutOfFund`, `OutOfGas` are all ok and valid

* Fix tests

* Revert "Test showing state changes to do stick when transaction execution causes an error"

This reverts commit 3073ac1.

* Make near-sdk-sim based AuroraRunner initialize eth-connector, and make it public to be used in other tests

* Add (simulation) test showing nonce is still incremented even with OutOfFund error

* Remove result from `SubmitResult`

* Fix tests

* Change out of funds error string

Co-authored-by: Kirill <kirill@aurora.dev>

Co-authored-by: Michael Birch <michael.birch@aurora.dev>
Co-authored-by: Kirill <kirill@aurora.dev>
* Added extended rjson lib and changed JsonValue structs and data

* json tests: add persers & changed u64 tests

* Json: modify errors

* Changed visibility for EVM_WASM_BYTES

* Cargo.toml - changed rjson dependency, and changed json tests

* Update Cargo.toml - rjson rev

Change typo for crates: ref -> rev

Co-authored-by: Kirill <kirill@aurora.dev>

* Fix Cargo.toml

Co-authored-by: Kirill <kirill@aurora.dev>
* Fix StorageBalance - to_json_bytes

* Added ft_metadata

* Fix ft_metadata related tests

* Extend Makefile

* Fix ft_metadata & FTMetadata default & tests

* Added Metadata migration

* ft_metadata: return json

* state migration metadata - changed to empty default values

* change default metadata

* Modified get_metadata as optional

* Do not include metadata as field in eth-connector struct; convert to JsonValue for serialization; include icon in default value; serialize reference_hash as base64; add sanity test

* Remove unnecessary clone

Co-authored-by: Michael Birch <michael.birch@aurora.dev>
@artob artob added the C-release Category: New release. label Aug 13, 2021
@artob artob self-assigned this Aug 13, 2021
artob and others added 3 commits August 13, 2021 16:49
* Various small fixes for v1.6.0

* Fix when solidity is removed

* temp remove removal of solidity contracts

* Change when lib gets built
* Various small fixes for v1.6.0

* Different binary names for tests

* Ensure test build can not be deployed
@joshuajbouw joshuajbouw force-pushed the develop branch 2 times, most recently from 02e9869 to 216e375 Compare August 13, 2021 16:14
@artob artob merged commit bb21459 into master Aug 14, 2021
This was referenced Aug 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C-release Category: New release.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants