Skip to content

Commit

Permalink
UPDATES: Steward Test Branch to Release (#63)
Browse files Browse the repository at this point in the history
The big boi, after lots of testing and audits, it's time to release the
Steward.

---------

Co-authored-by: Evan Batsell <[email protected]>
Co-authored-by: Christian <[email protected]>
Co-authored-by: Christian  Krueger <[email protected]>
  • Loading branch information
4 people authored Jul 31, 2024
1 parent d0f07a8 commit 0bf2724
Show file tree
Hide file tree
Showing 78 changed files with 5,796 additions and 1,335 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,13 @@ on:
push:
branches:
- master
- steward-test-branch
tags:
- "v*"
pull_request:
branches:
- master
- steward-test-branch

jobs:
security_audit:
Expand All @@ -21,7 +23,7 @@ jobs:
uses: baptiste0928/cargo-install@v3
with:
crate: cargo-audit
- run: cargo audit --ignore RUSTSEC-2022-0093 --ignore RUSTSEC-2023-0065 --ignore RUSTSEC-2024-0336 --ignore RUSTSEC-2024-0344
- run: cargo audit --ignore RUSTSEC-2022-0093 --ignore RUSTSEC-2023-0065 --ignore RUSTSEC-2024-0336 --ignore RUSTSEC-2024-0344 --ignore RUSTSEC-2024-0357

lint:
name: lint
Expand Down Expand Up @@ -74,7 +76,7 @@ jobs:
uses: baptiste0928/cargo-install@v3
with:
crate: anchor-cli
version: "0.30.0"
version: "0.30.1"
- name: install solana toolsuite
run: sh -c "$(curl -sSfL https://release.solana.com/v1.18.11/install)"
- name: add to path
Expand All @@ -88,6 +90,8 @@ jobs:
# run verified build
- run: solana-verify build --library-name validator_history

- run: solana-verify build --library-name jito_steward -- --features mainnet-beta

# upload the IDL and verified build
- name: Upload validator_history.so
uses: actions/upload-artifact@v4
Expand Down
43 changes: 37 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ members = [
"keepers/*",
"programs/*",
"tests",
"utils/*"
"utils/*",
]

[profile.release]
Expand Down
1 change: 1 addition & 0 deletions keepers/keeper-core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,7 @@ pub async fn parallel_execute_transactions(
// Future optimization: submit these in parallel batches and refresh blockhash for every batch
match client.send_transaction(tx).await {
Ok(signature) => {
println!("Submitted transaction: {:?}", signature);
submitted_signatures.insert(signature, idx);
}
Err(e) => match e.get_transaction_error() {
Expand Down
2 changes: 2 additions & 0 deletions programs/steward/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ name = "jito_steward"
no-entrypoint = []
no-idl = []
no-log-ix-name = []
mainnet-beta = []
testnet = []
cpi = ["no-entrypoint"]
default = ["custom-heap"]
custom-heap = []
Expand Down
Loading

0 comments on commit 0bf2724

Please sign in to comment.