Skip to content

Commit 8aa29a0

Browse files
committed
2.10.0
1 parent fca73d0 commit 8aa29a0

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pythnetwork/client",
3-
"version": "2.9.0",
3+
"version": "2.10.0",
44
"description": "Client for consuming Pyth price data",
55
"homepage": "https://pyth.network",
66
"main": "lib/index.js",

src/__tests__/Anchor.test.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,11 @@ test('Anchor', (done) => {
4444

4545
pythOracle.methods
4646
.addPrice(1, 1)
47-
.accounts({ fundingAccount: PublicKey.unique(), productAccount: PublicKey.unique(), priceAccount: PublicKey.unique() })
47+
.accounts({
48+
fundingAccount: PublicKey.unique(),
49+
productAccount: PublicKey.unique(),
50+
priceAccount: PublicKey.unique(),
51+
})
4852
.instruction()
4953
.then((instruction) => {
5054
expect(instruction.data).toStrictEqual(Buffer.from([2, 0, 0, 0, 4, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0]))

0 commit comments

Comments
 (0)