Skip to content

Commit ce447a0

Browse files
committed
Fix upd_permissions in the idl
1 parent 57955f3 commit ce447a0

File tree

2 files changed

+3
-14
lines changed

2 files changed

+3
-14
lines changed

src/anchor/idl.json

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -408,15 +408,10 @@
408408
"isMut": true,
409409
"isSigner": true
410410
},
411-
{
412-
"name": "programAccount",
413-
"isMut": false,
414-
"isSigner": false
415-
},
416411
{
417412
"name": "programDataAccount",
418413
"isMut": false,
419-
"isSigner": false
414+
"isSigner": false
420415
},
421416
{
422417
"name": "permissionsAccount",

src/anchor/program.ts

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,10 @@ export function pythOracleProgram(programId: PublicKey, provider: AnchorProvider
1313
}
1414

1515
export function pythOracleCoder(): PythOracleCoder {
16-
return new PythOracleCoder(IDL as PythOracle);
16+
return new PythOracleCoder(IDL as PythOracle)
1717
}
1818

19-
export { default as pythIdl } from "./idl.json";
20-
19+
export { default as pythIdl } from './idl.json'
2120

2221
export type PythOracle = {
2322
version: '2.20.0'
@@ -429,11 +428,6 @@ export type PythOracle = {
429428
isMut: true
430429
isSigner: true
431430
},
432-
{
433-
name: 'programAccount'
434-
isMut: false
435-
isSigner: false
436-
},
437431
{
438432
name: 'programDataAccount'
439433
isMut: false

0 commit comments

Comments
 (0)