mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-01 08:41:21 +00:00
878cc063b0
* Fixing headers stuck in StageSync * Removed ./dev folder and cleaned up code * Removing the logs subscription tests
25 lines
411 B
Go
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()
|
|
}
|