Skip to content

Commit fe60486

Browse files
committed
renamed to jito_tip_router
1 parent 0936626 commit fe60486

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+501
-285
lines changed

.cargo/config.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# placeholders for clippy and other tools
22
# Program IDs may not be correct
33
[env]
4-
MEV_TIP_DISTRIBUTION_NCN_PROGRAM_ID = "Fv9aHCgvPQSr4jg9W8eTS6Ys1SNmh2qjyATrbsjEMaSH"
4+
TIP_ROUTER_PROGRAM_ID = "Fv9aHCgvPQSr4jg9W8eTS6Ys1SNmh2qjyATrbsjEMaSH"
55
RESTAKING_PROGRAM_ID = "6Weyp6uFyjJ3pzYz7XbXvCPAyvzLUhESEhHarFRm53Nb"
66
VAULT_PROGRAM_ID = "4vB3bvqKEmxV68J7XtS1HqZomjok4ZXc1ELJH9p1K1D2"

.cargo/programs.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
MEV_TIP_DISTRIBUTION_NCN_PROGRAM_ID=Fv9aHCgvPQSr4jg9W8eTS6Ys1SNmh2qjyATrbsjEMaSH
1+
TIP_ROUTER_PROGRAM_ID=Fv9aHCgvPQSr4jg9W8eTS6Ys1SNmh2qjyATrbsjEMaSH
22
RESTAKING_PROGRAM_ID=6Weyp6uFyjJ3pzYz7XbXvCPAyvzLUhESEhHarFRm53Nb
33
VAULT_PROGRAM_ID=4vB3bvqKEmxV68J7XtS1HqZomjok4ZXc1ELJH9p1K1D2

.github/workflows/ci.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,12 @@ jobs:
3838
components: rustfmt, clippy
3939
toolchain: nightly-2024-07-25
4040
- name: Regenerate Shank IDL files
41-
run: cargo b --release -p jito-mev-tip-distribution-ncn-shank-cli && ./target/release/jito-mev-tip-distribution-ncn-shank-cli
41+
run: cargo b --release -p jito-tip-router-shank-cli && ./target/release/jito-tip-router-shank-cli
4242
- name: Verify no changed files
4343
uses: tj-actions/verify-changed-files@v20
4444
with:
4545
fail-if-changed: true
46-
fail-message: 'Unexpected changes in the shank IDL files. Please run `./target/release/jito-mev-tip-distribution-ncn-shank-cli` to regenerate the files.'
46+
fail-message: 'Unexpected changes in the shank IDL files. Please run `./target/release/jito-tip-router-shank-cli` to regenerate the files.'
4747
- name: Set Node.js 22.x
4848
uses: actions/setup-node@v3
4949
with:
@@ -104,12 +104,12 @@ jobs:
104104
- name: Building programs
105105
run: cargo-build-sbf
106106
env:
107-
MEV_TIP_DISTRIBUTION_NCN_PROGRAM_ID: ${{ env.MEV_TIP_DISTRIBUTION_NCN_PROGRAM_ID }}
107+
TIP_ROUTER_PROGRAM_ID: ${{ env.TIP_ROUTER_PROGRAM_ID }}
108108
- name: Upload MEV Tip Distribution NCN program
109109
uses: actions/upload-artifact@v4
110110
with:
111-
name: jito_mev_tip_distribution_ncn_program.so
112-
path: target/sbf-solana-solana/release/jito_mev_tip_distribution_ncn_program.so
111+
name: jito_tip_router_program.so
112+
path: target/sbf-solana-solana/release/jito_tip_router_program.so
113113
if-no-files-found: error
114114

115115
# coverage:
@@ -126,12 +126,12 @@ jobs:
126126
# - name: Generate code coverage
127127
# run: cargo llvm-cov --all-features --workspace --lcov --output-path lcov.info
128128
# env:
129-
# MEV_TIP_DISTRIBUTION_NCN_PROGRAM_ID: Fv9aHCgvPQSr4jg9W8eTS6Ys1SNmh2qjyATrbsjEMaSH
129+
# TIP_ROUTER_PROGRAM_ID: Fv9aHCgvPQSr4jg9W8eTS6Ys1SNmh2qjyATrbsjEMaSH
130130
# - name: Upload coverage to Codecov
131131
# uses: codecov/[email protected]
132132
# with:
133133
# token: ${{ secrets.CODECOV_TOKEN }}
134-
# slug: jito-foundation/jito-mev-tip-distribution-ncn
134+
# slug: jito-foundation/jito-tip-router
135135
# fail_ci_if_error: true
136136

137137
test_sbf:
@@ -149,7 +149,7 @@ jobs:
149149
- name: Download MEV Tip Distribution NCN program
150150
uses: actions/download-artifact@v4
151151
with:
152-
name: jito_mev_tip_distribution_ncn_program.so
152+
name: jito_tip_router_program.so
153153
path: target/sbf-solana-solana/release/
154154
- uses: taiki-e/install-action@nextest
155155
- run: cargo nextest run --all-features

Cargo.lock

Lines changed: 75 additions & 75 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[workspace]
22
members = [
33
"cli",
4-
"clients/rust/jito_mev_tip_distribution_ncn",
4+
"clients/rust/jito_tip_router",
55
"core",
66
"integration_tests",
77
"program",
@@ -64,10 +64,10 @@ spl-token = { version = "4.0.0", features = ["no-entrypoint"] }
6464
syn = "2.0.72"
6565
thiserror = "1.0.57"
6666
tokio = { version = "1.36.0", features = ["full"] }
67-
jito-mev-tip-distribution-ncn-client = { path = "./clients/rust/jito_mev_tip_distribution_ncn", version = "0.0.1" }
68-
jito-mev-tip-distribution-ncn-core = { path = "./core", version = "=0.0.1" }
69-
jito-mev-tip-distribution-ncn-program = { path = "./program", version = "=0.0.1" }
70-
jito-mev-tip-distribution-ncn-shank-cli = { path = "./shank_cli", version = "=0.0.1" }
67+
jito-tip-router-client = { path = "./clients/rust/jito_tip_router", version = "0.0.1" }
68+
jito-tip-router-core = { path = "./core", version = "=0.0.1" }
69+
jito-tip-router-program = { path = "./program", version = "=0.0.1" }
70+
jito-tip-router-shank-cli = { path = "./shank_cli", version = "=0.0.1" }
7171
jito-bytemuck = { git = "https://github.com/jito-foundation/restaking.git", version = "=0.0.3" }
7272
jito-account-traits-derive = { git = "https://github.com/jito-foundation/restaking.git", version = "=0.0.3" }
7373
jito-jsm-core = { git = "https://github.com/jito-foundation/restaking.git", version = "=0.0.3" }

cli/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[package]
2-
name = "jito-mev-tip-distribution-ncn-cli"
2+
name = "jito-tip-router-cli"
33
description = "Jito MEV Tip Distribution NCN CLI"
44
version = { workspace = true }
55
authors = { workspace = true }
@@ -37,5 +37,5 @@ tokio = { workspace = true }
3737
assert_matches = { workspace = true }
3838

3939
[[bin]]
40-
name = "jito-mev-tip-distribution-ncn-cli"
40+
name = "jito-tip-router-cli"
4141
path = "src/bin/main.rs"

cli/src/bin/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
use clap::Parser;
2-
use jito_mev_tip_distribution_ncn_cli::cli_args::Args;
2+
use jito_tip_router_cli::cli_args::Args;
33

44
fn main() {
55
let args = Args::parse();

0 commit comments

Comments
 (0)