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

fix(levm): modify transfer timing #1359

Merged
merged 60 commits into from
Dec 3, 2024
Merged
Changes from 1 commit
Commits
Show all changes
60 commits
Select commit Hold shift + click to select a range
bdcf1c8
Remove account from caché if coinbase fee is zero
maximopalopoli Nov 26, 2024
f5fe205
Merge branch 'main' into levm/fix/vmTests-fix-changes
maximopalopoli Nov 26, 2024
98d0429
Add initial account states to compare the changes if any
ilitteri Nov 26, 2024
95e219b
Cache current account update before modify target
maximopalopoli Nov 26, 2024
829d808
Use transactions gas_limit
maximopalopoli Nov 27, 2024
70a3e19
Don't cap the gas_limit with MAX_BLOCK_GAS_LIMIT
maximopalopoli Nov 27, 2024
47f5f65
Set sender account as current to in generic_call
maximopalopoli Nov 27, 2024
0efa701
Do not expand memory if size to expand is zero
maximopalopoli Nov 27, 2024
4585c1a
Add comments + fmt
maximopalopoli Nov 28, 2024
8a4cca1
Fix: use msg_sender instead of call_frame's to
maximopalopoli Nov 28, 2024
cee0dcf
general fmt
maximopalopoli Nov 28, 2024
0369471
Merge branch 'main' into levm/fix/vmTests-fix-changes
maximopalopoli Nov 28, 2024
dcb3559
Merge branch 'main' into levm/fix/vmTests-fix-changes
ilitteri Nov 28, 2024
2dc9f72
Fix: Use U256 in checked_shift right and left
maximopalopoli Nov 28, 2024
e94d0b5
Remove debug prints
maximopalopoli Nov 28, 2024
5e2c8be
Add todo comment for revert refunded gas
maximopalopoli Nov 28, 2024
06d25f2
Return EFTestRunnerError instead of using unwrap
maximopalopoli Nov 28, 2024
30e6f17
Remove TODO comment
maximopalopoli Nov 28, 2024
1060987
Move verify of expansion size to expansion_cost
maximopalopoli Nov 28, 2024
b911701
Change expansion_cost occurences
maximopalopoli Nov 28, 2024
76fab10
Change code offset and size in creates to usize
maximopalopoli Nov 28, 2024
44063e4
Merge branch 'main' into levm/fix/vmTests-fix-changes
maximopalopoli Nov 28, 2024
3af4753
Merge branch 'main' into levm/fix/vmTests-fix-changes
ilitteri Nov 28, 2024
fd59340
Cover border case in signexend implementation
maximopalopoli Nov 28, 2024
adf1ac5
Merge branch 'main' into levm/fix/vmTests-fix-changes
maximopalopoli Nov 28, 2024
ceb79b0
Mannually change CI things
maximopalopoli Nov 28, 2024
f1d02c8
Don't increase balance in coinbase fee if it's 0
maximopalopoli Nov 28, 2024
f7ae0a7
fmt changes
maximopalopoli Nov 28, 2024
5d17b28
Merge branch 'main' into levm/fix/vmTests-fix-changes
maximopalopoli Nov 29, 2024
5a52dbf
Fix selfdestruct behavior
maximopalopoli Nov 29, 2024
0cf5c1b
Add default touched accounts in call
maximopalopoli Nov 29, 2024
c9e1c88
Merge branch 'main' into levm/fix/vmTests-fix-changes
maximopalopoli Nov 29, 2024
e97e3b8
Fix balance decrease
maximopalopoli Nov 29, 2024
2efb821
fmt
maximopalopoli Nov 29, 2024
6c87ce0
Merge branch 'levm/fix/vmTests-fix-changes' into levm/fix/vmArithmeti…
maximopalopoli Nov 29, 2024
029cd43
Merge branch 'main' into levm/fix/vmTests-fix-changes
maximopalopoli Nov 29, 2024
65fee84
Revert "Mannually change CI things"
ilitteri Nov 29, 2024
fd8b91c
Remove commented code
maximopalopoli Nov 29, 2024
6ba52b7
return to previous selfdestruct implementation
maximopalopoli Nov 29, 2024
ba14b9b
Merge branch 'main' into levm/fix/vmTests-fix-changes
maximopalopoli Nov 29, 2024
464bfc8
Merge branch 'main' into levm/fix/vmTests-fix-changes
maximopalopoli Nov 29, 2024
4632fa3
Merge branch 'levm/fix/vmTests-fix-changes' into levm/fix/vmArithmeti…
maximopalopoli Nov 29, 2024
393e441
Count warm address in warm slot
maximopalopoli Nov 29, 2024
222d53f
Merge branch 'main' into levm/fix/count-warm-address-in-warm-slot
maximopalopoli Dec 2, 2024
9a924c5
Reset previous behavior in access_storage_slot
maximopalopoli Dec 2, 2024
ffd9b2f
Now delegate call dont transfer the value twice
maximopalopoli Dec 2, 2024
7e0267f
fmt changes
maximopalopoli Dec 2, 2024
eca9261
Merge branch 'main' into levm/fix/count-warm-address-in-warm-slot
maximopalopoli Dec 3, 2024
e0860ae
Merge branch 'main' into levm/fix/count-warm-address-in-warm-slot
maximopalopoli Dec 3, 2024
e3e6d78
Add calldata cost only if Result is success
maximopalopoli Dec 3, 2024
009bbd1
Comment debugs
maximopalopoli Dec 3, 2024
d547f43
Merge branch 'main' into levm/fix/count-warm-address-in-warm-slot
maximopalopoli Dec 3, 2024
4638ae5
fmt changes
maximopalopoli Dec 3, 2024
547c68a
Skip tests from vmPerformance folder
maximopalopoli Dec 3, 2024
0aee172
Transfer before the execution and revert that transfer in case of error
maximopalopoli Dec 3, 2024
8375e92
fmt changes
maximopalopoli Dec 3, 2024
c83bcf6
Merge branch 'main' into levm/fix/count-warm-address-in-warm-slot
maximopalopoli Dec 3, 2024
05222cf
general fmt
maximopalopoli Dec 3, 2024
b442542
remove dbg prints
maximopalopoli Dec 3, 2024
631b6ce
Update cmd/ef_tests/levm/runner/levm_runner.rs
ilitteri Dec 3, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fmt changes
  • Loading branch information
maximopalopoli committed Nov 28, 2024
commit f7ae0a7d30ab8d71f6b921331199cdef981f83e2
2 changes: 1 addition & 1 deletion crates/vm/levm/src/vm.rs
Original file line number Diff line number Diff line change
@@ -545,7 +545,7 @@ impl VM {

if !coinbase_fee.is_zero() {
self.increase_account_balance(coinbase_address, coinbase_fee)?;
}
}

report.new_state.clone_from(&self.cache);

Loading