Steven Luscher
511182479b
docs: add direct link to StackExchange from the On-Chain Programs docs ( #32937 )
...
* docs: add direct link to StackExchange from the On-Chain Programs docs
* Update link to Discord.
Co-authored-by: Nick Frostbutter <75431177+nickfrosty@users.noreply.github.com>
---------
Co-authored-by: Nick Frostbutter <75431177+nickfrosty@users.noreply.github.com>
2023-09-27 16:36:08 +00:00
Lijun Wang
3fbfa0e0da
Simplify code and use match to harden logic ( #33409 )
...
addressed more feedback from Jon: Simplify code and use match to harden logic in connection cache
2023-09-27 09:35:19 -07:00
Yihau Chen
3608378097
chore(solana-accounts-db): remove unused deps ( #33429 )
2023-09-27 16:27:40 +00:00
Jon Cinque
f502dbc54e
ci: Re-enable spl-stake-pool downstream job ( #33425 )
2023-09-27 17:37:28 +02:00
Yihau Chen
ca92e9c387
chore(solana-accounts-db): remove unused deps ( #33420 )
2023-09-27 11:02:05 +00:00
dependabot[bot]
634eede841
build(deps): bump thiserror from 1.0.48 to 1.0.49 ( #33423 )
...
* build(deps): bump thiserror from 1.0.48 to 1.0.49
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.48 to 1.0.49.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.48...1.0.49 )
---
updated-dependencies:
- dependency-name: thiserror
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>
2023-09-27 09:45:14 +00:00
dependabot[bot]
177fd08707
build(deps): bump blake3 from 1.4.1 to 1.5.0 ( #33368 )
...
* build(deps): bump blake3 from 1.4.1 to 1.5.0
Bumps [blake3](https://github.com/BLAKE3-team/BLAKE3 ) from 1.4.1 to 1.5.0.
- [Release notes](https://github.com/BLAKE3-team/BLAKE3/releases )
- [Commits](https://github.com/BLAKE3-team/BLAKE3/compare/1.4.1...1.5.0 )
---
updated-dependencies:
- dependency-name: blake3
dependency-type: direct:production
update-type: version-update:semver-minor
...
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>
2023-09-26 19:52:49 -06:00
HaoranYi
e088eb2be0
Code clean up ( #33417 )
...
clean up
Co-authored-by: HaoranYi <haoran.yi@solana.com>
2023-09-26 22:35:25 +00:00
Yueh-Hsuan Chiang
746f69772a
[TieredStorage] Streamline the handling of TieredStorageFormat ( #33396 )
...
#### Problem
The TieredStorageFormat field in the TieredStorage is only used in the write path.
#### Summary of Changes
This PR simplifies the handling of TieredStorageFormat by removing its field from
TieredStorage struct but passing via write_accounts().
2023-09-26 14:05:36 -07:00
Brooks
9f6f532535
`flush_slot_cache_with_clean()` takes a single Slot ( #33413 )
2023-09-26 15:38:37 -04:00
Alexander Meißner
01c71e7555
Reloads deployments with `environments.program_runtime_v1` ( #33412 )
...
Reloads deployments with environments.program_runtime_v1.
2023-09-26 20:43:41 +02:00
Tyera
ddd029774a
Add geyser block-metadata notification with entry count ( #33359 )
...
* Add new ReplicaBlockInfoVersions variant
* Use new variant to return entry count
2023-09-26 10:13:17 -06:00
Pankaj Garg
4488cc241f
Cleanup cargo deps in vote crate ( #33407 )
2023-09-26 08:26:51 -07:00
Jeff Washington (jwash)
a9b0fb492b
split hash calc ancient slot boundary to allow for ancient shrinking … ( #33216 )
...
split hash calc ancient slot boundary to allow for ancient shrinking to be behind
2023-09-26 07:27:50 -07:00
dependabot[bot]
426a47dba2
build(deps): bump tokio-tungstenite from 0.20.0 to 0.20.1 ( #33410 )
...
* build(deps): bump tokio-tungstenite from 0.20.0 to 0.20.1
Bumps [tokio-tungstenite](https://github.com/snapview/tokio-tungstenite ) from 0.20.0 to 0.20.1.
- [Changelog](https://github.com/snapview/tokio-tungstenite/blob/master/CHANGELOG.md )
- [Commits](https://github.com/snapview/tokio-tungstenite/compare/v0.20.0...v0.20.1 )
---
updated-dependencies:
- dependency-name: tokio-tungstenite
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>
2023-09-26 09:12:33 +00:00
dependabot[bot]
b5c466d2c8
build(deps): bump indicatif from 0.17.6 to 0.17.7 ( #33369 )
...
* build(deps): bump indicatif from 0.17.6 to 0.17.7
Bumps [indicatif](https://github.com/console-rs/indicatif ) from 0.17.6 to 0.17.7.
- [Release notes](https://github.com/console-rs/indicatif/releases )
- [Commits](https://github.com/console-rs/indicatif/commits )
---
updated-dependencies:
- dependency-name: indicatif
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>
2023-09-26 03:12:39 +00:00
dependabot[bot]
7c03958ba1
build(deps): bump tungstenite from 0.20.0 to 0.20.1 ( #33405 )
...
* build(deps): bump tungstenite from 0.20.0 to 0.20.1
Bumps [tungstenite](https://github.com/snapview/tungstenite-rs ) from 0.20.0 to 0.20.1.
- [Changelog](https://github.com/snapview/tungstenite-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/snapview/tungstenite-rs/compare/v0.20.0...v0.20.1 )
---
updated-dependencies:
- dependency-name: tungstenite
dependency-type: direct:production
...
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>
2023-09-26 03:11:18 +00:00
Lijun Wang
344e466e12
Async connection creation in connection cache ( #33302 )
...
If there is a connection in the cache available, use it and create the additional connection asynchronously.
2023-09-25 18:17:47 -07:00
HaoranYi
d25d53e979
Fix bug of same-epoch stake deactivation after stake redelegation ( #32606 )
...
* fix stake deactivation in the same epoch after redelegation bug
add tests
refactor common code into fn
avoid early return
add feature gate for the new stake redelegate behavior
move stake tests out of cli
add stake-program-test crate
reimplemnt stake test with program-test
remove stake-program-test crate
reviews
add setup.rs
remove clippy
reveiws
* reviews
* review comments
---------
Co-authored-by: HaoranYi <haoran.yi@solana.com>
2023-09-25 16:35:40 -05:00
Brooks
23ad476ffb
Removes unused `Versioned` trait ( #33360 )
2023-09-25 17:18:38 -04:00
Jeff Washington (jwash)
642d76b8cd
update comments ( #33399 )
2023-09-25 13:26:27 -07:00
Max Kaplan
b1316739f2
docs: updating systemd command ( #33393 )
2023-09-25 22:26:10 +02:00
Tao Zhu
a41c15e47e
Separate vote cost ( #33230 )
...
* Separate simple-vote transaction cost from non-vote transaction cost
* remove is_simple_vote flag from transaction UsageCostDetails
* update test and comment
* set static usage cost for SimpleVote transaction
2023-09-25 15:02:08 -05:00
Jeff Washington (jwash)
40f536010f
visit_duplicate_pubkeys_during_startup uses scan ( #33397 )
2023-09-25 12:48:29 -07:00
Jeff Washington (jwash)
027f3dc6de
disk idx: try to reuse disk index's exisiting data on startup ( #33388 )
...
* disk idx: try to reuse disk index's exisiting data on startup
* add tests
* fix test and add test
* update test comments
* update comments
2023-09-25 12:48:05 -07:00
Ashwin Sekar
85cc6ace05
Update is_locked_out cache when adopting on chain vote state ( #33341 )
...
* Update is_locked_out cache when adopting on chain vote state
* extend to all cached tower checks
* upgrade error to panic
2023-09-25 12:33:38 -07:00
Jeff Washington (jwash)
18231e9a5a
dump final startup index stats only after startup is complete ( #33400 )
2023-09-25 12:19:52 -07:00
Tao Zhu
57e78a16dc
heap_size type to be consistent with request instruction ( #33354 )
...
* heap_size type to be consistent with request instruction
* update tests
2023-09-25 13:11:26 -05:00
samkim-crypto
08aba38d35
[feature-id] add poseidon compression syscall feature id ( #33392 )
...
add poseidon compression syscall feature id
2023-09-25 09:26:17 -07:00
dependabot[bot]
d9a113baa2
build(deps): bump semver from 1.0.18 to 1.0.19 ( #33389 )
...
* build(deps): bump semver from 1.0.18 to 1.0.19
Bumps [semver](https://github.com/dtolnay/semver ) from 1.0.18 to 1.0.19.
- [Release notes](https://github.com/dtolnay/semver/releases )
- [Commits](https://github.com/dtolnay/semver/compare/1.0.18...1.0.19 )
---
updated-dependencies:
- dependency-name: semver
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>
2023-09-25 16:15:21 +00:00
Alexander Meißner
7ff797bcef
Refactor - Remove parameter `feature_set` from `load_program_from_bytes()` ( #33395 )
...
Replaces parameter feature_set with delay_visibility_of_program_deployment in load_program_from_bytes().
2023-09-25 17:16:31 +02:00
Alexander Meißner
def8b8fc62
Bump solana_rbpf to v0.7.2 ( #33394 )
2023-09-25 17:03:45 +02:00
ananas-block
997aa0a3f8
Feat(syscall): add altbn128 g1 & g2 compression ( #32870 )
...
* solana-program - altbn128: add g1 & g2 compression
still fixing tests for point of infinity
feat: proof compression syscall working
add rust test to ci
remove prints
added c test
added sycall pricing
* fixed ci checks
* refactored altbn128 and compression
2023-09-25 05:43:34 -07:00
hana
499ec49e71
fix single-pool path for ci ( #33339 )
2023-09-25 03:31:23 -07:00
Jeff Washington (jwash)
27f59e809d
disk idx: apply_grow_index does not delete index file ( #33384 )
2023-09-24 12:26:17 -07:00
Jeff Washington (jwash)
5c57641313
disk idx: restart re-uses disk index files ( #33382 )
2023-09-24 12:25:50 -07:00
Jeff Washington (jwash)
967a78bbc1
diskidx: keep track if bucket file was reused so we can gen idx faster ( #33380 )
2023-09-24 12:23:48 -07:00
Jeff Washington (jwash)
1b15464414
diskidx: stats for created vs reused ( #33385 )
2023-09-23 06:22:12 -07:00
Jeff Washington (jwash)
e92d90b674
DiskIdx: reuse disk bucket file if possible ( #33379 )
2023-09-22 17:25:21 -07:00
Trent Nelson
1840fd7ab3
Feature - better error codes for tx lamport check ( #33343 )
...
Replaces `TransactionError::InstructionError(0, InstructionError::UnbalancedInstruction)` with `TransactionError::UnbalancedTransaction`.
Co-authored-by: Alexander Meißner <AlexanderMeissner@gmx.net>
2023-09-22 23:58:05 +00:00
Jeff Washington (jwash)
c750ac5d38
data bucket holds RestartableBucket ( #33381 )
2023-09-22 14:42:08 -07:00
Jeff Washington (jwash)
456563b9e9
pass RestartableBucket through disk index ( #33377 )
2023-09-22 13:46:04 -07:00
Jeff Washington (jwash)
fcddeb446b
add disk bucket get_restart_file ( #33373 )
...
* add disk bucket get_restart_file
* add get_restartable_buckets
2023-09-22 12:34:43 -07:00
Jeff Washington (jwash)
5eb61ddf21
simple cleanup in bucket map ( #33376 )
2023-09-22 11:47:32 -07:00
Jeff Washington (jwash)
7cf71011fd
disk bucket: init restart path ( #33375 )
2023-09-22 11:40:46 -07:00
Jeff Washington (jwash)
d2464d9d7c
use bytemuck for disk bucket restart ( #33371 )
2023-09-22 10:17:04 -07:00
Jeff Washington (jwash)
97d53be16e
add Restart structs for disk index ( #33361 )
2023-09-22 06:49:55 -07:00
steviez
3428333127
Switch confirmed_unrooted_slots from Vec<_> to HashSet<_> ( #33311 )
...
The container is only used to check for inclusion of slots with
the .contains() method. This method is O(n) on a Vec<_> but O(1) on a
HashSet<_>.
2023-09-22 07:15:47 +02:00
Yihau Chen
4d96c384a1
ci: install openssl for the Windows build ( #33356 )
2023-09-22 10:52:28 +08:00
sakridge
3b1cbaec72
Add csv output option to stake and vote account rewards ( #32360 )
...
* Add csv option to vote-account
* Add CSV format to solana stake command
Csv rename
2023-09-21 19:23:37 +02:00