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

Solidity models of L2 precompiled contracts: ArbSys and ArbTxRetryable #105

Draft
wants to merge 90 commits into
base: master
Choose a base branch
from

Commits on Sep 3, 2021

  1. Configuration menu
    Copy the full SHA
    dcc15e5 View commit details
    Browse the repository at this point in the history
  2. more stuff removed

    ggrieco-tob committed Sep 3, 2021
    Configuration menu
    Copy the full SHA
    7828352 View commit details
    Browse the repository at this point in the history

Commits on Dec 30, 2021

  1. Pin web3 dependency to >=3.16.4

    Older versions depend on the deprecated ethereum-* libraries instead
    of the newer eth-*, which cause a deprecation notice.
    elopez committed Dec 30, 2021
    Configuration menu
    Copy the full SHA
    f9ad032 View commit details
    Browse the repository at this point in the history
  2. Pin manticore dependency to <=0.3.6

    Manticore 0.3.6 causes issues when running etheno, see issue
    #80 for the details.
    elopez committed Dec 30, 2021
    Configuration menu
    Copy the full SHA
    2b6186a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a4cff34 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3a0902c View commit details
    Browse the repository at this point in the history
  5. Remove extra apt-get clean

    This is done automatically in Dockerfiles
    elopez committed Dec 30, 2021
    Configuration menu
    Copy the full SHA
    d8d8a60 View commit details
    Browse the repository at this point in the history
  6. Drop Parity installation

    get.parity.io does not exist anymore
    elopez committed Dec 30, 2021
    Configuration menu
    Copy the full SHA
    2b78c20 View commit details
    Browse the repository at this point in the history
  7. Install etheno globally

    elopez committed Dec 30, 2021
    Configuration menu
    Copy the full SHA
    6d0829f View commit details
    Browse the repository at this point in the history
  8. Update node to latest LTS version (16.x)

    The upstream bug in ganache-cli appears to have been fixed.
    elopez committed Dec 30, 2021
    Configuration menu
    Copy the full SHA
    5c8b29a View commit details
    Browse the repository at this point in the history
  9. Simplify user creation

    elopez committed Dec 30, 2021
    Configuration menu
    Copy the full SHA
    ded7f1d View commit details
    Browse the repository at this point in the history
  10. Fix Debian interactive installation, drop extra PATH environment

    This fixes an issue with the dockerfile getting stuck when installing
    tzdata
    elopez committed Dec 30, 2021
    Configuration menu
    Copy the full SHA
    de5a2c4 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    d7d9df1 View commit details
    Browse the repository at this point in the history
  12. Reorder apt packages

    elopez committed Dec 30, 2021
    Configuration menu
    Copy the full SHA
    1fc4b2d View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    24403e6 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    06ff7e8 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    bb97179 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    ccc8df7 View commit details
    Browse the repository at this point in the history

Commits on May 27, 2022

  1. Configuration menu
    Copy the full SHA
    34770e6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c41574f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7ebf117 View commit details
    Browse the repository at this point in the history
  4. added small todo

    anishnaik committed May 27, 2022
    Configuration menu
    Copy the full SHA
    8cf9e8a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d8b13fe View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2022

  1. Configuration menu
    Copy the full SHA
    9d69e66 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    63dd9c3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e1f7d36 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #81 from crytic/dev-remove-manticore

    Remove manticore integration
    anishnaik committed Jun 27, 2022
    Configuration menu
    Copy the full SHA
    3ec0d2f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    874475e View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2022

  1. Configuration menu
    Copy the full SHA
    4ded2e9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    084097c View commit details
    Browse the repository at this point in the history
  3. something with eggs

    anishnaik committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    f9f3714 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #99 from crytic/dev-remove-echidna

    Remove echidna integration
    anishnaik committed Jun 28, 2022
    Configuration menu
    Copy the full SHA
    3a7e121 View commit details
    Browse the repository at this point in the history

