@@ -25,24 +25,25 @@ func TestBlockchain(t *testing.T) {
2525
2626 bt := new (testMatcher )
2727 // General state tests are 'exported' as blockchain tests, but we can run them natively.
28- bt .skipLoad (`^GeneralStateTests /` )
28+ bt .skipLoad (`^ValidBlocks/bcStateTests /` )
2929 // Skip random failures due to selfish mining test.
30- bt .skipLoad (`^bcForgedTest/bcForkUncle\.json` )
31- bt .skipLoad (`^bcMultiChainTest/(ChainAtoChainB_blockorder|CallContractFromNotBestBlock)` )
32- bt .skipLoad (`^bcTotalDifficultyTest/(lotsOfLeafs|lotsOfBranches|sideChainWithMoreTransactions)` )
33- // Slow tests
34- bt .slow (`^bcExploitTest/DelegateCallSpam.json` )
35- bt .slow (`^bcExploitTest/ShanghaiLove.json` )
36- bt .slow (`^bcExploitTest/SuicideIssue.json` )
37- bt .slow (`^bcForkStressTest/` )
38- bt .slow (`^bcGasPricerTest/RPC_API_Test.json` )
39- bt .slow (`^bcWalletTest/` )
30+ bt .skipLoad (`.*bcForgedTest/bcForkUncle\.json` )
31+ bt .skipLoad (`.*bcMultiChainTest/(ChainAtoChainB_blockorder|CallContractFromNotBestBlock)` )
32+ bt .skipLoad (`.*bcTotalDifficultyTest/(lotsOfLeafs|lotsOfBranches|sideChainWithMoreTransactions)` )
33+
34+ // These are not formatted like the rest -- due to the large postState, the postState
35+ // was replaced by a hash, instead of a genesisAlloc map
36+ // See https://github.com/ethereum/tests/pull/616
37+ bt .skipLoad (`.*bcExploitTest/ShanghaiLove.json` )
38+ bt .skipLoad (`.*bcExploitTest/SuicideIssue.json` )
4039
41- // Still failing tests that we need to look into
42- //bt.fails(`^bcStateTests/suicideThenCheckBalance.json/suicideThenCheckBalance_Constantinople`, "TODO: investigate")
43- //bt.fails(`^bcStateTests/suicideStorageCheckVCreate2.json/suicideStorageCheckVCreate2_Constantinople`, "TODO: investigate")
44- //bt.fails(`^bcStateTests/suicideStorageCheckVCreate.json/suicideStorageCheckVCreate_Constantinople`, "TODO: investigate")
45- //bt.fails(`^bcStateTests/suicideStorageCheck.json/suicideStorageCheck_Constantinople`, "TODO: investigate")
40+ // Slow tests
41+ bt .slow (`.*bcExploitTest/DelegateCallSpam.json` )
42+ bt .slow (`.*bcExploitTest/ShanghaiLove.json` )
43+ bt .slow (`.*bcExploitTest/SuicideIssue.json` )
44+ bt .slow (`.*/bcForkStressTest/` )
45+ bt .slow (`.*/bcGasPricerTest/RPC_API_Test.json` )
46+ bt .slow (`.*/bcWalletTest/` )
4647
4748 bt .walk (t , blockTestDir , func (t * testing.T , name string , test * BlockTest ) {
4849 if err := bt .checkFailure (t , name , test .Run ()); err != nil {
0 commit comments