Skip to content

Commit 93e671e

Browse files
committed
Update voter stake registry IDL to use correct one from Grape
1 parent a09c73b commit 93e671e

25 files changed

+1134
-223
lines changed

clients/voter-stake-registry/coda.config.mjs

Lines changed: 2 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import {
1111
fixedSizeTypeNode,
1212
numberTypeNode,
1313
optionTypeNode,
14-
payerValueNode,
1514
pdaLinkNode,
1615
pdaSeedValueNode,
1716
pdaValueNode,
@@ -137,38 +136,11 @@ export default defineConfig({
137136

138137
setInstructionAccountDefaultValuesVisitor([
139138
{
140-
account: "tokenProgram",
139+
account: "governanceProgramId",
141140
defaultValue: publicKeyValueNode(
142-
"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA",
141+
"GovER5Lthms3bLBqWub97yVrMmEogzX7xNjdXpPPCVZw",
143142
),
144143
},
145-
{
146-
account: "associatedTokenProgram",
147-
defaultValue: publicKeyValueNode(
148-
"ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL",
149-
),
150-
},
151-
{
152-
account: "systemProgram",
153-
defaultValue: publicKeyValueNode("11111111111111111111111111111111"),
154-
},
155-
{
156-
account: "rent",
157-
defaultValue: publicKeyValueNode(
158-
"SysvarRent111111111111111111111111111111111",
159-
),
160-
},
161-
{
162-
account: "instructions",
163-
defaultValue: publicKeyValueNode(
164-
"Sysvar1nstructions1111111111111111111111111",
165-
),
166-
},
167-
{
168-
account: "payer",
169-
defaultValue: payerValueNode(),
170-
},
171-
172144
{
173145
account: "voter",
174146
instruction: "createVoter",

0 commit comments

Comments
 (0)