erigon-pulse/cmd/devnet/requests/admin.go
Mark Holt f3ce5f8a36
Bor proofgen tests (#8751)
Added initial proof generation tests for polygon reverse flow for devnet

Blocks tested, receipts need trie proof clarification
2023-11-17 10:41:45 +00:00

18 lines
326 B
Go

package requests
import (
"context"
"github.com/ledgerwatch/erigon/p2p"
)
func (reqGen *requestGenerator) AdminNodeInfo() (p2p.NodeInfo, error) {
var result p2p.NodeInfo
if err := reqGen.rpcCall(context.Background(), &result, Methods.AdminNodeInfo); err != nil {
return p2p.NodeInfo{}, err
}
return result, nil
}