Skip to content

Commit

Permalink
add .so's
Browse files Browse the repository at this point in the history
  • Loading branch information
ebatsell committed Nov 7, 2024
1 parent b033c72 commit 0769578
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
Binary file not shown.
Binary file not shown.
6 changes: 3 additions & 3 deletions integration_tests/tests/fixtures/restaking_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ impl RestakingProgramClient {
Ok(())
}

pub async fn _airdrop(&mut self, to: &Pubkey, sol: f64) -> TestResult<()> {
pub async fn airdrop(&mut self, to: &Pubkey, sol: f64) -> TestResult<()> {
let blockhash = self.banks_client.get_latest_blockhash().await?;
self.banks_client
.process_transaction_with_preflight_and_commitment(
Expand All @@ -57,7 +57,7 @@ impl RestakingProgramClient {
let restaking_config_pubkey = Config::find_program_address(&jito_restaking_program::id()).0;
let restaking_config_admin = Keypair::new();

self._airdrop(&restaking_config_admin.pubkey(), 1.0).await?;
self.airdrop(&restaking_config_admin.pubkey(), 1.0).await?;
self.initialize_config(&restaking_config_pubkey, &restaking_config_admin)
.await?;

Expand Down Expand Up @@ -88,7 +88,7 @@ impl RestakingProgramClient {
let ncn_admin = Keypair::new();
let ncn_base = Keypair::new();

self._airdrop(&ncn_admin.pubkey(), 1.0).await?;
self.airdrop(&ncn_admin.pubkey(), 1.0).await?;

let ncn_pubkey =
Ncn::find_program_address(&jito_restaking_program::id(), &ncn_base.pubkey()).0;
Expand Down
6 changes: 3 additions & 3 deletions integration_tests/tests/fixtures/tip_router_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ impl TipRouterClient {
Ok(())
}

pub async fn _airdrop(&mut self, to: &Pubkey, sol: f64) -> TestResult<()> {
pub async fn airdrop(&mut self, to: &Pubkey, sol: f64) -> TestResult<()> {
let blockhash = self.banks_client.get_latest_blockhash().await?;
self.banks_client
.process_transaction_with_preflight_and_commitment(
Expand Down Expand Up @@ -66,7 +66,7 @@ impl TipRouterClient {
ncn: Pubkey,
ncn_admin: &Keypair,
) -> TestResult<()> {
self._airdrop(&self.payer.pubkey(), 1.0).await?;
self.airdrop(&self.payer.pubkey(), 1.0).await?;

let ncn_admin_pubkey = ncn_admin.pubkey();
self.initialize_config(ncn, ncn_admin, ncn_admin_pubkey, ncn_admin_pubkey, 0, 0, 0)
Expand Down Expand Up @@ -117,7 +117,7 @@ impl TipRouterClient {
) -> TestResult<()> {
let config_pda =
NcnConfig::find_program_address(&jito_tip_router_program::id(), &ncn_root.ncn_pubkey).0;
self._airdrop(&ncn_root.ncn_admin.pubkey(), 1.0).await?;
self.airdrop(&ncn_root.ncn_admin.pubkey(), 1.0).await?;
self.set_config_fees(
config_pda,
dao_fee_bps,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ mod tests {
ncn_admin: fake_admin,
};
tip_router_client
._airdrop(&fake_ncn_root.ncn_admin.pubkey(), 1.0)
.airdrop(&fake_ncn_root.ncn_admin.pubkey(), 1.0)
.await?;
let transaction_error = tip_router_client
.do_initialize_config(fake_ncn_root.ncn_pubkey, &fake_ncn_root.ncn_admin)
Expand Down

0 comments on commit 0769578

Please sign in to comment.