This repository was archived by the owner on Sep 8, 2025. It is now read-only.
Commit 01b93d9
committed
no exception, just reset return data for insufficient funds
This is what the ethereum state tests are expecting. Though there are insufficient funds, we burn only the appropriate gas here. Rather than raising an InsufficientFunds exception (`burns_gas = True` - would burn all the gas), we just reset the return data and log the error. Same scenario when a stack depth limit has been reached.1 parent 53fa723 commit 01b93d9
File tree
3 files changed
+14
-16
lines changed- eth/vm/logic
- newsfragments
- tests/core/vm
3 files changed
+14
-16
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | 10 | | |
12 | | - | |
13 | 11 | | |
14 | 12 | | |
15 | 13 | | |
| |||
163 | 161 | | |
164 | 162 | | |
165 | 163 | | |
| 164 | + | |
166 | 165 | | |
167 | | - | |
168 | | - | |
169 | | - | |
| 166 | + | |
170 | 167 | | |
171 | | - | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
172 | 171 | | |
173 | 172 | | |
174 | 173 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | 13 | | |
15 | 14 | | |
16 | 15 | | |
| |||
76 | 75 | | |
77 | 76 | | |
78 | 77 | | |
79 | | - | |
| 78 | + | |
80 | 79 | | |
81 | 80 | | |
82 | 81 | | |
83 | | - | |
84 | | - | |
85 | | - | |
| 82 | + | |
| 83 | + | |
86 | 84 | | |
87 | 85 | | |
88 | 86 | | |
89 | 87 | | |
90 | 88 | | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
95 | 94 | | |
0 commit comments