Commits on Jun 29, 2022

  1. Configuration menu
    Copy the full SHA
    7aa9354 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c0bea15 View commit details
    Browse the repository at this point in the history
  3. chainid for arbitrum

    ggrieco-tob committed Jun 29, 2022
    Configuration menu
    Copy the full SHA
    151578a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    47ddf60 View commit details
    Browse the repository at this point in the history

Commits on Jun 30, 2022

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

Commits on Jul 5, 2022

  1. Configuration menu
    Copy the full SHA
    40bfb8f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6d7296f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1bb8ce6 View commit details
    Browse the repository at this point in the history
  4. remove print statements

    anishnaik committed Jul 5, 2022
    Configuration menu
    Copy the full SHA
    411cd0a View commit details
    Browse the repository at this point in the history
  5. pin web3 version

    anishnaik committed Jul 5, 2022
    Configuration menu
    Copy the full SHA
    caa6758 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    0c5e857 View commit details
    Browse the repository at this point in the history

Commits on Jul 6, 2022

  1. Configuration menu
    Copy the full SHA
    73cccc8 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #89 from elopez/docker-improvements

    Docker container improvements
    anishnaik committed Jul 6, 2022
    Configuration menu
    Copy the full SHA
    12f5c0e View commit details
    Browse the repository at this point in the history
  3. documentation updated

    anishnaik committed Jul 6, 2022
    Configuration menu
    Copy the full SHA
    966967f View commit details
    Browse the repository at this point in the history
  4. Merge pull request #107 from crytic/dev-update-documentation

    update documentation
    anishnaik committed Jul 6, 2022
    Configuration menu
    Copy the full SHA
    126ff06 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    aa52872 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    98ee4c3 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    24de259 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    6bf7b26 View commit details
    Browse the repository at this point in the history
  9. Disable cache for pip upgrade

    elopez committed Jul 6, 2022
    Configuration menu
    Copy the full SHA
    748e42e View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    4857054 View commit details
    Browse the repository at this point in the history
  11. Upgrade Docker actions

    elopez committed Jul 6, 2022
    Configuration menu
    Copy the full SHA
    2855ae4 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    a323909 View commit details
    Browse the repository at this point in the history

