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

Migrate native program module #3

Closed
wants to merge 342 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
342 commits
Select commit Hold shift + click to select a range
c82fc6c
geyser: allow custom name in config file (#33550)
fanatid Dec 5, 2023
70896b8
Link to latest version of the off-chain message signing proposal in t…
steveluscher Dec 5, 2023
f70d548
Fix - Uses `fetch_add()` to accumulate usage counters in `LoadedProgr…
Lichtso Dec 5, 2023
5c00a33
Removes unnecessary #[allow(dead_code)] in tiered storage (#34320)
brooksprumo Dec 6, 2023
821968d
build(deps): bump openssl from 0.10.60 to 0.10.61 (#34315)
dependabot[bot] Dec 6, 2023
fa25176
ci: block auto-merge before SPL downstream tests are all green (#34326)
yihau Dec 6, 2023
1877fdb
Use BankForks on tests - Part 4 (#34271)
LucasSte Dec 6, 2023
49ffe42
Removes glob import of ApplyFeatureActivationsCaller (#34334)
brooksprumo Dec 6, 2023
b32903a
Removes glob import of AccountsHashVerificationError (#34332)
brooksprumo Dec 6, 2023
61fa130
Removes glob import of SnapshotKind (#34333)
brooksprumo Dec 6, 2023
b1c701e
patches slots_per_epoch vs last_slot ordering in shred_fetch_stage (#…
behzadnouri Dec 6, 2023
cf0c52c
Cleanup - program runtime (#34318)
Lichtso Dec 6, 2023
d21e7ed
[zk-token-sdk] Fix transfer with fee edge case error (#34314)
samkim-crypto Dec 6, 2023
d5eee01
adds feature gated code to drop legacy shreds (#34328)
behzadnouri Dec 6, 2023
e96afe3
ci: get macos clippy auto-merge check follow the triggering rules (#3…
yihau Dec 7, 2023
6f2b3bb
ci: fix mergify regex (#34337)
yihau Dec 7, 2023
ae77131
ci: Add downstream build for anchor (#34343)
joncinque Dec 7, 2023
9cb8306
fix typo in error message and code comments in transaction_context (…
HaoranYi Dec 7, 2023
46921b3
Fix `solana-address-lookup-table-program` compilation (#34353)
acheroncrypto Dec 7, 2023
f6403e3
generalize message type for runtime-transaction (#34276)
tao-stones Dec 7, 2023
74c54a7
docs: (cli) minor updates to deploy-a-program.md (#34307)
norwnd Dec 7, 2023
8c6239c
cli: (program/buffer deploy) introduce --fee-payer argument (#34341)
norwnd Dec 7, 2023
132c910
Quic update identity (#33865)
ryleung-solana Dec 8, 2023
cfb16ab
sdk: Upgrade to borsh 1.2.1 (#34355)
joncinque Dec 8, 2023
c43edd2
use seqlock for AccountStorage count and status tracking (#34356)
HaoranYi Dec 8, 2023
79739e1
Comment sysvar and builtin lists as deprecated and remove new keys (#…
jstarry Dec 8, 2023
930ce1e
Add allow_commission_decrease_at_any_time feature which will allow (#…
bji Dec 8, 2023
e8945d2
tokens: fix url clap arg name (#34371)
Dec 8, 2023
a1d2d6f
ci: Test anchor-spl during downstream build (#34368)
joncinque Dec 9, 2023
1714c80
update pubsub docs link (#34380)
dhruvja Dec 9, 2023
2971e84
Add metrics for locking the blockhash queue in banking stage (#34382)
jstarry Dec 9, 2023
bbeca16
docs: write-buffer clarifications (#34366)
norwnd Dec 11, 2023
2e34bfc
comments: fix typos (#34402)
norwnd Dec 11, 2023
4b76232
Remove WorkingSlot (#34342)
LucasSte Dec 11, 2023
676e80c
[docs] docs migration (#34096)
nickfrosty Dec 11, 2023
967f1cd
[docs] fix: invalid path param (#34403)
nickfrosty Dec 11, 2023
aab12c3
tune ancient append vec size to 128M (#34067)
HaoranYi Dec 11, 2023
39a3566
[TieredStorage] Make AccountOffset a trait, introduce HotAccountOffse…
yhchiang-sol Dec 11, 2023
07f3883
add additional vote lockout stake threshold (#34120)
bw-solana Dec 12, 2023
376b143
[TieredStorage] Improve comments for HOT_ACCOUNT_ALIGNMENT (#34404)
yhchiang-sol Dec 12, 2023
636992b
Fix pubkey-macro args (#34410)
Dec 12, 2023
a2d7be0
Derives Pod for tiered storage types (#34414)
brooksprumo Dec 12, 2023
05dae59
Enhancements to Solana's Documentations for Better Clarity (#34386)
joaolago1113 Dec 12, 2023
549c3e7
Fix a number of typos (#34385)
pandabadger Dec 12, 2023
383aa04
[TieredStorage] Unit-tests for checking invalid HotAccountOffset (#34…
yhchiang-sol Dec 12, 2023
79d0a47
Sets EpochAccountsHash to Valid in accounts bench (#34420)
brooksprumo Dec 12, 2023
337c233
fix rename of HOT_ACCOUNT_ALIGNMENT (#34422)
AshwinSekar Dec 12, 2023
39f2866
cleanup feature code after mainnet-beta activation (#34289)
tao-stones Dec 13, 2023
70cab76
Remove deletion of TransactionStatusIndex entries (#34023)
Dec 13, 2023
7500235
makes last erasure batch size >= 64 shreds (#34330)
behzadnouri Dec 13, 2023
aaa48ec
Patch tokio to vendored version (#34240)
Dec 13, 2023
3472282
build(deps): bump syn from 2.0.39 to 2.0.40 (#34399)
dependabot[bot] Dec 13, 2023
ca02ad7
build(deps): bump rustls from 0.21.9 to 0.21.10 (#34400)
dependabot[bot] Dec 13, 2023
a04ab94
build(deps): bump aquamarine from 0.3.2 to 0.3.3 (#34437)
dependabot[bot] Dec 13, 2023
d836cf1
cleanup feature code after activated everywhere (#34408)
tao-stones Dec 13, 2023
48046b6
ledger-tool: Bubble up error enum instead of eprintln!() and exit() (…
Dec 13, 2023
501458a
changelog: Adds --use-snapshot-archives-at-startup to v1.17.0 (#34401)
brooksprumo Dec 13, 2023
2dfcdce
cleanup feature code after mainnet-beta activation of DdLwVYuvDz26Joh…
tao-stones Dec 13, 2023
0b6d939
Removes epoch_accounts_hash featurization (#34417)
brooksprumo Dec 13, 2023
2a67fa8
ledger-tool: Condense repeated error handling (#34439)
Dec 13, 2023
88b2585
Unhide --block-production-method (#34416)
apfitzge Dec 13, 2023
d36b211
bank: Add errored compute units during simulation (#34450)
joncinque Dec 14, 2023
fe7970c
Remove redundant code from Bank::wrap_with_bank_forks_for_tests() (#3…
Dec 14, 2023
47dab26
Set root slot/epoch in cache constructor (#34447)
pgarg66 Dec 14, 2023
0be3b6e
cli: program upgrade with offline signing (--sign-only mode) (#33860)
norwnd Dec 14, 2023
0a3a016
Documentation Improvements: Typos and Grammar Fixes (#34461)
joaolago1113 Dec 14, 2023
ae6a4c0
Only allow BankForks creation with single bank (#34449)
Dec 14, 2023
e6e191f
CI: add check for explicit spl-token-cli version (#34430)
Dec 14, 2023
69706be
cleanup feature code after activated everywhere (#34359)
tao-stones Dec 14, 2023
d1cfd26
Refactors AccountsDb constructors (#34456)
brooksprumo Dec 14, 2023
5b1aa63
remove unused imports (#34467)
yihau Dec 14, 2023
c7a5767
Adds read/write/get_pod() fns to tiered storage (#34415)
brooksprumo Dec 14, 2023
4f11161
local-cluster: fix flaky test_rpc_block_subscribe (#34421)
AshwinSekar Dec 14, 2023
b0c54d3
Clean up prevent_rent_paying_rent_recipients feature (#34418)
Dec 14, 2023
e472400
fix typo in variable name and error messages (#34463)
HaoranYi Dec 14, 2023
36c1bbf
Fix ledger-tool bigtable compare blocks (#34373)
Dec 14, 2023
e79c09b
Refactors Accounts constructors (#34466)
brooksprumo Dec 14, 2023
aaccbdd
[zk-token-sdk] Fix range proof transcript seed typo (#34468)
samkim-crypto Dec 14, 2023
45eaa4c
Removes unnecessary Accounts constructors (#34471)
brooksprumo Dec 15, 2023
a58e462
Remove ledger-tool-specific output format enum (#34473)
Dec 15, 2023
eaec422
ledger-tool: Disable os memory reporting on verify command by default…
Dec 15, 2023
74d02ac
ledger-tool: Use OutputFormat printer in program subcommand (#34475)
Dec 15, 2023
f214a82
cleanup feature code after mainnet-beta activation (#34208)
tao-stones Dec 15, 2023
7360f48
remove unnecessary wrapper function (#34428)
tao-stones Dec 15, 2023
86c88d7
Remove feature set from compute budget processor (#34472)
tao-stones Dec 15, 2023
310c7a4
add requested limits to static meta (#34361)
tao-stones Dec 16, 2023
1f2b72b
[docs] Remove trailing whitespace (#34493)
ilya-bobyr Dec 16, 2023
171c58c
RPC: Add inner instructions to simulate transaction response (#34313)
Dec 16, 2023
1015488
build(deps): bump syn from 2.0.40 to 2.0.41 (#34480)
dependabot[bot] Dec 18, 2023
cbe8a02
Removes unnecessary AccountsDb::new_with_config_for_tests() (#34485)
brooksprumo Dec 18, 2023
4181ea4
Removes unnecessary AccountsDb::new_with_config_for_benches() (#34484)
brooksprumo Dec 18, 2023
22bfcd9
Feature - Cooperative Program Loading (#34407)
Lichtso Dec 18, 2023
a1032ef
build(deps): bump zerocopy from 0.7.15 to 0.7.31 (#34477)
dependabot[bot] Dec 18, 2023
9f2b658
build(deps): bump stream-cancel from 0.8.1 to 0.8.2 (#34500)
dependabot[bot] Dec 18, 2023
5ecabfa
build(deps): bump crossbeam-channel from 0.5.8 to 0.5.9 (#34458)
dependabot[bot] Dec 18, 2023
1ac017c
rekey stake limit feature (#34503)
HaoranYi Dec 18, 2023
65e10ae
build(deps): bump libc from 0.2.150 to 0.2.151 (#34398)
dependabot[bot] Dec 18, 2023
031125c
changelog: add getSignaturesForAddress ordering (#34510)
Dec 18, 2023
b85a404
add rpc change to changelog (#34511)
Dec 18, 2023
0b1327b
changelog: update rpc `simulateTransaction` change (#34512)
Dec 18, 2023
e858a5a
Removes unnecessary new_sized() AccountsDb ctor (#34504)
brooksprumo Dec 18, 2023
eb948b1
[TieredStorage] Boundary check for accessing hot account meta (#34349)
yhchiang-sol Dec 18, 2023
6f0133b
Improve cache eviction policy for LoadedPrograms (#34391)
pgarg66 Dec 18, 2023
84a079e
ledger-tool: make read_only consistent across bigtable subcommands (#…
Dec 18, 2023
4a8d27d
replay: feature flag consumption of duplicate proofs from blockstore …
AshwinSekar Dec 19, 2023
d2b5afc
Finish unified scheduler plumbing with min impl (#34300)
ryoqun Dec 19, 2023
990d9b1
build(deps): bump thiserror from 1.0.50 to 1.0.51 (#34519)
dependabot[bot] Dec 19, 2023
f70e1d9
build(deps): bump reqwest from 0.11.22 to 0.11.23 (#34517)
dependabot[bot] Dec 19, 2023
e877eef
build(deps): bump hyper from 0.14.27 to 0.14.28 (#34518)
dependabot[bot] Dec 19, 2023
d00c9a4
TransactionScheduler: pre_lock_filter (#34488)
apfitzge Dec 19, 2023
4feadbd
disables turbine and repair QUIC endpoints on mainnet-beta (#34523)
behzadnouri Dec 19, 2023
97f02fa
Update build by source docs to add pre-requisites (#34441)
jcleira Dec 19, 2023
51c9963
cargo-install-all: use full path for sourcing (#34525)
Dec 19, 2023
4a8582e
cleanup feature code after activated everywhere (#34509)
tao-stones Dec 19, 2023
c722976
clean up no longer needed feature_set in test (#34530)
tao-stones Dec 19, 2023
210d320
Remove to_string which is not necessary (#34540)
sakridge Dec 20, 2023
def3bc4
Add feature flag for LastIndex and Erasure duplicate proofs (#34360)
AshwinSekar Dec 20, 2023
cc0e5f7
ledger-tool: add show-entries option to bigtable block (#34536)
Dec 20, 2023
09efd70
[TieredStorage] boundary check for get_account_address() (#34529)
yhchiang-sol Dec 20, 2023
7d209a4
ledger-tool: support v0 transactions in blocks from bigtable (#34544)
Dec 20, 2023
d436352
Cargo needs version arg after subcommand (#34547)
Dec 20, 2023
d3cde6c
Moves Bank benches-only ctors in DCOU (#34545)
brooksprumo Dec 20, 2023
1db76cf
bigtable: remove extra clones (#34239)
fanatid Dec 20, 2023
14446e5
Reword comment in `load_transaction_accounts()` (#34561)
Lichtso Dec 21, 2023
25f0f37
program-test uses Bank::new_with_paths() (#34549)
brooksprumo Dec 21, 2023
b3569f6
build(deps): bump dir-diff from 0.3.2 to 0.3.3 (#34538)
dependabot[bot] Dec 21, 2023
5d2314f
build(deps): bump anyhow from 1.0.75 to 1.0.76 (#34558)
dependabot[bot] Dec 21, 2023
6911c30
build(deps): bump syn from 2.0.41 to 2.0.42 (#34559)
dependabot[bot] Dec 21, 2023
1358c19
build(deps): bump serde_yaml from 0.9.27 to 0.9.28 (#34560)
dependabot[bot] Dec 21, 2023
fbc3999
build(deps): bump async-trait from 0.1.74 to 0.1.75 (#34557)
dependabot[bot] Dec 21, 2023
f0ff69b
Rename: AtomicBloom to ConcurrentBloom (#34483)
apfitzge Dec 21, 2023
3af306e
Moves Bank tests-only ctors to DCOU (#34534)
brooksprumo Dec 21, 2023
531d69f
pass feature_set to BorrowedAccount (#34542)
HaoranYi Dec 21, 2023
5247be1
ci: split cargo-clippy into stable and nightly (#34566)
yihau Dec 21, 2023
03386cc
Fix typos (#34459)
GoodDaisy Dec 21, 2023
a583035
[TieredStorage] Boundary check for get_account_offset() (#34531)
yhchiang-sol Dec 21, 2023
8ed149a
Add ContactInfo handling for shred versioning (#34286)
Dec 21, 2023
2fd0bae
rekey partitioned epoch rewards (#34502)
HaoranYi Dec 21, 2023
8a8466c
spl: Bump token-2022 to v1 (#34412)
joncinque Dec 22, 2023
88af74d
refactor: optional `stake_history` arg is never `None` (#34556)
jstarry Dec 22, 2023
6bbd366
Throttle unstaked quic streams for a given connection (#34562)
pgarg66 Dec 22, 2023
f73fd9d
[TieredStorage] HotStorageReader::account_matches_owners (#34350)
yhchiang-sol Dec 22, 2023
5b26d27
[TieredStorage] Fix typos in index.rs (#34546)
yhchiang-sol Dec 22, 2023
8c22e16
build(deps): bump serde_yaml from 0.9.28 to 0.9.29 (#34576)
dependabot[bot] Dec 22, 2023
bb88254
build(deps): bump proc-macro2 from 1.0.70 to 1.0.71 (#34575)
dependabot[bot] Dec 22, 2023
368852d
Add entries table to bigtable docs (#34567)
Dec 22, 2023
cc584a0
blockstore: write only dirty erasure meta and merkle root metas (#34269)
AshwinSekar Dec 22, 2023
1a00175
add metrics on throttled streams (#34579)
lijunwangs Dec 23, 2023
d500eb6
[TieredStorage] HotAccountsReader::get_account (#34499)
yhchiang-sol Dec 25, 2023
6b76ec1
Uses Bank::new_for_tests() instead of new_for_tests_with_config() (#3…
brooksprumo Dec 26, 2023
5d6fa24
build(deps): bump syn from 2.0.42 to 2.0.43 (#34588)
dependabot[bot] Dec 26, 2023
3680929
build(deps): bump futures from 0.3.29 to 0.3.30 (#34589)
dependabot[bot] Dec 26, 2023
d63b287
build(deps): bump ctrlc from 3.4.1 to 3.4.2 (#34592)
dependabot[bot] Dec 26, 2023
1c2facf
bump openssl from 0.10.61 to 0.10.62 (#34593)
dependabot[bot] Dec 26, 2023
057ad2a
Fix typo in comments in core (#34594)
guerrierindien Dec 26, 2023
1f7c714
Allow bank hash file to contain details for multiple slots (#34516)
Dec 27, 2023
f8c3e24
clippy: Removes ineffective open options (#34599)
brooksprumo Dec 28, 2023
58170cf
clippy: Fixes blocks in conditions (#34600)
brooksprumo Dec 28, 2023
26d0581
Upgrades Rust to 1.75.0 (#34607)
brooksprumo Dec 30, 2023
6ff13e4
Bump serde_bytes from 0.11.12 to 0.11.13 (#34598)
dependabot[bot] Jan 2, 2024
41cfbe3
Bump tempfile from 3.8.1 to 3.9.0 (#34603)
dependabot[bot] Jan 2, 2024
e6e99a7
Bump anyhow from 1.0.76 to 1.0.77 (#34602)
dependabot[bot] Jan 2, 2024
d9fd5d0
build(deps): bump crossbeam-channel from 0.5.9 to 0.5.10 (#34591)
dependabot[bot] Jan 2, 2024
c1c857c
Bump thiserror from 1.0.51 to 1.0.52 (#34601)
dependabot[bot] Jan 2, 2024
7275c30
Bump anyhow from 1.0.77 to 1.0.79 (#34613)
dependabot[bot] Jan 2, 2024
5a67b63
Bump serde_json from 1.0.108 to 1.0.109 (#34614)
dependabot[bot] Jan 2, 2024
436054a
Bump proc-macro2 from 1.0.71 to 1.0.74 (#34616)
dependabot[bot] Jan 2, 2024
5349308
Bump ahash from 0.8.6 to 0.8.7 (#34615)
dependabot[bot] Jan 2, 2024
6dea5a2
ConcurrentBloomInterval (#34486)
apfitzge Jan 2, 2024
09a94b8
Bump prio-graph version to 0.2.1 (#34604)
apfitzge Jan 2, 2024
1bb2f55
clippy: rpc lints (#34632)
brooksprumo Jan 3, 2024
59dd007
clippy: zk-token-sdk lints (#34633)
brooksprumo Jan 3, 2024
558b68b
Bump async-trait from 0.1.75 to 0.1.77 (#34617)
dependabot[bot] Jan 3, 2024
d6146af
clippy: validator lints (#34631)
brooksprumo Jan 3, 2024
fc2a879
[docs] updated readme and fix links (#34565)
nickfrosty Jan 3, 2024
de976be
clippy: runtime lints (#34630)
brooksprumo Jan 3, 2024
e4ec68d
clippy: accounts-db lints (#34628)
brooksprumo Jan 3, 2024
5b91e29
ledger-tool: Move ledger output methods to output.rs (#34595)
Jan 3, 2024
ace2bb2
Bump serde_bytes from 0.11.13 to 0.11.14 (#34637)
dependabot[bot] Jan 3, 2024
35afc3e
Bump thiserror from 1.0.52 to 1.0.56 (#34638)
dependabot[bot] Jan 3, 2024
8148cb5
chore: ignore farf/ in .gitignore (#34634)
HaoranYi Jan 3, 2024
1908841
blockstore: populate duplicate shred proofs for merkle root conflicts…
AshwinSekar Jan 3, 2024
431fd91
Bump serde from 1.0.193 to 1.0.194 (#34639)
dependabot[bot] Jan 3, 2024
8330dee
[program-test] adding method warp_to_epoch (#34620)
ochaloup Jan 3, 2024
1d93732
clippy: ledger-tool lints (#34640)
Jan 3, 2024
5a3a10e
Deprecate account meta executable read/update in bpf loaders (#34194)
HaoranYi Jan 3, 2024
0b49d82
ledger-tool: Move blockstore arg parsing to open_blockstore() (#34596)
Jan 3, 2024
917e242
bpf_loader: fix clippy::blocks_in_conditions lint (#34643)
alessandrod Jan 4, 2024
744c2cb
ledger-tool: Switch subcommand dispatch from if-else to match (#34644)
Jan 4, 2024
d9b2051
build(deps): bump serde_yaml from 0.9.29 to 0.9.30 (#34649)
dependabot[bot] Jan 4, 2024
b425645
build(deps): bump semver from 1.0.20 to 1.0.21 (#34648)
dependabot[bot] Jan 4, 2024
a2d2eb3
build(deps): bump proc-macro2 from 1.0.74 to 1.0.75 (#34647)
dependabot[bot] Jan 4, 2024
9fe2037
ledger-tool: Adjust logic to obtain TransactionStatusService Blocksto…
Jan 4, 2024
b814497
clippy: core lints (#34629)
brooksprumo Jan 4, 2024
bbb4118
Solana program deployment failed because blockhash was expired during…
godmodegalactus Jan 5, 2024
1f8b0b1
refactor: `check_update_vote_state_slots_are_valid` (#34555)
jstarry Jan 5, 2024
47b4075
Add test in banking stage for recording txs in last tick (#34635)
jstarry Jan 5, 2024
e84974c
Logs the number of storages kept alive by fastboot (#34667)
brooksprumo Jan 5, 2024
08082df
clap-utils: Forbid multiple values for `--signer` (#34482)
joncinque Jan 5, 2024
6a9a890
[clap-v3-utils] Deprecate signer source validation (#33802)
samkim-crypto Jan 5, 2024
dce3ce3
Adjust blockstore open logs to say blockstore instead of database (#3…
Jan 6, 2024
709e934
Add RPC bench threads to accounts-cluster-bench (#34520)
sakridge Jan 6, 2024
871355a
build(deps): bump syn from 2.0.46 to 2.0.48 (#34661)
dependabot[bot] Jan 7, 2024
0c2d69a
build(deps): bump serde_json from 1.0.109 to 1.0.111 (#34660)
dependabot[bot] Jan 8, 2024
58432a6
checks: Removes unnecessary braces (#34681)
brooksprumo Jan 8, 2024
6443b0a
build(deps): bump num_enum from 0.7.1 to 0.7.2 (#34685)
dependabot[bot] Jan 8, 2024
6ec2108
build(deps): bump proc-macro2 from 1.0.75 to 1.0.76 (#34684)
dependabot[bot] Jan 8, 2024
30fa449
build(deps): bump serde from 1.0.194 to 1.0.195 (#34683)
dependabot[bot] Jan 8, 2024
3a2f132
[TieredStorage] Rename AddressAndBlockOffsetOnly to AddressesThenOffs…
yhchiang-sol Jan 8, 2024
2082f8b
[TieredStorage] HotStorageWriter::new() (#34659)
yhchiang-sol Jan 8, 2024
40e4103
Removes cap-accounts-data-len bits when constructing a new Bank (#34688)
brooksprumo Jan 8, 2024
d3690dd
Removes unnecessary feature activation when testing accounts data siz…
brooksprumo Jan 9, 2024
a1d3003
add max cu-limit to test transactions (#34702)
tao-stones Jan 9, 2024
5c2d7b6
build(deps): bump libc from 0.2.151 to 0.2.152 (#34682)
dependabot[bot] Jan 9, 2024
e681d8b
security-policy: Refer to SPL for on-chain programs (#34697)
joncinque Jan 9, 2024
a78b520
git: ignore all `target/` directories (#34705)
alessandrod Jan 9, 2024
896a531
programs/sbf: "fix" invalid_reference_casting lint (#34706)
alessandrod Jan 9, 2024
39976cc
Upgrades Rust nightly to 2024-01-05 (#34673)
brooksprumo Jan 9, 2024
20e3e0c
build(deps): bump base64 from 0.21.5 to 0.21.6 (#34709)
dependabot[bot] Jan 9, 2024
74fde2d
build(deps): bump crossbeam-channel from 0.5.10 to 0.5.11 (#34708)
dependabot[bot] Jan 9, 2024
95f888a
Unlock only if lock_result was Ok (#34652)
apfitzge Jan 9, 2024
38494e5
Removes unused Bank::accounts_data_size_limit() (#34700)
brooksprumo Jan 9, 2024
abe699b
Adds newline to fastboot's CLI help (#34712)
brooksprumo Jan 9, 2024
642a7e0
Moves where the TransactionExecutionDetails::accounts_data_len_delta …
brooksprumo Jan 9, 2024
4839115
ledger-tool: Minor cleanup on accountsdb config argument parsing (#34…
Jan 9, 2024
5f74fc4
Update genesis processing to have a fallback collector id for tests (…
jstarry Jan 10, 2024
c5d51ac
GitHub workflows: Disable cron schedule for forks (#34703)
ilya-bobyr Jan 10, 2024
88f8d11
program-test consumes some units as native (#34714)
tao-stones Jan 10, 2024
ac04a75
Remove chain-joining thread-selection (#34554)
apfitzge Jan 10, 2024
e3df207
ci: use larger runner for macos nightly clippy (#34725)
yihau Jan 10, 2024
61e42cb
Fix program buffer account rent-exempt lamport calculation (#34722)
HaoranYi Jan 10, 2024
dc5af2c
Removes AccountsDataMeter from InvokeContext (#34698)
brooksprumo Jan 10, 2024
74df203
ci: cancel the previous build when a new commit lands (#34733)
yihau Jan 10, 2024
8438544
update docs for tpu using Quic (#34721)
lijunwangs Jan 10, 2024
fb35552
Removes AccountsDataMeter (#34727)
brooksprumo Jan 10, 2024
fb97e93
fix duplicate confirmed rollup detection for descendants (#34014)
AshwinSekar Jan 10, 2024
5cb30cf
cli: Use program length for deployments instead of 2x length (#34730)
joncinque Jan 10, 2024
7ee9d9a
ledger-tool: Move blockstore commands to blockstore subcommand (#34597)
Jan 10, 2024
e9a6bb3
Removes remaining unused accounts data len bits (#34732)
brooksprumo Jan 10, 2024
a1be104
Make check{2,3} faster by enabling parallel rustc for dcou (#34739)
ryoqun Jan 11, 2024
13b8d02
build(deps): bump console from 0.15.7 to 0.15.8 (#34726)
dependabot[bot] Jan 11, 2024
166be29
Bigtable: update google proto files and allow configuration of max_me…
Jan 11, 2024
e31a45a
ci: use larger runner for macos stable clippy (#34745)
yihau Jan 11, 2024
4652d13
bpf loader upgradeable: export `get_program_data_address` helper
buffalojoec Jan 11, 2024
1c301c5
bank: init `migrate_native_program` module
buffalojoec Jan 11, 2024
e924cfb
bank: add migration config checks for native programs
buffalojoec Jan 11, 2024
7548d9c
bank: add migration config checks for non-upgradeable bpf programs
buffalojoec Jan 11, 2024
fe31007
bank: add migration config checks for upgradeable bpf programs
buffalojoec Jan 11, 2024
a60605c
bank: add `migrate_native_program_to_bpf_non_upgradeable`
buffalojoec Jan 11, 2024
e0d3cba
bank: add `migrate_native_program_to_bpf_upgradeable`
buffalojoec Jan 11, 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
  •  
  •  
  •  
17 changes: 17 additions & 0 deletions .github/scripts/cargo-clippy-before-script.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/usr/bin/env bash

set -e

os_name="$1"

case "$os_name" in
"Windows")
;;
"macOS")
brew install protobuf
;;
"Linux") ;;
*)
echo "Unknown Operating System"
;;
esac
5 changes: 5 additions & 0 deletions .github/workflows/autolock_bot_PR.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ concurrency:

jobs:
action:
# Forks do not need to run this, especially on cron schedule.
if: >
github.event_name != 'schedule'
|| github.repository == 'solana-labs/solana'

runs-on: ubuntu-latest
steps:
- uses: dessant/lock-threads@v3
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/autolock_bot_closed_issue.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ concurrency:

jobs:
action:
# Forks do not need to run this, especially on cron schedule.
if: >
github.event_name != 'schedule'
|| github.repository == 'solana-labs/solana'

runs-on: ubuntu-latest
steps:
- uses: dessant/lock-threads@v3
Expand Down
71 changes: 71 additions & 0 deletions .github/workflows/cargo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
name: Cargo

on:
push:
branches:
- master
- v[0-9]+.[0-9]+
pull_request:
branches:
- master
- v[0-9]+.[0-9]+
paths:
- "**.rs"
- "**/Cargo.toml"
- "**/Cargo.lock"
- ".github/scripts/cargo-clippy-before-script.sh"
- ".github/workflows/cargo.yml"

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

env:
SHELL: /bin/bash
SCCACHE_GHA_ENABLED: "true"
RUSTC_WRAPPER: "sccache"

jobs:
clippy-stable:
strategy:
matrix:
os:
- macos-latest-large
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4

- uses: mozilla-actions/sccache-action@v0.0.3
with:
version: "v0.5.4"

- shell: bash
run: .github/scripts/cargo-clippy-before-script.sh ${{ runner.os }}

- shell: bash
run: |
source ci/rust-version.sh stable
rustup component add clippy --toolchain "$rust_stable"
scripts/cargo-clippy-stable.sh

clippy-nightly:
strategy:
matrix:
os:
- macos-latest-large
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4

- uses: mozilla-actions/sccache-action@v0.0.3
with:
version: "v0.5.4"

- shell: bash
run: .github/scripts/cargo-clippy-before-script.sh ${{ runner.os }}

- shell: bash
run: |
source ci/rust-version.sh nightly
rustup component add clippy --toolchain "$rust_nightly"
scripts/cargo-clippy-nightly.sh
57 changes: 57 additions & 0 deletions .github/workflows/downstream-project-anchor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
name: Downstream Project - Anchor

on:
push:
branches:
- master
- v[0-9]+.[0-9]+
pull_request:
branches:
- master
- v[0-9]+.[0-9]+
paths:
- "**.rs"
- "Cargo.toml"
- "Cargo.lock"
- "cargo-build-bpf"
- "cargo-test-bpf"
- "cargo-build-sbf"
- "cargo-test-sbf"
- ".github/workflows/downstream-project-anchor.yml"
workflow_call:
inputs:
branch:
required: false
type: string
default: "master"

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

env:
SHELL: /bin/bash
SCCACHE_GHA_ENABLED: "true"
RUSTC_WRAPPER: "sccache"

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
version: ["v0.29.0"]
steps:
- uses: actions/checkout@v3

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

- uses: mozilla-actions/sccache-action@v0.0.3
with:
version: "v0.5.4"

- shell: bash
run: |
source .github/scripts/downstream-project-spl-install-deps.sh
./scripts/build-downstream-anchor-projects.sh ${{ matrix.version }}
7 changes: 7 additions & 0 deletions .github/workflows/downstream-project-spl-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ 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'

strategy:
fail-fast: false
matrix:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/downstream-project-spl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ on:
type: string
default: "master"

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

env:
SHELL: /bin/bash
SCCACHE_GHA_ENABLED: "true"
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/manage-stale-issues-and-prs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ permissions:

jobs:
stale:
# Forks do not need to run this, especially on cron schedule.
if: >
github.event_name != 'schedule'
|| github.repository == 'solana-labs/solana'

runs-on: ubuntu-latest
steps:
- uses: actions/stale@v6
Expand Down
5 changes: 2 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
/dos/farf/
/farf/
farf/
target/
/solana-release/
/solana-release.tar.bz2
/solana-metrics/
/solana-metrics.tar.bz2
/target/
/test-ledger/

**/*.rs.bk
Expand Down
22 changes: 22 additions & 0 deletions .mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,28 @@ pull_request_rules:
# only require docs checks if docs files changed
- -files~=^docs/
- status-success=build & deploy docs
- or:
- -files~=(\.rs|Cargo\.toml|Cargo\.lock|\.github/scripts/cargo-clippy-before-script\.sh|\.github/workflows/cargo\.yml)$
- and:
- or:
- check-success=clippy-stable (macos-latest)
- check-success=clippy-stable (macos-latest-large)
- or:
- 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)$
- and:
- status-success=cargo-test-sbf (token/program)
- status-success=cargo-test-sbf (instruction-padding/program, token/program-2022, token/program-2022-test)
- status-success=cargo-test-sbf (associated-token-account/program, associated-token-account/program-test)
- status-success=cargo-test-sbf (token-upgrade/program)
- status-success=cargo-test-sbf (feature-proposal/program)
- status-success=cargo-test-sbf (governance/addin-mock/program, governance/program)
- status-success=cargo-test-sbf (memo/program)
- status-success=cargo-test-sbf (name-service/program)
- status-success=cargo-test-sbf (stake-pool/program)
- status-success=cargo-test-sbf (single-pool/program)
actions:
merge:
method: squash
Expand Down
23 changes: 22 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
# Changelog

All notable changes to this project will be documented in this file.

Please follow the [guidance](#adding-to-this-changelog) at the bottom of this file when making changes
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html)
and follows a [Backwards Compatibility Policy](https://docs.solana.com/developing/backwards-compatibility)
and follows a [Backwards Compatibility Policy](https://docs.solanalabs.com/backwards-compatibility)

Release channels have their own copy of this changelog:
* [edge - v1.18](#edge-channel)
Expand All @@ -16,11 +17,31 @@ Release channels have their own copy of this changelog:
* Changes
* Added a github check to support `changelog` label
* The default for `--use-snapshot-archives-at-startup` is now `when-newest` (#33883)
* The default for `solana-ledger-tool`, however, remains `always` (#34228)
* Added `central-scheduler` option for `--block-production-method` (#33890)
* Updated to Borsh v1
* Added allow_commission_decrease_at_any_time feature which will allow commission on a vote account to be
decreased even in the second half of epochs when the commission_updates_only_allowed_in_first_half_of_epoch
feature would have prevented it
* Updated local ledger storage so that the RPC endpoint
`getSignaturesForAddress` always returns signatures in block-inclusion order
* RPC's `simulateTransaction` now returns `innerInstructions` as `json`/`jsonParsed` (#34313).
* Bigtable upload now includes entry summary data for each slot, stored in a
new `entries` table
* Forbid multiple values for the `--signer` CLI flag, forcing users to specify multiple occurrences of `--signer`, one for each signature
* New program deployments default to the exact size of a program, instead of
double the size. Program accounts must be extended with `solana program extend`
before an upgrade if they need to accommodate larger programs.
* Upgrade Notes
* `solana-program` and `solana-sdk` default to support for Borsh v1, with
limited backward compatibility for v0.10 and v0.9. Please upgrade to Borsh v1.
* Operators running their own bigtable instances need to create the `entries`
table before upgrading their warehouse nodes

## [1.17.0]
* Changes
* Added a changelog.
* Added `--use-snapshot-archives-at-startup` for faster validator restarts
* Upgrade Notes

## Adding to this Changelog
Expand Down
10 changes: 5 additions & 5 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -315,17 +315,17 @@ Inventing new terms is allowed, but should only be done when the term is widely
used and understood. Avoid introducing new 3-letter terms, which can be
confused with 3-letter acronyms.

[Terms currently in use](docs/src/terminology.md)
[Terms currently in use](https://solana.com/docs/terminology)


## Design Proposals

Solana's architecture is described by docs generated from markdown files in the `docs/src/`
directory and viewable on the official [Solana Documentation](https://docs.solana.com) website.
This Solana validator client's architecture is described by docs generated from markdown files in the `docs/src/`
directory and viewable on the official [Solana Labs Validator Client](https://docs.solanalabs.com) documentation website.

Current design proposals may be viewed on the docs site:

1. [Accepted Proposals](https://docs.solana.com/proposals/accepted-design-proposals)
2. [Implemented Proposals](https://docs.solana.com/implemented-proposals/implemented-proposals)
1. [Accepted Proposals](https://docs.solanalabs.com/proposals/accepted-design-proposals)
2. [Implemented Proposals](https://docs.solanalabs.com/implemented-proposals/implemented-proposals)

New design proposals should follow this guide on [how to submit a design proposal](./docs/src/proposals.md#submit-a-design-proposal).
Loading
Loading