Skip to content

Commit

Permalink
feat: add nodePOP to GetNodeIdResponse" (#893)
Browse files Browse the repository at this point in the history
* fix: add nodePOP to getNodeId response

* docs: add more specifics to etna tx props
  • Loading branch information
erictaylor authored Oct 30, 2024
1 parent 2746ee8 commit 11bcd3b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
6 changes: 6 additions & 0 deletions src/info/model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,14 @@ export type UptimeResponse = {
weightedAveragePercentage: string;
};

export type NodePOP = {
publicKey: string;
proofOfPossession: string;
};

export type GetNodeIdResponse = {
nodeID: string;
nodePOP: NodePOP;
};

export type GetNodeIpResponse = {
Expand Down
4 changes: 3 additions & 1 deletion src/vms/pvm/etna-builder/builder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1350,7 +1350,7 @@ export type NewConvertSubnetTxProps = TxProps<{
*/
subnetId: string;
/**
* Specifies the address of the manager
* Specifies the address of the validator manager
*/
address: Uint8Array;
/**
Expand Down Expand Up @@ -1564,6 +1564,8 @@ export const newRegisterSubnetValidatorTx: TxBuilderFn<
export type SetSubnetValidatorWeightTxProps = TxProps<{
/**
* Warp message bytes.
*
* A ValidatorWeight message payload.
*/
message: Uint8Array;
}>;
Expand Down

0 comments on commit 11bcd3b

Please sign in to comment.