Skip to content

Run 'fetch-core-bpf.sh' from any directory#5518

Merged
fkouteib merged 1 commit intoanza-xyz:masterfrom
fkouteib:fetch-core-bpf-fix
Mar 26, 2025
Merged

Run 'fetch-core-bpf.sh' from any directory#5518
fkouteib merged 1 commit intoanza-xyz:masterfrom
fkouteib:fetch-core-bpf-fix

Conversation

@fkouteib
Copy link
Copy Markdown

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.

@fkouteib fkouteib merged commit ef4f90f into anza-xyz:master Mar 26, 2025
20 checks passed
@fkouteib fkouteib deleted the fetch-core-bpf-fix branch March 26, 2025 23:29
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants