mirror of
https://github.com/status-im/status-go.git
synced 2025-02-11 22:37:41 +00:00
fix_: generate network.go mock
This commit is contained in:
parent
733ff40f9d
commit
1c53202b72
@ -14,11 +14,7 @@ import (
|
|||||||
persistence "github.com/status-im/status-go/rpc/network/db"
|
persistence "github.com/status-im/status-go/rpc/network/db"
|
||||||
)
|
)
|
||||||
|
|
||||||
type CombinedNetwork struct {
|
//go:generate mockgen -package=mock -source=network.go -destination=mock/network.go
|
||||||
Prod *params.Network
|
|
||||||
Test *params.Network
|
|
||||||
}
|
|
||||||
|
|
||||||
type ManagerInterface interface {
|
type ManagerInterface interface {
|
||||||
InitEmbeddedNetworks(networks []params.Network) error
|
InitEmbeddedNetworks(networks []params.Network) error
|
||||||
|
|
||||||
@ -37,6 +33,11 @@ type ManagerInterface interface {
|
|||||||
SetEnabled(chainID uint64, enabled bool) error
|
SetEnabled(chainID uint64, enabled bool) error
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type CombinedNetwork struct {
|
||||||
|
Prod *params.Network
|
||||||
|
Test *params.Network
|
||||||
|
}
|
||||||
|
|
||||||
type Manager struct {
|
type Manager struct {
|
||||||
db *sql.DB
|
db *sql.DB
|
||||||
accountsDB *accounts.Database
|
accountsDB *accounts.Database
|
||||||
|
Loading…
x
Reference in New Issue
Block a user