diff options
author | Martin Holst Swende <martin@swende.se> | 2018-09-04 16:49:18 +0800 |
---|---|---|
committer | Felix Lange <fjl@users.noreply.github.com> | 2018-09-04 16:49:18 +0800 |
commit | 32f28a9360d26a661d55915915f12fd3c70f012b (patch) | |
tree | 870134b45677ea479b6fca7983d48eb362c12b4d /tests/block_test.go | |
parent | 6a33954731658667056466bf7573ed1c397f4750 (diff) | |
download | dexon-32f28a9360d26a661d55915915f12fd3c70f012b.tar dexon-32f28a9360d26a661d55915915f12fd3c70f012b.tar.gz dexon-32f28a9360d26a661d55915915f12fd3c70f012b.tar.bz2 dexon-32f28a9360d26a661d55915915f12fd3c70f012b.tar.lz dexon-32f28a9360d26a661d55915915f12fd3c70f012b.tar.xz dexon-32f28a9360d26a661d55915915f12fd3c70f012b.tar.zst dexon-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.go | 6 |
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 { |