Skip to content

Commit 11bcd3b

Browse files
authored
feat: add nodePOP to GetNodeIdResponse" (#893)
* fix: add nodePOP to getNodeId response * docs: add more specifics to etna tx props
1 parent 2746ee8 commit 11bcd3b

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

src/info/model.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,14 @@ export type UptimeResponse = {
4646
weightedAveragePercentage: string;
4747
};
4848

49+
export type NodePOP = {
50+
publicKey: string;
51+
proofOfPossession: string;
52+
};
53+
4954
export type GetNodeIdResponse = {
5055
nodeID: string;
56+
nodePOP: NodePOP;
5157
};
5258

5359
export type GetNodeIpResponse = {

src/vms/pvm/etna-builder/builder.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1350,7 +1350,7 @@ export type NewConvertSubnetTxProps = TxProps<{
13501350
*/
13511351
subnetId: string;
13521352
/**
1353-
* Specifies the address of the manager
1353+
* Specifies the address of the validator manager
13541354
*/
13551355
address: Uint8Array;
13561356
/**
@@ -1564,6 +1564,8 @@ export const newRegisterSubnetValidatorTx: TxBuilderFn<
15641564
export type SetSubnetValidatorWeightTxProps = TxProps<{
15651565
/**
15661566
* Warp message bytes.
1567+
*
1568+
* A ValidatorWeight message payload.
15671569
*/
15681570
message: Uint8Array;
15691571
}>;

0 commit comments

Comments
 (0)