erigon-pulse/cmd/devnettest/main.go
leonardchinonso 878cc063b0
Draft PR to complete devnet automation (#4278)
* Fixing headers stuck in StageSync

* Removed ./dev folder and cleaned up code

* Removing the logs subscription tests
2022-06-01 22:47:12 +01:00

25 lines
411 B
Go

package main
import (
"fmt"
"time"
"github.com/ledgerwatch/erigon/cmd/devnettest/commands"
"github.com/ledgerwatch/erigon/cmd/devnettest/erigon"
"github.com/ledgerwatch/erigon/cmd/devnettest/services"
)
func main() {
erigon.StartProcess()
time.Sleep(10 * time.Second)
fmt.Printf("SUCCESS => Started!\n\n")
err := commands.Execute()
if err != nil {
panic(err)
}
defer services.ClearDevDB()
}