File tree Expand file tree Collapse file tree 2 files changed +19
-8
lines changed Expand file tree Collapse file tree 2 files changed +19
-8
lines changed Original file line number Diff line number Diff line change @@ -71,3 +71,10 @@ func TestBcWallet(t *testing.T) {
71
71
t .Fatal (err )
72
72
}
73
73
}
74
+
75
+ func TestBcGasPricer (t * testing.T ) {
76
+ err := RunBlockTest (filepath .Join (blockTestDir , "bcGasPricerTest.json" ), BlockSkipTests )
77
+ if err != nil {
78
+ t .Fatal (err )
79
+ }
80
+ }
Original file line number Diff line number Diff line change @@ -20,22 +20,26 @@ var (
20
20
vmTestDir = filepath .Join (baseDir , "VMTests" )
21
21
22
22
BlockSkipTests = []string {
23
+ // Fails in InsertPreState with: computed state root does not
24
+ // match genesis block bba25a96 0d8f85c8 Christoph said it will be
25
+ // fixed eventually
23
26
"SimpleTx3" ,
24
27
25
- // TODO: check why these fail
28
+ // These tests are not valid, as they are out of scope for RLP and
29
+ // the consensus protocol.
26
30
"BLOCK__RandomByteAtTheEnd" ,
27
31
"TRANSCT__RandomByteAtTheEnd" ,
28
32
"BLOCK__ZeroByteAtTheEnd" ,
29
33
"TRANSCT__ZeroByteAtTheEnd" ,
30
-
31
- // TODO: why does this fail? should be check in ethash now
32
- "DifficultyIsZero" ,
33
-
34
- // TODO: why does this fail?
35
- "wrongMixHash" ,
36
34
}
35
+
36
+ /* Go does not support transaction (account) nonces above 2^64. This
37
+ technically breaks consensus but is regarded as "reasonable
38
+ engineering constraint" as accounts cannot easily reach such high
39
+ nonce values in practice
40
+ */
37
41
TransSkipTests = []string {"TransactionWithHihghNonce256" }
38
- StateSkipTests = []string {"mload32bitBound_return" , "mload32bitBound_return2" }
42
+ StateSkipTests = []string {}
39
43
VmSkipTests = []string {}
40
44
)
41
45
You can’t perform that action at this time.
0 commit comments