mirror of https://github.com/status-im/op-geth.git
tests: pull in new test suite, enable most block tests
This commit is contained in:
parent
28aea46ac0
commit
79bf69b556
|
@ -33,10 +33,11 @@ func TestBlockchain(t *testing.T) {
|
||||||
// Constantinople is not implemented yet.
|
// Constantinople is not implemented yet.
|
||||||
bt.skipLoad(`(?i)(constantinople)`)
|
bt.skipLoad(`(?i)(constantinople)`)
|
||||||
// Expected failures:
|
// Expected failures:
|
||||||
bt.fails("^TransitionTests/bcEIP158ToByzantium", "byzantium not supported")
|
|
||||||
bt.fails(`^TransitionTests/bcHomesteadToDao/DaoTransactions(|_UncleExtradata|_EmptyTransactionAndForkBlocksAhead)\.json`, "issue in test")
|
bt.fails(`^TransitionTests/bcHomesteadToDao/DaoTransactions(|_UncleExtradata|_EmptyTransactionAndForkBlocksAhead)\.json`, "issue in test")
|
||||||
bt.fails(`^bc(Exploit|Fork|Gas|Multi|Total|State|Random|Uncle|Valid|Wallet).*_Byzantium$`, "byzantium not supported")
|
|
||||||
bt.fails(`^bcBlockGasLimitTest/(BlockGasLimit2p63m1|TransactionGasHigherThanLimit2p63m1|SuicideTransaction|GasUsedHigherThanBlockGasLimitButNotWithRefundsSuicideFirst|TransactionGasHigherThanLimit2p63m1_2).*_Byzantium$`, "byzantium not supported")
|
// Still failing tests
|
||||||
|
bt.skipLoad(`^bcWalletTest.*_Byzantium$`)
|
||||||
|
bt.skipLoad(`^bcStateTests/suicideCoinbase.json.*_Byzantium$`)
|
||||||
|
|
||||||
bt.walk(t, blockTestDir, func(t *testing.T, name string, test *BlockTest) {
|
bt.walk(t, blockTestDir, func(t *testing.T, name string, test *BlockTest) {
|
||||||
if err := bt.checkFailure(t, name, test.Run()); err != nil {
|
if err := bt.checkFailure(t, name, test.Run()); err != nil {
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 85f6d7cc01b6bd04e071f5ba579fc675cfd2043b
|
Subproject commit 70e5862eb267226ca89fb9f395c97be1fdf6923a
|
Loading…
Reference in New Issue