mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-22 03:30:37 +00:00
e3: enable simulated backed (#7218)
This commit is contained in:
parent
f3ff8dd438
commit
3008c25c9e
@ -115,9 +115,9 @@ func NewSimulatedBackend(t *testing.T, alloc types.GenesisAlloc, gasLimit uint64
|
||||
t.Cleanup(func() {
|
||||
b.Close()
|
||||
})
|
||||
if b.m.HistoryV3 {
|
||||
t.Skip("TODO: Fixme")
|
||||
}
|
||||
//if b.m.HistoryV3 {
|
||||
// t.Skip("TODO: Fixme")
|
||||
//}
|
||||
return b
|
||||
}
|
||||
|
||||
@ -126,9 +126,9 @@ func NewTestSimulatedBackendWithConfig(t *testing.T, alloc types.GenesisAlloc, c
|
||||
t.Cleanup(func() {
|
||||
b.Close()
|
||||
})
|
||||
if b.m.HistoryV3 {
|
||||
t.Skip("TODO: Fixme")
|
||||
}
|
||||
//if b.m.HistoryV3 {
|
||||
// t.Skip("TODO: Fixme")
|
||||
//}
|
||||
return b
|
||||
}
|
||||
func (b *SimulatedBackend) DB() kv.RwDB { return b.m.DB }
|
||||
|
2
go.mod
2
go.mod
@ -3,7 +3,7 @@ module github.com/ledgerwatch/erigon
|
||||
go 1.19
|
||||
|
||||
require (
|
||||
github.com/ledgerwatch/erigon-lib v0.0.0-20230329064727-480d8eea509e
|
||||
github.com/ledgerwatch/erigon-lib v0.0.0-20230330024812-ae99e29d013b
|
||||
github.com/ledgerwatch/erigon-snapshot v1.1.1-0.20230306083105-1391330d62a3
|
||||
github.com/ledgerwatch/log/v3 v3.7.0
|
||||
github.com/ledgerwatch/secp256k1 v1.0.0
|
||||
|
4
go.sum
4
go.sum
@ -519,8 +519,8 @@ github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
|
||||
github.com/kylelemons/godebug v0.0.0-20170224010052-a616ab194758 h1:0D5M2HQSGD3PYPwICLl+/9oulQauOuETfgFvhBDffs0=
|
||||
github.com/leanovate/gopter v0.2.9 h1:fQjYxZaynp97ozCzfOyOuAGOU4aU/z37zf/tOujFk7c=
|
||||
github.com/leanovate/gopter v0.2.9/go.mod h1:U2L/78B+KVFIx2VmW6onHJQzXtFb+p5y3y2Sh+Jxxv8=
|
||||
github.com/ledgerwatch/erigon-lib v0.0.0-20230329064727-480d8eea509e h1:wa/IlxQU1jS4hYRaW1UvqeMgRgntStWD/mwMNZlS8Sg=
|
||||
github.com/ledgerwatch/erigon-lib v0.0.0-20230329064727-480d8eea509e/go.mod h1:JCt4IGL5ZAS1XGTFgSs2RSOxiTw3XX5PrkKjwhiI8Mo=
|
||||
github.com/ledgerwatch/erigon-lib v0.0.0-20230330024812-ae99e29d013b h1:F3n4HcXDQ0XAOD2FYBK2TMLT47wjidmNhxGrhr90zSE=
|
||||
github.com/ledgerwatch/erigon-lib v0.0.0-20230330024812-ae99e29d013b/go.mod h1:JCt4IGL5ZAS1XGTFgSs2RSOxiTw3XX5PrkKjwhiI8Mo=
|
||||
github.com/ledgerwatch/erigon-snapshot v1.1.1-0.20230306083105-1391330d62a3 h1:tfzawK1gIIgRjVZeANXOr0Ziu+kqCIBuKMe0TXfl5Aw=
|
||||
github.com/ledgerwatch/erigon-snapshot v1.1.1-0.20230306083105-1391330d62a3/go.mod h1:3AuPxZc85jkehh/HA9h8gabv5MSi3kb/ddtzBsTVJFo=
|
||||
github.com/ledgerwatch/log/v3 v3.7.0 h1:aFPEZdwZx4jzA3+/Pf8wNDN5tCI0cIolq/kfvgcM+og=
|
||||
|
Loading…
Reference in New Issue
Block a user