Skip to content

Commit eada048

Browse files
committed
devnet tests passing via tests/executor-quoter.tests.ts
1 parent 26b37d8 commit eada048

File tree

4 files changed

+91
-114
lines changed

4 files changed

+91
-114
lines changed

svm/pinocchio/programs/executor-quoter/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@ pub const PAYEE_ADDRESS: [u8; 32] = include!(concat!(env!("OUT_DIR"), "/payee_ad
4646
#[repr(u8)]
4747
pub enum Instruction {
4848
/// Update chain info for a destination chain
49-
/// Accounts: [payer, updater, _config, chain_info, system_program]
49+
/// Accounts: [payer, updater, chain_info, system_program]
5050
UpdateChainInfo = 0,
5151
/// Update quote for a destination chain
52-
/// Accounts: [payer, updater, _config, quote_body, system_program]
52+
/// Accounts: [payer, updater, quote_body, system_program]
5353
UpdateQuote = 1,
5454
/// Request a quote for cross-chain execution
5555
/// Accounts: [_config, chain_info, quote_body]

svm/pinocchio/programs/executor-quoter/src/state.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use pinocchio::{account_info::AccountInfo, program_error::ProgramError, pubkey::
33

44
use crate::error::ExecutorQuoterError;
55

6-
/// Account discriminators for type safety
6+
/// Account discriminators for type safety.
77
pub const QUOTE_BODY_DISCRIMINATOR: u8 = 1;
88
pub const CHAIN_INFO_DISCRIMINATOR: u8 = 2;
99

svm/pinocchio/tests/executor-quoter-tests/tests/integration.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const PROGRAM_ID: Pubkey = Pubkey::new_from_array([
2323
0xad, 0x51, 0x9d, 0x3d, 0xcd, 0xf3, 0x86, 0x58,
2424
]);
2525

26-
/// Account discriminators (updated - no config)
26+
/// Account discriminators
2727
const QUOTE_BODY_DISCRIMINATOR: u8 = 1;
2828
const CHAIN_INFO_DISCRIMINATOR: u8 = 2;
2929

0 commit comments

Comments
 (0)