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

feat: added counter example #34

Draft
wants to merge 105 commits into
base: main
Choose a base branch
from
Draft

feat: added counter example #34

wants to merge 105 commits into from

Conversation

kbooz
Copy link
Member

@kbooz kbooz commented Feb 21, 2025

No description provided.

rakita and others added 30 commits December 5, 2024 20:02
* feat: Restructure Part7 Handler Wire

* wip

* wip of frames

* work on Frame calls

* Wip Frame and Exec wire

* compile handler wires

* fmt

* Hand from Handler replacement

* Interpreter traits

* interpreter popn calls

* wip Interpreter refactor, all instructions compile

* compiles without precompiles

* precompile and instruction table wip

* precompile run wip

* simple revm statetest run

* Example of inspector in revme

* small cleanup for presentation

* context interface

* handler and context interface crates

* small cleanup

* fmt

* Inspector wip

* rename and wip Inspector

* fixes

* fix bugs, mv spec to cfg

* fix for tests

* fix eof bugs

* no_std compile fix

* few fixes

* clippy

* cleanup

* remvme bench, builder for context

* inline somethings

* clippy

* example of block traces

* enable examples

* op handlers

* Add op precompiles

* some ci fixes

* fix tests

* fix docs

* simplifications, cleanup

* enable evm run cmd

* must use on chained fn

* cleanup
Signed-off-by: wangjingcun <wangjingcun@aliyun.com>
* Update README.md examples section

* Update README.md

* Update README.md
* chore: update select alloy crates to 0.6

* fix: bumped types

* Update examples/block_traces/src/main.rs

* Update examples/block_traces/src/main.rs

* Update examples/block_traces/src/main.rs
* implement serde for interpreter

* add bytecode check

* remove bytecode check

* remove defaults generic params

* add sanity check + cargo fmt

* modify panic message
…#1910)

* 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
…1916)

* 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
…ealloy#1827)

* 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
rakita and others added 30 commits February 8, 2025 01:25
* chore: Bump licence year to 2025

* chore: backport handle isthmus operator fee
* chore: Add helpers with_inspector with_precompile

* chore: fn inspector()

* chore: consumes evm into inspector

* inspect previous with tx
* Optimize gas cost subtraction by using checked_sub for safer arithmetic bluealloy#1884

* Optimize gas cost subtraction by using checked_sub for safer arithmetic

* Optimize gas cost subtraction by using checked_sub for safer arithmetic

* Update crates/interpreter/src/gas.rs 

* Update crates/interpreter/src/gas.rs
* chore: rm clone from PrecompileProvider

* clonable spec

* relax evm transact

* inspect relaxed trait for evm
* refactor: remove OpSpec

* Add default

* fix

* fmt

* fix
* chore: backport op l1 fetch perf

* bump versions and rm comment

* fmt
* chore: backport op l1 fetch perf

* bump versions and rm comment

* fmt

* fix(compile): no_std for revm-database

* add database to ci

* fix ci
* feat: Introduce Auth and AccessList traits

* add recovery to context interface
…uealloy#2075)

* Split Inspector trait from EthHandler into standalone crate

* and now with run_inspect call

* no std

* docs
* book: wip

* wip book

* structure of the book

* ci book, note about wip book

* git ignore

* rm generated book

* fix book links

* ignore incomplete codes

* Change perm for readme.md

* fix

* test

* test

* chmod 777

* 777 folder

* 777 folder

* change mod of root folder

* move file for mdbook test

* base link

* base link
* feat: Rename NameTrait to NameT

* chore: Rename NameTrait to NameTr

* rest of it

* fea more traits
* set alpha.1 version

* main logs and bump versions

* main changelog
* refactor: re-export all crates from revm

* fix

* interface
* chore(deps): bump breaking deps

* chore: cargo update

