mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-03 17:44:29 +00:00
592fe32217
* General cleanup and fixes * Cleaning part 2 * cleanup part 3 * Refactored staterunner to have a handler function * Fixed linting * Cleanup part 4 * Changed the initialization of the require package and updated .golangci.yml * Fixed lint errors from golangci-lint * deleted state_recon_1.go * fixed build error * Added ReadHeaderTimeouts for httpServer * made changes to golangci * Reset golangci.yml
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() {
|
|
defer services.ClearDevDB()
|
|
|
|
erigon.StartProcess()
|
|
|
|
time.Sleep(10 * time.Second)
|
|
|
|
fmt.Printf("SUCCESS => Started!\n\n")
|
|
err := commands.Execute()
|
|
if err != nil {
|
|
panic(err)
|
|
}
|
|
}
|