Skip to content

Commit

Permalink
use better mainnet endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
jordy25519 committed Oct 21, 2024
1 parent 56c3a15 commit 8b76a63
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,5 +58,6 @@ jobs:
env:
RUST_LOG: info
TEST_DEVNET_RPC_ENDPOINT: ${{ secrets.DEVNET_RPC_ENDPOINT }}
TEST_MAINNET_RPC_ENDPOINT: ${{ secrets.MAINNET_RPC_ENDPOINT }}
TEST_PRIVATE_KEY: ${{ secrets.TEST_PRIVATE_KEY }}
CARGO_DRIFT_FFI_PATH: "/usr/lib"
4 changes: 2 additions & 2 deletions crates/src/account_map.rs
Original file line number Diff line number Diff line change
Expand Up @@ -168,13 +168,13 @@ mod tests {
use solana_sdk::pubkey;

use super::*;
use crate::{accounts::User, constants::DEFAULT_PUBKEY, Wallet};
use crate::{accounts::User, constants::DEFAULT_PUBKEY, utils::test_envs::mainnet_endpoint, Wallet};

#[tokio::test]
async fn test_user_subscribe() {
let _ = env_logger::try_init();
let account_map = AccountMap::new(
"https://api.mainnet-beta.solana.com".into(),
mainnet_endpoint().into(),
CommitmentConfig::confirmed(),
);
let user_1 = Wallet::derive_user_account(
Expand Down

0 comments on commit 8b76a63

Please sign in to comment.