-
Notifications
You must be signed in to change notification settings - Fork 2.2k
bump(revm
: step 1): bump revm
to 21.0.0
release
#10183
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 137 commits
Commits
Show all changes
212 commits
Select commit
Hold shift + click to select a range
6933c85
start fixing imports
zerosnacks bc48af7
continue fixing imports
zerosnacks 1122da1
continue fixing imports
zerosnacks 85036e8
continue fixing imports
zerosnacks 03083a7
add alloy-evm
zerosnacks edb2455
fix known good changes
zerosnacks 1c11e70
more known good fixes
zerosnacks 5f4f8e5
more known good fixes
zerosnacks 94d8397
more known good fixes
zerosnacks 8d0e45f
more known good fixes, unclear how OptimismFields should be ported
zerosnacks bc856c4
start introducing crate::Env
zerosnacks eccc959
continue introducing crate::Env
zerosnacks 6bf4e91
fix cow types
zerosnacks c75903a
fix type
zerosnacks 39206bd
add journaledstate types, fix env types
zerosnacks 5208520
fix JournaledState = JournalInner<JournalEntry>
zerosnacks e3ecba7
fix types
zerosnacks b3e648e
fix merge type
zerosnacks d72eb16
add odyssey precompile
zerosnacks 5dbabaf
continue fixing type issues, handler abstraction
zerosnacks 933ea20
start working on create2 handler
zerosnacks 256a414
revert to type instead of struct, investigating handlers
zerosnacks 721845e
comment out accesslistinspector for now, needs to be addressed
zerosnacks 6404dab
fix imports, minor fixes
zerosnacks cab1d4f
imports, minor fixes, there is no equivalent of AuthorizationList - r…
zerosnacks 0d2dc86
more interpreter type fixes
zerosnacks e2d0db7
continue type fixes
zerosnacks bfa11ce
fix inspectorext
zerosnacks 396791e
start porting inspectors
zerosnacks d347f24
start adding custom evm
zerosnacks b31257a
continue adding custom FoundryEvm
zerosnacks 81f6c81
impl traits for FoundryEvm
zerosnacks 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 52eeac5
fix gas meter test
zerosnacks 30c93ea
correctly reset env.tx to cached env, cfg and block, ref https://gith…
zerosnacks c9449f9
exec_create
klkvr 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 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 0bae474
fix: EitherEvm should work over OpTransaction
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 031e060
Merge branch 'master' into zerosnacks/revm-bump-2
zerosnacks 4b4da4a
fix: correctly set txtype when setting up TxEnv
klkvr 2bb2ffd
Merge branch 'master' into zerosnacks/revm-bump-2
zerosnacks fb53456
update last commits from master to be u64 compatible
zerosnacks 9ea7ff4
Merge branch 'master' into zerosnacks/revm-bump-2
klkvr 766f60f
fix clippy lint
zerosnacks fec95f2
revert clippy changes, make sure lint-foundry uses nightly clippy ver…
zerosnacks f8b4c7c
fix merge conflict
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 19a9289
fix merge conflicts stemming from https://github.com/foundry-rs/found…
zerosnacks 7392f81
Merge branch 'master' into zerosnacks/revm-bump-2
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
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.