fix: use toplevel address in idl
All checks were successful
Push Container / deploy (push) Successful in 1m33s
All checks were successful
Push Container / deploy (push) Successful in 1m33s
This commit is contained in:
parent
2ff56dba9a
commit
1fe8c64dc5
2 changed files with 4 additions and 1 deletions
|
@ -31,17 +31,20 @@ jobs:
|
|||
cd packages/core
|
||||
pnpm i
|
||||
pnpm unpublish --force || true
|
||||
pnpm build
|
||||
pnpm publish
|
||||
- name: Publish Anchor Package
|
||||
run: |
|
||||
cd packages/anchor
|
||||
pnpm i
|
||||
pnpm unpublish --force || true
|
||||
pnpm build
|
||||
pnpm publish
|
||||
- name: Publish UI Package
|
||||
run: |
|
||||
cd packages/ui
|
||||
pnpm i
|
||||
pnpm unpublish --force || true
|
||||
pnpm build
|
||||
pnpm publish
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
config: Commitment | ConnectionConfig | undefined = 'processed';
|
||||
|
||||
const { PublicKey } = web3;
|
||||
const programID = new PublicKey(idl.metadata.address);
|
||||
const programID = new PublicKey(idl.address);
|
||||
const baseAccount = web3.Keypair.generate();
|
||||
const systemProgram = web3.SystemProgram;
|
||||
const connection = new Connection(network, config);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue