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

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: solana-labs/solana
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.18.26
Choose a base ref
...
head repository: solana-labs/solana
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref

Commits on Jan 23, 2024

  1. Fix epoch rewards partition-data program owner (#34913)

    Fix account program owner
    Tyera authored Jan 23, 2024
    Copy the full SHA
    7ebe0bc View commit details
  2. Removes fs-err dependency (#34911)

    brooksprumo authored Jan 23, 2024
    Copy the full SHA
    3303c25 View commit details
  3. [TieredStorage] In-memory struct for writing OwnersBlock (#34853)

    #### Problem
    To write the owners-block, it requires an in-memory struct that maintains
    a set of unique owner addresses while providing a look-up function to
    obtain the OwnerOffset with the specified owner address. 
    
    #### Summary of Changes
    This PR adds OwnersTable, the in-memory struct that maintains
    a set of unique owner addresses while providing a look-up function to
    obtain the OwnerOffset with the specified owner address.
    
    #### Test Plan
    A new unit-test is added.
    yhchiang-sol authored Jan 23, 2024
    Copy the full SHA
    1810fea View commit details

Commits on Jan 24, 2024

  1. Updates mergify backport actions for new minor version (#34921)

    brooksprumo authored Jan 24, 2024
    Copy the full SHA
    bfbe03a View commit details
  2. Introduce primitive threading in unified scheduler (#34676)

    * Introduce primitive threading in unified scheduler
    
    * Make the internal struct ExecutedTask not pub
    
    * Improve wording a bit
    
    * Explain scheduler main loop's overhead sensitivity
    
    * Improve wording a bit
    
    * Define ChainedChannel{Sender, Receiver} wrappers
    
    * Clean up a bit
    
    * Use derivative to avoid manual Clone impl
    
    * Clarify comment
    
    * Remove extra whitespace in comment
    
    * Remove unneeded dyn trait for ChainedChannel
    
    * Remove the accumulator thread for now
    
    * Fix typo
    
    * Use unimplemented!() to convey intention better
    ryoqun authored Jan 24, 2024
    Copy the full SHA
    bd10386 View commit details
  3. Support json parsing of epoch-rewards partition data sysvar accounts (#…

    Tyera authored Jan 24, 2024
    Copy the full SHA
    b9947bd View commit details
  4. [zk-token-sdk] Use checked arithmetic when processing transfer amount (

    …#34130)
    
    * add `try_split_u64`
    
    * add `try_combine_lo_hi_u64`
    
    * add `try` variants of ciphertext arithmetic functions
    
    * use try functions in proof generaiton and verification logic
    
    * deprecate non-`try` functions
    
    * use try functions in proof generaiton and verification logic
    
    * Apply suggestions from code review
    
    Co-authored-by: Jon C <me@jonc.dev>
    
    * cargo fmt
    
    ---------
    
    Co-authored-by: Jon C <me@jonc.dev>
    samkim-crypto and joncinque authored Jan 24, 2024
    Copy the full SHA
    b11d41a View commit details
  5. Refactor load_accounts to take a reference to a slice instead of vec (#…

    …34919)
    
    This is in preparation for further refactoring of
    Bank::load_and_execute_transactions in a separate commit.
    dmakarov authored Jan 24, 2024
    Copy the full SHA
    ef233ea View commit details
  6. Add push_heaviest_fork and get_heaviest_fork. (#34892)

    Add push_get_heaviest_fork and push_get_heaviest_fork.
    wen-coding authored Jan 24, 2024
    Copy the full SHA
    0d92254 View commit details
  7. Refactor bank's load_and_execute_transaction (#34893)

    * Refactor bank load_and_execute_transactions
    
    * Remove redundant clippy annotation
    
    * Report check time where it is done in load_and_execute_transactions
    dmakarov authored Jan 24, 2024
    Copy the full SHA
    662e77f View commit details
  8. Cleans up stale accounts hash cache files (#34933)

    brooksprumo authored Jan 24, 2024
    Copy the full SHA
    5898b9a View commit details
  9. [clap-v3-utils] Add functions to parse directly from SignerSource (#…

    …34678)
    
    * add `_from_source` function variants for signer, keypair, and pubkey
    
    * make `parse_signer_source` an associated function of `SignerSource`
    
    * refactor `SignerSource` into `input_parsers::signer`
    
    * make `_from_source` functions public
    
    * remove unnecessary import
    samkim-crypto authored Jan 24, 2024
    Copy the full SHA
    3004eaa View commit details
  10. Move EpochRewardsHasher to solana-sdk (#34934)

    * Move EpochRewardsHasher to solana-sdk
    
    * Cargo.lock
    
    * Apparently we're allowing arithmetic_side_effects in all of runtime
    
    * Move allow stmt to block instead of module
    
    * Also allow in test mod
    Tyera authored Jan 24, 2024
    Copy the full SHA
    bbd1fd4 View commit details
  11. BlockProductionMethod::CentralScheduler as default (#34891)

    apfitzge authored Jan 24, 2024
    Copy the full SHA
    62e7ebd View commit details

Commits on Jan 25, 2024

  1. Refactoring internal bank method signature for consistency (#34936)

    dmakarov authored Jan 25, 2024
    Copy the full SHA
    5b59930 View commit details
  2. Code cleanup in account_rent_state (#34941)

    pgarg66 authored Jan 25, 2024
    Copy the full SHA
    b04765f View commit details
  3. Create SVM folder as a placeholder for the relevant code (#34942)

    pgarg66 authored Jan 25, 2024
    Copy the full SHA
    b161f6c View commit details
  4. build(deps): bump bytemuck from 1.14.0 to 1.14.1 (#34945)

    * build(deps): bump bytemuck from 1.14.0 to 1.14.1
    
    Bumps [bytemuck](https://github.com/Lokathor/bytemuck) from 1.14.0 to 1.14.1.
    - [Changelog](https://github.com/Lokathor/bytemuck/blob/main/changelog.md)
    - [Commits](Lokathor/bytemuck@v1.14.0...v1.14.1)
    
    ---
    updated-dependencies:
    - dependency-name: bytemuck
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    * [auto-commit] Update all Cargo lock files
    
    ---------
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com>
    dependabot[bot] and dependabot-buildkite authored Jan 25, 2024
    Copy the full SHA
    b18f738 View commit details
  5. solana-program: VoteState::deserialize() (#34829)

    * implement a custom parser for `VoteState` which is usuable in a bpf context
    * derive or impl `Arbitrary` for `VoteStateVersions` and its component types, for test builds only
    2501babe authored Jan 25, 2024
    Copy the full SHA
    0c2d9d2 View commit details
  6. Docs - for loaded_programs.rs (#34715)

    Adds doc comments to loaded_programs.rs
    Lichtso authored Jan 25, 2024
    Copy the full SHA
    2c98399 View commit details
  7. [TieredStorage] writing hot account blocks and index blocks (#34828)

    #### Problem
    The implementation of write_accounts() for HotAccountStorage is missing.
    It consists of the writing of account blocks, index block, and owners block.
    
    #### Summary of Changes
    This PR completes part of the HotStorageWriter::write_accounts().
    Specifically, it finishes the writing of account blocks and index block.
    
    #### Test Plan
    A new unit-test is added to verify the correctness of the work-in-progress
    HotStorageWriter::write_accounts().
    yhchiang-sol authored Jan 25, 2024
    Copy the full SHA
    26d62b9 View commit details
  8. Use ThreadLocalMultiIterator for tests (#34947)

    * Use ThreadLocalMultiIterator for tests
    
    * some validator config was not using default_for_test
    apfitzge authored Jan 25, 2024
    Copy the full SHA
    29737ab View commit details
  9. accounts-cluster-bench: Break early when a max-accounts limit is reac…

    …hed (#34922)
    
    * Improve help text
    
    * Add max_accounts cli arg and halt loop accordingly
    
    * Log totals before max_account exit
    
    * Add test of early end on max_accounts
    
    * Add logging when account-creation loop breaks
    Tyera authored Jan 25, 2024
    Copy the full SHA
    6c4746d View commit details
  10. Add rpc support for partitioned rewards (#34773)

    * Check feature_set for enable_partitioned_epoch_reward
    
    * Keep common variable outside if case
    
    * Keep common early return out of if case, since the first_slot_in_epoch must exist for partiion PDA to exist
    
    * Get and parse epoch partition data PDA
    
    * Find partition index for all addresses
    
    * Pull relevant blocks and get rewards
    
    * Reuse ordering and reformatting
    
    * Remove feature deactivation from TestValidator
    
    * Restore rewards iteration in first block in epoch for feature case to catch Voting rewards
    
    * Add fn get_reward_map helper to dedupe code
    
    * No need to start 2nd get_block_with_limit call with first block again
    
    * Replace filter_map to parameterize RewardType filter expression
    
    * Weird thing to make clippy and compiler agree (rust-lang/rust-clippy#8098)
    
    * Use activated_slot to ensure the right approach for past rewards epochs
    Tyera authored Jan 25, 2024
    Copy the full SHA
    22500c2 View commit details
  11. Move counter and logging code back to load_and_execute_transactions() (

    pgarg66 authored Jan 25, 2024
    Copy the full SHA
    1e68ba5 View commit details
  12. Adds cache hash data deletion policy enum (#34956)

    brooksprumo authored Jan 25, 2024
    Copy the full SHA
    e155d9c View commit details
  13. Cli: Return final transaction signature in solana program deploy (#34931

    )
    ellttBen authored Jan 25, 2024
    Copy the full SHA
    9e09524 View commit details
  14. Adds hit/miss stats for cache hash data (#34954)

    brooksprumo authored Jan 25, 2024
    Copy the full SHA
    f0d67d7 View commit details

Commits on Jan 26, 2024

  1. [TieredStorage] Use RENT_EXEMPT_RENT_EPOCH in HotStorageWriter (#34950)

    #### Problem
    In HotStorageWriter::write_accounts, it skips storing rent-epoch when
    the rent-epoch equals Epoch::MAX.  While the value is correct, it is
    more suitable to use RENT_EXEMPT_RENT_EPOCH instead as the
    goal here is to save bytes for rent-exempt accounts.
    
    #### Summary of Changes
    Replace Epoch::MAX by RENT_EXEMPT_RENT_EPOCH when checking
    whether to skip storing rent-epoch in HotStorageWriter.
    yhchiang-sol authored Jan 26, 2024
    Copy the full SHA
    51c0649 View commit details
  2. ledger-tool: Minor cleanup on --ignore-ulimit-nofile-error flag (#34944)

    This argument is a flag and doesn't take a value; however, it had the
    .value_name() modifier set with "FORMAT". This could be confusing so
    remove .value_name() and add .takes_value(false)
    steviez authored Jan 26, 2024
    Copy the full SHA
    89fd6ac View commit details
  3. ledger-tool: Refactor accounts subcommand output code (#34915)

    The accounts command currently dumps every single account in the
    AccountsDb. This is obviously a lot of output, so a previous change
    streamed the accounts instead of collecting and dumping at the end.
    
    The streaming approach is much more performant, but the implementation
    is non-trivial. This change
    - Moves the accounts output code to output.rs
    - Refactor the logic to several objects that implment the functionality
    - Adjust the json output to also include the summary
    
    This change lays the groundwork for cleanly adding several more flags
    that will allow for querying different subsets of accounts.
    steviez authored Jan 26, 2024
    Copy the full SHA
    3add40f View commit details
  4. build(deps): bump hidapi from 2.4.1 to 2.5.0 (#34965)

    Bumps [hidapi](https://github.com/ruabmbua/hidapi-rs) from 2.4.1 to 2.5.0.
    - [Release notes](https://github.com/ruabmbua/hidapi-rs/releases)
    - [Commits](https://github.com/ruabmbua/hidapi-rs/commits)
    
    ---
    updated-dependencies:
    - dependency-name: hidapi
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jan 26, 2024
    Copy the full SHA
    5da06c5 View commit details
  5. separate priority fee and transaction fee from fee calculation (#34757)

    add function calculate_fee_details() that returns FeeDetails with base and priority fee separated
    tao-stones authored Jan 26, 2024
    Copy the full SHA
    5ecc47e View commit details
  6. [TieredStorage] Write owners block for HotAccountStorage (#34927)

    #### Problem
    So far the current HotStorageWriter::write_accounts() only writes
    accounts blocks and index block.
    
    #### Summary of Changes
    The PR further writes owners block in HotStorageWriter::write_accounts().
    
    #### Test Plan
    Extended existing test for HotStorageWriter to cover the owners block.
    yhchiang-sol authored Jan 26, 2024
    Copy the full SHA
    663a1bb View commit details
  7. gossip: notify state machine of duplicate proofs (#32963)

    * gossip: notify state machine of duplicate proofs
    
    * Add feature flag for ingesting duplicate proofs from Gossip.
    
    * Use the Epoch the shred is in instead of the root bank epoch.
    
    * Fix unittest by activating the feature.
    
    * Add a test for feature disabled case.
    
    * EpochSchedule is now not copyable, clone it explicitly.
    
    * pr feedback: read epoch schedule on startup, add guard for ff recache
    
    * pr feedback: bank_forks lock, -cached_slots_in_epoch, init ff
    
    * pr feedback: bank.forks_try_read() -> read()
    
    * pr feedback: fix local-cluster setup
    
    * local-cluster: do not expose gossip internals, use retry mechanism instead
    
    * local-cluster: split out case 4b into separate test and ignore
    
    * pr feedback: avoid taking lock if ff is already found
    
    * pr feedback: do not cache ff epoch
    
    * pr feedback: bank_forks lock, revert to cached_slots_in_epoch
    
    * pr feedback: move local variable into helper function
    
    * pr feedback: use let else, remove epoch 0 hack
    
    ---------
    
    Co-authored-by: Wen <crocoxu@gmail.com>
    AshwinSekar and wen-coding authored Jan 26, 2024
    Copy the full SHA
    93271d9 View commit details
  8. [TieredStorage] Avoid AccountHash copy in AccountMetaOptionalFields (#…

    …34969)
    
    #### Problem
    Using non-reference type of AccountHash in 
    AccountMetaOptionalFields causes an unnecessary copy
    as mentioned in #34948.
    
    #### Summary of Changes
    Uses &AccountHash in AccountMetaOptionalFields to
    avoid copying.
    
    #### Test Plan
    Existing unit tests.
    
    Fixes #34948
    yhchiang-sol authored Jan 26, 2024
    Copy the full SHA
    7138f87 View commit details
  9. [TieredStorage] Correct the HotStorage API for account_matches_owners (

    …#34967)
    
    #### Problem
    In HotStorageReader, the account_matches_owners takes
    &[&Pubkey] as the address candidates.  However, it should
    be &[Pubkey] as defined in the accounts_file API.
    
    #### Summary of Changes
    Correct HotStorageReader::account_matches_owners() to
    take &[Pubkey] instead.
    
    #### Test Plan
    Existing unit-tests
    yhchiang-sol authored Jan 26, 2024
    Copy the full SHA
    3380c14 View commit details
  10. refactor unused parameter (#34970)

    tao-stones authored Jan 26, 2024
    Copy the full SHA
    0838909 View commit details
  11. Stops pushing accounts hashes to gossip in AccountsHashVerifier (#34971)

    brooksprumo authored Jan 26, 2024
    Copy the full SHA
    c656ca6 View commit details
  12. Skip creating reward partition account for `--partitioned-epoch-rewar…

    …ds-force-enable-single-slot` (#34946)
    
    * skip creating reward partition account when we are testing agains mainnet
    
    * Update runtime/src/bank.rs
    
    Co-authored-by: Brooks <brooks@prumo.org>
    
    * Update runtime/src/bank.rs
    
    Co-authored-by: Brooks <brooks@prumo.org>
    
    * refactor bool logic for partition reward single slot enable
    
    * Update runtime/src/bank.rs
    
    Co-authored-by: Tyera <teulberg@gmail.com>
    
    * move force_partition_rewards check into data account create fn
    
    * share code
    
    ---------
    
    Co-authored-by: HaoranYi <haoran.yi@solana.com>
    Co-authored-by: Brooks <brooks@prumo.org>
    Co-authored-by: Tyera <teulberg@gmail.com>
    4 people authored Jan 26, 2024
    Copy the full SHA
    8a0c91d View commit details
  13. Remove unused get_append_vec_id function (#34949)

    remove unused get_append_vec_id fn
    
    Co-authored-by: HaoranYi <haoran.yi@solana.com>
    HaoranYi and HaoranYi authored Jan 26, 2024
    Copy the full SHA
    e38848e View commit details
  14. Remove BlockhashQueue dependency from SVM related code (#34974)

    pgarg66 authored Jan 26, 2024
    Copy the full SHA
    0d117d4 View commit details
  15. Removes unused parameters from AccountsHashVerifier::new() (#34976)

    brooksprumo authored Jan 26, 2024
    Copy the full SHA
    e1260a9 View commit details
  16. Removes unused retain_max_n_elements() (#34978)

    brooksprumo authored Jan 26, 2024
    Copy the full SHA
    59c2f35 View commit details

Commits on Jan 27, 2024

  1. Removes unused AccountsHashFaultInjector (#34977)

    brooksprumo authored Jan 27, 2024
    Copy the full SHA
    02062a6 View commit details
  2. adds feature to enable chained Merkle shreds (#34916)

    During a cluster upgrade when only half of the cluster can ingest the new shred
    variant, sending shreds of the new variant can cause nodes to diverge.
    The commit adds a feature to enable chained Merkle shreds explicitly.
    behzadnouri authored Jan 27, 2024
    Copy the full SHA
    d4fdcd9 View commit details
  3. adds chained_merkle_root to shredder arguments (#34952)

    Working towards chaining Merkle root of erasure batches, the commit adds
    chained_merkle_root to shredder arguments.
    behzadnouri authored Jan 27, 2024
    Copy the full SHA
    79bbe43 View commit details
  4. SVM: Move TransactionAccountStateInfo to svm and decouple from `ban…

    …k` (#34981)
    pgarg66 authored Jan 27, 2024
    Copy the full SHA
    2455dc1 View commit details
  5. solana-program: only decode prior_voters if needed (#34972)

    2501babe authored Jan 27, 2024
    Copy the full SHA
    c99427e View commit details

Commits on Jan 28, 2024

  1. build(deps): bump chrono from 0.4.31 to 0.4.32 (#34898)

    * build(deps): bump chrono from 0.4.31 to 0.4.32
    
    Bumps [chrono](https://github.com/chronotope/chrono) from 0.4.31 to 0.4.32.
    - [Release notes](https://github.com/chronotope/chrono/releases)
    - [Changelog](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md)
    - [Commits](chronotope/chrono@v0.4.31...v0.4.32)
    
    ---
    updated-dependencies:
    - dependency-name: chrono
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    * [auto-commit] Update all Cargo lock files
    
    ---------
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com>
    dependabot[bot] and dependabot-buildkite authored Jan 28, 2024
    Copy the full SHA
    52d3c02 View commit details
Showing 472 changed files with 22,758 additions and 15,134 deletions.
4 changes: 2 additions & 2 deletions .buildkite/scripts/build-bench.sh
Original file line number Diff line number Diff line change
@@ -22,5 +22,5 @@ EOF

# shellcheck disable=SC2016
group "bench" \
"$(build_steps "bench-part-1" ". ci/rust-version.sh; ci/docker-run.sh \$\$rust_nightly_docker_image ci/bench/part1.sh")" \
"$(build_steps "bench-part-2" ". ci/rust-version.sh; ci/docker-run.sh \$\$rust_nightly_docker_image ci/bench/part2.sh")"
"$(build_steps "bench-part-1" "ci/docker-run-default-image.sh ci/bench/part1.sh")" \
"$(build_steps "bench-part-2" "ci/docker-run-default-image.sh ci/bench/part2.sh")"
6 changes: 3 additions & 3 deletions .buildkite/scripts/build-stable.sh
Original file line number Diff line number Diff line change
@@ -12,7 +12,7 @@ partitions=$(
cat <<EOF
{
"name": "partitions",
"command": ". ci/rust-version.sh; ci/docker-run.sh \$\$rust_stable_docker_image ci/stable/run-partition.sh",
"command": "ci/docker-run-default-image.sh ci/stable/run-partition.sh",
"timeout_in_minutes": 30,
"agent": "$agent",
"parallelism": 2,
@@ -25,7 +25,7 @@ local_cluster_partitions=$(
cat <<EOF
{
"name": "local-cluster",
"command": ". ci/rust-version.sh; ci/docker-run.sh \$\$rust_stable_docker_image ci/stable/run-local-cluster-partially.sh",
"command": "ci/docker-run-default-image.sh ci/stable/run-local-cluster-partially.sh",
"timeout_in_minutes": 30,
"agent": "$agent",
"parallelism": 5,
@@ -38,7 +38,7 @@ localnet=$(
cat <<EOF
{
"name": "localnet",
"command": ". ci/rust-version.sh; ci/docker-run.sh \$\$rust_stable_docker_image ci/stable/run-localnet.sh",
"command": "ci/docker-run-default-image.sh ci/stable/run-localnet.sh",
"timeout_in_minutes": 30,
"agent": "$agent"
}
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -13,4 +13,4 @@ updates:
timezone: America/Los_Angeles
#labels:
# - "automerge"
open-pull-requests-limit: 6
open-pull-requests-limit: 0
4 changes: 4 additions & 0 deletions .github/scripts/cargo-clippy-before-script.sh
Original file line number Diff line number Diff line change
@@ -6,6 +6,10 @@ os_name="$1"

case "$os_name" in
"Windows")
vcpkg install openssl:x64-windows-static-md
vcpkg integrate install
choco install protoc
export PROTOC='C:\ProgramData\chocolatey\lib\protoc\tools\bin\protoc.exe'
;;
"macOS")
brew install protobuf
42 changes: 0 additions & 42 deletions .github/workflows/autolock_bot_PR.txt

This file was deleted.

43 changes: 0 additions & 43 deletions .github/workflows/autolock_bot_closed_issue.txt

This file was deleted.

2 changes: 2 additions & 0 deletions .github/workflows/cargo.yml
Original file line number Diff line number Diff line change
@@ -31,6 +31,7 @@ jobs:
matrix:
os:
- macos-latest-large
- windows-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
@@ -53,6 +54,7 @@ jobs:
matrix:
os:
- macos-latest-large
- windows-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
20 changes: 20 additions & 0 deletions .github/workflows/close-new-issues.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Close new issues

on:
issues:
types: [opened, reopened]

jobs:
comment-and-close:
runs-on: ubuntu-latest
steps:
- shell: bash
env:
ISSUE_NUMBER: ${{ github.event.issue.number }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_REPO: ${{ github.repository }}
COMMENT: >
This repository is no longer in use. Please re-open this
issue in the agave repo: https://github.com/anza-xyz/agave
run: >
gh issue close "$ISSUE_NUMBER" --comment "$COMMENT"
20 changes: 20 additions & 0 deletions .github/workflows/close-new-pull-requests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Close new pull requests

on:
pull_request:
types: [opened, reopened]

jobs:
comment-and-close:
runs-on: ubuntu-latest
steps:
- shell: bash
env:
PR_NUMBER: ${{ github.event.pull_request.number }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_REPO: ${{ github.repository }}
COMMENT: >
This repository is no longer in use. Please re-open this
pull request in the agave repo: https://github.com/anza-xyz/agave
run: >
gh pr close "$PR_NUMBER" --comment "$COMMENT"
3 changes: 3 additions & 0 deletions .github/workflows/downstream-project-anchor.yml
Original file line number Diff line number Diff line change
@@ -17,6 +17,9 @@ on:
- "cargo-test-bpf"
- "cargo-build-sbf"
- "cargo-test-sbf"
- "scripts/build-downstream-anchor-projects.sh"
- ".github/scripts/purge-ubuntu-runner.sh"
- ".github/scripts/downstream-project-spl-install-deps.sh"
- ".github/workflows/downstream-project-anchor.yml"
workflow_call:
inputs:
13 changes: 2 additions & 11 deletions .github/workflows/release-artifacts.yml
Original file line number Diff line number Diff line change
@@ -47,17 +47,8 @@ jobs:
id: build
shell: bash
run: |
choco install openssl --version=3.1.1
if [[ -d "C:\Program Files\OpenSSL" ]]; then
echo "OPENSSL_DIR: C:\Program Files\OpenSSL"
export OPENSSL_DIR="C:\Program Files\OpenSSL"
elif [[ -d "C:\Program Files\OpenSSL-Win64" ]]; then
echo "OPENSSL_DIR: C:\Program Files\OpenSSL-Win64"
export OPENSSL_DIR="C:\Program Files\OpenSSL-Win64"
else
echo "can't determine OPENSSL_DIR"
exit 1
fi
vcpkg install openssl:x64-windows-static-md
vcpkg integrate install
choco install protoc
export PROTOC="C:\ProgramData\chocolatey\lib\protoc\tools\bin\protoc.exe"
source /tmp/env.sh
Loading