avalanche-network-runner
avalanche-network-runner copied to clipboard
API changes suggestion from devrel
From @cgcardona
We should rename getsnapshotnames
to listsnapshots
to match the naming convention of listblockchains
, listrpcs
and listsubnets
In the POST
body of v1/control/attachpeer
we should change the key from nodeName
to name
to match the syntax of addnode
, pausenode
, removenode
, restartnode
, and resumenode
.
Instead of this
{
"nodeName":"{{node_name}}"
}
This
{
"name":"{{node_name}}"
}
Same thing in sendoutboundmessage
. Rename nodeName
to name
.