e2e: allow for both v0 and v1 mempool implementations (#6752)

This commit is contained in:
Callum Waters
2021-07-22 17:59:02 +02:00
committed by GitHub
parent 84c15857e4
commit 97a8f125e0
4 changed files with 16 additions and 0 deletions
+4
View File
@@ -292,6 +292,10 @@ func MakeConfig(node *e2e.Node) (*config.Config, error) {
return nil, fmt.Errorf("unexpected mode %q", node.Mode)
}
if node.Mempool != "" {
cfg.Mempool.Version = node.Mempool
}
if node.FastSync == "" {
cfg.FastSyncMode = false
} else {