aboutsummaryrefslogtreecommitdiffstats
path: root/tests/block_test.go
diff options
context:
space:
mode:
authorMartin Holst Swende <martin@swende.se>2018-10-16 06:26:47 +0800
committerFelix Lange <fjl@users.noreply.github.com>2018-10-16 06:26:47 +0800
commit60827dc50fc0892f63fc79704c57b45cf34f991e (patch)
tree351d66c284989acde5f368f1e5f29890ce96894b /tests/block_test.go
parent2e98631c5e5724bea1a29b877929b4911bf50b86 (diff)
downloaddexon-60827dc50fc0892f63fc79704c57b45cf34f991e.tar
dexon-60827dc50fc0892f63fc79704c57b45cf34f991e.tar.gz
dexon-60827dc50fc0892f63fc79704c57b45cf34f991e.tar.bz2
dexon-60827dc50fc0892f63fc79704c57b45cf34f991e.tar.lz
dexon-60827dc50fc0892f63fc79704c57b45cf34f991e.tar.xz
dexon-60827dc50fc0892f63fc79704c57b45cf34f991e.tar.zst
dexon-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.go8
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)