From 569c9f3e30244602b50dd3761157661aa55d15b1 Mon Sep 17 00:00:00 2001 From: Noah Prince Date: Fri, 21 Jun 2024 16:46:40 -0500 Subject: [PATCH] Fix docker for helium-vote --- docker-info.json | 3 ++- packages/helium-admin-cli/src/create-subdao.ts | 2 +- tests/voter-stake-registry.ts | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/docker-info.json b/docker-info.json index 13b422227..94a34b816 100644 --- a/docker-info.json +++ b/docker-info.json @@ -1,5 +1,6 @@ { "web": { + "helium-vote-service": "./packages/helium-vote-service", "solana-monitor": "./packages/monitor-service", "ecc-verifier": "./utils/ecc-sig-verifier", "entity-metadata-service": "./packages/metadata-service", @@ -20,4 +21,4 @@ "data": { "active-hotspot-oracle": "./utils/active-hotspot-oracle" } -} \ No newline at end of file +} diff --git a/packages/helium-admin-cli/src/create-subdao.ts b/packages/helium-admin-cli/src/create-subdao.ts index 5f5e97979..ccf312f6d 100644 --- a/packages/helium-admin-cli/src/create-subdao.ts +++ b/packages/helium-admin-cli/src/create-subdao.ts @@ -191,7 +191,7 @@ export async function run(args: any = process.argv) { }, delegationSeasonsFile: { type: "string", - default: `${__dirname}/../../delegation-seasons.json`, + default: `${__dirname}/../../proxy-seasons.json`, }, }); const argv = await yarg.argv; diff --git a/tests/voter-stake-registry.ts b/tests/voter-stake-registry.ts index bf2c92bb3..db5b20a64 100644 --- a/tests/voter-stake-registry.ts +++ b/tests/voter-stake-registry.ts @@ -527,7 +527,7 @@ describe("voter-stake-registry", () => { markerA = await program.account.voteMarkerV0.fetchNullable( marker! as PublicKey ); - expect(markerA).to.be.null; + expect(markerA?.choices).to.be.empty; }); it("allows earlier proxies to change the vote", async () => {