aboutsummaryrefslogtreecommitdiffstats
path: root/tests/state_test.go
diff options
context:
space:
mode:
authorMartin Holst Swende <martin@swende.se>2017-09-14 15:35:54 +0800
committerPéter Szilágyi <peterke@gmail.com>2017-09-14 15:35:54 +0800
commit9be07de5396527eb527f3ca0dd402213c0008a3e (patch)
tree9bf0efb8b97884f3cbf058aac8333b8e0c0e1536 /tests/state_test.go
parent885c13c2c941710f5545bee01541e6f7602599aa (diff)
downloaddexon-9be07de5396527eb527f3ca0dd402213c0008a3e.tar
dexon-9be07de5396527eb527f3ca0dd402213c0008a3e.tar.gz
dexon-9be07de5396527eb527f3ca0dd402213c0008a3e.tar.bz2
dexon-9be07de5396527eb527f3ca0dd402213c0008a3e.tar.lz
dexon-9be07de5396527eb527f3ca0dd402213c0008a3e.tar.xz
dexon-9be07de5396527eb527f3ca0dd402213c0008a3e.tar.zst
dexon-9be07de5396527eb527f3ca0dd402213c0008a3e.zip
params: Updated finalized gascosts for ECMUL/MODEXP (#15135)
* params: Updated finalized gascosts for ECMUL/MODEXP * core,tests: Updates pending new tests * tests: Updated with new tests * core: revert state transition bugfix * tests: Add expected failures due to #15119
Diffstat (limited to 'tests/state_test.go')
-rw-r--r--tests/state_test.go10
1 files changed, 9 insertions, 1 deletions
diff --git a/tests/state_test.go b/tests/state_test.go
index 1fb7f5908..9a7430fbe 100644
--- a/tests/state_test.go
+++ b/tests/state_test.go
@@ -39,6 +39,13 @@ func TestState(t *testing.T) {
st.fails(`^stRevertTest/RevertPrefoundEmptyOOG\.json/EIP158`, "bug in test")
st.fails(`^stRevertTest/RevertPrecompiledTouch\.json/Byzantium`, "bug in test")
st.fails(`^stRevertTest/RevertPrefoundEmptyOOG\.json/Byzantium`, "bug in test")
+ st.fails( `^stRandom/randomStatetest645\.json/EIP150/.*`, "known bug #15119")
+ st.fails( `^stRandom/randomStatetest645\.json/Frontier/.*`, "known bug #15119")
+ st.fails( `^stRandom/randomStatetest645\.json/Homestead/.*`, "known bug #15119")
+ st.fails( `^stRandom/randomStatetest644\.json/EIP150/.*`, "known bug #15119")
+ st.fails( `^stRandom/randomStatetest644\.json/Frontier/.*`, "known bug #15119")
+ st.fails( `^stRandom/randomStatetest644\.json/Homestead/.*`, "known bug #15119")
+
st.walk(t, stateTestDir, func(t *testing.T, name string, test *StateTest) {
for _, subtest := range test.Subtests() {
@@ -59,7 +66,8 @@ func TestState(t *testing.T) {
}
// Transactions with gasLimit above this value will not get a VM trace on failure.
-const traceErrorLimit = 400000
+//const traceErrorLimit = 400000
+const traceErrorLimit = 0
func withTrace(t *testing.T, gasLimit uint64, test func(vm.Config) error) {
err := test(vm.Config{})