-
Notifications
You must be signed in to change notification settings - Fork 78
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
ETH connector #59
ETH connector #59
Commits on Apr 1, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 98b302a - Browse repository at this point
Copy the full SHA 98b302aView commit details
Commits on Apr 2, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 97a3759 - Browse repository at this point
Copy the full SHA 97a3759View commit details
Commits on Apr 5, 2021
-
Configuration menu - View commit details
-
Copy full SHA for a889328 - Browse repository at this point
Copy the full SHA a889328View commit details -
Configuration menu - View commit details
-
Copy full SHA for 25154f0 - Browse repository at this point
Copy the full SHA 25154f0View commit details
Commits on Apr 6, 2021
-
Configuration menu - View commit details
-
Copy full SHA for a0942a2 - Browse repository at this point
Copy the full SHA a0942a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5876814 - Browse repository at this point
Copy the full SHA 5876814View commit details -
Configuration menu - View commit details
-
Copy full SHA for facc786 - Browse repository at this point
Copy the full SHA facc786View commit details -
Configuration menu - View commit details
-
Copy full SHA for b055a54 - Browse repository at this point
Copy the full SHA b055a54View commit details -
Configuration menu - View commit details
-
Copy full SHA for eb9e361 - Browse repository at this point
Copy the full SHA eb9e361View commit details -
Configuration menu - View commit details
-
Copy full SHA for fcc1332 - Browse repository at this point
Copy the full SHA fcc1332View commit details
Commits on Apr 7, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 978474b - Browse repository at this point
Copy the full SHA 978474bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 041879e - Browse repository at this point
Copy the full SHA 041879eView commit details -
Configuration menu - View commit details
-
Copy full SHA for b5ffb23 - Browse repository at this point
Copy the full SHA b5ffb23View commit details
Commits on Apr 8, 2021
-
Configuration menu - View commit details
-
Copy full SHA for a7e73f4 - Browse repository at this point
Copy the full SHA a7e73f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 45a5ca9 - Browse repository at this point
Copy the full SHA 45a5ca9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 676a86c - Browse repository at this point
Copy the full SHA 676a86cView commit details
Commits on Apr 9, 2021
-
Configuration menu - View commit details
-
Copy full SHA for e345d71 - Browse repository at this point
Copy the full SHA e345d71View commit details -
Configuration menu - View commit details
-
Copy full SHA for de7f36d - Browse repository at this point
Copy the full SHA de7f36dView commit details -
Configuration menu - View commit details
-
Copy full SHA for f1f6479 - Browse repository at this point
Copy the full SHA f1f6479View commit details -
Configuration menu - View commit details
-
Copy full SHA for 944b6e2 - Browse repository at this point
Copy the full SHA 944b6e2View commit details
Commits on Apr 13, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 1201a39 - Browse repository at this point
Copy the full SHA 1201a39View commit details -
Configuration menu - View commit details
-
Copy full SHA for 11dec10 - Browse repository at this point
Copy the full SHA 11dec10View commit details -
Configuration menu - View commit details
-
Copy full SHA for 89f572c - Browse repository at this point
Copy the full SHA 89f572cView commit details -
Configuration menu - View commit details
-
Copy full SHA for d6830ea - Browse repository at this point
Copy the full SHA d6830eaView commit details
Commits on Apr 14, 2021
-
EIP712-Withdraw: improvements and fixes.
* EIP712-Withdraw: fixed encoding rules and order. * EIP712-Withdraw: `verify_withdraw_eip712` returns `true` only if the sender address equals to the address of message signer. * EIP712-Withdraw: update tests. * EIP712-Withdraw: refactoring. * ethabit::encode_token_packed: use right-padded encoding for `Address`. * WithdrawFromEthCallArgs: fixed `amount` type conversion.
Configuration menu - View commit details
-
Copy full SHA for dd1f8e1 - Browse repository at this point
Copy the full SHA dd1f8e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 96b3c0e - Browse repository at this point
Copy the full SHA 96b3c0eView commit details -
Merge branch 'evm-deposit-withdraw' of github.com:aurora-is-near/auro…
…ra-engine into evm-deposit-withdraw
Configuration menu - View commit details
-
Copy full SHA for 348e5cc - Browse repository at this point
Copy the full SHA 348e5ccView commit details -
Configuration menu - View commit details
-
Copy full SHA for 80f033b - Browse repository at this point
Copy the full SHA 80f033bView commit details
Commits on Apr 15, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 07251fd - Browse repository at this point
Copy the full SHA 07251fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2de5af8 - Browse repository at this point
Copy the full SHA 2de5af8View commit details
Commits on Apr 16, 2021
-
Configuration menu - View commit details
-
Copy full SHA for e71d52a - Browse repository at this point
Copy the full SHA e71d52aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 09b79c1 - Browse repository at this point
Copy the full SHA 09b79c1View commit details -
Configuration menu - View commit details
-
Copy full SHA for f2e1f11 - Browse repository at this point
Copy the full SHA f2e1f11View commit details -
Configuration menu - View commit details
-
Copy full SHA for 356ad42 - Browse repository at this point
Copy the full SHA 356ad42View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6cae502 - Browse repository at this point
Copy the full SHA 6cae502View commit details
Commits on Apr 19, 2021
-
References in fungible token (#29)
* Use references in fungible_token to avoid cloning * cargo fmt
Configuration menu - View commit details
-
Copy full SHA for d920662 - Browse repository at this point
Copy the full SHA d920662View commit details -
Configuration menu - View commit details
-
Copy full SHA for 27f90ef - Browse repository at this point
Copy the full SHA 27f90efView commit details
Commits on Apr 21, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 3b8f0d5 - Browse repository at this point
Copy the full SHA 3b8f0d5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1074daf - Browse repository at this point
Copy the full SHA 1074dafView commit details -
Configuration menu - View commit details
-
Copy full SHA for e2f3746 - Browse repository at this point
Copy the full SHA e2f3746View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5d26090 - Browse repository at this point
Copy the full SHA 5d26090View commit details -
Merge branch 'eth-connector' of github.com:aurora-is-near/aurora-engi…
…ne into improved-evm-token-logic
Configuration menu - View commit details
-
Copy full SHA for 628dfd8 - Browse repository at this point
Copy the full SHA 628dfd8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8b8043c - Browse repository at this point
Copy the full SHA 8b8043cView commit details
Commits on Apr 23, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 41011e9 - Browse repository at this point
Copy the full SHA 41011e9View commit details -
Configuration menu - View commit details
-
Copy full SHA for a4c1cc1 - Browse repository at this point
Copy the full SHA a4c1cc1View commit details -
Configuration menu - View commit details
-
Copy full SHA for afb5291 - Browse repository at this point
Copy the full SHA afb5291View commit details -
Configuration menu - View commit details
-
Copy full SHA for a7b5d45 - Browse repository at this point
Copy the full SHA a7b5d45View commit details
Commits on Apr 27, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 886c7f9 - Browse repository at this point
Copy the full SHA 886c7f9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 402223c - Browse repository at this point
Copy the full SHA 402223cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6c100d0 - Browse repository at this point
Copy the full SHA 6c100d0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4217a5a - Browse repository at this point
Copy the full SHA 4217a5aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 919f704 - Browse repository at this point
Copy the full SHA 919f704View commit details -
Configuration menu - View commit details
-
Copy full SHA for a662f50 - Browse repository at this point
Copy the full SHA a662f50View commit details
Commits on Apr 28, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 909b295 - Browse repository at this point
Copy the full SHA 909b295View commit details -
Configuration menu - View commit details
-
Copy full SHA for a0a02b1 - Browse repository at this point
Copy the full SHA a0a02b1View commit details
Commits on Apr 29, 2021
-
Configuration menu - View commit details
-
Copy full SHA for c056e59 - Browse repository at this point
Copy the full SHA c056e59View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9eac293 - Browse repository at this point
Copy the full SHA 9eac293View commit details -
Configuration menu - View commit details
-
Copy full SHA for 253fb11 - Browse repository at this point
Copy the full SHA 253fb11View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b46752 - Browse repository at this point
Copy the full SHA 5b46752View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1148981 - Browse repository at this point
Copy the full SHA 1148981View commit details -
Configuration menu - View commit details
-
Copy full SHA for fd7f31c - Browse repository at this point
Copy the full SHA fd7f31cView commit details -
Merge branch 'improved-evm-token-logic' of github.com:aurora-is-near/…
…aurora-engine into improved-evm-token-logic
Configuration menu - View commit details
-
Copy full SHA for bae83f0 - Browse repository at this point
Copy the full SHA bae83f0View commit details -
Configuration menu - View commit details
-
Copy full SHA for e97e7a8 - Browse repository at this point
Copy the full SHA e97e7a8View commit details -
Configuration menu - View commit details
-
Copy full SHA for f3f8e22 - Browse repository at this point
Copy the full SHA f3f8e22View commit details
Commits on Apr 30, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 6bc6d3e - Browse repository at this point
Copy the full SHA 6bc6d3eView commit details -
Configuration menu - View commit details
-
Copy full SHA for e98cd2b - Browse repository at this point
Copy the full SHA e98cd2bView commit details -
Configuration menu - View commit details
-
Copy full SHA for da067eb - Browse repository at this point
Copy the full SHA da067ebView commit details
Commits on May 1, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 95c80ff - Browse repository at this point
Copy the full SHA 95c80ffView commit details
Commits on May 3, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 8fbb523 - Browse repository at this point
Copy the full SHA 8fbb523View commit details
Commits on May 5, 2021
-
Improved EVM token master branch update (#50)
* Link to docs in the README. (#18) * Change deprecated `u64::max_value` to `u64::MAX`. (#38) * Support custom error messages. (#40) * Implement `begin_chain` for evm-bully. (#30) * Implement a faucet method. (#39) * Implement all Istanbul HF precompiles. (#21) * Check and increment nonces. (#42) * Fix the RIPEMD160 and ModExp precompiles. (#44) * Implement a first draft of `COINBASE` and `GASLIMIT`. (#47) * Refactor and improve error handling. (#49) * Replace `raw_call` with the new `submit` API. (#48) The `raw_call` method is hereby removed in favor of the new `submit` method that has an extended ABI capable of returning a transaction's revert status and logged events. Co-authored-by: Michael Birch <michael@near.org> Co-authored-by: Arto Bendiken <arto@near.org> * Add benchmarks for common EVM operations. (#41) * Merge branch 'master' into improved-evm-token-logic * Update error handling to `master` * fix missing import * cargo fmt * Ensure ETH transfers return an execution result. (#48) * Update to `master` * fix str types Co-authored-by: Frank Braun <frank@near.org> Co-authored-by: Michael Birch <michael@near.org> Co-authored-by: Arto Bendiken <arto@near.org>
Configuration menu - View commit details
-
Copy full SHA for cdf2e84 - Browse repository at this point
Copy the full SHA cdf2e84View commit details -
Update src/connector.rs misspel
Co-authored-by: Joshua J. Bouw <dev@joshuajbouw.com>
Configuration menu - View commit details
-
Copy full SHA for 5a0e427 - Browse repository at this point
Copy the full SHA 5a0e427View commit details -
Update src/connector.rs change constants error
Co-authored-by: Joshua J. Bouw <dev@joshuajbouw.com>
Configuration menu - View commit details
-
Copy full SHA for 79602e5 - Browse repository at this point
Copy the full SHA 79602e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for d1cf4d7 - Browse repository at this point
Copy the full SHA d1cf4d7View commit details -
Improved ETH connector logic (#36)
* Added prover & extended types * Mode Borsh args from types to parameters * Added fungible tokens * Added eth-connector * Modify assert for fee * Fix formatting * Extend eth-conenctor with EVM token logic * Changed eth-connector deposit logic * Added changes for ETH deposit/withdraw and Engine changes * Mint ETH-tokens * Added: transfer_eth * ETH withdraw basic method * eth-withdraw validation structure & modified Deposit-eth fields * eth transfer and withdraw logic * eip712 message verifier - started encoding * added encode-packed * virefy EIP712 message for withdraw * Changed EIP712 message fields * Modify logs for EIP712 messages * Test EIP712 * Tests EIP712 * Integration tests for encode_withdraw_eip712 * Integration tests for encode_withdraw_eip712 * EIP712-Withdraw: improvements and fixes. * EIP712-Withdraw: fixed encoding rules and order. * EIP712-Withdraw: `verify_withdraw_eip712` returns `true` only if the sender address equals to the address of message signer. * EIP712-Withdraw: update tests. * EIP712-Withdraw: refactoring. * ethabit::encode_token_packed: use right-padded encoding for `Address`. * WithdrawFromEthCallArgs: fixed `amount` type conversion. * Extend tests for eth-connector * eth-connector test deposit & balance & total_supply * Imporved tests * FT tests * Fixed verify_transfer_eip712 * Change test_withdraw_near * Tests for: ft_transfer, ft_transfer_call * test_eth_deposit_balance_total_supply * test and ifx: deposit_eth, withdraw_near * References in fungible token (#29) * Use references in fungible_token to avoid cloning * cargo fmt * Fix: hide logging behind feature flag * Remove eth-conenctor transfer methods and deposit for new design * Completed Deposit logic * Fix clippy; added comments; improved ft_transfer_call * Extend external functions for eth-connector * Added deploy_evm_token * Added ft_on_transfer logic * Changed ft_on_transfer & remove json depends * Changed deposit logic and fixed transfers * Added register relayer * Added message coder for ft_transfer_call * ft_on_transfer - added logic for erc20 * Impoved ft_on_transfer * ft_on_transfer: call erc20 contract adn send fee to Relayer. Added logs * eth-connector: Removed unsued methods * tests: deposit & fixed init test * tests: depoist, withdraw * tests: fix test_withdraw_near * Eth-connector: never skip bridge call. * Tests: fix ft_transfer_call * ft_transfer_call - changed gas amountr * Fixed: test_eth_deposit_balance_total_supply, test_ft_transfer * Added: test_ft_transfer_call_near_eth * Clippy fix * Added test_ft_transfer_call_erc20 * Added test_ft_transfer_call_erc20 * tests: ft_transfer_call for ERC20 changes * Fix finish_deposit - promise flow when failed for ft_transfer_call * added: test_deposit_with_same_proof * Improved EVM token master branch update (#50) * Link to docs in the README. (#18) * Change deprecated `u64::max_value` to `u64::MAX`. (#38) * Support custom error messages. (#40) * Implement `begin_chain` for evm-bully. (#30) * Implement a faucet method. (#39) * Implement all Istanbul HF precompiles. (#21) * Check and increment nonces. (#42) * Fix the RIPEMD160 and ModExp precompiles. (#44) * Implement a first draft of `COINBASE` and `GASLIMIT`. (#47) * Refactor and improve error handling. (#49) * Replace `raw_call` with the new `submit` API. (#48) The `raw_call` method is hereby removed in favor of the new `submit` method that has an extended ABI capable of returning a transaction's revert status and logged events. Co-authored-by: Michael Birch <michael@near.org> Co-authored-by: Arto Bendiken <arto@near.org> * Add benchmarks for common EVM operations. (#41) * Merge branch 'master' into improved-evm-token-logic * Update error handling to `master` * fix missing import * cargo fmt * Ensure ETH transfers return an execution result. (#48) * Update to `master` * fix str types Co-authored-by: Frank Braun <frank@near.org> Co-authored-by: Michael Birch <michael@near.org> Co-authored-by: Arto Bendiken <arto@near.org> * Update src/connector.rs misspel Co-authored-by: Joshua J. Bouw <dev@joshuajbouw.com> * Update src/connector.rs change constants error Co-authored-by: Joshua J. Bouw <dev@joshuajbouw.com> Co-authored-by: Septen <gammerxpower@gmail.com> Co-authored-by: Michael Birch <michael@near.org> Co-authored-by: Joshua J. Bouw <dev@joshuajbouw.com> Co-authored-by: Frank Braun <frank@near.org> Co-authored-by: Arto Bendiken <arto@near.org>
Configuration menu - View commit details
-
Copy full SHA for 8db04bc - Browse repository at this point
Copy the full SHA 8db04bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 81f935e - Browse repository at this point
Copy the full SHA 81f935eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0617912 - Browse repository at this point
Copy the full SHA 0617912View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9e4cbe5 - Browse repository at this point
Copy the full SHA 9e4cbe5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 61ae593 - Browse repository at this point
Copy the full SHA 61ae593View commit details
Commits on May 6, 2021
-
Configuration menu - View commit details
-
Copy full SHA for c64d81a - Browse repository at this point
Copy the full SHA c64d81aView commit details -
Configuration menu - View commit details
-
Copy full SHA for a2f7dd7 - Browse repository at this point
Copy the full SHA a2f7dd7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8812294 - Browse repository at this point
Copy the full SHA 8812294View commit details -
Configuration menu - View commit details
-
Copy full SHA for ee4add9 - Browse repository at this point
Copy the full SHA ee4add9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4a5624b - Browse repository at this point
Copy the full SHA 4a5624bView commit details
Commits on May 7, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 805971a - Browse repository at this point
Copy the full SHA 805971aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0df9382 - Browse repository at this point
Copy the full SHA 0df9382View commit details
Commits on May 10, 2021
-
Configuration menu - View commit details
-
Copy full SHA for a9837cc - Browse repository at this point
Copy the full SHA a9837ccView commit details -
Configuration menu - View commit details
-
Copy full SHA for d14d045 - Browse repository at this point
Copy the full SHA d14d045View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8cfb9c5 - Browse repository at this point
Copy the full SHA 8cfb9c5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5cb842d - Browse repository at this point
Copy the full SHA 5cb842dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 530163c - Browse repository at this point
Copy the full SHA 530163cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 46b1793 - Browse repository at this point
Copy the full SHA 46b1793View commit details
Commits on May 11, 2021
-
Configuration menu - View commit details
-
Copy full SHA for b9bb3ca - Browse repository at this point
Copy the full SHA b9bb3caView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a88507 - Browse repository at this point
Copy the full SHA 6a88507View commit details -
Configuration menu - View commit details
-
Copy full SHA for e99e928 - Browse repository at this point
Copy the full SHA e99e928View commit details -
Configuration menu - View commit details
-
Copy full SHA for c7b5579 - Browse repository at this point
Copy the full SHA c7b5579View commit details -
Configuration menu - View commit details
-
Copy full SHA for 85fec05 - Browse repository at this point
Copy the full SHA 85fec05View commit details -
Fix sanity tests in connector (#71)
* Fix EVM deployment in sanity tests * Remove Aurora faucet * Fix transfers
Configuration menu - View commit details
-
Copy full SHA for 735bd8c - Browse repository at this point
Copy the full SHA 735bd8cView commit details
Commits on May 12, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 92e3a20 - Browse repository at this point
Copy the full SHA 92e3a20View commit details -
Configuration menu - View commit details
-
Copy full SHA for 05711e3 - Browse repository at this point
Copy the full SHA 05711e3View commit details -
Configuration menu - View commit details
-
Copy full SHA for d50be39 - Browse repository at this point
Copy the full SHA d50be39View commit details
Commits on May 13, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 4a009af - Browse repository at this point
Copy the full SHA 4a009afView commit details -
Configuration menu - View commit details
-
Copy full SHA for 87dfbf2 - Browse repository at this point
Copy the full SHA 87dfbf2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b0e843 - Browse repository at this point
Copy the full SHA 5b0e843View commit details -
Configuration menu - View commit details
-
Copy full SHA for f2a24fe - Browse repository at this point
Copy the full SHA f2a24feView commit details -
Configuration menu - View commit details
-
Copy full SHA for d7298dd - Browse repository at this point
Copy the full SHA d7298ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3b3e2f2 - Browse repository at this point
Copy the full SHA 3b3e2f2View commit details -
Configuration menu - View commit details
-
Copy full SHA for d7d902e - Browse repository at this point
Copy the full SHA d7d902eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 19fa058 - Browse repository at this point
Copy the full SHA 19fa058View commit details -
Configuration menu - View commit details
-
Copy full SHA for f180a08 - Browse repository at this point
Copy the full SHA f180a08View commit details
Commits on May 26, 2021
-
Eugene's Eth connector review (#97)
* Eugene's review 2021-05-08 * Eth connector improvements after review 2021-05-18 (#98) * Adde improvements afterreview - account checking, msg len check, json lib * Added json parser. Changed balance_of * Fixed balance_of test * json for ft_transfer & fix test * Json args for ft_transfer_call & fixed tests * Added json for FT storage methods * Fix ft_resolve transfer promise result check. Removed total_supply_near * Fix to NEP-145: storage_balance_of * Fix storage_balance_of to NEP-145 * Eth connector statistic (#104) * Added get_accounts_counter & tests * Clippy fix * Fixed: check accounts_contains_key & added comments * Lint: cargo fmt * Chanched key for Statistics * Update src/connector.rs Imptove comments Co-authored-by: Michael Birch <michael@near.org> * Changed: - get_accounts_counter - return le_bytes Added: - test_get_accounts_counter_and_transfer - check recalculation accounts Co-authored-by: Michael Birch <michael@near.org> Co-authored-by: Michael Birch <michael@near.org> Co-authored-by: Evgeny Ukhanov <mrlsd@ya.ru> Co-authored-by: Michael Birch <michael@near.org>
Configuration menu - View commit details
-
Copy full SHA for 7fb4239 - Browse repository at this point
Copy the full SHA 7fb4239View commit details -
Configuration menu - View commit details
-
Copy full SHA for b4a5d1e - Browse repository at this point
Copy the full SHA b4a5d1eView commit details
Commits on May 27, 2021
-
Eth-connector extended proof tests (#106)
* Added tests: * test_deposit_near_with_zero_fee * test_deposit_evm_with_zero_fee * Added: * test_deposit_evm_amount_equal_fee_non_zero * check_execution_status_failure * Improved: * test_deposit_with_same_proof Added: * test_deposit_wrong_custodian_address * Added tests: * test_deposit_near_amount_less_fee * test_deposit_evm_amount_less_fee * test_deposit_near_amount_zero_fee_non_zero * test_deposit_evm_amount_zero_fee_non_zero * test_deposit_near_amount_equal_fee_non_zero * Changed: test_deposit_wrong_custodian_address
Configuration menu - View commit details
-
Copy full SHA for edc8e1d - Browse repository at this point
Copy the full SHA edc8e1dView commit details -
EthConnector: make AdminControlled and pausable (#88)
* EthConnector: make AdminControlled and pausable. * EthConnector: add AdminControlled&pausability tests. * Stylystic fixes. * AdminControlled: add panic message when paused. * AdminControlled: minor refactoring. * AdminControlled: add errors. Naming improvements. * AdminControlled: doc improvements. * Test fixes. * Fix fmt * AdminControlled: make IO in main contract module. * AdminControlled:explicitly check panic msg in tests.
Configuration menu - View commit details
-
Copy full SHA for 92f877d - Browse repository at this point
Copy the full SHA 92f877dView commit details
Commits on May 28, 2021
-
Eth-Connector tests: improvements and minor refactoring. (#108)
* Rename `check_execution_status_failure()` method to `assert_execution_status_failure()`; * `assert_execution_status_failure()`: accept panic message as an arg. * Explicitly specify the panic message for each `assert_execution_status_failure()` if the promise didn't fail with the provided error message. * Eth-connector tests: improve checks for failure msg. * Usually the converted to string has either of the following two messages formats: "Action #0: Smart contract panicked: ERR_MSG [src/some_file.rs:LINE_NUMBER:COLUMN_NUMBER]" "right: 'MISMATCHED_DATA': ERR_MSG [src/some_file.rs:LINE_NUMBER:COLUMN_NUMBER]" So the ": ERR_MSG [" pattern should catch all invariants of error, even if one of the errors message is a subset of another one (e.g. `ERR_MSG_FAILED` is a subset of `ERR_MSG_FAILED_FOO`).
Configuration menu - View commit details
-
Copy full SHA for ef24c7f - Browse repository at this point
Copy the full SHA ef24c7fView commit details -
Eth-connector: merge
develop
branch (#109)* 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) * Dispatch precompiles on the full address. (#107) * Support state migration on upgrade. (#103) * Remove resolved TODOs * Fix state migration test * Conditional compilation minor improvements. 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>
Configuration menu - View commit details
-
Copy full SHA for 540ccb1 - Browse repository at this point
Copy the full SHA 540ccb1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 29785ce - Browse repository at this point
Copy the full SHA 29785ceView commit details -
Configuration menu - View commit details
-
Copy full SHA for f86197d - Browse repository at this point
Copy the full SHA f86197dView commit details -
Eth-connector:add the way to upgrade contract data. (#113)
* Add `set_eth_connector_contract_data()` method. * Minor refactoring: `init_contract()` method now accepts `InitCallArgs` instead of making IO operations in it.
Configuration menu - View commit details
-
Copy full SHA for ab69d39 - Browse repository at this point
Copy the full SHA ab69d39View commit details -
Merge branch 'develop' of https://github.com/aurora-is-near/aurora-en…
…gine into eth-connector-merge-develop-after-target-change
Configuration menu - View commit details
-
Copy full SHA for 60374b6 - Browse repository at this point
Copy the full SHA 60374b6View commit details