Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Specify loader when bootstrapping BPF programs #11571

Merged
merged 1 commit into from
Aug 12, 2020

Conversation

jackcmay
Copy link
Contributor

Problem

Genesis is assuming the default loader when adding BPF programs and the default loader has been recently updated. Programs compatible with the old loader fail when loaded by the new one.

Summary of Changes

Allow callers to specify what loader to use when adding the program and also update the SPL scripts to specify the compatible loader

Fixes #

@codecov
Copy link

codecov bot commented Aug 12, 2020

Codecov Report

Merging #11571 into master will increase coverage by 0.2%.
The diff coverage is 91.5%.

@@            Coverage Diff            @@
##           master   #11571     +/-   ##
=========================================
+ Coverage    81.8%    82.0%   +0.2%     
=========================================
  Files         327      330      +3     
  Lines       75616    75869    +253     
=========================================
+ Hits        61889    62248    +359     
+ Misses      13727    13621    -106     

@jackcmay jackcmay merged commit 0a94e7e into solana-labs:master Aug 12, 2020
@jackcmay jackcmay deleted the specify-loader-to-genesis branch August 12, 2020 16:47
@jackcmay jackcmay added the v1.3 label Aug 25, 2020
mergify bot pushed a commit that referenced this pull request Aug 25, 2020
jackcmay added a commit that referenced this pull request Aug 25, 2020
@t-nelson t-nelson added the v1.2 label Sep 10, 2020
mergify bot pushed a commit that referenced this pull request Sep 10, 2020
(cherry picked from commit 0a94e7e)

# Conflicts:
#	fetch-spl.sh
t-nelson pushed a commit that referenced this pull request Sep 10, 2020
mergify bot added a commit that referenced this pull request Sep 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants