File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -71,3 +71,10 @@ func TestBcWallet(t *testing.T) {
7171 t .Fatal (err )
7272 }
7373}
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 (
2020 vmTestDir = filepath .Join (baseDir , "VMTests" )
2121
2222 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
2326 "SimpleTx3" ,
2427
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.
2630 "BLOCK__RandomByteAtTheEnd" ,
2731 "TRANSCT__RandomByteAtTheEnd" ,
2832 "BLOCK__ZeroByteAtTheEnd" ,
2933 "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" ,
3634 }
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+ */
3741 TransSkipTests = []string {"TransactionWithHihghNonce256" }
38- StateSkipTests = []string {"mload32bitBound_return" , "mload32bitBound_return2" }
42+ StateSkipTests = []string {}
3943 VmSkipTests = []string {}
4044)
4145
You can’t perform that action at this time.
0 commit comments