This repository was archived by the owner on Apr 18, 2025. It is now read-only.
Commit 3bf9bc2
authored
fix return/revert offset/len in handle_return for err cases (privacy-ethereum#1676)
### Description
geth_step.error is not enough. It only contains error inside geth trace,
only stack err and oog err. Exec_step.error contains all types of err we
recovered during parsing trace.
This pr will fix some failures of testool, like
`CreateOOGFromCallRefunds_d1(SStore_Refund_OoG)_g0_v0`
### Issue Link
[_link issue here_]
### Type of change
- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] This change requires a documentation update1 parent 63beeee commit 3bf9bc2
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1044 | 1044 | | |
1045 | 1045 | | |
1046 | 1046 | | |
1047 | | - | |
| 1047 | + | |
1048 | 1048 | | |
1049 | 1049 | | |
1050 | 1050 | | |
| |||
0 commit comments