tests: update tests, implement no-pow blocks (#17902)
This commit updates our tests with the latest and greatest from ethereum/tests. It also contains implementation of NoProof for blockchain tests.
This commit is contained in:
committed by
Felix Lange
parent
2e98631c5e
commit
60827dc50f
@ -30,8 +30,6 @@ func TestBlockchain(t *testing.T) {
|
||||
bt.skipLoad(`^bcForgedTest/bcForkUncle\.json`)
|
||||
bt.skipLoad(`^bcMultiChainTest/(ChainAtoChainB_blockorder|CallContractFromNotBestBlock)`)
|
||||
bt.skipLoad(`^bcTotalDifficultyTest/(lotsOfLeafs|lotsOfBranches|sideChainWithMoreTransactions)`)
|
||||
// This test is broken
|
||||
bt.fails(`blockhashNonConstArg_Constantinople`, "Broken test")
|
||||
// Slow tests
|
||||
bt.slow(`^bcExploitTest/DelegateCallSpam.json`)
|
||||
bt.slow(`^bcExploitTest/ShanghaiLove.json`)
|
||||
@ -40,6 +38,12 @@ func TestBlockchain(t *testing.T) {
|
||||
bt.slow(`^bcGasPricerTest/RPC_API_Test.json`)
|
||||
bt.slow(`^bcWalletTest/`)
|
||||
|
||||
// Still failing tests that we need to look into
|
||||
//bt.fails(`^bcStateTests/suicideThenCheckBalance.json/suicideThenCheckBalance_Constantinople`, "TODO: investigate")
|
||||
//bt.fails(`^bcStateTests/suicideStorageCheckVCreate2.json/suicideStorageCheckVCreate2_Constantinople`, "TODO: investigate")
|
||||
//bt.fails(`^bcStateTests/suicideStorageCheckVCreate.json/suicideStorageCheckVCreate_Constantinople`, "TODO: investigate")
|
||||
//bt.fails(`^bcStateTests/suicideStorageCheck.json/suicideStorageCheck_Constantinople`, "TODO: investigate")
|
||||
|
||||
bt.walk(t, blockTestDir, func(t *testing.T, name string, test *BlockTest) {
|
||||
if err := bt.checkFailure(t, name, test.Run()); err != nil {
|
||||
t.Error(err)
|
||||
|
Reference in New Issue
Block a user