mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-07 11:32:20 +00:00
3102a04d7f
* Draft PR for the devnet automation * Committing to save for later edit * Finished creating shells, to test * Changes: * Added a shell for picking eth commands * Implemented erigon node running with the --http flag to save processes * Shell commands for get-balance and send-tx implemented TODO: * Make UX more friendly by adding start, stop and exit commands * Add progress bar to show wait in progress * Add flag or input to enable mining option for erigon node * Implemented stress tests for other eth methods * Experimenting * little clean up * lint * Transitioned to static runs and tests from shell * Finished stress test methods * Rendering fixes * save * Cleanup * Fixed lint * Still fixing lint * Removed args append ineffect * Removed println in genesis init.go * Removed println in genesis init.go Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local> Co-authored-by: Enrique Avila <eavilaasapche@gmail.com>
22 lines
324 B
Go
22 lines
324 B
Go
package main
|
|
|
|
import (
|
|
"fmt"
|
|
"time"
|
|
|
|
"github.com/ledgerwatch/erigon/cmd/devnettest/commands"
|
|
"github.com/ledgerwatch/erigon/cmd/devnettest/erigon"
|
|
)
|
|
|
|
func main() {
|
|
erigon.StartProcess()
|
|
|
|
time.Sleep(10 * time.Second)
|
|
|
|
fmt.Printf("SUCCESS => Started!\n\n")
|
|
err := commands.Execute()
|
|
if err != nil {
|
|
panic(err)
|
|
}
|
|
}
|