Skip to content

jito-foundation/jito-tip-router

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jito MEV Tip Distribution NCN

Testing Setup

Prerequisites

  1. Set up test-ledger: ./tip-router-operator-cli/scripts/setup-test-ledger.sh

    • NOTE: This script fails on the edge version of Solana. Currently it's being ran with 1.18.26. sh -c "$(curl -sSfL https://release.anza.xyz/v1.18.26/install)"
  2. Build the tip router program: cargo build-sbf --manifest-path program/Cargo.toml --sbf-out-dir integration_tests/tests/fixtures

    • NOTE: Given the current state of Cargo.lock, you must use a version of cargo-build-sbf that has a rust toolchain higher than 1.74.0. For now, switch to the edge version to build this. sh -c "$(curl -sSfL https://release.anza.xyz/v2.2.0/install)". Another option would be to manually set the Cargo.lock file version to 3 instead of 4 (coral-xyz/anchor#3392 (comment))
  3. Run tests: SBF_OUT_DIR=integration_tests/tests/fixtures cargo test

    • NOTE: If you are still on the edge version of Solana CLI probably best to switch back to 1.18.26

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages