Skip to content

Commit

Permalink
Merge branch 'master' into wen_restart_add_node_id_to_stake
Browse files Browse the repository at this point in the history
  • Loading branch information
wen-coding authored Aug 3, 2024
2 parents 63b3ad9 + 0ea4543 commit 44953aa
Show file tree
Hide file tree
Showing 481 changed files with 13,349 additions and 13,648 deletions.
2 changes: 0 additions & 2 deletions .buildkite/solana-private.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,8 @@
#

set -e
# NAME=$(buildkite-agent meta-data get name)
cd "$(dirname "$0")"/..
source ci/_
sudo chmod 0777 ci/buildkite-solana-private.sh

_ ci/buildkite-solana-private.sh pipeline.yml
echo +++ pipeline
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
needs:
- check
if: >
github.repository == 'solana-labs/solana' &&
github.repository == 'anza-xyz/agave' &&
needs.check.outputs.continue == 1
# the name is used by .mergify.yml as well
name: build & deploy docs
Expand All @@ -79,9 +79,9 @@ jobs:
uses: actions/checkout@v4

- name: Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 16
node-version: 22

- name: Build
working-directory: docs
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/downstream-project-anchor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,10 @@ on:
- "**.rs"
- "Cargo.toml"
- "Cargo.lock"
- "cargo-build-bpf"
- "cargo-test-bpf"
- "cargo-build-sbf"
- "cargo-test-sbf"
- "scripts/build-downstream-anchor-projects.sh"
- "scripts/patch-spl-crates-for-anchor.sh"
- ".github/scripts/purge-ubuntu-runner.sh"
- ".github/scripts/downstream-project-spl-install-deps.sh"
- ".github/workflows/downstream-project-anchor.yml"
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/downstream-project-spl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ on:
- "**.rs"
- "Cargo.toml"
- "Cargo.lock"
- "cargo-build-bpf"
- "cargo-test-bpf"
- "cargo-build-sbf"
- "cargo-test-sbf"
- "ci/downstream-projects/run-spl.sh"
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ target/
*.log
log-*.txt
log-*/
!log-collector/
!log-analyzer/*

# intellij files
Expand Down
2 changes: 1 addition & 1 deletion .mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ pull_request_rules:
- check-success=clippy-nightly (macos-latest)
- check-success=clippy-nightly (macos-latest-large)
- or:
- -files~=(\.rs|Cargo\.toml|Cargo\.lock|cargo-build-bpf|cargo-test-bpf|cargo-build-sbf|cargo-test-sbf|ci/downstream-projects/run-spl\.sh|\.github/workflows/downstream-project-spl\.yml)$
- -files~=(\.rs|Cargo\.toml|Cargo\.lock|cargo-build-sbf|cargo-test-sbf|ci/downstream-projects/run-spl\.sh|\.github/workflows/downstream-project-spl\.yml)$
- and:
- status-success=cargo-test-sbf (token/program)
- status-success=cargo-test-sbf (instruction-padding/program, token/program-2022, token/program-2022-test)
Expand Down
23 changes: 19 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,36 @@ Release channels have their own copy of this changelog:

<a name="edge-channel"></a>
## [2.1.0] - Unreleased
* Breaking:
* SDK:
* `cargo-build-sbf` and `cargo-build-bpf` have been deprecated for two years and have now been definitely removed.
Use `cargo-build-sbf` and `cargo-test-sbf` instead.
* Stake:
* removed the unreleased `redelegate` instruction processor and CLI commands (#2213)
* Changes
* SDK: removed the `respan` macro. This was marked as "internal use only" and was no longer used internally.

## [2.0.0]
* Breaking
* SDK: Support for Borsh v0.9 removed, please use v1 or v0.10 (#1440)
* SDK: `Copy` is no longer derived on `Rent` and `EpochSchedule`, please switch to using `clone()` (solana-labs#32767)
* SDK: deprecated SyncClient trait methods removed
* SDK:
* Support for Borsh v0.9 removed, please use v1 or v0.10 (#1440)
* `Copy` is no longer derived on `Rent` and `EpochSchedule`, please switch to using `clone()` (solana-labs#32767)
* `solana-sdk`: deprecated symbols removed
* `solana-program`: deprecated symbols removed
* RPC: obsolete and deprecated v1 endpoints are removed. These endpoints are:
confirmTransaction, getSignatureStatus, getSignatureConfirmation, getTotalSupply,
getConfirmedSignaturesForAddress, getConfirmedBlock, getConfirmedBlocks, getConfirmedBlocksWithLimit,
getConfirmedTransaction, getConfirmedSignaturesForAddress2, getRecentBlockhash, getFees,
getFeeCalculatorForBlockhash, getFeeRateGovernor, getSnapshotSlot getStakeActivation
* `--enable-rpc-obsolete_v1_7` flag removed
* Deprecated methods are removed from `RpcClient` and `RpcClient::nonblocking`
* `solana-client`: deprecated re-exports removed; please import `solana-connection-cache`, `solana-quic-client`, or `solana-udp-client` directly
* Deprecated arguments removed from `agave-validator`:
* `--enable-rpc-obsolete_v1_7` (#1886)
* `--accounts-db-caching-enabled` (#2063)
* `--accounts-db-index-hashing` (#2063)
* `--no-accounts-db-index-hashing` (#2063)
* `--incremental-snapshots` (#2148)
* `--halt-on-known-validators-accounts-hash-mismatch` (#2157)
* Changes
* `central-scheduler` as default option for `--block-production-method` (#34891)
* `solana-rpc-client-api`: `RpcFilterError` depends on `base64` version 0.22, so users may need to upgrade to `base64` version 0.22
Expand Down
Loading

0 comments on commit 44953aa

Please sign in to comment.