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 voting cluster authority sigs #4

Open
wants to merge 529 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
529 commits
Select commit Hold shift + click to select a range
6e83982
account_saver: optionally collect txs (#2793)
apfitzge Sep 3, 2024
5a8c326
Minor cleanup in construct_candidate_clean_keys (#2822)
dmakarov Sep 3, 2024
22b823c
Simplify RPC partitioned_epoch_reward_enabled determination (#2802)
CriesofCarrots Sep 3, 2024
a9ac3f5
Add workflow and script to add security-incident-response to GHSAs (…
willhickey Sep 3, 2024
738fbd8
stop requesting entry on scan (#2805)
jeffwashington Sep 3, 2024
b5432b0
[zk-sdk] Add fixed string tests for proofs (#2814)
samkim-crypto Sep 4, 2024
05361a9
metrics: remove optimistic_slot_elapsed (#2717)
yihau Sep 4, 2024
7e8a1dd
sdk: Extract clock crate (#1967)
kevinheavey Sep 4, 2024
7c9bbc4
Add early exit to add-team-to-ghsa (#2829)
willhickey Sep 4, 2024
f017972
add ancient.total_alive_bytes metric (#2828)
jeffwashington Sep 4, 2024
efd4704
Extract serde-varint crate (#2053)
kevinheavey Sep 4, 2024
546e4d6
transaction_view::*Meta rename to *Frame (#2830)
apfitzge Sep 4, 2024
53db0c1
shrink can work on 'ancient' slots (#2827)
jeffwashington Sep 4, 2024
f2b7ef4
rolls out chained Merkle shreds to ~50% of testnet slots (#2660)
behzadnouri Sep 4, 2024
79b40f1
accounts-db: silence false positive info in shrink (#2831)
HaoranYi Sep 4, 2024
820644f
unref accounts in shink and pack when we're committed (#2806)
jeffwashington Sep 4, 2024
5716b7e
rename pubkeys_to_unref (#2834)
jeffwashington Sep 4, 2024
e207c6e
Cleanup Validator::new() shred version check (#2843)
steviez Sep 5, 2024
27f4b3d
sdk: Extract hash and hasher crates (#2015)
kevinheavey Sep 5, 2024
cfb9aae
build(deps): bump serde_json from 1.0.127 to 1.0.128 (#2845)
dependabot[bot] Sep 5, 2024
4afd4bb
build(deps): bump tokio-util from 0.7.11 to 0.7.12 (#2846)
dependabot[bot] Sep 5, 2024
1ab8e07
Extract derivation-path crate (#2056)
kevinheavey Sep 5, 2024
e196a08
Consistent TransactionPriorityId ordering/equality (#2832)
apfitzge Sep 5, 2024
98c8853
assert refcount = 0 for zero lamport 1 refcount deletes (#2774)
jeffwashington Sep 5, 2024
7f2013d
Adjustments of loader-v4 (part 3) (#2821)
Lichtso Sep 5, 2024
66c126b
cleanup: use let-else to reduce nesting in backup_and_clear_blockstor…
steviez Sep 6, 2024
38aef8a
build(deps): bump bytemuck from 1.17.1 to 1.18.0 (#2853)
dependabot[bot] Sep 6, 2024
4e46bee
build(deps): bump const_format from 0.2.32 to 0.2.33 (#2852)
dependabot[bot] Sep 6, 2024
f674f85
Extract signature crate (#2054)
kevinheavey Sep 6, 2024
4df90e4
accounts-db/tools/add store-histogram tool (#2850)
HaoranYi Sep 6, 2024
4c2e79f
build(deps): bump tokio-stream from 0.1.15 to 0.1.16 (#2854)
dependabot[bot] Sep 6, 2024
aab5662
Extract program-option crate (#2369)
kevinheavey Sep 6, 2024
9eee3f2
wen_restart: Forbid update on gossip messages and count old votes in …
wen-coding Sep 6, 2024
e5d5a08
[docs] removing an extra character (#2863)
OldTyT Sep 7, 2024
aebca79
fix some args name in the wen restart log (#2860)
yihau Sep 9, 2024
e351b4f
Remove cargo-install-all.sh hack for solana-genesis (#2866)
ryoqun Sep 9, 2024
b1de2e0
Ensure to build release binaries without dcou (#2867)
ryoqun Sep 9, 2024
2e27278
build(deps): bump anyhow from 1.0.86 to 1.0.87 (#2876)
dependabot[bot] Sep 9, 2024
8f5a4d7
Skip full build with no dcou bin (and extras) (#2874)
ryoqun Sep 9, 2024
4ac412f
Rewords BankFromSnapshotsDirectory error message (#2877)
brooksprumo Sep 9, 2024
9a66594
account_saver: collect `SanitizedTransaction` references (#2820)
apfitzge Sep 9, 2024
300701e
minor tweaks to store histogram tool (#2862)
jeffwashington Sep 9, 2024
d6eda1f
retire dead code (#2868)
bw-solana Sep 9, 2024
3d95416
Uses Acquire/Release for AccountStorageEntry::alive_bytes (#2878)
brooksprumo Sep 9, 2024
89050f3
Retain only candidates that should be purged or with non-empty slot l…
dmakarov Sep 9, 2024
c7e44c1
Set zstd compression level to 1 as it offers fastest compression with…
ksolana Sep 9, 2024
6bd5d38
Box NewTaskPayload to reduce size greatly (#2881)
ryoqun Sep 10, 2024
91dfa6b
build(deps): bump serde from 1.0.209 to 1.0.210 (#2875)
dependabot[bot] Sep 10, 2024
fe64cf6
bank::(un)lock_accounts generic (#2835)
apfitzge Sep 10, 2024
8116c10
Extract feature-set crate (#2172)
kevinheavey Sep 10, 2024
9e7637a
Extract pubkey crate (#2394)
kevinheavey Sep 10, 2024
edda97e
Removes unnecessary Arc in shrink function parameters (#2883)
brooksprumo Sep 10, 2024
37671df
Fix flaky unittest, should use timestamp of the Gossip message. (#2893)
wen-coding Sep 11, 2024
f0a77e9
svm: advance nonce for fee-only transactions sooner (#2741)
2501babe Sep 11, 2024
34e9932
Introduce ledger-tool simulate-block-production (#2733)
ryoqun Sep 11, 2024
383b49f
Publish Agave docs (#2887)
willhickey Sep 11, 2024
1184bc8
clippy: Fixes blocks_in_conditions warning (#2900)
brooksprumo Sep 11, 2024
1334fb5
banking_stage: do not insert legacy vote ixs, refactor & unstaked (#2…
AshwinSekar Sep 11, 2024
19a177d
docs: fix tonic crates.io url (#2904)
newmanifold Sep 12, 2024
fc4069a
Feature - `disable_sbpf_v1_execution` for tests (#2884)
Lichtso Sep 12, 2024
3f2a4ae
metric: report estimated_mem_bytes for in-mem index (#2898)
HaoranYi Sep 12, 2024
43b5830
Extract transaction-status-client-types (#2870)
kevinheavey Sep 12, 2024
d7011b5
Removes slot param from shrink_storage() (#2886)
brooksprumo Sep 12, 2024
c8c6d2a
Uses IntSet in AccountSlots (#2892)
brooksprumo Sep 12, 2024
2f8f910
TransactionBatch: generic over transaction type (#2836)
apfitzge Sep 12, 2024
8e95604
Removes slot param from is_shrinking_productive() (#2889)
brooksprumo Sep 12, 2024
1b3eb3d
Uses IntMap in SlotOffsets (#2891)
brooksprumo Sep 12, 2024
5155158
Replace async-mutex with async-lock (#2869)
jayvdb Sep 13, 2024
7c82cfd
Rework the validator scan-for-incorrect-shred-version function (#2851)
steviez Sep 13, 2024
031b1eb
Uses Offset in SlotOffsets (#2890)
brooksprumo Sep 13, 2024
875f8b4
revert dockerfile and only have shell script changes (apt to apt-get)…
Killpit Sep 13, 2024
b4ed7a4
Extract instruction crate (#2405)
kevinheavey Sep 13, 2024
8345322
resolve `cargo check` problems with tpu-client (#2913)
KirillLykov Sep 13, 2024
d7de94c
docs: programs.md (#2908)
IaroslavMazur Sep 13, 2024
fc0183d
Use quinn 0.11.x (#1641)
lijunwangs Sep 14, 2024
9b8dd0e
ci: bump buildkite/trigger-pipeline-action to v2.2.0 (#2932)
yihau Sep 15, 2024
d65ad98
ci: bump mozilla-actions/sccache-action to v0.0.5 (#2931)
yihau Sep 15, 2024
699981f
ci: bump softprops/action-gh-release to v2 (#2933)
yihau Sep 15, 2024
65c8996
OwnedOrBorrowed for TransactionBatch (#2837)
apfitzge Sep 16, 2024
8aae271
ancient shrink bug fix - remove skip slots (#2927)
HaoranYi Sep 16, 2024
2a962c9
Extract program-error crate (#2413)
kevinheavey Sep 16, 2024
2a41dbb
build(deps): bump rustls from 0.23.12 to 0.23.13 (#2941)
dependabot[bot] Sep 16, 2024
a02d927
build(deps): bump tempfile from 3.10.1 to 3.12.0 (#2940)
dependabot[bot] Sep 16, 2024
c4b42ab
build(deps): bump lz4 from 1.26.0 to 1.27.0 (#2939)
dependabot[bot] Sep 16, 2024
6082e84
Remove frozen-abi build script (#2911)
kevinheavey Sep 17, 2024
cfd3936
build(deps): bump anyhow from 1.0.87 to 1.0.89 (#2948)
dependabot[bot] Sep 18, 2024
92eca11
store-histogram: skip not found file meta (#2906)
HaoranYi Sep 18, 2024
4d999b0
Uses actual number of items in generate_index_for_slot() (#2919)
brooksprumo Sep 18, 2024
a196285
Uses scan_pubkeys() in accounts_count() (#2943)
brooksprumo Sep 18, 2024
18f68ff
Uses real stored count in tests (#2945)
brooksprumo Sep 18, 2024
1c49101
build(deps): bump bytes from 1.7.1 to 1.7.2 (#2949)
dependabot[bot] Sep 19, 2024
7c54e92
build(deps): bump arrayref from 0.3.8 to 0.3.9 (#2947)
dependabot[bot] Sep 19, 2024
c1b465d
Fixes rent collection when skipping rewrites (#2910)
brooksprumo Sep 19, 2024
33167a3
Adds datapoint if rent collection changes only the rent epoch (#2922)
brooksprumo Sep 19, 2024
037838a
Uses real stored count in check_storage() (#2944)
brooksprumo Sep 19, 2024
18d0428
cli: Use simulated compute unit limit in stake interactions (#2710)
joncinque Sep 23, 2024
1bcb252
banking_stage: evict unstaked votes on epoch boundary (#2960)
AshwinSekar Sep 24, 2024
43cc2dd
cli: Use simulated compute units in vote interactions (#2696)
joncinque Sep 24, 2024
90d3761
build(deps): bump thiserror from 1.0.63 to 1.0.64 (#2962)
dependabot[bot] Sep 24, 2024
651530a
Refactor remove_uncleaned_slots to reduce memory consumption (#2954)
dmakarov Sep 24, 2024
e615270
Add candidates by sorted keys, minimizing number of lock acquires (#2…
dmakarov Sep 24, 2024
62d0f25
fix comments (#2972)
HaoranYi Sep 24, 2024
6b9f569
bump blake3 1.5.1 -> 1.5.4 (#2959)
4r33x Sep 24, 2024
192ba91
svm: better test coverage for fee-only (#2912)
2501babe Sep 25, 2024
b4ae724
[secp256k1] Remove old `libsecp256k1_fail_on_bad_count` features (#2795)
samkim-crypto Sep 25, 2024
66b9926
extract serialize-utils crate (#2926)
kevinheavey Sep 25, 2024
6f5be6c
Extract account-info crate (#2429)
kevinheavey Sep 25, 2024
ba03bd1
build(deps): bump libc from 0.2.158 to 0.2.159 (#2977)
dependabot[bot] Sep 25, 2024
56672cd
generic get nonce and ix signers (#2826)
apfitzge Sep 25, 2024
c296410
[accounts-db] remove unnecessary ed25519-dalek dependency (#2976)
samkim-crypto Sep 25, 2024
d22e8e3
Upgrades serde_with to 3.9.0 (#2984)
brooksprumo Sep 25, 2024
105c365
runtime-transaction: get_signature_details (#2847)
apfitzge Sep 25, 2024
443246d
fix: set allocation size to 0 for transactions known to fail (#2966)
jstarry Sep 26, 2024
6543f82
impl Deref for RuntimeTransaction (#2675)
apfitzge Sep 26, 2024
ca306f5
generic collect_balances (#2985)
apfitzge Sep 26, 2024
584df68
build(deps): bump async-trait from 0.1.82 to 0.1.83 (#2978)
dependabot[bot] Sep 26, 2024
a15fef1
rolls out chained Merkle shreds to 100% of testnet slots (#2858)
behzadnouri Sep 26, 2024
a5b3c2b
Simplifies LtHash tests (#2993)
brooksprumo Sep 26, 2024
236895b
Address Resolved TransactionView (#2792)
apfitzge Sep 27, 2024
5c9c5c7
RuntimeTransaction: cache TransactionSignatureDetails (#2983)
apfitzge Sep 27, 2024
d2cc71f
Fix: Corrected the derivation command format (#2952)
Sep 27, 2024
91161ff
build(deps): bump lz4 from 1.27.0 to 1.28.0 (#2999)
dependabot[bot] Sep 27, 2024
73a7b25
build(deps): bump tar from 0.4.41 to 0.4.42 (#2979)
dependabot[bot] Sep 27, 2024
a31a55e
Cleanup - `external_internal_function_hash_collision` (#3000)
Lichtso Sep 27, 2024
46f5fce
Upgrades rust to 1.81.0 (#3008)
brooksprumo Sep 27, 2024
ce15821
removes early return if prune_messages are empty (#3006)
behzadnouri Sep 27, 2024
cc141d1
Removes AccountStorageEntry::approx_store_count (#2953)
brooksprumo Sep 27, 2024
690fad0
Supports deserializing accounts lt hash in snapshots (#2994)
brooksprumo Sep 27, 2024
9f822c2
increase writeable accounts cost hashmap size (#3009)
bw-solana Sep 27, 2024
bce28c0
excludes node's pubkey from bloom filter of pruned origins (#2990)
behzadnouri Sep 27, 2024
9c20984
runtime: simplify account saver filter (#2992)
2501babe Sep 28, 2024
e490ae9
RuntimeTransactions: implement SVM traits (#2987)
apfitzge Sep 30, 2024
ab0977f
Fix frozen_abi for not-Bytes serde_with::serde_as (#3018)
ryoqun Sep 30, 2024
c728362
Use checked math for `_new_from_parent` (#2859)
LucasSte Sep 30, 2024
0b44eb6
runtime-transaction no gate traits (#2986)
apfitzge Sep 30, 2024
489f483
reworks max number of outgoing push messages (#3016)
behzadnouri Sep 30, 2024
6f26b65
add #![no_std] to solana-clock (#3023)
kevinheavey Oct 1, 2024
4ac0d57
remove unused deps from solana-measure (#3024)
kevinheavey Oct 1, 2024
d940e77
Adds meas_dur!() macro (#3043)
brooksprumo Oct 1, 2024
1805924
clean up shrink candidate stat (#3037)
HaoranYi Oct 1, 2024
4a1b75f
uses datagrams for repair over QUIC protocol (#2871)
behzadnouri Oct 2, 2024
9b5525d
ci: ignore the tonic audit as a temporary stopgap (#3052)
yihau Oct 2, 2024
14fe368
banking_stage: use iproduct! macro in test (#3054)
AshwinSekar Oct 2, 2024
76cbf1a
Fix broken parallelism in quic-client (#2526)
ripatel-fd Oct 2, 2024
b39bcb6
remove cu price rounding (#3047)
apfitzge Oct 2, 2024
83e7d84
Add hidden CLI arg to control number of shred sigverify threads (#3046)
steviez Oct 2, 2024
b23e636
clean scan optimization: scan disk index only for zero lamport (#2879)
HaoranYi Oct 3, 2024
aed6f36
Adds LtHash::identity() (#3057)
brooksprumo Oct 3, 2024
7741b25
remove unused deps from solana-version (#3025)
kevinheavey Oct 3, 2024
b6b5b1a
Support notify first shred received in geyser (#3030)
lijunwangs Oct 3, 2024
f38fe41
generic verify_precompiles (#3055)
apfitzge Oct 4, 2024
c05caa2
banking_stage: calculate stake by vote account instead of node pubkey…
AshwinSekar Oct 4, 2024
dc35ce8
Support max conncurrent connections (#3031)
lijunwangs Oct 4, 2024
0d236f1
build(deps): bump regex from 1.10.6 to 1.11.0 (#3034)
dependabot[bot] Oct 4, 2024
b08af58
build(deps): bump tempfile from 3.12.0 to 3.13.0 (#3033)
dependabot[bot] Oct 4, 2024
91e0125
build(deps): bump indexmap from 2.5.0 to 2.6.0 (#3068)
dependabot[bot] Oct 4, 2024
17346cd
build(deps): bump syn from 2.0.77 to 2.0.79 (#3032)
dependabot[bot] Oct 4, 2024
46a89da
Extract program-pack crate (#2930)
kevinheavey Oct 4, 2024
ae5919e
appropriate precompile failure error (#3066)
apfitzge Oct 4, 2024
78f8312
ci: run Github Actions only in anza-xyz/agave (#3070)
yihau Oct 4, 2024
9496f28
ReplayStage: No More Clone SanitizedTransaction (#3058)
apfitzge Oct 4, 2024
f65aebb
Adds experimental support for accounts lt hash (#3060)
brooksprumo Oct 4, 2024
a07da92
Add a custom debug formatter implementation for RollingBitField (#3078)
dmakarov Oct 4, 2024
e5a67df
SVM: add a sample stand-alone application based on SVM (#2217)
dmakarov Oct 4, 2024
ed51e70
Adds timing metrics for Bank::hash_internal_state() (#3080)
brooksprumo Oct 6, 2024
0f38e03
Extract solana-rent crate (#3022)
kevinheavey Oct 7, 2024
9fc633c
Refactors test_serialize_bank_snapshot() (#3093)
brooksprumo Oct 7, 2024
8a78fdd
Adds "slot" to bank-hash_internal_state datapoint (#3089)
brooksprumo Oct 7, 2024
78595b8
build(deps): bump futures from 0.3.30 to 0.3.31 (#3090)
dependabot[bot] Oct 7, 2024
2b3f1ff
build(deps): bump serde_with from 3.9.0 to 3.11.0 (#3092)
dependabot[bot] Oct 7, 2024
10178d1
Move accounts-db stats to a separate module (#3084)
dmakarov Oct 7, 2024
d3312ea
tidy: remove unused get_thread_pool fn (#3101)
HaoranYi Oct 7, 2024
1e389f4
RuntimeTransaction::is_simple_vote_transaction (#3099)
apfitzge Oct 7, 2024
c7b643d
Bank equality includes accounts lt hash (#3103)
brooksprumo Oct 8, 2024
a722d09
wen_restart: Add wen_restart_coordinator argument. (#2975)
wen-coding Oct 8, 2024
01520c1
Extract solana-account crate (#2294)
kevinheavey Oct 8, 2024
50d13d1
refactor cli-output large functions and add starting epoch for reward…
sakridge Oct 8, 2024
21fc57d
build(deps): bump rustls from 0.23.13 to 0.23.14 (#3106)
dependabot[bot] Oct 8, 2024
f7c166b
build(deps): bump proc-macro2 from 1.0.86 to 1.0.87 (#3107)
dependabot[bot] Oct 8, 2024
dc6a1b3
build(deps): bump bytemuck_derive from 1.7.1 to 1.8.0 (#3108)
dependabot[bot] Oct 8, 2024
7640c25
ci: remove unused Github Actions (#3071)
yihau Oct 8, 2024
f1b3856
cargo-build-sbf: Use `metadata.solana.tools-version` in Cargo.toml (#…
joncinque Oct 8, 2024
10b447f
Consistent ImmutableDeserializedPacket::PartialEq (#3098)
apfitzge Oct 8, 2024
20e0df4
fix: reduce max packet receive time during leader window (#2801)
cavemanloverboy Oct 8, 2024
eb12163
Cleanup entry threadpool usage in GPU case (#3111)
steviez Oct 8, 2024
74f6634
docs: setup-a-validator.md Add cluster specific note (#3064)
TheHeroBrine422 Oct 9, 2024
d663e05
move LamportsError to solana-instruction (#3081)
kevinheavey Oct 9, 2024
6e62af0
extract solana-bincode crate (#3020)
kevinheavey Oct 9, 2024
07faf4a
support completed slot status in geyser (#3069)
lijunwangs Oct 9, 2024
f9f8b60
svm: improve integration test program handling (#3094)
2501babe Oct 9, 2024
3fc84a5
fix a link in the solana-instruction docs (#3122)
kevinheavey Oct 10, 2024
764f25a
build(deps): bump js-sys from 0.3.70 to 0.3.71 (#3129)
dependabot[bot] Oct 10, 2024
a4e43c8
build(deps): bump wasm-bindgen from 0.2.93 to 0.2.94 (#3130)
dependabot[bot] Oct 10, 2024
964f6d3
extract slot-hashes crate (#3010)
kevinheavey Oct 10, 2024
aefeb0e
Extract epoch-schedule crate (#3021)
kevinheavey Oct 10, 2024
2ed0e9f
Skips rehash if accounts lt hash is enabled (#3123)
brooksprumo Oct 10, 2024
653587b
use root bank cache instead of bank forks in gossip vote listener (#3…
AshwinSekar Oct 10, 2024
fda4def
svm: only inspect loaded accounts (#3131)
2501babe Oct 10, 2024
ea87ffa
Deprecate Legacy BlockProductionMethod (#3113)
apfitzge Oct 10, 2024
6ab552d
Adds more lattice hash tests (#3137)
brooksprumo Oct 10, 2024
7cf3d1d
build(deps): bump wasm-bindgen from 0.2.94 to 0.2.95 (#3139)
dependabot[bot] Oct 11, 2024
8f0465f
Avoid shell out tar for genesis archive creation (#3079)
steviez Oct 11, 2024
8e83183
Displays LtHash's Checksum as base58 (#3142)
brooksprumo Oct 11, 2024
df22c2e
remove thiserror from solana-derivation-path (#3086)
kevinheavey Oct 11, 2024
b81d197
build(deps): bump js-sys from 0.3.71 to 0.3.72 (#3138)
dependabot[bot] Oct 11, 2024
8d507cb
SDK doc fixes (#3133)
kevinheavey Oct 11, 2024
6210454
fix accounts index startup stat and add two new stats for dups (#3112)
HaoranYi Oct 12, 2024
e32281d
add doc_auto_cfg to relevant sdk crates (#3121)
kevinheavey Oct 12, 2024
2eb3e1b
stop ignoring forwarder tests (#3143)
KirillLykov Oct 12, 2024
1d9947c
ledger-tool: Fix create-snapshot default value for output_directory (…
steviez Oct 13, 2024
05a3200
chore: Fix whitespace in error message (#3154)
steviez Oct 14, 2024
f7f3405
build(deps): bump bytemuck from 1.18.0 to 1.19.0 (#3155)
dependabot[bot] Oct 14, 2024
49d2298
link openssl statically for Windows (#3118)
yihau Oct 14, 2024
2ea7fd7
Add const pubkey support and make declare_id a declarative macro (#2348)
kevinheavey Oct 14, 2024
6c264d7
accounts-db: use smaller thread pool for hash scan (#3097)
HaoranYi Oct 14, 2024
f03bce5
Add a new client implementation targeting TPU (#2905)
KirillLykov Oct 14, 2024
2348429
Remove unused forward_worker module (#3128)
KirillLykov Oct 14, 2024
a66b023
Verifies accounts lt hash at startup (#3145)
brooksprumo Oct 14, 2024
715f49f
Adds more metrics for startup accounts verification (#3158)
brooksprumo Oct 14, 2024
e8f7cc5
Marks Bank::unfreeze_for_ledger_tool() as dcou (#3160)
brooksprumo Oct 15, 2024
5bcf161
Support notifying bank created slot status in geyser (#3126)
lijunwangs Oct 15, 2024
eaec893
[zk-sdk] Expose `ElGamalPubkey` and `ElGamalKeypair` as wasm (#2996)
samkim-crypto Oct 15, 2024
e05f754
package-metadata: Add macro to define program id from Cargo.toml (#1…
joncinque Oct 15, 2024
9695566
token-2022: Use mainnet-beta binary in all tools (#3165)
joncinque Oct 15, 2024
c234605
move sanitize crate to sdk dir (#3073)
kevinheavey Oct 15, 2024
cc1873f
remove solana-program from solana-feature-set (#3140)
kevinheavey Oct 15, 2024
d08ef44
Move `solana_sdk::pubkey` functions to solana-pubkey (#2980)
kevinheavey Oct 15, 2024
19c1e1b
SVM: paytube: update cache prep for token program (#3168)
buffalojoec Oct 15, 2024
47163d4
svm: clear read-only non-signers for test txns (#3157)
2501babe Oct 15, 2024
a018567
Supports accounts lt hash in ledger-tool (#3173)
brooksprumo Oct 15, 2024
7b0a573
Scheduler: Improve TTL (#3161)
apfitzge Oct 15, 2024
a3b2c78
extract native-token crate (#3072)
kevinheavey Oct 15, 2024
75450a6
SVM: API: rename `new` to `new_uninitialized` (#3170)
buffalojoec Oct 15, 2024
c32d0df
avoid solana-program in inline-spl (#3178)
kevinheavey Oct 15, 2024
72963e1
Advises kernel to use random access for disk bucket mmaps (#2140)
brooksprumo Oct 15, 2024
1e800b1
Aggressively shrink ancient storages when shrink isn't too busy. (#2946)
dmakarov Oct 15, 2024
598f7ae
Extract entrypoint crate (#2430)
kevinheavey Oct 15, 2024
1740ea2
move account_utils to account crate (#3174)
kevinheavey Oct 15, 2024
20460f5
fix doc link in solana-epoch-schedule (#3175)
kevinheavey Oct 15, 2024
20aa3be
Rehashing is not allowed to change accounts (#3180)
brooksprumo Oct 15, 2024
5488793
svm: test account loader edge cases (#3045)
2501babe Oct 15, 2024
a458839
Use VecDeque for best_ancient_slots_to_shrink to avoid vec reversing …
dmakarov Oct 15, 2024
a8aef04
Extract precompile-error crate (#2300)
kevinheavey Oct 16, 2024
6a70b6c
TransactionCost - hold transaction reference (#3162)
apfitzge Oct 16, 2024
69916f1
rolls back chained Merkle shreds for testnet downgrade (#3194)
behzadnouri Oct 16, 2024
5eeb40a
build(deps): bump openssl from 0.10.66 to 0.10.67 (#3191)
dependabot[bot] Oct 16, 2024
b94fd0b
build(deps): bump hyper from 0.14.30 to 0.14.31 (#3192)
dependabot[bot] Oct 16, 2024
4212204
cli: Simulate for compute units in `validator-info publish` (#3164)
joncinque Oct 16, 2024
5ab9e26
Supports rehashing with accounts lt hash (#3186)
brooksprumo Oct 16, 2024
1e02135
feat: adds voting cluster authority sigs
kevinrodriguez-io Oct 16, 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
  •  
  •  
  •  
26 changes: 0 additions & 26 deletions .buildkite/scripts/build-bench.sh

This file was deleted.

35 changes: 0 additions & 35 deletions .buildkite/scripts/build-bench.test.sh

This file was deleted.

4 changes: 2 additions & 2 deletions .buildkite/scripts/build-stable.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ local_cluster_partitions=$(
{
"name": "local-cluster",
"command": "ci/docker-run-default-image.sh ci/stable/run-local-cluster-partially.sh",
"timeout_in_minutes": 30,
"timeout_in_minutes": 15,
"agent": "$agent",
"parallelism": 5,
"parallelism": 10,
"retry": 3
}
EOF
Expand Down
40 changes: 40 additions & 0 deletions .github/scripts/add-team-to-ghsa.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
#!/usr/bin/env bash
set -euof pipefail

team_to_add_slug="security-incident-response"
github_org="anza-xyz"
github_repo="agave"

# Note: This will get all the GHSAs even if there are more than the per_page value
# from gh api --help
# --paginate Make additional HTTP requests to fetch all pages of results
ghsa_json=$(gh api \
-H "Accept: application/vnd.github+json" \
-H "X-GitHub-Api-Version: 2022-11-28" \
/repos/$github_org/$github_repo/security-advisories?per_page=100 --paginate )

# Get a list of GHSAs that don't have the $team_to_add_slug in collaborating_teams
ghsa_without_team=$( jq -r '[ .[] | select(all(.collaborating_teams.[]; .slug != "'"$team_to_add_slug"'")) | .ghsa_id ] | sort | .[] ' <<< "$ghsa_json" )
if [[ -z $ghsa_without_team ]]; then
echo "All GHSAs already have $team_to_add_slug. Exiting..."
exit 0
fi

# Iterate through the teams
while IFS= read -r ghsa_id; do
# PATCH updates the value. If we just set -f "collaborating_teams[]=$team_to_add_slug" it
# will overwrite any existing collaborating_teams. So we get the list of teams that are already
# added to this GHSA and format them as parameters for gh api like:
# -f collaborating_teams[]=ghsa-testing-1
original_collaborating_team_slugs=$( jq -r '[ .[] | select(.ghsa_id == "'"$ghsa_id"'") | .collaborating_teams ] | "-f collaborating_teams[]=" + .[][].slug ' <<< "$ghsa_json" )

# Update the team list
# shellcheck disable=SC2086
gh api \
--method PATCH \
-H "Accept: application/vnd.github+json" \
-H "X-GitHub-Api-Version: 2022-11-28" \
"/repos/$github_org/$github_repo/security-advisories/$ghsa_id" \
-f "collaborating_teams[]=$team_to_add_slug" $original_collaborating_team_slugs \
> /dev/null 2>&1
done <<< "$ghsa_without_team"
7 changes: 7 additions & 0 deletions .github/scripts/downstream-project-spl-common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,10 @@ fi

# anza migration stopgap. can be removed when agave is fully recommended for public usage.
sed -i 's/solana-geyser-plugin-interface/agave-geyser-plugin-interface/g' ./Cargo.toml

# should be removed when spl bump their curve25519-dalek
sed -i "s/^curve25519-dalek =.*/curve25519-dalek = \"4.1.3\"/" token/confidential-transfer/proof-generation/Cargo.toml

# fix curve25519-dalek

sed -i '/\[patch.crates-io\]/a curve25519-dalek = { git = "https://github.com/anza-xyz/curve25519-dalek.git", rev = "b500cdc2a920cd5bff9e2dd974d7b97349d61464" }' ./Cargo.toml
4 changes: 2 additions & 2 deletions .github/scripts/downstream-project-spl-install-deps.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
set -e

sudo apt update
sudo apt install libudev-dev binutils-dev libunwind-dev protobuf-compiler -y
sudo apt-get update
sudo apt-get install libudev-dev binutils-dev libunwind-dev protobuf-compiler -y
12 changes: 12 additions & 0 deletions .github/scripts/install-all-deps.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/usr/bin/env bash

set -e

here="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"

os_name="$1"

# shellcheck source=.github/scripts/install-openssl.sh
source "$here/install-openssl.sh" "$os_name"
# shellcheck source=.github/scripts/install-proto.sh
source "$here/install-proto.sh" "$os_name"
18 changes: 18 additions & 0 deletions .github/scripts/install-openssl.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#!/usr/bin/env bash

set -e

os_name="$1"

case "$os_name" in
"Windows")
choco install openssl --version 3.3.2 --install-arguments="'/DIR=C:\OpenSSL'" -y
export OPENSSL_LIB_DIR="C:\OpenSSL\lib\VC\x64\MT"
export OPENSSL_INCLUDE_DIR="C:\OpenSSL\include"
;;
"macOS") ;;
"Linux") ;;
*)
echo "Unknown Operating System"
;;
esac
2 changes: 0 additions & 2 deletions ...hub/scripts/cargo-clippy-before-script.sh → .github/scripts/install-proto.sh
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ 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'
;;
Expand Down
22 changes: 22 additions & 0 deletions .github/workflows/add-team-to-ghsa.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Add Security Team to GHSAs

on:
workflow_dispatch:
schedule:
- cron: "0 * * * *"

jobs:
add-team-to-ghsa:
if: github.repository == 'anza-xyz/agave'
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: master
- name: Run script
shell: bash
env:
GH_TOKEN: ${{ secrets.GHSA_ADD_SECURITY_INCIDENT_RESPONSE }}
run: |
.github/scripts/add-team-to-ghsa.sh
99 changes: 99 additions & 0 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
name: Benchmark
on:
push:
branches:
- master

jobs:
benchmark:
if: github.repository == 'anza-xyz/agave'
name: benchmark
runs-on: benchmark
strategy:
fail-fast: false
matrix:
# before adding your benchmark. please check these steps:
# 1. generate a file that includes your benchmark result. it should looks like
#
# ```
# test bench_accounts_delta_hash ... bench: 48,035,858 ns/iter (+/- 2,118,806)
# ```
#
# 2. run `DRY_RUN=1 ./ci/upload-benchmark.sh <YOUR_BENCHMARK_RESULT_FILE_PATH>` to ensure the datapoints are correct
# it should looks similar to this:
#
# ```
# datapoint: ,commit=xxxx,test_suite=xxxx,name=bench_accounts_delta_hash median=48035858,deviation=2118806i
# ```
#
# you only need to check `name`, `median` and `deviation`
#
test:
- {
name: "solana-sdk",
commands: ["cargo +$rust_nightly bench -p solana-sdk"],
}
- {
name: "solana-runtime",
commands: ["cargo +$rust_nightly bench -p solana-runtime"],
}
- {
name: "solana-gossip",
commands: ["cargo +$rust_nightly bench -p solana-gossip"],
}
- {
name: "solana-poh",
commands: ["cargo +$rust_nightly bench -p solana-poh"],
}
- {
name: "solana-core",
commands: ["cargo +$rust_nightly bench -p solana-core"],
}
- {
name: "sbf",
before_command: "make -C programs/sbf all",
commands:
[
"cargo +$rust_nightly bench --manifest-path programs/sbf/Cargo.toml --features=sbf_c",
],
}
# spliting solana-accounts-db because it includes criterion bench
- {
name: "solana-accounts-db",
commands:
[
"cargo +$rust_nightly bench -p solana-accounts-db --bench accounts_index",
"cargo +$rust_nightly bench -p solana-accounts-db --bench accounts",
"cargo +$rust_nightly bench -p solana-accounts-db --bench append_vec",
"cargo +$rust_nightly bench -p solana-accounts-db --bench bench_accounts_file -- --output-format bencher",
"cargo +$rust_nightly bench -p solana-accounts-db --bench bench_hashing -- --output-format bencher",
"cargo +$rust_nightly bench -p solana-accounts-db --bench bench_serde -- --output-format bencher",
],
}

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Before Command
if: ${{ matrix.test.before_command != '' }}
run: |
${{ matrix.test.before_command }}

- name: Command
run: |
source ci/rust-version.sh nightly
echo '${{ toJson(matrix.test.commands) }}' | jq -r '.[]' | while read command; do
eval $command | tee -a benchmark
done

- name: Upload Result
run: |
TEST_SUITE="${{ matrix.test.name }}" \
COMMIT_HASH="$(git rev-parse HEAD)" \
INFLUX_HOST="${{ secrets.BENCHMARK_INFLUX_HOST }}" \
INFLUX_DB="${{ secrets.BENCHMARK_INFLUX_DB }}" \
INFLUX_USER="${{ secrets.BENCHMARK_INFLUX_USER }}" \
INFLUX_PASSWORD="${{ secrets.BENCHMARK_INFLUX_PASSWORD }}" \
INFLUX_MEASUREMENT="${{ secrets.BENCHMARK_INFLUX_MEASUREMENT }}" \
./ci/upload-benchmark.sh benchmark
12 changes: 9 additions & 3 deletions .github/workflows/cargo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ env:

jobs:
clippy-nightly:
if: github.repository == 'anza-xyz/agave'
strategy:
matrix:
os:
Expand All @@ -36,15 +37,20 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: mozilla-actions/[email protected].4
- uses: mozilla-actions/[email protected].5
with:
version: "v0.8.1"

- shell: bash
run: .github/scripts/cargo-clippy-before-script.sh ${{ runner.os }}
# took the workaround from https://github.com/sfackler/rust-openssl/issues/2149
- name: Set Perl environment variables
if: runner.os == 'Windows'
run: |
echo "PERL=$((where.exe perl)[0])" | Out-File -FilePath $env:GITHUB_ENV -Append -Encoding utf8
echo "OPENSSL_SRC_PERL=$((where.exe perl)[0])" | Out-File -FilePath $env:GITHUB_ENV -Append -Encoding utf8

- shell: bash
run: |
source .github/scripts/install-all-deps.sh ${{ runner.os }}
source ci/rust-version.sh nightly
rustup component add clippy --toolchain "$rust_nightly"
scripts/cargo-clippy-nightly.sh
2 changes: 2 additions & 0 deletions .github/workflows/client-targets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ env:

jobs:
android:
if: github.repository == 'anza-xyz/agave'
strategy:
matrix:
os:
Expand All @@ -44,6 +45,7 @@ jobs:
run: ./cargo stable ndk --target ${{ matrix.target }} build -p solana-client

ios:
if: github.repository == 'anza-xyz/agave'
strategy:
matrix:
os:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/crate-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ on:

jobs:
check:
if: github.repository == 'anza-xyz/agave'
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ on:

jobs:
check:
if: github.repository == 'anza-xyz/agave'
outputs:
continue: ${{ steps.check.outputs.need_to_build }}
runs-on: ubuntu-20.04
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/downstream-project-anchor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,16 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
version: ["v0.29.0", "v0.30.0"]
version: ["master"]
if: false # Re-enable once new major versions for spl-token-2022 and spl-pod are out
steps:
- uses: actions/checkout@v4

- shell: bash
run: |
.github/scripts/purge-ubuntu-runner.sh

- uses: mozilla-actions/[email protected].4
- uses: mozilla-actions/[email protected].5
with:
version: "v0.8.1"

Expand Down
8 changes: 1 addition & 7 deletions .github/workflows/downstream-project-spl-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,7 @@ on:

jobs:
main:
# As this is a cron job, it is better to avoid running it for all the forks.
# They are unlike to benefit from these executions, and they could easily
# eat up all the minutes GitHub allocation to free accounts.
if: >
github.event_name != 'schedule'
|| github.repository == 'solana-labs/solana'

if: github.repository == 'anza-xyz/agave'
strategy:
fail-fast: false
matrix:
Expand Down
Loading
Loading