Skip to content

Commit 4c1f05c

Browse files
committed
Rename for clarity
1 parent f8976cd commit 4c1f05c

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Changelog
22

3+
## 2.17.0
4+
5+
- Rename initPrice to `setExponent` for clarity
6+
7+
## 2.16.0
8+
9+
- Remove `pythtest` and add `pythtest-crosschain` and `pythtest-conformance`. There are now two oracle instances.
10+
311
## 2.15.1
412

513
- Fix import of `@coral-xyz/borsh`

src/anchor/idl.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@
354354
]
355355
},
356356
{
357-
"name": "initPrice",
357+
"name": "setExponent",
358358
"discriminant": { "value": [2, 0, 0, 0, 9, 0, 0, 0] },
359359
"accounts": [
360360
{

src/anchor/program.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ export type PythOracle = {
374374
]
375375
},
376376
{
377-
name: 'initPrice'
377+
name: 'setExponent'
378378
discriminant: { value: [2, 0, 0, 0, 9, 0, 0, 0] }
379379
accounts: [
380380
{

0 commit comments

Comments
 (0)