diff options
author | Martin Holst Swende <martin@swende.se> | 2018-10-16 06:26:47 +0800 |
---|---|---|
committer | Felix Lange <fjl@users.noreply.github.com> | 2018-10-16 06:26:47 +0800 |
commit | 60827dc50fc0892f63fc79704c57b45cf34f991e (patch) | |
tree | 351d66c284989acde5f368f1e5f29890ce96894b /tests/block_test.go | |
parent | 2e98631c5e5724bea1a29b877929b4911bf50b86 (diff) | |
download | go-tangerine-60827dc50fc0892f63fc79704c57b45cf34f991e.tar go-tangerine-60827dc50fc0892f63fc79704c57b45cf34f991e.tar.gz go-tangerine-60827dc50fc0892f63fc79704c57b45cf34f991e.tar.bz2 go-tangerine-60827dc50fc0892f63fc79704c57b45cf34f991e.tar.lz go-tangerine-60827dc50fc0892f63fc79704c57b45cf34f991e.tar.xz go-tangerine-60827dc50fc0892f63fc79704c57b45cf34f991e.tar.zst go-tangerine-60827dc50fc0892f63fc79704c57b45cf34f991e.zip |
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.
Diffstat (limited to 'tests/block_test.go')
-rw-r--r-- | tests/block_test.go | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/block_test.go b/tests/block_test.go index 8315728a6..711a3f869 100644 --- a/tests/block_test.go +++ b/tests/block_test.go @@ -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) |