Skip to content

Commit

Permalink
Fix localnet
Browse files Browse the repository at this point in the history
  • Loading branch information
guibescos committed Oct 23, 2023
1 parent bba16c7 commit 1fddfbf
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion staking/app/scripts/localnet.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
import * as anchor from "@project-serum/anchor";
import BN from "bn.js";
import { Keypair } from "@solana/web3.js";
import { Keypair, PublicKey } from "@solana/web3.js";
import {
readAnchorConfig,
standardSetup,
ANCHOR_CONFIG_PATH,
requestPythAirdrop,
CustomAbortController,
getDummyAgreementHash,
} from "../../tests/utils/before";
import { StakeConnection, PythBalance } from "..";
import { loadKeypair } from "../../tests/utils/keys";
Expand Down Expand Up @@ -38,7 +39,10 @@ async function main() {
epochDuration: new BN(1),
mockClockTime: new BN(10),
freeze: false,
pdaAuthority: new PublicKey(0),
governanceProgram: new PublicKey(0),
pythTokenListTime: null,
agreementHash: getDummyAgreementHash(),
}
));

Expand Down

0 comments on commit 1fddfbf

Please sign in to comment.