Conversation
* 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>
* 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>
* 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
02e9869 to
216e375
Compare
This was referenced Aug 20, 2021
Merged
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.