From 2f954c3c491bc4a5fbfe42e1bc35cf176aa33246 Mon Sep 17 00:00:00 2001 From: Eric Taylor Date: Wed, 30 Oct 2024 14:17:20 -0600 Subject: [PATCH 1/2] fix: add nodePOP to getNodeId response --- src/info/model.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/info/model.ts b/src/info/model.ts index f4c0a3254..30c324f3b 100644 --- a/src/info/model.ts +++ b/src/info/model.ts @@ -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 = { From d9475ff7d84cf1f3e4e2b2cc919f0b6eb5e621dc Mon Sep 17 00:00:00 2001 From: Eric Taylor Date: Wed, 30 Oct 2024 14:17:55 -0600 Subject: [PATCH 2/2] docs: add more specifics to etna tx props --- src/vms/pvm/etna-builder/builder.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/vms/pvm/etna-builder/builder.ts b/src/vms/pvm/etna-builder/builder.ts index dc60f39d2..5a646822e 100644 --- a/src/vms/pvm/etna-builder/builder.ts +++ b/src/vms/pvm/etna-builder/builder.ts @@ -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; /** @@ -1564,6 +1564,8 @@ export const newRegisterSubnetValidatorTx: TxBuilderFn< export type SetSubnetValidatorWeightTxProps = TxProps<{ /** * Warp message bytes. + * + * A ValidatorWeight message payload. */ message: Uint8Array; }>;