-
Notifications
You must be signed in to change notification settings - Fork 2.2k
bump(revm
: step 2): bump alloy
+ revm
+ alloy-evm
+ other deps to latest
#10454
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
Merged
Merged
Changes from 250 commits
Commits
Show all changes
282 commits
Select commit
Hold shift + click to select a range
8946aa3
restructure, move out of utils into evm, precompiles and future handlers
zerosnacks 24a7e83
clean up
zerosnacks 2f671e5
clean up
zerosnacks dd0a072
improve docs
zerosnacks f15710c
scaffold handler
zerosnacks 3269e90
evaluate how to add handles
zerosnacks c42e152
prefer EnvRef over EnvMut
zerosnacks 523a7b6
address feedback of owned env
zerosnacks 28dc375
revert get_or_insert_map workaround
zerosnacks 58a8994
avoid changing types, leave mut where previously, avoid unnecessary mut
zerosnacks b7e2484
start layout out handler registry connected to evm
zerosnacks b08e41b
get create2 from frame inputs
zerosnacks ed210a3
start adding create2 handler
zerosnacks 73141a9
continue create2handler
zerosnacks 242df6b
wrap up create2 handler
zerosnacks ba5d558
clean up
zerosnacks 9f935a2
continue fixing types
zerosnacks 94c94a7
generalize precompiles
zerosnacks eff2a0c
clean up
zerosnacks d6ac47d
tag inline
zerosnacks 0429e63
Merge branch 'master' into zerosnacks/revm-bump-2
zerosnacks 8534afc
fix imports
zerosnacks 7742e25
start fixing cheatcode types
zerosnacks df22fcc
use `env` on handler
zerosnacks 3469e1c
clean up
zerosnacks 02ebd02
temp revert
zerosnacks 268e1b7
odyssey precompile was deprecated
zerosnacks 0e2085d
refix cheatcode types
zerosnacks de3e8f7
merge in master
zerosnacks f69d141
clean up
zerosnacks 30a6284
still facing issues with borrow-checker, double mut
zerosnacks eb3142e
open questions around passing around env
zerosnacks 5fb9554
minor fix
zerosnacks 2a4bfa4
for now work around mutability limitations by limited cloning, unclea…
zerosnacks 270dbad
continue fixing types, still issues around cheatcodes, inspector
zerosnacks 12c3b71
merge in master
zerosnacks 6ed3ae7
bump revm
zerosnacks f0fca47
bump deps
zerosnacks ed7c35c
minor type fixes
zerosnacks 25440e8
bump foundry-fork-db to handle c-kzg build issue
zerosnacks 464b39e
bump rust version
zerosnacks 7b0279b
utilize Host, ContextTr, JournalTr to avoid double mutable borrows
zerosnacks 0daddb8
temp revert
zerosnacks 2e3107e
merge in master
zerosnacks cc045f2
temp revert
zerosnacks 926db33
restore handler, improve types
zerosnacks a25b13b
refactor types
zerosnacks 695f0ff
restore types
zerosnacks fc5b1ec
restore, clean up
zerosnacks 4f24fb6
continue fixing types
zerosnacks 11146d7
clean up
zerosnacks 44afdd2
Merge branch 'master' into zerosnacks/revm-bump-2
zerosnacks 9b27ff2
continue fixing types
zerosnacks ec10771
Merge branch 'master' into zerosnacks/revm-bump-2
zerosnacks 8957990
revert journal env cloning, still issues around double borrows
zerosnacks 32c7201
fix core types per conversation, use EnvMut<'_>
zerosnacks db518f3
merge in master
zerosnacks 2db1c84
fix types
zerosnacks 4849341
more progress for foundry-evm
klkvr 9735c08
mutate outcome in place
zerosnacks 756ac40
temp revert exec_create
zerosnacks efebbf6
some progress with porting with_evm core loop
zerosnacks c589110
remove redundant types
zerosnacks 61a9338
context -> test_context in Cheatcodes config
zerosnacks 6373a24
construct new handler, wrapping evm context, imports Handler trait
zerosnacks 106cdf4
temporarily comment out exec_create section to unblock
zerosnacks 1eb2ca8
add replacement of EnvWithHandlerCfg
zerosnacks 10cd5bf
minor fixes
zerosnacks 8a908af
continue fixing types
zerosnacks 8968b00
continue fixing types
zerosnacks c42649f
fix merge conflict
zerosnacks 479b151
continue fixing types
zerosnacks 2f5c2ec
continue fixing types
zerosnacks 27bf832
continue types
zerosnacks a978d45
fix cached_env
zerosnacks 28c0e9e
remove possibly incorrect handling of CreateOutcome on methods like d…
zerosnacks ab40c0f
add custom_printer from revm19, porting for compatibility
zerosnacks 2d4f538
cast: fix types
zerosnacks 3d607f3
verify: fix types
zerosnacks 7a6b9c1
forge + script: fix types
zerosnacks e20d2a6
anvil: start fixing types
zerosnacks 8d06e42
anvil: continue porting types
zerosnacks b94f25f
anvil: continue porting types
zerosnacks 905b253
anvil: continue porting types
zerosnacks 9fbeb83
anvil: continue porting types, small fix in foundry-evm
zerosnacks 7ecf953
use AnvilEvm
zerosnacks 93543f6
fix merge conflict
zerosnacks 20383c1
stash optimism hardfork specifics for now
zerosnacks 630ffc4
temp mute anvil use in forge
zerosnacks 92f2465
apply apparant fixes, test still failing
zerosnacks 0586f90
clean up
zerosnacks 5843f31
revert to replay
zerosnacks 5005376
apply possible nonce 0/1 fixes, committed to proceed
zerosnacks c78af12
disable nonce check in local_evm_env
zerosnacks 73f1842
undo is_odyssey remove
zerosnacks e3d51f3
always spawn evm with handler
zerosnacks ad855f5
replay() -> inspect_replay()
zerosnacks b8dfec2
modify macro, comment out anvil related cast tests for the time being
zerosnacks 3624b54
reapply state depth = 1
zerosnacks e4b3493
something like this?
zerosnacks 058731e
introduce outer block for early return
zerosnacks 25a5ce7
print debugging
zerosnacks 1d28788
clean up
zerosnacks 34face7
merge in master, note no known equivalent of bytecode_address, to do
zerosnacks ab71127
fix merge
zerosnacks 100f72c
migrate: anvil to revm 21 (#10361)
yash-atreya 4aa7b08
merge in master
zerosnacks c7d41af
intermediary(`revm bump`): re-enable Anvil tests, remove duplicate `L…
zerosnacks 69c1e57
fix merge conflicts
zerosnacks 0c11f5a
disable nonce checks on forks, enforce setting of tx.nonce on set_nonce
zerosnacks 6ada1ed
fix: use `transact` from alloy-evm (#10417)
yash-atreya 0957ba6
Merge branch 'master' into zerosnacks/revm-bump-2
zerosnacks f70e0b0
Patch revm to fix interpreter panic
grandizzy 95f0c15
bump revm
klkvr 00ae885
fix eof test
klkvr fe0340a
fix bytecode hash
klkvr 3145a9a
fix fixture
klkvr 22c9073
fix fixture
klkvr ab95c68
fix fixture
klkvr e3c8602
chore: mv EitherEvm to foundry_evm (#10445)
yash-atreya 645cef6
remove unused JournalTr
zerosnacks 1908428
restore formatting, avoid diff
zerosnacks 9e2af65
merge in master, fix merge conflict
zerosnacks 38ffcf8
remove leftover comment re: optimism support
zerosnacks 741afe1
fix displays_chained_error test
zerosnacks 647ba04
fix doc test
zerosnacks 078d14c
remove optimism todo leftover
zerosnacks 2165526
avoid direct field assignment, prefer *current.
zerosnacks d08fa08
create2 handler register
klkvr d8d8b97
fix patch
klkvr 10cd73d
fix test_broadcast_raw_create2_deployer
klkvr 2b4acf4
bump alloy and related deps
yash-atreya 98f5249
fix: common
yash-atreya 52eeac5
fix gas meter test
zerosnacks 7431dc9
fix
yash-atreya f193acb
fix: ConsoleFmt proc_macro
yash-atreya 9a75cc0
more fixes
yash-atreya 0142e17
fix: validate bool removal from abi_decode_*
yash-atreya f02addf
fix: use take_slice instead of take_slice_unchecked in Decoder
yash-atreya e2d9101
fix more validate bool removal
yash-atreya 30c93ea
correctly reset env.tx to cached env, cfg and block, ref https://gith…
zerosnacks c098b46
address more alloy-core 1.0 breaking changes
yash-atreya 0a9cbaf
fix anvil
yash-atreya c9449f9
exec_create
klkvr f44cdf4
fix cast
yash-atreya 3d3bc96
bump gcloudsdk in wallets
yash-atreya 57fb11b
fix(`cheatcodes`): rand workaround
yash-atreya 4832b10
revert test_GasMeter, assert exact gas used
zerosnacks 5b47a33
Merge branch 'zerosnacks/revm-bump-2' of github.com:foundry-rs/foundr…
zerosnacks 2f09b68
fix arbitrum test
klkvr 5c290d3
address deprecations
yash-atreya e25d45c
doc test fixes
zerosnacks d4d1313
fix clippy warnings
zerosnacks fd702f5
Merge branch 'zerosnacks/revm-bump-2' of github.com:foundry-rs/foundr…
zerosnacks 0e28b8a
remove leftover comment
zerosnacks 95cd68f
fix assert_can_detect_unlinked_target_with_libraries, ref: https://gi…
zerosnacks 13f3bc1
fix gas metering tests
klkvr 8ce5c47
restore unintended .wrap_err changes, ref: https://github.com/search?…
zerosnacks a682067
fix test_cheats_local_default
klkvr e823899
Merge branch 'master' into zerosnacks/revm-bump-2
klkvr 569fca9
add CC0-1.0 license exception, has been previously approved in Reth: …
zerosnacks 91bd0a2
usize depth
klkvr 959a00f
repin foundry-fork-db, this aligns the revm and alloy version back
zerosnacks f25ca3f
Merge branch 'zerosnacks/revm-bump-2' of github.com:foundry-rs/foundr…
zerosnacks aca65af
fix clippy, after usize depth change
zerosnacks 9fdd30d
allow foundry-fork-db as git exception
zerosnacks 35f84a4
revm 23
yash-atreya 0bae474
fix: EitherEvm should work over OpTransaction
yash-atreya 91baf54
bump compilers and explorers
yash-atreya cfd7292
Merge branch 'master' into zerosnacks/revm-bump-2
zerosnacks 5ccf7de
fix fmt
zerosnacks 4f07ea3
Merge branch 'zerosnacks/revm-bump-2' of github.com:foundry-rs/foundr…
zerosnacks 5b5fc8c
Env::from_with_spec_id -> Env::new_with_spec_id
zerosnacks 97470d3
bump clippy msrv to align with foundry.toml
zerosnacks 593225f
fix merge conflict
zerosnacks 2d6312d
chore: avoid leaking Anvil specific optimism fields into evm/core (#1…
zerosnacks a928abc
fix merge conflict
zerosnacks fc6b765
refactor anvil Env and reduce changes in tx processing
klkvr c7c1162
Merge branch 'master' into zerosnacks/revm-bump-2
klkvr 76b5e37
merge in master, fix merge conflicts, attempt to bump / align deps
zerosnacks dd0d5e4
apply revm bump fixes, solar fixes
zerosnacks 5cde72b
Merge branch 'master' into yash/revm-alloy-bumps
zerosnacks 031e060
Merge branch 'master' into zerosnacks/revm-bump-2
zerosnacks a703ff1
merge in upstream
zerosnacks 9609de1
bump op-alloy-*
zerosnacks 5762908
bump to msrv 1.86 for solar, use 0.15.* for alloy instead of pinning …
zerosnacks 4e3f71d
fix: correctly set txtype when setting up TxEnv
klkvr 7aa4cc2
start upgrading to revm 23
zerosnacks d572707
bump PR to be revm 23+ compatible
zerosnacks 3f954d5
merge in fixes from upstream
zerosnacks 7e2b0ea
fix: correctly set txtype when setting up TxEnv
klkvr c81e241
Merge branch 'zerosnacks/revm-bump-2' of github.com:foundry-rs/foundr…
zerosnacks 1aa5a8d
Merge branch 'zerosnacks/revm-bump-2' into yash/revm-alloy-bumps
zerosnacks 4b4da4a
fix: correctly set txtype when setting up TxEnv
klkvr 69ce947
clean up
zerosnacks 7478f52
fix merge conflicts
zerosnacks c2c8d5a
fix merge conflict, apply fixes from upstream
zerosnacks 69ece68
bump to 0.7.2
zerosnacks a47f2cd
fix order
zerosnacks a032ce2
update block-explorers and compilers
zerosnacks f088549
fix clippy
zerosnacks 24cbd03
fix failing abi test
klkvr e9e96fe
empty
klkvr 67c11cd
integrate BlobParams into anvil
klkvr f3bd2f4
fix tests
klkvr 8886129
fix cast decode-event
klkvr 7db5df3
fix tests
klkvr 9b44dcf
fix colored_traces
klkvr d0b8bbd
fix gas pausing
klkvr cdfe0f5
fix tests
klkvr 312b274
fix test
klkvr 2bb2ffd
Merge branch 'master' into zerosnacks/revm-bump-2
zerosnacks fb53456
update last commits from master to be u64 compatible
zerosnacks a524116
merge in upstream changes
zerosnacks 312a5fd
syn no longer implements PartialEq requiring us to use `matches!`
zerosnacks 9ea7ff4
Merge branch 'master' into zerosnacks/revm-bump-2
klkvr ccc2c70
Merge branch 'zerosnacks/revm-bump-2' into yash/revm-alloy-bumps
zerosnacks 812f61f
temp comment out journal push loop
zerosnacks 766f60f
fix clippy lint
zerosnacks fec95f2
revert clippy changes, make sure lint-foundry uses nightly clippy ver…
zerosnacks de5be3d
Merge branch 'zerosnacks/revm-bump-2' into yash/revm-alloy-bumps
zerosnacks f8b4c7c
fix merge conflict
zerosnacks 7fee967
Merge branch 'zerosnacks/revm-bump-2' into yash/revm-alloy-bumps
zerosnacks ad13f87
also assert that blob_count is less than the configured max_blob_count
zerosnacks 4e6c62f
fix: only upgrade tx_type to eip-2930 (type 1) if it is a legacy tx
zerosnacks 5244a40
optimistically remove previous workaround that was required for inter…
zerosnacks 5a28624
nit
zerosnacks a241455
prefer using typed TransactionType over raw u8
zerosnacks 9a4fb2b
apply tx_type if set, upgrading from legacy to eip2930 if access_list…
zerosnacks fcfaa25
restore #[ret] macro that was removed unintendedly
zerosnacks 5ad9091
replace redundant Env::new_with_spec_id(..) with default
zerosnacks d6aa9a0
allow passing is_optimism into Env constructor specific to Anvil
zerosnacks 78c94f7
extract environment configuration into init.rs to make configuring th…
zerosnacks f1acfc4
merge in master, add some tests to make sure immediate_size change ap…
zerosnacks 21ef359
remove redundant debug derive
zerosnacks d8e6d5a
restore #[cold] do hardhat log, previously preferred inline because o…
zerosnacks ec23a38
avoid code duplication, add documented `apply_accesslist`
zerosnacks 19a9289
fix merge conflicts stemming from https://github.com/foundry-rs/found…
zerosnacks 10826a9
alloy 1.0 + fork-db 0.14 + op-alloy 0.16 + revm-insp 0.22 + block-exp…
yash-atreya 8468c46
fix clippy
zerosnacks 7392f81
Merge branch 'master' into zerosnacks/revm-bump-2
zerosnacks 46460a5
fix merge conflict from master
zerosnacks 1d591cd
Update crates/evm/evm/src/inspectors/logs.rs
zerosnacks 8998b84
fix fmt
zerosnacks 89c5e83
set env tx type by deriving tx type from other fields if no transacti…
zerosnacks 31d8943
use hardfork configured max_blob_count rather than hardcoded Dancun i…
zerosnacks 2305bbf
add temporary workaround for failing StdChains test because eth.llama…
zerosnacks 777badb
merge in latest master
zerosnacks a78a8a6
bump(`revm`: step 3): reintroduce precompile injection (#10508)
zerosnacks 429a90a
bump deps to latest
zerosnacks File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This currently pins to bluealloy/revm#2512 that we rely on, not yet included in a 23.* release
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ref: bluealloy/revm#2527
Pending release