Skip to content

Commit

Permalink
erigon3 integration tests fixes (erigontech#5625)
Browse files Browse the repository at this point in the history
  • Loading branch information
AskAlexSharov authored Oct 5, 2022
1 parent 001c344 commit ff8fcf8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions accounts/abi/bind/backends/simulated.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ func NewSimulatedBackend(t *testing.T, alloc core.GenesisAlloc, gasLimit uint64)

func (b *SimulatedBackend) DB() kv.RwDB { return b.m.DB }
func (b *SimulatedBackend) Agg() *state2.Aggregator22 { return b.m.HistoryV3Components() }
func (b *SimulatedBackend) HistoryV3() bool { return b.m.HistoryV3 }

// Close terminates the underlying blockchain's update loop.
func (b *SimulatedBackend) Close() {
Expand Down
3 changes: 3 additions & 0 deletions accounts/abi/bind/util_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ func TestWaitDeployed(t *testing.T) {
},
10000000,
)
if backend.HistoryV3() {
t.Skip("HistoryV3 doesn't store receipts")
}

// Create the transaction.
// Create the transaction.
Expand Down

0 comments on commit ff8fcf8

Please sign in to comment.