Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UPDATES: Steward Test Branch to Release #63

Merged
merged 18 commits into from
Jul 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading