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

ETH connector #59

Merged
merged 119 commits into from
May 28, 2021
Merged

ETH connector #59

merged 119 commits into from
May 28, 2021

Commits on Apr 1, 2021

  1. Added prover & extended types

    mrLSD committed Apr 1, 2021
    Configuration menu
    Copy the full SHA
    98b302a View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2021

  1. Configuration menu
    Copy the full SHA
    97a3759 View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2021

  1. Configuration menu
    Copy the full SHA
    a889328 View commit details
    Browse the repository at this point in the history
  2. Added fungible tokens

    mrLSD committed Apr 5, 2021
    Configuration menu
    Copy the full SHA
    25154f0 View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2021

  1. Added eth-connector

    mrLSD committed Apr 6, 2021
    Configuration menu
    Copy the full SHA
    a0942a2 View commit details
    Browse the repository at this point in the history
  2. Modify assert for fee

    mrLSD committed Apr 6, 2021
    Configuration menu
    Copy the full SHA
    5876814 View commit details
    Browse the repository at this point in the history
  3. Fix formatting

    mrLSD committed Apr 6, 2021
    Configuration menu
    Copy the full SHA
    facc786 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b055a54 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    eb9e361 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    fcc1332 View commit details
    Browse the repository at this point in the history

Commits on Apr 7, 2021

  1. Mint ETH-tokens

    mrLSD committed Apr 7, 2021
    Configuration menu
    Copy the full SHA
    978474b View commit details
    Browse the repository at this point in the history
  2. Added: transfer_eth

    mrLSD committed Apr 7, 2021
    Configuration menu
    Copy the full SHA
    041879e View commit details
    Browse the repository at this point in the history
  3. ETH withdraw basic method

    mrLSD committed Apr 7, 2021
    Configuration menu
    Copy the full SHA
    b5ffb23 View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2021

  1. Configuration menu
    Copy the full SHA
    a7e73f4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    45a5ca9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    676a86c View commit details
    Browse the repository at this point in the history

Commits on Apr 9, 2021

  1. added encode-packed

    mrLSD committed Apr 9, 2021
    Configuration menu
    Copy the full SHA
    e345d71 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    de7f36d View commit details
    Browse the repository at this point in the history
  3. Changed EIP712 message fields

    mrLSD committed Apr 9, 2021
    Configuration menu
    Copy the full SHA
    f1f6479 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    944b6e2 View commit details
    Browse the repository at this point in the history

Commits on Apr 13, 2021

  1. Test EIP712

    mrLSD committed Apr 13, 2021
    Configuration menu
    Copy the full SHA
    1201a39 View commit details
    Browse the repository at this point in the history
  2. Tests EIP712

    mrLSD committed Apr 13, 2021
    Configuration menu
    Copy the full SHA
    11dec10 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    89f572c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d6830ea View commit details
    Browse the repository at this point in the history

Commits on Apr 14, 2021

  1. 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.
    sept-en committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    dd1f8e1 View commit details
    Browse the repository at this point in the history
  2. Extend tests for eth-connector

    mrLSD committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    96b3c0e View commit details
    Browse the repository at this point in the history
  3. Merge branch 'evm-deposit-withdraw' of github.com:aurora-is-near/auro…

    …ra-engine into evm-deposit-withdraw
    mrLSD committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    348e5cc View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    80f033b View commit details
    Browse the repository at this point in the history

Commits on Apr 15, 2021

  1. Imporved tests

    mrLSD committed Apr 15, 2021
    Configuration menu
    Copy the full SHA
    07251fd View commit details
    Browse the repository at this point in the history
  2. FT tests

    mrLSD committed Apr 15, 2021
    Configuration menu
    Copy the full SHA
    2de5af8 View commit details
    Browse the repository at this point in the history

