Fix integration tests run3 (#7674)

This commit is contained in:
Alex Sharov 2023-06-06 16:50:04 +07:00 committed by GitHub
parent d703c3cd8e
commit 250ecfc4d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View File

@ -29,8 +29,8 @@ jobs:
- name: test-integration
run: make test-integration
# - name: history-v3-test-integration
# run: make test3-integration
- name: history-v3-test-integration
run: make test3-integration
tests-windows:
strategy:

View File

@ -138,6 +138,10 @@ func (rw *Worker) RunTxTaskNoLock(txTask *exec22.TxTask) {
header := txTask.Header
switch {
case daoForkTx:
//fmt.Printf("txNum=%d, blockNum=%d, DAO fork\n", txTask.TxNum, txTask.BlockNum)
misc.ApplyDAOHardFork(ibs)
ibs.SoftFinalise()
case txTask.TxIndex == -1:
if txTask.BlockNum == 0 {
// Genesis block
@ -179,10 +183,6 @@ func (rw *Worker) RunTxTaskNoLock(txTask *exec22.TxTask) {
txTask.TraceTos[uncle.Coinbase] = struct{}{}
}
}
case daoForkTx:
//fmt.Printf("txNum=%d, blockNum=%d, DAO fork\n", txTask.TxNum, txTask.BlockNum)
misc.ApplyDAOHardFork(ibs)
ibs.SoftFinalise()
default:
//fmt.Printf("txNum=%d, blockNum=%d, txIndex=%d\n", txTask.TxNum, txTask.BlockNum, txTask.TxIndex)
txHash := txTask.Tx.Hash()