Run 'fetch-core-bpf.sh' from any directory#5518
Merged
fkouteib merged 1 commit intoanza-xyz:masterfrom Mar 26, 2025
Merged
Conversation
buffalojoec
approved these changes
Mar 26, 2025
OliverNChalk
pushed a commit
to OliverNChalk/agave
that referenced
this pull request
Nov 11, 2025
…nza-xyz#298, anza-xyz#356, anza-xyz#357) Original version written by Andrew Fitzgerald <apfitzge@gmail.com>. Current version rewritten to match the upstream scheduler code as of commit ef4f90f Author: Faycel Kouteib <faycel.kouteib@anza.xyz> Date: Wed Mar 26 16:29:14 2025 -0700 Run 'fetch-core-bpf.sh' from any directory (anza-xyz#5518) This also brings the invalidator logic closer to the upstream scheduler, as we are now changing the upstream Committer, rather than running our own copy. There is still a lot of code that was copied and modified. Maybe, eventually, we are going to reduce the copy/paste even more. Previous version: commit 8cd231e9c2435119f80d77ffcab164e3dc7e4cd2 Author: Andrew Fitzgerald <apfitzge@gmail.com> Date: Tue Sep 12 14:20:08 2023 -0700 Failed tx fastpath support (anza-xyz#133, anza-xyz#229, anza-xyz#356, anza-xyz#357) Includes: - replay: atomicbool instead of singleton for dropping packets (anza-xyz#224) commit db8607411b7016eb9a1f09dae07d9a9c375cac10 Author: kirill lykov <kirill.lykov@solana.com> Date: Thu Feb 8 10:52:48 2024 +0100 replay: atomicbool instead of singleton for dropping packets (anza-xyz#224) * use atomicbool instead of singleton to drop packets * add use for Ordering Co-authored-by: Illia Bobyr <ilya.bobyr@gmail.com> Signed-off-by: kirill lykov <lykov.kirill@gmail.com> * rename drop_packets --------- Signed-off-by: kirill lykov <lykov.kirill@gmail.com> Co-authored-by: Illia Bobyr <ilya.bobyr@gmail.com> - check_transactions in record_and_commit_batch (anza-xyz#229) - An update to the fee calculation due to commit 2cc540a Author: Justin Starry <justin@anza.xyz> Date: Wed May 29 15:41:47 2024 -0400 refactor: reuse calculated fees (anza-xyz#1462) - remove dead code (anza-xyz#298) commit c791d1c62f02b436d291744c88f122c51d80b4a8 Author: Brennan <brennan.watt@anza.xyz> Date: Fri Mar 22 06:45:29 2024 -0700 remove dead code (anza-xyz#298) - populate fee details (anza-xyz#357) commit 701e2cad0e9afc3911e1cbc06c849eda7b1ee5aa Author: Brennan <brennan.watt@anza.xyz> Date: Thu Jul 4 06:35:01 2024 -0700 populate fee details (anza-xyz#357) - adversary::failed_transaction_hotpath: Count only required singatures (anza-xyz#356) commit 7482b7976e968a645b6c9500d8c753b65b2acec5 Author: Illia Bobyr <illia.bobyr@anza.xyz> Date: Mon Jul 8 17:40:26 2024 -0700 adversary::failed_transaction_hotpath: Count only required singatures (anza-xyz#356) - adversary::failed_transaction_hotpath: Use solana_fee commit 0e9c9ab92909b677c8be6a6453af1dea96f81cc5 Author: Illia Bobyr <illia.bobyr@anza.xyz> Date: Tue Jul 30 03:04:27 2024 -0700 adversary::failed_transaction_hotpath: Use solana_fee Matching changes in commit 5604a4d Author: Andrew Fitzgerald <apfitzge@gmail.com> Date: Fri Jul 26 10:08:47 2024 -0400 Separate fee-calculation from SDK (anza-xyz#2120) anza-xyz#2120 Refactored-by: Illia Bobyr <illia.bobyr@anza.xyz>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Invoking this script with absolute path without being in the repo root directory first fails to find a second invoked script.
Summary of Changes
Determine absolute path of the script and append to other invoked scripts.