Commits on Jul 7, 2022

  1. Configuration menu
    Copy the full SHA
    f57851a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    643f35d View commit details
    Browse the repository at this point in the history
  3. Merge pull request #106 from crytic/dev-update-ganache

    Update ganache dependency
    anishnaik committed Jul 7, 2022
    Configuration menu
    Copy the full SHA
    0ee6b80 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4d985dd View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    0e08e3c View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    8e9a371 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    b972bf0 View commit details
    Browse the repository at this point in the history
  8. added back ganache-cmd arg

    anishnaik committed Jul 7, 2022
    Configuration menu
    Copy the full SHA
    7ec714e View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    ad67ec0 View commit details
    Browse the repository at this point in the history
  10. added small todo

    anishnaik committed Jul 7, 2022
    Configuration menu
    Copy the full SHA
    1160d1c View commit details
    Browse the repository at this point in the history
  11. removed rc-1 for testing

    anishnaik committed Jul 7, 2022
    Configuration menu
    Copy the full SHA
    18b87ea View commit details
    Browse the repository at this point in the history
  12. v0.3.0-alpha launch

    anishnaik committed Jul 7, 2022
    Configuration menu
    Copy the full SHA
    1c5f440 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    e249419 View commit details
    Browse the repository at this point in the history
  14. let's try releasing again

    anishnaik committed Jul 7, 2022
    Configuration menu
    Copy the full SHA
    c92fffc View commit details
    Browse the repository at this point in the history
  15. ready for alpha release

    anishnaik committed Jul 7, 2022
    Configuration menu
    Copy the full SHA
    8154ef3 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    abec4e2 View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2022

  1. Apply suggestions from code review

    Co-authored-by: Emilio López <2642849+elopez@users.noreply.github.com>
    anishnaik and elopez committed Jul 8, 2022
    Configuration menu
    Copy the full SHA
    242ed37 View commit details
    Browse the repository at this point in the history
  2. removed all unused code

    anishnaik committed Jul 8, 2022
    Configuration menu
    Copy the full SHA
    d4616b4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    33d8b95 View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2022

  1. updated gitignore

    anishnaik committed Jul 11, 2022
    Configuration menu
    Copy the full SHA
    2f66a9f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6fb5725 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    74db5e8 View commit details
    Browse the repository at this point in the history
  4. removing unnecessary files

    anishnaik committed Jul 11, 2022
    Configuration menu
    Copy the full SHA
    75770ca View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    676ef39 View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2022

  1. Removed unused code and made getting an eth_getTransactionReceipt req…

    …uest object modular
    
    Two changes:
    1. Removed unused code that was dependent on using integers as the mapping for EventPlugin._transactions mapping and for converting hashes into hex strings
    2. Moved get_transaction_receipt_request into etheno.py so that both clients and plugins can use itt.
    anishnaik committed Jul 12, 2022
    Configuration menu
    Copy the full SHA
    68ec28c View commit details
    Browse the repository at this point in the history
  2. PEP 8 Compliance

    Used `black` to make code PEP 8 compliant
    anishnaik committed Jul 12, 2022
    Configuration menu
    Copy the full SHA
    49a6dce View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    58b6b72 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #109 from crytic/logging-bugfix

    Fix issue with function call logging and PEP 8 Compliance
    anishnaik committed Jul 12, 2022
    Configuration menu
    Copy the full SHA
    0f0ad91 View commit details
    Browse the repository at this point in the history
  5. Merge branch 'rc-1' of github.com:crytic/etheno into dev-l2-models

    There have been a lot of changes that need to be pulled in to make development on this branch much easier.
    anishnaik committed Jul 12, 2022
    Configuration menu
    Copy the full SHA
    d917212 View commit details
    Browse the repository at this point in the history
  6. Isolate ArbSys and ArbRetryable for easier compilation

    It is easier to parse and compile individual contracts than to read the entire file and then separate into separate byte arrays for compilation.
    anishnaik committed Jul 12, 2022
    Configuration menu
    Copy the full SHA
    38a7334 View commit details
    Browse the repository at this point in the history
  7. Removed original arbos file

    anishnaik committed Jul 12, 2022
    Configuration menu
    Copy the full SHA
    3cfba58 View commit details
    Browse the repository at this point in the history
  8. Set up Precompiler EthenoPlugin

    1. Added command line argument to enable compilation of ArbSys and ArbRetryableTx
    2. Created Precompiler EthenoPlugin that successfully compiles ArbSys.sol
    3. Added logic to __main__.py to add Precompiler as an EthenoPlugin if the command-line argument is set to True and Ganache is the RPC Provider
    anishnaik committed Jul 12, 2022
    Configuration menu
    Copy the full SHA
    ab7acd2 View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2022

  1. Add override modifiers to all functions in ArbRetryableTxEmulated

    `solc` was complaining that all functions that were inherited from the ArbRetryableTx interface need to have the `override` modifier. Thus, the modifiers were added
    anishnaik committed Jul 13, 2022
    Configuration menu
    Copy the full SHA
    aea2229 View commit details
    Browse the repository at this point in the history
  2. Arbitrum precompile contract deployments complete

    Here are the key changes:
    1. Made finding the final offset in `precompiler.compile()` more flexible (note that only the last contract in a .sol file is deployed)
    2. `etheno.deploy_contract` now returns a hex string instead of an int. The rationale for this is explained in the commend above that return statement.
    3. Both ArbSys and ArbRetryableTx are now being deployed via Ganache.
    4. Improved error handling for not finding files or unsuccessful compilation
    anishnaik committed Jul 13, 2022
    Configuration menu
    Copy the full SHA
    774513e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ec03e2a View commit details
    Browse the repository at this point in the history