Skip to content

Commit

Permalink
ts syntax fix
Browse files Browse the repository at this point in the history
  • Loading branch information
aalu1418 committed Jul 5, 2024
1 parent f257420 commit b1d8c01
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions contracts/examples/hello-world/tests/hello-world.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,14 @@ describe("hello-world", () => {
header + (liveLength + historicalLength) * transmissionSize
),
}).rpc({ commitment: "confirmed" });
console.log("deployed store")
console.log("deployed store");

await storeProgram.methods.setWriter(owner.publicKey).accounts({
feed: feed.publicKey,
owner: owner.publicKey,
authority: owner.publicKey,
}).rpc({ commitment: "confirmed" });
console.log("set writer on store")
console.log("set writer on store");

const scale = new BN(10).pow(new BN(decimals));
// Scale answer to enough decimals
Expand All @@ -62,7 +62,7 @@ describe("hello-world", () => {
feed: feed.publicKey,
authority: owner.publicKey,
}).rpc({ commitment: "confirmed" });
console.log("value written to store")
console.log("value written to store");

// Add your test here.
tx = await program.methods.execute().accounts({
Expand Down

0 comments on commit b1d8c01

Please sign in to comment.