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

fix(levm): fix revert cases for contracts to run correctly #1090

Open
wants to merge 73 commits into
base: main
Choose a base branch
from

Commits on Oct 26, 2024

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

Commits on Oct 28, 2024

  1. ongoing changes on db

    JereSalo committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    13d7d47 View commit details
    Browse the repository at this point in the history
  2. Add Database api

    juanimedone committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    5fd1345 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c0f8cf8 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2e9cf34 View commit details
    Browse the repository at this point in the history
  5. fix some tests

    JereSalo committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    1ddefdf View commit details
    Browse the repository at this point in the history
  6. Fix environment opcodes

    juanimedone committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    b5eebd4 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    99b4fc3 View commit details
    Browse the repository at this point in the history
  8. Merge branch 'levm/refactor/db' of github.com:lambdaclass/lambda_ethe…

    …reum_rust into levm/refactor/db
    JereSalo committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    6b381a8 View commit details
    Browse the repository at this point in the history
  9. fix more tests

    JereSalo committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    594ef74 View commit details
    Browse the repository at this point in the history
  10. fix some issues in vm

    JereSalo committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    cdd786d View commit details
    Browse the repository at this point in the history
  11. Add get_block_hash

    juanimedone committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    0b8614b View commit details
    Browse the repository at this point in the history
  12. fix more tests i guess..

    JereSalo committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    5c380f1 View commit details
    Browse the repository at this point in the history
  13. Merge branch 'levm/refactor/db' of github.com:lambdaclass/lambda_ethe…

    …reum_rust into levm/refactor/db
    JereSalo committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    db12190 View commit details
    Browse the repository at this point in the history
  14. 'fix' errors in call opcode

    JereSalo committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    ffad514 View commit details
    Browse the repository at this point in the history
  15. change to create

    JereSalo committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    61d36c8 View commit details
    Browse the repository at this point in the history
  16. Fix SLOAD and SSTORE

    juanimedone committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    eaf4616 View commit details
    Browse the repository at this point in the history
  17. changes in caching from db

    JereSalo committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    f34b493 View commit details
    Browse the repository at this point in the history
  18. Merge branch 'levm/refactor/db' of github.com:lambdaclass/lambda_ethe…

    …reum_rust into levm/refactor/db
    JereSalo committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    1fa59e0 View commit details
    Browse the repository at this point in the history
  19. Fix lint

    juanimedone committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    c3b21ff View commit details
    Browse the repository at this point in the history
  20. fix errors in tests

    JereSalo committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    b2fe679 View commit details
    Browse the repository at this point in the history
  21. Merge branch 'levm/refactor/db' of github.com:lambdaclass/lambda_ethe…

    …reum_rust into levm/refactor/db
    JereSalo committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    b1c9be0 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    96e66cc View commit details
    Browse the repository at this point in the history
  23. fix one test...

    JereSalo committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    e66aa3e View commit details
    Browse the repository at this point in the history
  24. fix call tests

    JereSalo committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    741a543 View commit details
    Browse the repository at this point in the history
  25. fix sstore

    JereSalo committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    91ab731 View commit details
    Browse the repository at this point in the history
  26. fix create tests

    JereSalo committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    7c7ada9 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    842a530 View commit details
    Browse the repository at this point in the history
  28. Fix compiling warning

    juanimedone committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    965bc4c View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2024

  1. Configuration menu
    Copy the full SHA
    439c2ac View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    abd5789 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    96a83c9 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    63d67bc View commit details
    Browse the repository at this point in the history
  5. run cargo fmt

    JereSalo committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    08cc426 View commit details
    Browse the repository at this point in the history
  6. remove unused object

    JereSalo committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    dd64d70 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    b463d30 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    5233c57 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    e37a47e View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    9d7e700 View commit details
    Browse the repository at this point in the history
  11. run cargo fmt

    JereSalo committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    c42f9f0 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    18868f6 View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2024

  1. Merge fixes

    juanimedone committed Oct 30, 2024
    Configuration menu
    Copy the full SHA
    84330a6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    97a6e11 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8a49f1f View commit details
    Browse the repository at this point in the history
  4. Delete commented code

    maximopalopoli committed Oct 30, 2024
    Configuration menu
    Copy the full SHA
    f0440fc View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    55ab9eb View commit details
    Browse the repository at this point in the history
  6. environment changes

    JereSalo committed Oct 30, 2024
    Configuration menu
    Copy the full SHA
    3cee7e5 View commit details
    Browse the repository at this point in the history
  7. Fix tests

    jrchatruc committed Oct 30, 2024
    Configuration menu
    Copy the full SHA
    c04a00f View commit details
    Browse the repository at this point in the history
  8. Fix mutable variable

    jrchatruc committed Oct 30, 2024
    Configuration menu
    Copy the full SHA
    fedefff View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    4b5f0fc View commit details
    Browse the repository at this point in the history
  10. fix tests and lints

    JereSalo committed Oct 30, 2024
    Configuration menu
    Copy the full SHA
    167a04e View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2024

  1. Configuration menu
    Copy the full SHA
    b85bff9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b5dae80 View commit details
    Browse the repository at this point in the history
  3. [WIP] More progress

    jrchatruc committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    5cc1adc View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a979da3 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    376248f View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2024

  1. fix sstore test

    JereSalo committed Nov 1, 2024
    Configuration menu
    Copy the full SHA
    63550e1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bce322a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    557e57a View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2024

  1. Configuration menu
    Copy the full SHA
    d73f18f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5bd6be8 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'main' of github.com:lambdaclass/lambda_ethereum_rust in…

    …to levm-ethereum-rust-integration
    ilitteri committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    7993506 View commit details
    Browse the repository at this point in the history
  4. fix(levm): fix generic_call (#1063)

    **Motivation**
    
    <!-- Why does this pull request exist? What are its goals? -->
    fix some things generic_call in l1 integration because of merge.
    
    **Description**
    
    <!-- A clear and concise general description of the changes this PR
    introduces -->
    
    <!-- Link to issues: Resolves #111, Resolves #222 -->
    
    Closes #issue_number
    JereSalo authored Nov 4, 2024
    Configuration menu
    Copy the full SHA
    30d447d View commit details
    Browse the repository at this point in the history

Commits on Nov 5, 2024

  1. feat(levm): prepare levm-ethereum-rust-integration for merge (#1064)

    **Motivation**
    
    <!-- Why does this pull request exist? What are its goals? -->
    
    Eventually, we want to stop using revm and replace it with levm. The
    integration is a work in progress in this PR
    #1029.
    
    This PR aims to be the first step. It aims to prepare the current
    codebase so that both implementations can coexist while levm continues
    to be developed and does not disturb the rest of the development. When
    the time to remove revm comes, it'd be easier with this proposal since
    it'd require removing the code under the #[cfg(not(feature = "levm"))]
    and after that, to remove the feature flag definitively.
    
    **Description**
    
    <!-- A clear and concise general description of the changes this PR
    introduces -->
    
    - Adds the `levm` feature flag to the `vm` and `blockchain` packages,
    and to the `ethereum_rust` binary.
    - In `vm`, add `execute_block` implementation that uses `levm` and use
    it when `levm` feature flag is set. Use the original implementation if
    not.
    - In `blockchain`, add `add_block` implementation that uses `levm` and
    use it when `levm` feature flag is set. Use the original implementation
    if not.
    
    ---------
    
    Co-authored-by: Jeremías Salomón <[email protected]>
    Co-authored-by: JereSalo <[email protected]>
    3 people authored Nov 5, 2024
    Configuration menu
    Copy the full SHA
    b065162 View commit details
    Browse the repository at this point in the history
  2. Fix default execute_block

    ilitteri committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    d2987a8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    28f45f9 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    29d56b8 View commit details
    Browse the repository at this point in the history
  5. Merge branch 'main' of github.com:lambdaclass/lambda_ethereum_rust in…

    …to levm-ethereum-rust-integration
    ilitteri committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    b85cbde View commit details
    Browse the repository at this point in the history

Commits on Nov 6, 2024

  1. Configuration menu
    Copy the full SHA
    ab9ef19 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0a944fb View commit details
    Browse the repository at this point in the history
  3. Update crates/vm/levm/src/errors.rs

    Co-authored-by: Ivan Litteri <[email protected]>
    JereSalo and ilitteri authored Nov 6, 2024
    Configuration menu
    Copy the full SHA
    016b0b4 View commit details
    Browse the repository at this point in the history
  4. nits

    JereSalo committed Nov 6, 2024
    Configuration menu
    Copy the full SHA
    b10fa27 View commit details
    Browse the repository at this point in the history
  5. run cargo fmt

    JereSalo committed Nov 6, 2024
    Configuration menu
    Copy the full SHA
    2eec80a View commit details
    Browse the repository at this point in the history