This repository was archived by the owner on Sep 8, 2025. It is now read-only.
Commit d521ea2
Update ethereum/tests fixtures (#1224)
* fixtures: update to db8ae9de91c303caad3eb9354015c07a0ec3adc3
Rolls forwards up to 2018-01-22.
Passing of test_state_fixtures determined using `git bisect run`.
* tests/test_state_fixtures(): bump fixtures and mark new test `xfail`.
The upstream generated test is not sufficiently specific, and it's hard
to determine which of the two implementations is incorrect.
The principal author of the test case (Yoichi Hirai, github @pirapira)
seems currently unavailable, so it's difficult for me to get specific
details.
* eth/precompiles/modexp: fix complexity calc (length^2, not 2^2).
There was a typo in the "complexity" calculation function, a
special interim value from EIP-198 used to determine total gas
use.
The code path was never previously exercised.
NOTE: previous-commit "fixtures bump" was to commit:
9b1f07c58a70d1b17c4489c49eb9bebf4a27d290
Squashed commit:
tests: update "very big number" in test_modexp_gas_fee_calculation().
... and also fix that test's name, from "calculTation".
The very-big-number is not actually in EIP-198; the latter has
this to say:
> it’s not possible to provide enough gas to make that computation.
That's a bit cryptic, but the gist is that the most that can be
represented in a 256-bit number is
0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
which is
115792089237316195423570985008687907853269984665640564039457584007913129639935
and that's less than the
10684346944173007063723051170445283632835119638284563472873463025465780712173320789629146724657549280936306536701227228889744512638312451529980055895215896
required by this vector, or even the (erroneous)
708647586132375115992254428253169996062012306153720251921480414128428353393856280
that was in the test previously.
* fixtures: update to 61185fe4b8762118fe9ee318539683b47cb04ed6 + mark RevertInCreateInInit as xfail.
Rolls forwards up to 2018-03-01.
Break in `RevertInCreateInInit.json` determined by
`git bisect run`.
The test is marked `xfail` to expicitly highlight the fact.
This is done in 3 places - all are run as part of CI.
* fixtures: update to f4faae91c5ba192c3fd9b8cf418c24e627786312
Determined state tests as "good" by `git bisect run`.1 parent 971bc60 commit d521ea2
File tree
6 files changed
+52
-5
lines changed- eth/precompiles
- tests
- core/vm
- json-fixtures
- trinity/json-fixtures-over-rpc
6 files changed
+52
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| |||
Submodule fixtures updated 14326 files
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
35 | 49 | | |
36 | 50 | | |
37 | 51 | | |
38 | 52 | | |
39 | 53 | | |
| 54 | + | |
| 55 | + | |
40 | 56 | | |
41 | 57 | | |
42 | 58 | | |
43 | 59 | | |
44 | 60 | | |
45 | | - | |
| 61 | + | |
46 | 62 | | |
47 | 63 | | |
48 | 64 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
136 | 150 | | |
137 | 151 | | |
138 | 152 | | |
| |||
144 | 158 | | |
145 | 159 | | |
146 | 160 | | |
| 161 | + | |
| 162 | + | |
147 | 163 | | |
148 | 164 | | |
149 | 165 | | |
| |||
Lines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
95 | 108 | | |
96 | 109 | | |
97 | 110 | | |
| |||
162 | 175 | | |
163 | 176 | | |
164 | 177 | | |
| 178 | + | |
| 179 | + | |
165 | 180 | | |
166 | 181 | | |
167 | 182 | | |
| |||
0 commit comments