mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-06 02:52:19 +00:00
726ed8462d
Setup calls for rpc testing - Added call requests for testing rpc calls - Added new methods getBalance and txPool content
15 lines
285 B
Go
15 lines
285 B
Go
package commands
|
|
|
|
import (
|
|
"fmt"
|
|
|
|
"github.com/ledgerwatch/erigon/cmd/devnet/models"
|
|
"github.com/ledgerwatch/erigon/cmd/devnet/requests"
|
|
)
|
|
|
|
func pingErigonRpc() {
|
|
if err := requests.PingErigonRpc(models.ReqId); err != nil {
|
|
fmt.Printf("error mocking get request: %v\n", err)
|
|
}
|
|
}
|