aboutsummaryrefslogtreecommitdiffstats
path: root/tests/block_test.go
diff options
context:
space:
mode:
authorMartin Holst Swende <martin@swende.se>2018-09-04 16:49:18 +0800
committerFelix Lange <fjl@users.noreply.github.com>2018-09-04 16:49:18 +0800
commit32f28a9360d26a661d55915915f12fd3c70f012b (patch)
tree870134b45677ea479b6fca7983d48eb362c12b4d /tests/block_test.go
parent6a33954731658667056466bf7573ed1c397f4750 (diff)
downloadgo-tangerine-32f28a9360d26a661d55915915f12fd3c70f012b.tar
go-tangerine-32f28a9360d26a661d55915915f12fd3c70f012b.tar.gz
go-tangerine-32f28a9360d26a661d55915915f12fd3c70f012b.tar.bz2
go-tangerine-32f28a9360d26a661d55915915f12fd3c70f012b.tar.lz
go-tangerine-32f28a9360d26a661d55915915f12fd3c70f012b.tar.xz
go-tangerine-32f28a9360d26a661d55915915f12fd3c70f012b.tar.zst
go-tangerine-32f28a9360d26a661d55915915f12fd3c70f012b.zip
core/vm, tests: update tests, enable constantinople statetests, fix SAR opcode (#17538)
This commit does a few things at once: - Updates the tests to contain the latest data from ethereum/tests repo. - Enables Constantinople state tests. This is needed to be able to fuzz-test the evm with constantinople rules. - Fixes the error in opSAR that we've known about for some time. I was kind of saving it to see if we hit upon it with the random test generator, but it's difficult to both enable the tests and have the bug there -- we don't want to forget about it, so maybe it's better to just fix it.
Diffstat (limited to 'tests/block_test.go')
-rw-r--r--tests/block_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/block_test.go b/tests/block_test.go
index 669d3ca08..c91119929 100644
--- a/tests/block_test.go
+++ b/tests/block_test.go
@@ -30,11 +30,11 @@ func TestBlockchain(t *testing.T) {
bt.skipLoad(`^bcForgedTest/bcForkUncle\.json`)
bt.skipLoad(`^bcMultiChainTest/(ChainAtoChainB_blockorder|CallContractFromNotBestBlock)`)
bt.skipLoad(`^bcTotalDifficultyTest/(lotsOfLeafs|lotsOfBranches|sideChainWithMoreTransactions)`)
- // Constantinople is not implemented yet.
- bt.skipLoad(`(?i)(constantinople)`)
+ // This test is broken
+ bt.fails(`blockhashNonConstArg_Constantinople`, "Broken test")
// Still failing tests
- bt.skipLoad(`^bcWalletTest.*_Byzantium$`)
+ // bt.skipLoad(`^bcWalletTest.*_Byzantium$`)
bt.walk(t, blockTestDir, func(t *testing.T, name string, test *BlockTest) {
if err := bt.checkFailure(t, name, test.Run()); err != nil {