Skip to content

Commit

Permalink
Update gateway action
Browse files Browse the repository at this point in the history
  • Loading branch information
emersonliuuu committed Dec 27, 2022
1 parent f854422 commit 7a62dc7
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 17 deletions.
3 changes: 1 addition & 2 deletions programs/adapter-jupiter/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,9 @@ pub mod adapter_jupiter {

#[derive(Accounts)]
pub struct Action<'info> {
// TODO: Add constraints
pub gateway_authority: Signer<'info>,
/// CHECK: Safe
pub gateway_state_info: AccountInfo<'info>,
/// CHECK: Safe
pub base_program_id: AccountInfo<'info>,
}

Expand Down
5 changes: 0 additions & 5 deletions target/idl/adapter_jupiter.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@
"isMut": false,
"isSigner": true
},
{
"name": "gatewayStateInfo",
"isMut": false,
"isSigner": false
},
{
"name": "baseProgramId",
"isMut": false,
Expand Down
10 changes: 0 additions & 10 deletions target/types/adapter_jupiter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@ export type AdapterJupiter = {
"isMut": false,
"isSigner": true
},
{
"name": "gatewayStateInfo",
"isMut": false,
"isSigner": false
},
{
"name": "baseProgramId",
"isMut": false,
Expand Down Expand Up @@ -102,11 +97,6 @@ export const IDL: AdapterJupiter = {
"isMut": false,
"isSigner": true
},
{
"name": "gatewayStateInfo",
"isMut": false,
"isSigner": false
},
{
"name": "baseProgramId",
"isMut": false,
Expand Down

0 comments on commit 7a62dc7

Please sign in to comment.