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

[pull] main from bluealloy:main #43

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

[pull] main from bluealloy:main #43

wants to merge 328 commits into from

Conversation

pull[bot]
Copy link

@pull pull bot commented May 3, 2024

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

@pull pull bot added the ⤵️ pull label May 3, 2024
jtraglia and others added 29 commits June 8, 2024 19:07
* Fix some nits in bls12_381 precompiles

* Run cargo fmt
Specifies the type of `1e12` as `u64` in the `l1block.rs` module,
removing the need for `UintTryFrom<{float}>`.
…1476)

* chore(interpreter): optimisation for BYTE, SHL, SHR and SAR

* test: add RETURNDATACOPY test and update RETURNDATALOAD

* feat: change oob behavior of returndataload

* fix: stack order and name on returndatacopy test

* feat: change oob behavior of RETURNDATACOPY

* chore: remove unused function make_me_a_table

* fix: revert interpreter check

* chore: some tests

* chore: use as_usize_or_fail! macro instead of as_usize_saturated!

* fix: add backwards compatibility

* fix: collapsible-else-if

* self review

* refactor code. use set_data in returndatacopy

* remove local as it is used once

---------

Co-authored-by: rakita <dragan0rakita@gmail.com>
* chore(revme): add new line in revme EOF printer

* format

* clippy
Bumps [regex](https://github.com/rust-lang/regex) from 1.10.4 to 1.10.5.
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](rust-lang/regex@1.10.4...1.10.5)

---
updated-dependencies:
- dependency-name: regex
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* feat(EOF): EXTCODECOPY,EXTCODESIZE,EXTCODEHASH eof support

* eof magic bytes from array

* clippy
* feat(revme): add prague spec

* fix(EOF): jumpf gas was changes

* fix(EOF): extstaticcall make static

* fix(EOF): add DATACOPY copy gas

* fix(EOF): Remove redundunt ext call gas cost
* fix(revm): remove storage reset that clears is_cold flag

* docs
* feat: mutable access to state_storage and revert_storage in BundleBuilder

* self review

* Revert "self review"

This reverts commit 20e46ee.

* Revert "feat: mutable access to state_storage and revert_storage in BundleBuilder"

This reverts commit 824e33f.

* feat: Add mutable getters for bundle state fields
* db: add settes to BundleBuilder with &mut self

* fix comments
* perf: avoid cloning precompiles twice

* perf: cow it up

* pedantic changes, unsafe removed, nit renames

* into string

* nits

* Make to_mut call cold fn on owned mutation

* doc update
FredCoen and others added 30 commits December 14, 2024 11:07
* implement serde for interpreter

* add bytecode check

* remove bytecode check

* remove defaults generic params

* add sanity check + cargo fmt

* modify panic message
* move CfgEnv

* crago fmt

* remove glitch in matrix

* fix docs path
* chore: put snailtracer and analysis contracts in files

* make clippy happy
* chore: set tx gas limit of snailtracer

* rm inspector from snailtracer

* compile now

* Clippy

* ext

* fix contracts

* remove 'static
* chore: mdbook links check

* chore: use stderr for revme tracer. not panic on bytecode
* chore: Simplify GasInspector

* fmt
* chore: Simplify GasInspector

* fmt

* chore: add depth to GasInspector

* rm doc
* chore: Simplify GasInspector

* fmt

* chore: add depth to GasInspector

* rm doc

* chore: tie journal database with database getter

* use exec

* fmt

* include box
Co-authored-by: zizou <111426680+flopell@users.noreply.github.com>
* chore: Simplify GasInspector

* fmt

* chore: add depth to GasInspector

* rm doc

* chore: tie journal database with database getter

* use exec

* fmt

* include box

* fix: Clear Journal
* bet

* bet

* bet

* Update crates/database/src/states/reverts.rs

* bet

* bet

* bet
* fix: clear JournalState and set first journal vec

* chore: EVM transact make output generic for  POSTEXEC

* Make ExecCommit generic on HaltReason
* fix: clear JournalState and set first journal vec

* chore: EVM transact make output generic for  POSTEXEC

* Make ExecCommit generic on HaltReason

* feat: Make journal generic

* fix rest

* clippy

* doc
* made base comment & doc typo fixes

* Updated one third of doc comments

* Revert "made base comment & doc typo fixes"

This reverts commit 65dad46.

* fixed outer doc comments, verbs and periods (passed 1 review)

* reverted few fixes

* fixed doctest failures
* feat: integrate codspeed

* fix bench

* fix: disable panicking bench
* feat: integrate codspeed

* fix bench

* rn new line
* test: add test revm-optimism

* bet

* bet

* bet

* bet
* chore: Make inspector use generics, rm associated types

* prev context

* default impl for ImputsImpl

* ContextWire and Wiring

* rename and few cleanup

* fmt/clippy

* simplify context

* auto_impl on error getter trait

* simpify host

* impl &mut and Box over setter traits

* relax JournalExt

* compile no std

* string

* box
* chore: relax some impl and exec_with_tx

* add helper created_address

* add error to database error

* ext journal with state

* fix: handle inspector final return

* call final_return

* expose precompile addresses to Journal

* precompile addresses fn for journal
* chore: relax some impl and exec_with_tx

* add helper created_address

* add error to database error

* ext journal with state

* fix: handle inspector final return

* call final_return

* expose precompile addresses to Journal

* precompile addresses fn for journal

* feat: align Block trait

* fix mul
* feat: add erc20_gas and impl PreExecutionHandler

* feat: shorten

* feat: impl post execution trait

* feat: impl Erc20PostExecution new

* fix: Erc20PostExecutionError

* feat: add validation

* feat: add main and fix imports

* feat: complete impl

* feat: organize handlers

* chore: remove pub

* feat: custom evm with generic handlers

* chore: naming

* fix address

* fix workspace test

* fix workspace test

* clippy

* resolve merge

* cleanup and doc
* chore: integrate rust-secp256k1

* parity version

* fmt

* dep

* restructure,cleanup and order of activation

* rm comments

---------

Co-authored-by: rakita <dragan0rakita@gmail.com>
* add bytecode hash to interpreter

* fmt

* lazy setting bytecode_hash to prevent performance degradation

* move hash to extended bytecode

* remove trait bound

* Update crates/interpreter/src/interpreter/ext_bytecode.rs

* Update crates/interpreter/src/interpreter/ext_bytecode.rs

* Update crates/interpreter/src/interpreter/ext_bytecode.rs

* fix tests

* set hash for interpreter
* split inspector

* fixed errors

* fmt

* fixed failing test

* fmt

* clippy fix

* fmt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.