fix gst state clearing, GST +5
This commit is contained in:
parent
03ea1c5a85
commit
8ecbce6d0c
|
@ -1710,10 +1710,10 @@ OK: 16/16 Fail: 0/16 Skip: 0/16
|
|||
+ gasPrice0.json OK
|
||||
+ makeMoney.json OK
|
||||
sha3_deja.json Skip
|
||||
txCost-sec73.json Skip
|
||||
+ txCost-sec73.json OK
|
||||
+ tx_e1c174e2.json OK
|
||||
```
|
||||
OK: 9/13 Fail: 0/13 Skip: 4/13
|
||||
OK: 10/13 Fail: 0/13 Skip: 3/13
|
||||
## stStackTests
|
||||
```diff
|
||||
+ shallowStack.json OK
|
||||
|
@ -2210,15 +2210,15 @@ OK: 42/42 Fail: 0/42 Skip: 0/42
|
|||
+ ZeroValue_SUICIDE_ToNonZeroBalance_OOGRevert.json OK
|
||||
+ ZeroValue_SUICIDE_ToOneStorageKey_OOGRevert.json OK
|
||||
+ ZeroValue_TransactionCALL_OOGRevert.json OK
|
||||
ZeroValue_TransactionCALL_ToEmpty_OOGRevert.json Skip
|
||||
+ ZeroValue_TransactionCALL_ToEmpty_OOGRevert.json OK
|
||||
+ ZeroValue_TransactionCALL_ToNonZeroBalance_OOGRevert.json OK
|
||||
ZeroValue_TransactionCALL_ToOneStorageKey_OOGRevert.json Skip
|
||||
+ ZeroValue_TransactionCALL_ToOneStorageKey_OOGRevert.json OK
|
||||
+ ZeroValue_TransactionCALLwithData_OOGRevert.json OK
|
||||
ZeroValue_TransactionCALLwithData_ToEmpty_OOGRevert.json Skip
|
||||
+ ZeroValue_TransactionCALLwithData_ToEmpty_OOGRevert.json OK
|
||||
+ ZeroValue_TransactionCALLwithData_ToNonZeroBalance_OOGRevert.jsonOK
|
||||
ZeroValue_TransactionCALLwithData_ToOneStorageKey_OOGRevert.jsonSkip
|
||||
+ ZeroValue_TransactionCALLwithData_ToOneStorageKey_OOGRevert.jsonOK
|
||||
```
|
||||
OK: 20/24 Fail: 0/24 Skip: 4/24
|
||||
OK: 24/24 Fail: 0/24 Skip: 0/24
|
||||
## stZeroCallsTest
|
||||
```diff
|
||||
+ ZeroValue_CALL.json OK
|
||||
|
@ -2520,4 +2520,4 @@ OK: 130/133 Fail: 0/133 Skip: 3/133
|
|||
OK: 130/130 Fail: 0/130 Skip: 0/130
|
||||
|
||||
---TOTAL---
|
||||
OK: 2182/2334 Fail: 0/2334 Skip: 152/2334
|
||||
OK: 2187/2334 Fail: 0/2334 Skip: 147/2334
|
||||
|
|
|
@ -17,7 +17,6 @@ func allowedFailingGeneralStateTest*(folder, name: string): bool =
|
|||
"randomStatetest85.json", # CALL* memoffset
|
||||
"sha3_deja.json", # SHA3 startPos
|
||||
|
||||
"txCost-sec73.json",
|
||||
"CreateOOGafterInitCodeReturndataSize.json",
|
||||
"RevertInCreateInInit.json",
|
||||
|
||||
|
@ -64,11 +63,6 @@ func allowedFailingGeneralStateTest*(folder, name: string): bool =
|
|||
"ecpairing_perturb_zeropoint_by_field_modulus.json",
|
||||
"ecpairing_perturb_g2_by_field_modulus.json",
|
||||
|
||||
"ZeroValue_TransactionCALL_ToOneStorageKey_OOGRevert.json",
|
||||
"ZeroValue_TransactionCALL_ToEmpty_OOGRevert.json",
|
||||
"ZeroValue_TransactionCALLwithData_ToEmpty_OOGRevert.json",
|
||||
"ZeroValue_TransactionCALLwithData_ToOneStorageKey_OOGRevert.json",
|
||||
|
||||
# byzantium slow
|
||||
"LoopCallsDepthThenRevert3.json",
|
||||
"LoopCallsDepthThenRevert2.json",
|
||||
|
|
|
@ -114,7 +114,7 @@ proc testFixtureIndexes(tester: Tester, testStatusIMPL: var TestStatus) =
|
|||
if tester.fork >= FkSpurious:
|
||||
let recipient = tester.tx.getRecipient()
|
||||
let miner = tester.header.coinbase
|
||||
let touchedAccounts = [sender, miner, recipient]
|
||||
let touchedAccounts = [miner] # [sender, miner, recipient]
|
||||
for account in touchedAccounts:
|
||||
debug "state clearing", account
|
||||
if db.accountExists(account) and db.isEmptyAccount(account):
|
||||
|
|
Loading…
Reference in New Issue