Commit df69127
authored
tests(eip7823): Add implementation coverage tests for ModExp bounds (#2117)
Add 5 targeted test cases to improve EIP-7823 implementation coverage:
- all_exceed_check_ordering: Tests check ordering when all bounds exceed
- exp_mod_exceed_base_ok: Tests partial bound violations
- bitwise_pattern_base_exceed: Tests Nethermind bitwise optimization
- near_uint64_max_base: Tests revm integer conversion edge case
- zero_exp_mod_exceed: Tests zero exponent with modulus exceeding1 parent b1441c9 commit df69127
File tree
1 file changed
+47
-0
lines changed- tests/osaka/eip7823_modexp_upper_bounds
1 file changed
+47
-0
lines changedLines changed: 47 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
132 | 179 | | |
133 | 180 | | |
134 | 181 | | |
| |||
0 commit comments