mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-03 01:27:38 +00:00
Fix integration tests run3 (#7674)
This commit is contained in:
parent
d703c3cd8e
commit
250ecfc4d1
4
.github/workflows/test-integration.yml
vendored
4
.github/workflows/test-integration.yml
vendored
@ -29,8 +29,8 @@ jobs:
|
|||||||
- name: test-integration
|
- name: test-integration
|
||||||
run: make test-integration
|
run: make test-integration
|
||||||
|
|
||||||
# - name: history-v3-test-integration
|
- name: history-v3-test-integration
|
||||||
# run: make test3-integration
|
run: make test3-integration
|
||||||
|
|
||||||
tests-windows:
|
tests-windows:
|
||||||
strategy:
|
strategy:
|
||||||
|
@ -138,6 +138,10 @@ func (rw *Worker) RunTxTaskNoLock(txTask *exec22.TxTask) {
|
|||||||
header := txTask.Header
|
header := txTask.Header
|
||||||
|
|
||||||
switch {
|
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:
|
case txTask.TxIndex == -1:
|
||||||
if txTask.BlockNum == 0 {
|
if txTask.BlockNum == 0 {
|
||||||
// Genesis block
|
// Genesis block
|
||||||
@ -179,10 +183,6 @@ func (rw *Worker) RunTxTaskNoLock(txTask *exec22.TxTask) {
|
|||||||
txTask.TraceTos[uncle.Coinbase] = struct{}{}
|
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:
|
default:
|
||||||
//fmt.Printf("txNum=%d, blockNum=%d, txIndex=%d\n", txTask.TxNum, txTask.BlockNum, txTask.TxIndex)
|
//fmt.Printf("txNum=%d, blockNum=%d, txIndex=%d\n", txTask.TxNum, txTask.BlockNum, txTask.TxIndex)
|
||||||
txHash := txTask.Tx.Hash()
|
txHash := txTask.Tx.Hash()
|
||||||
|
Loading…
Reference in New Issue
Block a user