Commit b946b7a
authored
core, miner: drop transactions from the same sender when error occurs (ethereum#27038)
This PR unifies the error handling in miner.
Whenever an error occur while applying a transaction, the transaction should be regarded as invalid and all following transactions from the same sender not executable because of the nonce restriction. The only exception is the `nonceTooLow` error which is handled separately.1 parent 230df98 commit b946b7a
2 files changed
+4
-19
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
139 | | - | |
| 139 | + | |
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
918 | 918 | | |
919 | 919 | | |
920 | 920 | | |
921 | | - | |
922 | | - | |
923 | | - | |
924 | | - | |
925 | | - | |
926 | 921 | | |
927 | 922 | | |
928 | 923 | | |
929 | 924 | | |
930 | 925 | | |
931 | | - | |
932 | | - | |
933 | | - | |
934 | | - | |
935 | | - | |
936 | 926 | | |
937 | 927 | | |
938 | 928 | | |
939 | 929 | | |
940 | 930 | | |
941 | 931 | | |
942 | | - | |
943 | | - | |
944 | | - | |
945 | | - | |
946 | | - | |
947 | 932 | | |
948 | | - | |
949 | | - | |
| 933 | + | |
| 934 | + | |
950 | 935 | | |
951 | | - | |
| 936 | + | |
952 | 937 | | |
953 | 938 | | |
954 | 939 | | |
| |||
0 commit comments