mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-22 19:50:36 +00:00
f3ce5f8a36
Added initial proof generation tests for polygon reverse flow for devnet Blocks tested, receipts need trie proof clarification
18 lines
326 B
Go
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
|
|
}
|