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

refactor: use a match table for execute_opcode" #1019

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

Commits on Sep 30, 2024

  1. validate eth tx test (#986)

    * add validate_eth_tx test
    
    * polish: fmt + docstrings
    manlikeHB authored Sep 30, 2024
    Configuration menu
    Copy the full SHA
    88479f3 View commit details
    Browse the repository at this point in the history
  2. refactor: replace while loops with for (#987)

    * First batch of replacements
    
    * Second batch of replacements
    
    * Clean commented code
    
    * scarb fmt
    
    * Apply code review recommendations
    fabrobles92 authored Sep 30, 2024
    Configuration menu
    Copy the full SHA
    c645fee View commit details
    Browse the repository at this point in the history
  3. Optimizes conversion of bytes to words (#985)

    * ceil to bytes32
    
    * overflow and nits
    lordshashank authored Sep 30, 2024
    Configuration menu
    Copy the full SHA
    7c289ed View commit details
    Browse the repository at this point in the history
  4. refactor: remove load_word in favor of FromBytes (#988)

    * load word to bytes
    
    * unwrap and nits
    lordshashank authored Sep 30, 2024
    Configuration menu
    Copy the full SHA
    4ce7e2d View commit details
    Browse the repository at this point in the history
  5. feat: implement eth_get_balance (#990)

    * implement eth_get_balance
    
    * add missing files
    
    * made requested changes
    
    * fmt
    
    ---------
    
    Co-authored-by: enitrat <[email protected]>
    saimeunt and enitrat authored Sep 30, 2024
    Configuration menu
    Copy the full SHA
    5759f30 View commit details
    Browse the repository at this point in the history
  6. dev: use native in ci (#992)

    * dev: use native in ci
    
    * remove outdated gas reports
    
    * fix fmt
    
    * fix runtime location
    
    * avoid clearing the ssj checkout
    
    * use correct working dir
    
    * update stack size when running rust ef-tests
    
    * update workflows
    
    * simplify workflows by avoiding re-building runtimes
    
    * rework workflow structure
    enitrat authored Sep 30, 2024
    Configuration menu
    Copy the full SHA
    8b29b2f View commit details
    Browse the repository at this point in the history
  7. fix: sar (#994)

    enitrat authored Sep 30, 2024
    Configuration menu
    Copy the full SHA
    77bfa66 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    3d92e66 View commit details
    Browse the repository at this point in the history
  9. dev: implement compile-time filtering for tests (#997)

    * dev: implement compile-time filtering
    
    * fmt
    enitrat authored Sep 30, 2024
    Configuration menu
    Copy the full SHA
    a3fa5bc View commit details
    Browse the repository at this point in the history
  10. Implementation of eth_get_transaction_count function (#983)

    * Implementation of eth_get_transaction_count function
    
    * Refactoring validate nonce in validation.cairo
    
    * Changing the deprecated function
    
    * Validating nonce without new function
    
    * Adding method to interface and test it
    
    * fix tests
    
    * fmt
    
    ---------
    
    Co-authored-by: enitrat <[email protected]>
    Gerson2102 and enitrat authored Sep 30, 2024
    Configuration menu
    Copy the full SHA
    81dc3c7 View commit details
    Browse the repository at this point in the history
  11. fix: mulmod (#998)

    * fix: mulmod
    
    * fmt
    enitrat authored Sep 30, 2024
    Configuration menu
    Copy the full SHA
    109ab1e View commit details
    Browse the repository at this point in the history
  12. fix: overflow in message_call_gas (#996)

    * fix: overflow in message_call_gas
    
    * fmt
    enitrat authored Sep 30, 2024
    Configuration menu
    Copy the full SHA
    9baf1a9 View commit details
    Browse the repository at this point in the history
  13. fix: mcopy offset oob (#999)

    enitrat authored Sep 30, 2024
    Configuration menu
    Copy the full SHA
    1a80ed7 View commit details
    Browse the repository at this point in the history

Commits on Oct 1, 2024

  1. fix: typos (#1000)

    * fix typos
    
    * fix typo
    
    * fix typos
    
    * fix typo
    
    * fix typo
    omahs authored Oct 1, 2024
    Configuration menu
    Copy the full SHA
    e2bd71d View commit details
    Browse the repository at this point in the history
  2. fix: saturate jumpi index taken on stack (#1002)

    * fix: saturate jumpi index taken on stack
    
    * scout: remove print
    enitrat authored Oct 1, 2024
    Configuration menu
    Copy the full SHA
    79a5e8d View commit details
    Browse the repository at this point in the history
  3. refactor: Bitshift takes usize as arg (#1001)

    dev: optimized bitshifts by using a lookup table for powers of two
    
    tmp
    enitrat authored Oct 1, 2024
    Configuration menu
    Copy the full SHA
    6a23ced View commit details
    Browse the repository at this point in the history
  4. bump: cairo native

    enitrat committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    4afdbfe View commit details
    Browse the repository at this point in the history
  5. fix: conversion of stack values in opcode execution (#1005)

    * fix: conversion of stack values in opcode execution
    
    * fix test
    enitrat authored Oct 1, 2024
    Configuration menu
    Copy the full SHA
    0a76b4f View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2024

  1. Configuration menu
    Copy the full SHA
    6138ec1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dcbb421 View commit details
    Browse the repository at this point in the history
  3. test: get_starknet_address (#1006)

    * test_kakarot_core_get_starknet_address
    
    * ci: downgrade cairo native (#1008)
    
    * dev: use checked math (#1009)
    
    * fix get_starknet_address test
    
    ---------
    
    Co-authored-by: Mathieu <[email protected]>
    saimeunt and enitrat authored Oct 2, 2024
    Configuration menu
    Copy the full SHA
    7048c0d View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2024

  1. Configuration menu
    Copy the full SHA
    fe6735d View commit details
    Browse the repository at this point in the history
  2. dev: test emit_events (#1003)

    * creating test case for emit events
    
    * fixing format
    
    * side stuff
    
    * Update crates/evm/src/model.cairo
    
    Co-authored-by: Mathieu <[email protected]>
    
    * Update crates/evm/src/backend/starknet_backend.cairo
    
    Co-authored-by: Mathieu <[email protected]>
    
    * changes for implementation of  into trait
    
    ---------
    
    Co-authored-by: enitrat <[email protected]>
    Co-authored-by: Mathieu <[email protected]>
    3 people authored Oct 3, 2024
    Configuration menu
    Copy the full SHA
    f0013f7 View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2024

  1. dev: various optimizations (#1010)

    * dev: optimize to u64 words
    
    * opti from_le_bytes
    
    * dev: optimize ToBytes
    
    * fmt
    
    * fix bug
    enitrat authored Oct 4, 2024
    Configuration menu
    Copy the full SHA
    e1ccb18 View commit details
    Browse the repository at this point in the history
  2. refactor: decode_legacy_tx for consistency with typed transactions (#…

    …1012)
    
    * refactor: decode_legacy_tx for consistency with typed transactions
    
    * fmt
    
    ---------
    
    Co-authored-by: enitrat <[email protected]>
    ooochoche and enitrat authored Oct 4, 2024
    Configuration menu
    Copy the full SHA
    f6c15f5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    992b891 View commit details
    Browse the repository at this point in the history
  4. refactor: eth_send_raw_transaction (#1015)

    * refactor: eth_send_raw_transaction
    
    * fix tests
    
    * fix test
    
    * revert unwanted change
    enitrat authored Oct 4, 2024
    Configuration menu
    Copy the full SHA
    ef4de1e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d0b3d14 View commit details
    Browse the repository at this point in the history
  6. fmt

    enitrat committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    fb3b9ac View commit details
    Browse the repository at this point in the history