aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2017-08-23 19:39:37 +0800
committerGitHub <noreply@github.com>2017-08-23 19:39:37 +0800
commit3c48a25762dfab9382791c33a2f5832466077ac3 (patch)
tree648c275563b46ba45e289774a40a0a761d16fc66 /tests
parent286ec5df40d3707a7a2c98d49c8d324372ed29c2 (diff)
parent4ee92f2d193225e70c190194d005a6ce80e70236 (diff)
downloaddexon-3c48a25762dfab9382791c33a2f5832466077ac3.tar
dexon-3c48a25762dfab9382791c33a2f5832466077ac3.tar.gz
dexon-3c48a25762dfab9382791c33a2f5832466077ac3.tar.bz2
dexon-3c48a25762dfab9382791c33a2f5832466077ac3.tar.lz
dexon-3c48a25762dfab9382791c33a2f5832466077ac3.tar.xz
dexon-3c48a25762dfab9382791c33a2f5832466077ac3.tar.zst
dexon-3c48a25762dfab9382791c33a2f5832466077ac3.zip
Merge pull request #15014 from rjl493456442/metropolis-eip658
core: add status as a consensus field in receipt
Diffstat (limited to 'tests')
-rw-r--r--tests/block_test.go7
-rw-r--r--tests/state_test_util.go2
m---------tests/testdata0
3 files changed, 5 insertions, 4 deletions
diff --git a/tests/block_test.go b/tests/block_test.go
index 6fc66b17c..066f28034 100644
--- a/tests/block_test.go
+++ b/tests/block_test.go
@@ -33,10 +33,11 @@ func TestBlockchain(t *testing.T) {
// Constantinople is not implemented yet.
bt.skipLoad(`(?i)(constantinople)`)
// Expected failures:
- bt.fails("^TransitionTests/bcEIP158ToByzantium", "byzantium not supported")
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) {
if err := bt.checkFailure(t, name, test.Run()); err != nil {
diff --git a/tests/state_test_util.go b/tests/state_test_util.go
index 2bf940bab..0eb85ab28 100644
--- a/tests/state_test_util.go
+++ b/tests/state_test_util.go
@@ -156,7 +156,7 @@ func (t *StateTest) Run(subtest StateSubtest, vmconfig vm.Config) error {
gaspool := new(core.GasPool)
gaspool.AddGas(block.GasLimit())
snapshot := statedb.Snapshot()
- if _, _, err := core.ApplyMessage(evm, msg, gaspool); err != nil {
+ if _, _, _, err := core.ApplyMessage(evm, msg, gaspool); err != nil {
statedb.RevertToSnapshot(snapshot)
}
if post.Logs != nil {
diff --git a/tests/testdata b/tests/testdata
-Subproject 85f6d7cc01b6bd04e071f5ba579fc675cfd2043
+Subproject 70e5862eb267226ca89fb9f395c97be1fdf6923