```
    Updating crates.io index
     Locking 73 packages to latest compatible versions
    Updating alloy-chains v0.1.56 -> v0.1.62
    Updating alloy-json-abi v0.8.19 -> v0.8.21
    Updating alloy-primitives v0.8.19 -> v0.8.21
    Updating alloy-sol-macro v0.8.19 -> v0.8.21
    Updating alloy-sol-macro-expander v0.8.19 -> v0.8.21
    Updating alloy-sol-macro-input v0.8.19 -> v0.8.21
    Updating alloy-sol-type-parser v0.8.19 -> v0.8.21
    Updating alloy-sol-types v0.8.19 -> v0.8.21
    Updating alloy-trie v0.7.8 -> v0.7.9
    Updating async-trait v0.1.85 -> v0.1.86
    Updating aurora-engine-modexp v1.1.0 -> v1.2.0
    Updating bit-set v0.5.3 -> v0.8.0
    Updating bit-vec v0.6.3 -> v0.8.0
    Updating blst v0.3.13 -> v0.3.14
    Updating bumpalo v3.16.0 -> v3.17.0
    Updating bytes v1.9.0 -> v1.10.0
    Updating cc v1.2.10 -> v1.2.14
    Updating clap v4.5.26 -> v4.5.30
    Updating clap_builder v4.5.26 -> v4.5.30
    Updating clap_derive v4.5.24 -> v4.5.28
    Updating codspeed v2.7.2 -> v2.8.0
    Updating codspeed-criterion-compat v2.7.2 -> v2.8.0
      Adding const_format v0.2.34
      Adding const_format_proc_macros v0.2.34
    Updating cpufeatures v0.2.16 -> v0.2.17
    Updating crunchy v0.2.2 -> v0.2.3
    Updating equivalent v1.0.1 -> v1.0.2
      Adding getrandom v0.3.1
    Updating httparse v1.9.5 -> v1.10.0
    Updating hyper v1.5.2 -> v1.6.0
    Updating indexmap v2.7.0 -> v2.7.1
    Updating indicatif v0.17.9 -> v0.17.11
    Updating ipnet v2.10.1 -> v2.11.0
    Updating is-terminal v0.4.13 -> v0.4.15
    Updating itertools v0.13.0 -> v0.14.0
    Updating kzg-rs v0.2.4 -> v0.2.5
    Updating miniz_oxide v0.8.3 -> v0.8.4
    Updating native-tls v0.2.12 -> v0.2.13
    Updating once_cell v1.20.2 -> v1.20.3
    Updating openssl v0.10.68 -> v0.10.71
    Updating openssl-probe v0.1.5 -> v0.1.6
    Updating openssl-sys v0.9.104 -> v0.9.106
    Updating parity-scale-codec v3.6.12 -> v3.7.4
    Updating parity-scale-codec-derive v3.6.12 -> v3.7.4
    Updating pin-project v1.1.8 -> v1.1.9
    Updating pin-project-internal v1.1.8 -> v1.1.9
    Updating proptest v1.5.0 -> v1.6.0
    Updating ring v0.17.8 -> v0.17.9
    Updating ruint v1.12.4 -> v1.13.0
    Updating rustc-hash v2.1.0 -> v2.1.1
    Updating rustix v0.38.43 -> v0.38.44
    Updating rustls v0.23.21 -> v0.23.23
    Updating rustls-pki-types v1.10.1 -> v1.11.0
    Updating ryu v1.0.18 -> v1.0.19
    Updating semver v1.0.24 -> v1.0.25
    Updating serde_json v1.0.135 -> v1.0.138
    Updating smallvec v1.13.2 -> v1.14.0
    Updating sp1-lib v4.0.1 -> v4.1.1
    Updating sp1-primitives v4.0.1 -> v4.1.1
    Updating sp1_bls12_381 v0.8.0-sp1-4.0.0 -> v0.8.0-sp1-4.0.0-v2 (available: v0.8.0)
    Updating strum v0.26.3 -> v0.27.1
    Updating strum_macros v0.26.4 -> v0.27.1
    Updating syn v2.0.96 -> v2.0.98
    Updating syn-solidity v0.8.19 -> v0.8.21
    Updating tempfile v3.15.0 -> v3.17.1
    Updating toml_edit v0.22.22 -> v0.22.24
    Updating typenum v1.17.0 -> v1.18.0
    Updating unicode-ident v1.0.14 -> v1.0.16
      Adding uuid v1.13.2
    Updating wait-timeout v0.2.0 -> v0.2.1
      Adding wasi v0.13.3+wasi-0.2.2
    Updating winnow v0.6.24 -> v0.7.2
      Adding wit-bindgen-rt v0.33.0
```
* Update bls12_381.rs

* Update g1.rs

* Update g1_add.rs

* Update g1.rs

* Update g1_msm.rs

* Update g2.rs

* Update g2_add.rs

* Update g2_msm.rs

* Update map_fp_to_g1.rs

* Update map_fp2_to_g2.rs

* Update msm.rs

* Update pairing.rs

* Update utils.rs

* Add files via upload

* Update bls12_381.rs

* Update bls12_381_const.rs

* Update g1.rs

* Update g1_add.rs

* Update g1_msm.rs

* Update g2.rs

* Update g2_add.rs

* Update g2_msm.rs

* Update map_fp2_to_g2.rs

* Update map_fp_to_g1.rs

* Update pairing.rs

* Update utils.rs

* Delete crates/precompile/src/bls12_381/bls12_381_const.rs

* Update lib.rs

* Add files via upload

* Update utils.rs

* Update pairing.rs

* Update msm.rs

* Update map_fp_to_g1.rs

* Update map_fp2_to_g2.rs

* Update g2_msm.rs

* Update g2_add.rs

* Update g2.rs

* Update g1_msm.rs

* Update g1_add.rs

* Update g1.rs

* Update bls12_381.rs

* Update g1.rs

* Update g1_msm.rs

* Update g2.rs

* Update g2.rs

* Update g2_msm.rs

* Update g1_msm.rs

* Update g2.rs

* Update g1_add.rs

* Update g1_add.rs

* Update g1_msm.rs

* Update g1_add.rs

* Update g2_msm.rs

* Update map_fp2_to_g2.rs

* Update map_fp_to_g1.rs

* Update utils.rs

* Update bls12_381.rs

* Update g1_add.rs

* Update g1_msm.rs

* Update g2_msm.rs

* Update g2_msm.rs

* Update g2_msm.rs

* Update bls12_381_const.rs

* Update lib.rs

* Update map_fp2_to_g2.rs

* Update map_fp2_to_g2.rs

* Update map_fp2_to_g2.rs

* Update map_fp2_to_g2.rs
* fix(blst): Fix wrong constants value and usage

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

Successfully merging this pull request may close these issues.