Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: upgrade to v2.0.2 #3

Merged
merged 121 commits into from
Jul 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
121 commits
Select commit Hold shift + click to select a range
b123269
ScanConfig defaults no longer sort results (#1539)
godmodegalactus Jun 14, 2024
907530a
accounts-db: get rid of const in tests (#1732)
HaoranYi Jun 14, 2024
161a1a6
rpc: add more services to getClusterNodes (#1637)
fanatid Jun 14, 2024
dffecbc
wen_restart: Ignore Gossip messages from my own pubkey. (#1678)
wen-coding Jun 15, 2024
bc1e3b4
CHANGELOG: `Copy` no longer derived on Rent and EpochSchedule (#1746)
joncinque Jun 17, 2024
2dc215a
SVM: update spec (#1757)
buffalojoec Jun 17, 2024
fb8e234
remove unused build dep `cc` from solana-program (#1659)
kevinheavey Jun 17, 2024
4be8a27
refactor: clean up geyser-plugin-manager (#1570)
andreisilviudragnea Jun 17, 2024
1dfb164
add retries to transaction sending in LocalCluster (#1747)
gregcusack Jun 17, 2024
8697a3b
ci: upgrade client-traget macos version (#1765)
yihau Jun 17, 2024
3befe52
ledger-tool: Use helper for AccountsDb args (#1749)
steviez Jun 17, 2024
d68fa64
Simd-118: [HAL-02] add lamports burned to error log (#1768)
CriesofCarrots Jun 17, 2024
f227b7f
Simd-118: [HAL-01] add log to unreachable macro (#1767)
CriesofCarrots Jun 17, 2024
ef395bd
Verify elf with active feature set before attempting deployment (#1654)
LucasSte Jun 17, 2024
e13be5c
Simd-118: [HAL-04] simplify assertion that epoch contains enough slot…
CriesofCarrots Jun 17, 2024
c29a187
[docs] Update ZK Token Proof program to ZK ElGamal Proof program (#1758)
samkim-crypto Jun 17, 2024
6a38946
Program Runtime: Unify transaction batch program caches (#1399)
buffalojoec Jun 17, 2024
225ce95
SVM: Unify different instances of epoch_schedule in SVM and Bank into…
pgarg66 Jun 17, 2024
ba56028
Add Shuttle multithreading test infrastructure (#1634)
LucasSte Jun 17, 2024
1ce4b7b
Add num_partitions to Blockstore rewards (#1601)
CriesofCarrots Jun 17, 2024
d930e87
run full gossip node when running `solana-gossip rpc-url` (#1753)
gregcusack Jun 18, 2024
ee2c05f
fix race condition on vote count (#1762)
apfitzge Jun 18, 2024
fa7932a
[sdk] Add ZK Elgamal Proof program feature gate (#1679)
samkim-crypto Jun 18, 2024
710c8e1
Don't panic when pausing stale unified schedulers (#1761)
ryoqun Jun 18, 2024
89f207e
ledger-tool: Subfunction for snapshot args (#1773)
steviez Jun 18, 2024
8337975
ledger-tool: Make joining AccountsBackgroundService optional (#1673)
steviez Jun 18, 2024
5e78916
Extract curve25519 crate from zk-token-sdk (#951)
kevinheavey Jun 18, 2024
7b144af
Ensure mapping of callee is updated with direct mapping (#1093)
seanyoung Jun 18, 2024
1fefb65
[curve25519] Remove `ElGamalError` from curve25519 crate (#1777)
samkim-crypto Jun 18, 2024
b4120bd
sdk: Only compile wasm-bindgen when target_arch = "wasm32" (#1658)
kevinheavey Jun 18, 2024
1536241
transaction-status: Use string instead of int for `amount` in `amount…
joncinque Jun 18, 2024
50e3626
Adds `diff` to accounts-hash-cache-tool (#1772)
brooksprumo Jun 18, 2024
bfce50c
SVM: Move `fee_structure` to environment input (#1771)
buffalojoec Jun 18, 2024
97effed
always pack a few newest ancient slots (#1730)
jeffwashington Jun 18, 2024
2c7f3e2
remove double-counted metric (#1748)
jeffwashington Jun 18, 2024
70d8075
SVM: Reduce public visibility of sysvar_cache (#1783)
pgarg66 Jun 18, 2024
083a685
ledger-tool: Deduplicate max-genesis-archive-unpacked-size argument (…
steviez Jun 18, 2024
26625a8
add ancient pack metrics (#1750)
jeffwashington Jun 18, 2024
6fa8213
Refactor - Avoid host build of SBPF program test crates (#1711)
Lichtso Jun 18, 2024
03aba39
ci: ignore curve25519-dalek audit temporarily (#1786)
yihau Jun 19, 2024
0d1e466
build(deps): bump bytemuck from 1.16.0 to 1.16.1 (#1789)
dependabot[bot] Jun 19, 2024
5bb66b9
build(deps): bump url from 2.5.1 to 2.5.2 (#1788)
dependabot[bot] Jun 19, 2024
f9d1935
program: move itertools to dev-dependencies (#1782)
kevinheavey Jun 19, 2024
e36d8b6
Adjust replay-related metrics for unified scheduler (#1741)
ryoqun Jun 20, 2024
25fb772
bpf_loader: use an explicit thread-local pool for stack and heap memo…
alessandrod Jun 20, 2024
ad147f3
ledger-tool: Make verify --print-bank-hash support json (#1745)
steviez Jun 20, 2024
6c92ca5
use bytemuck_derive 1.7.0 explicitly in sdk and program (#1793)
kevinheavey Jun 20, 2024
e042618
Make futures crate optional in solana-type-overrides (#1792)
LucasSte Jun 20, 2024
7315f15
CI - SBPF program build script (#1581)
Lichtso Jun 20, 2024
05485a5
PrioGraphScheduler::complete_batch remove TransactionAccountLocks all…
apfitzge Jun 20, 2024
518c08d
Round up correctly when truncating max ancient storages (#1781)
brooksprumo Jun 20, 2024
8de2dd4
refactor: consolidate fee deduction for failed transactions (#1636)
jstarry Jun 20, 2024
a75c4d0
change match to an if (#726)
apfitzge Jun 20, 2024
efac2e6
typo fixes (#1795)
knotts14 Jun 20, 2024
aaeb5b1
charging CU for loaded accounts data size (#1356)
tao-stones Jun 20, 2024
d35b07f
Fix SyscallLogPubkey doc comment (#1805)
stegaBOB Jun 20, 2024
de6a63d
ReadWriteAccountSet: use AHashSet (#1265)
apfitzge Jun 20, 2024
2c4bc27
Reuse compute budget processing (#1700)
jstarry Jun 20, 2024
6872f42
Rename tx counts from committed to executed (#1807)
jstarry Jun 20, 2024
910dc9d
Clean up: remove unused _feature_set (#1803)
apfitzge Jun 20, 2024
7d46a96
ledger-tool: Get shreds from BigTable blocks (#1638)
steviez Jun 20, 2024
94c83f4
[docs] Add ciphertext validity proof docs (#1776)
samkim-crypto Jun 21, 2024
0c0c704
deps: Use bytemuck_derive explicitly instead of "derive" feature on b…
joncinque Jun 21, 2024
1fed4b8
harden sbf realloc tests (#1600)
tao-stones Jun 21, 2024
4e457df
Improve SchedulerStatus code and test as follow-up (#1797)
ryoqun Jun 21, 2024
46163ac
SVM: Refactor program match criteria (#1784)
buffalojoec Jun 21, 2024
9c03990
SVM: update spec (#1814)
buffalojoec Jun 21, 2024
0acf26d
Verify elf locally for write buffer cli command (#1794)
LucasSte Jun 21, 2024
7da0435
add stats for ancient bytes_from_newest_storages (#1802)
jeffwashington Jun 21, 2024
fd327f1
Update CHANGELOG.md in preparation for branching v2.0 (#1819)
willhickey Jun 21, 2024
b713a9e
Bump version to v2.0.1 (#1821)
github-actions[bot] Jun 24, 2024
068e022
v2.0: add .github/CODEOWNERS (#1833)
yihau Jun 24, 2024
b6cd33a
v2.0: chore: add dcou to apply_votes_to_tower (backport of #1831) (#1…
mergify[bot] Jun 24, 2024
bcd2bf0
v2.0: chore: remove publish=false from transaction-metrics-tracker/Ca…
mergify[bot] Jun 24, 2024
84f5a6e
v2.0: chore: publish solana-tps-client (backport of #1845) (#1846)
mergify[bot] Jun 24, 2024
ccd849e
Bump version to v2.0.2 (#1848)
github-actions[bot] Jun 25, 2024
f98a1f9
v2.0: Add partitioned epoch rewards to changelog for v2.0 (backport o…
mergify[bot] Jun 26, 2024
1d55b6b
v2.0: spl: Upgrade all crates to v2-only versions (backport of #1872)…
mergify[bot] Jun 26, 2024
ed5c314
v2.0: Use num_partitions to find specific stake rewards in partitions…
mergify[bot] Jun 27, 2024
671fd98
v2.0: Make unified scheduler opt-in for block verification (backport …
mergify[bot] Jun 27, 2024
7f55a4b
v2.0: Remove support for deprecated rpc endpoints (backport of #1809)…
mergify[bot] Jun 27, 2024
442ebcf
v2.0: Add --block-verification-method=unified-scheduler for v2.0 chan…
mergify[bot] Jun 28, 2024
ed3fc93
v2.0: Avoid unneeded start_session() with cleanups (bp: #1815, #1861)…
mergify[bot] Jun 28, 2024
3524730
v2.0: Add since field to deprecation note (backport of #1905) (#1910)
mergify[bot] Jun 28, 2024
da2dac9
v2.0: vote: remove deprecated ixs (backport of #1906) (#1917)
mergify[bot] Jun 28, 2024
171722d
v2.0: Deprecate --rocksdb-shred-compaction fifo (backport of #1882) (…
mergify[bot] Jun 28, 2024
a32e1d5
v2.0: Refactor and additional metrics for cost tracking (backport of …
mergify[bot] Jun 28, 2024
8a99421
v2.0: Remove deprecated SyncClient methods (backport of #1902) (#1909)
mergify[bot] Jun 28, 2024
e7ab416
Revert "v2.0: Refactor and additional metrics for cost tracking (back…
tao-stones Jul 1, 2024
3dd8916
v2.0: Remove deprecated RpcClient methods (backport of #1899) (#1922)
mergify[bot] Jul 1, 2024
cacc847
v2.0: Deprecate RpcClient::get_stake_activation (backport of #1895) (…
mergify[bot] Jul 1, 2024
d9ed63e
v2.0: Remove rpc endpoint deprecated in v1.18 (backport of #1897) (#1…
mergify[bot] Jul 1, 2024
a8a3f96
v2.0: Remove deprecated_config module (backport of #1951) (#1957)
mergify[bot] Jul 2, 2024
7a7a3e2
v2.0: gossip: do not allow duplicate proofs for incorrect shred versi…
mergify[bot] Jul 2, 2024
62c9886
v2.0: ci: skip spl test when version is too high (backport of #1945) …
mergify[bot] Jul 2, 2024
5902821
v2.0: Remove deprecated symbols from solana-sdk (backport of #1953) (…
mergify[bot] Jul 2, 2024
88d9ad2
v2.0: Remove deprecated BanksClient methods and dependent ProgramTest…
mergify[bot] Jul 2, 2024
89f4c3d
v2.0: Remove deprecated spl-token conversion methods (backport of #19…
mergify[bot] Jul 3, 2024
e1c5641
v2.0: Remove deprecated symbols from solana-program (backport of #195…
mergify[bot] Jul 3, 2024
15b79d7
v2.0: Handle deprecated Instructions sysvar methods (backport of #195…
mergify[bot] Jul 3, 2024
cbe1616
v2.0: Remove deprecated address_lookup_table_account re-export (backp…
mergify[bot] Jul 3, 2024
8db30c6
v2.0: Remove deprecated, unused methods from Bank (backport of #1980)…
mergify[bot] Jul 3, 2024
924dc2e
v2.0: Refactor cost tracking (backport of #1954) (#1975)
mergify[bot] Jul 3, 2024
7b85a32
v2.0: Bump ThinClient since version (backport of #1991) (#2001)
mergify[bot] Jul 4, 2024
c21cce7
v2.0: Add suggestion to deprecation message (backport of #1993) (#2000)
mergify[bot] Jul 4, 2024
60c49f0
v2.0: Remove assorted deprecated symbols (backport of #1995) (#2002)
mergify[bot] Jul 4, 2024
da37618
v2.0: Use node's latest vote for commitment calc. too (backport of #1…
mergify[bot] Jul 4, 2024
d5b89f4
v2.0: [zk-token-sdk] Specify version in deprecations in `zk-token-sdk…
mergify[bot] Jul 8, 2024
1e510d9
v2.0: Remove deprecated CommitmentLevel variants (backport of #1903) …
mergify[bot] Jul 8, 2024
ea332d3
v2.0: Remove deprecated symbols from recent_blockhashes_account (back…
mergify[bot] Jul 8, 2024
dddc623
v2.0: Remove rpc methods from mock sender (backport of #1996) (#2008)
mergify[bot] Jul 8, 2024
1a01d6c
v2.0: Deprecate RpcRequest::GetStakeActivation (backport of #2005) (#…
mergify[bot] Jul 8, 2024
9e459f4
v2.0: Remove deprecated symbols from solana-client (mostly re-exports…
mergify[bot] Jul 9, 2024
a690702
v2.0: Update changlog re: removal of deprecated symbols (backport of …
mergify[bot] Jul 9, 2024
794452c
v2.0: Clean up disable_fees_sysvar feature (backport of #2003) (#2043)
mergify[bot] Jul 9, 2024
fe0b9f2
v2.0: Remove get_stake_activation methods from RpcClient (backport of…
mergify[bot] Jul 9, 2024
619909a
v2.0: Update install docs to agave (backport of #2060) (#2061)
mergify[bot] Jul 9, 2024
3ad2828
v2.0: Removes unused deprecated cli args (backport of #2058) (#2063)
mergify[bot] Jul 9, 2024
bfd7e56
v2.0: Remove rpc- and pubsub-client version querying (backport of #20…
mergify[bot] Jul 10, 2024
ef243ce
v2.0: Remove deprecated Memcmp filter symbols (backport of #2050) (#2…
mergify[bot] Jul 10, 2024
85bcff4
finalise removement of solana-metrics
neutrinoks Jun 25, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @anza-xyz/backport-reviewers
1 change: 1 addition & 0 deletions .github/scripts/downstream-project-spl-common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ project_used_solana_version=$(sed -nE 's/solana-sdk = \"[>=<~]*(.*)\"/\1/p' <"to
echo "used solana version: $project_used_solana_version"
if semverGT "$project_used_solana_version" "$SOLANA_VER"; then
echo "skip"
export SKIP_SPL_DOWNSTREAM_PROJECT_TEST=1
return
fi

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/client-targets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
strategy:
matrix:
os:
- macos-11
- macos-12
target:
- aarch64-apple-ios
- x86_64-apple-ios
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/downstream-project-spl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ jobs:
run: |
source .github/scripts/downstream-project-spl-install-deps.sh
source .github/scripts/downstream-project-spl-common.sh
if [ -n "$SKIP_SPL_DOWNSTREAM_PROJECT_TEST" ]; then
exit 0
fi

cargo check

test:
Expand Down Expand Up @@ -103,6 +107,9 @@ jobs:
run: |
source .github/scripts/downstream-project-spl-install-deps.sh
source .github/scripts/downstream-project-spl-common.sh
if [ -n "$SKIP_SPL_DOWNSTREAM_PROJECT_TEST" ]; then
exit 0
fi

programStr="${{ tojson(matrix.arrays.required_programs) }}"
IFS=', ' read -ra programs <<<"${programStr//[\[\]$'\n'$'\r' ]/}"
Expand Down Expand Up @@ -154,6 +161,9 @@ jobs:
run: |
source .github/scripts/downstream-project-spl-install-deps.sh
source .github/scripts/downstream-project-spl-common.sh
if [ -n "$SKIP_SPL_DOWNSTREAM_PROJECT_TEST" ]; then
exit 0
fi

programStr="${{ tojson(matrix.programs) }}"
IFS=', ' read -ra programs <<<"${programStr//[\[\]$'\n'$'\r' ]/}"
Expand Down
34 changes: 29 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,28 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
and follows a [Backwards Compatibility Policy](https://docs.solanalabs.com/backwards-compatibility)

Release channels have their own copy of this changelog:
* [edge - v2.0](#edge-channel)
* [beta - v1.18](https://github.com/solana-labs/solana/blob/v1.18/CHANGELOG.md)
* [stable - v1.17](https://github.com/solana-labs/solana/blob/v1.17/CHANGELOG.md)
* [edge - v2.1](#edge-channel)
* [beta - v2.0](https://github.com/solana-labs/solana/blob/v2.0/CHANGELOG.md)
* [stable - v1.18](https://github.com/solana-labs/solana/blob/v1.18/CHANGELOG.md)

<a name="edge-channel"></a>
## [2.0.0] - Unreleased
## [2.1.0] - Unreleased

## [2.0.0]
* Breaking
* SDK: Support for Borsh v0.9 removed, please use v1 or v0.10 (#1440)
* 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
* 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 All @@ -25,6 +39,16 @@ Release channels have their own copy of this changelog:
when the `replaceRecentBlockhash` config param is `true` (#380)
* SDK: `cargo test-sbf` accepts `--tools-version`, just like `build-sbf` (#1359)
* CLI: Can specify `--full-snapshot-archive-path` (#1631)
* transaction-status: The SPL Token `amountToUiAmount` instruction parses the amount into a string instead of a number (#1737)
* Implemented partitioned epoch rewards as per [SIMD-0118](https://github.com/solana-foundation/solana-improvement-documents/blob/fae25d5a950f43bd787f1f5d75897ef1fdd425a7/proposals/0118-partitioned-epoch-reward-distribution.md). Feature gate: #426. Specific changes include:
* EpochRewards sysvar expanded and made persistent (#428, #572)
* Stake Program credits now allowed during distribution (#631)
* Updated type in Bank::epoch_rewards_status (#1277)
* Partitions are recalculated on boot from snapshot (#1159)
* `epoch_rewards_status` removed from snapshot (#1274)
* Added `unified-scheduler` option for `--block-verification-method` (#1668)
* Deprecate the `fifo` option for `--rocksdb-shred-compaction` (#1882)
* `fifo` will remain supported in v2.0 with plans to fully remove in v2.1

## [1.18.0]
* Changes
Expand Down
Loading