Commits on Apr 16, 2021

  1. Fixed verify_transfer_eip712

    mrLSD committed Apr 16, 2021
    Configuration menu
    Copy the full SHA
    e71d52a View commit details
    Browse the repository at this point in the history
  2. Change test_withdraw_near

    mrLSD committed Apr 16, 2021
    Configuration menu
    Copy the full SHA
    09b79c1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f2e1f11 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    356ad42 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6cae502 View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2021

  1. References in fungible token (#29)

    * Use references in fungible_token to avoid cloning
    
    * cargo fmt
    birchmd committed Apr 19, 2021
    Configuration menu
    Copy the full SHA
    d920662 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    27f90ef View commit details
    Browse the repository at this point in the history

Commits on Apr 21, 2021

  1. Configuration menu
    Copy the full SHA
    3b8f0d5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1074daf View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e2f3746 View commit details
    Browse the repository at this point in the history
  4. Completed Deposit logic

    mrLSD committed Apr 21, 2021
    Configuration menu
    Copy the full SHA
    5d26090 View commit details
    Browse the repository at this point in the history
  5. Merge branch 'eth-connector' of github.com:aurora-is-near/aurora-engi…

    …ne into improved-evm-token-logic
    mrLSD committed Apr 21, 2021
    Configuration menu
    Copy the full SHA
    628dfd8 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    8b8043c View commit details
    Browse the repository at this point in the history

Commits on Apr 23, 2021

  1. Configuration menu
    Copy the full SHA
    41011e9 View commit details
    Browse the repository at this point in the history
  2. Added deploy_evm_token

    mrLSD committed Apr 23, 2021
    Configuration menu
    Copy the full SHA
    a4c1cc1 View commit details
    Browse the repository at this point in the history
  3. Added ft_on_transfer logic

    mrLSD committed Apr 23, 2021
    Configuration menu
    Copy the full SHA
    afb5291 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a7b5d45 View commit details
    Browse the repository at this point in the history

Commits on Apr 27, 2021

  1. Configuration menu
    Copy the full SHA
    886c7f9 View commit details
    Browse the repository at this point in the history
  2. Added register relayer

    mrLSD committed Apr 27, 2021
    Configuration menu
    Copy the full SHA
    402223c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6c100d0 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4217a5a View commit details
    Browse the repository at this point in the history
  5. Impoved ft_on_transfer

    mrLSD committed Apr 27, 2021
    Configuration menu
    Copy the full SHA
    919f704 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a662f50 View commit details
    Browse the repository at this point in the history

Commits on Apr 28, 2021

  1. Configuration menu
    Copy the full SHA
    909b295 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a0a02b1 View commit details
    Browse the repository at this point in the history

Commits on Apr 29, 2021

  1. tests: depoist, withdraw

    mrLSD committed Apr 29, 2021
    Configuration menu
    Copy the full SHA
    c056e59 View commit details
    Browse the repository at this point in the history
  2. tests: fix test_withdraw_near

    mrLSD committed Apr 29, 2021
    Configuration menu
    Copy the full SHA
    9eac293 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    253fb11 View commit details
    Browse the repository at this point in the history
  4. Tests: fix ft_transfer_call

    mrLSD committed Apr 29, 2021
    Configuration menu
    Copy the full SHA
    5b46752 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1148981 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    fd7f31c View commit details
    Browse the repository at this point in the history
  7. Merge branch 'improved-evm-token-logic' of github.com:aurora-is-near/…

    …aurora-engine into improved-evm-token-logic
    mrLSD committed Apr 29, 2021
    Configuration menu
    Copy the full SHA
    bae83f0 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    e97e7a8 View commit details
    Browse the repository at this point in the history
  9. Clippy fix

    mrLSD committed Apr 29, 2021
    Configuration menu
    Copy the full SHA
    f3f8e22 View commit details
    Browse the repository at this point in the history

Commits on Apr 30, 2021

  1. Configuration menu
    Copy the full SHA
    6bc6d3e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e98cd2b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    da067eb View commit details
    Browse the repository at this point in the history

Commits on May 1, 2021

  1. Configuration menu
    Copy the full SHA
    95c80ff View commit details
    Browse the repository at this point in the history

Commits on May 3, 2021

  1. Configuration menu
    Copy the full SHA
    8fbb523 View commit details
    Browse the repository at this point in the history

Commits on May 5, 2021

  1. 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>
    4 people committed May 5, 2021
    Configuration menu
    Copy the full SHA
    cdf2e84 View commit details
    Browse the repository at this point in the history
  2. Update src/connector.rs misspel

    Co-authored-by: Joshua J. Bouw <dev@joshuajbouw.com>
    mrLSD and joshuajbouw committed May 5, 2021
    Configuration menu
    Copy the full SHA
    5a0e427 View commit details
    Browse the repository at this point in the history
  3. Update src/connector.rs change constants error

    Co-authored-by: Joshua J. Bouw <dev@joshuajbouw.com>
    mrLSD and joshuajbouw committed May 5, 2021
    Configuration menu
    Copy the full SHA
    79602e5 View commit details
    Browse the repository at this point in the history
  4. Changed withdraw args

    mrLSD committed May 5, 2021
    Configuration menu
    Copy the full SHA
    d1cf4d7 View commit details
    Browse the repository at this point in the history
  5. 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>
    6 people committed May 5, 2021
    Configuration menu
    Copy the full SHA
    8db04bc View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    81f935e View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    0617912 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    9e4cbe5 View commit details
    Browse the repository at this point in the history
  9. Fix tests

    mrLSD committed May 5, 2021
    Configuration menu
    Copy the full SHA
    61ae593 View commit details
    Browse the repository at this point in the history

Commits on May 6, 2021

  1. Configuration menu
    Copy the full SHA
    c64d81a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a2f7dd7 View commit details
    Browse the repository at this point in the history
  3. Typo and comment fixes.

    sept-en committed May 6, 2021
    Configuration menu
    Copy the full SHA
    8812294 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ee4add9 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4a5624b View commit details
    Browse the repository at this point in the history

Commits on May 7, 2021

  1. Configuration menu
    Copy the full SHA
    805971a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0df9382 View commit details
    Browse the repository at this point in the history

Commits on May 10, 2021

  1. Make file changes, typo fix

    mrLSD committed May 10, 2021
    Configuration menu
    Copy the full SHA
    a9837cc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d14d045 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8cfb9c5 View commit details
    Browse the repository at this point in the history
  4. Changed github action for tests

    mrLSD committed May 10, 2021
    Configuration menu
    Copy the full SHA
    5cb842d View commit details
    Browse the repository at this point in the history
  5. Fix git action for tests

    mrLSD committed May 10, 2021
    Configuration menu
    Copy the full SHA
    530163c View commit details
    Browse the repository at this point in the history
  6. Fix git action for tests

    mrLSD committed May 10, 2021
    Configuration menu
    Copy the full SHA
    46b1793 View commit details
    Browse the repository at this point in the history

Commits on May 11, 2021

  1. Configuration menu
    Copy the full SHA
    b9bb3ca View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6a88507 View commit details
    Browse the repository at this point in the history
  3. Extend test_withdraw_near

    mrLSD committed May 11, 2021
    Configuration menu
    Copy the full SHA
    e99e928 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c7b5579 View commit details
    Browse the repository at this point in the history
  5. Return actual panic

    joshuajbouw committed May 11, 2021
    Configuration menu
    Copy the full SHA
    85fec05 View commit details
    Browse the repository at this point in the history
  6. Fix sanity tests in connector (#71)

    * Fix EVM deployment in sanity tests
    * Remove Aurora faucet
    * Fix transfers
    birchmd committed May 11, 2021
    Configuration menu
    Copy the full SHA
    735bd8c View commit details
    Browse the repository at this point in the history

Commits on May 12, 2021

  1. Configuration menu
    Copy the full SHA
    92e3a20 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    05711e3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d50be39 View commit details
    Browse the repository at this point in the history

Commits on May 13, 2021

  1. Configuration menu
    Copy the full SHA
    4a009af View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    87dfbf2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5b0e843 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f2a24fe View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d7298dd View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    3b3e2f2 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    d7d902e View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    19fa058 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    f180a08 View commit details
    Browse the repository at this point in the history

Commits on May 26, 2021

  1. 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>
    3 people committed May 26, 2021
    Configuration menu
    Copy the full SHA
    7fb4239 View commit details
    Browse the repository at this point in the history
  2. Fix tests for eth-connector

    mrLSD committed May 26, 2021
    Configuration menu
    Copy the full SHA
    b4a5d1e View commit details
    Browse the repository at this point in the history

Commits on May 27, 2021

  1. 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
    mrLSD committed May 27, 2021
    Configuration menu
    Copy the full SHA
    edc8e1d View commit details
    Browse the repository at this point in the history
  2. 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.
    sept-en committed May 27, 2021
    Configuration menu
    Copy the full SHA
    92f877d View commit details
    Browse the repository at this point in the history

Commits on May 28, 2021

  1. 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`).
    sept-en committed May 28, 2021
    Configuration menu
    Copy the full SHA
    ef24c7f View commit details
    Browse the repository at this point in the history
  2. 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>
    4 people committed May 28, 2021
    Configuration menu
    Copy the full SHA
    540ccb1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    29785ce View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f86197d View commit details
    Browse the repository at this point in the history
  5. 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.
    sept-en committed May 28, 2021
    Configuration menu
    Copy the full SHA
    ab69d39 View commit details
    Browse the repository at this point in the history
  6. Merge branch 'develop' of https://github.com/aurora-is-near/aurora-en…

    …gine into eth-connector-merge-develop-after-target-change
    sept-en committed May 28, 2021
    Configuration menu
    Copy the full SHA
    60374b6 View commit details
    Browse the repository at this point in the history