Yihau Chen
228e92a024
ci: update kapacitor.conf ( #32007 )
2023-06-09 10:51:31 +08:00
Andrew Fitzgerald
bfe171017c
move cost model tests ( #32034 )
2023-06-08 15:02:28 -07:00
Yueh-Hsuan Chiang
7cea6dd57c
[TieredStorage] ByteBlockWriter::write_optional_fields ( #32025 )
...
#### Summary of Changes
This PR implements the writer function for AccountMetaOptionalFields
in ByteBlockWriter::write_optional_fields().
#### Test Plan
Unit tests are included in this PR.
Tested in mnb w/ the prototype implementation of the tiered storage (#30626 )
2023-06-08 14:09:01 -07:00
Yueh-Hsuan Chiang
634f925d75
[TieredStorage] AccountMetaOptionalFields ( #32005 )
...
#### Summary of Changes
This PR introduces AccountMetaOptionalFields, the in-memory struct for
handling optional fields.
#### Test Plan
Unit tests are included in this PR.
Tested in mnb w/ the prototype implementation of the tiered storage (#30626 ).
2023-06-08 12:31:27 -07:00
Andrew Fitzgerald
3ba05d9c3d
Fix move_and_async_delete_path ( #32020 )
2023-06-08 10:55:52 -07:00
steviez
4b2db0d546
Add explaining comment for Err case in get_bank_snapshots() ( #31998 )
2023-06-08 12:54:24 -05:00
Tao Zhu
37a759045a
include cost of transaction's requested loaded accounts size in cost model ( #31905 )
...
* include transaction requested loaded accounts size cost in cost model
* move function to avoid circular dependency
2023-06-08 12:49:42 -05:00
behzad nouri
f2f1dab5ea
patches QuicConnectionManager::new_connection_config ( #32031 )
...
QuicConnectionManager::new_connection_config is returning an invalid new
QuicConfig instead of the value it is initialized with.
2023-06-08 16:46:22 +00:00
Jeff Washington (jwash)
8937fd9bd6
improve packed ancient test by sweeping ( #32002 )
2023-06-08 07:50:18 -07:00
Alexander Meißner
3f13cd353e
Fix - LoadedProgramType::Closed ( #31922 )
...
* Makes Bank::load_program() return correct tombstones.
* Removes early TX failure caused by closed and invalid programs.
* Adjusts the feature gate of simplify_writable_program_account_check.
2023-06-08 15:40:18 +02:00
Ikko Eltociear Ashimine
d0a573f28c
Fix typo in repair_generic_traversal.rs ( #32016 )
...
Additionaly -> Additionally
2023-06-07 15:42:48 -07:00
carllin
ce1685f80c
Fix panic in record() ( #31978 )
2023-06-07 18:40:46 -04:00
Brooks
8596e00549
Revert "EpochAccountsHash tests no longer ignore shutdown errors ( #31883 )" ( #32018 )
...
This reverts commit 2fc1dc1bf6
.
2023-06-07 16:44:46 -04:00
Brooks
ddbc35fcc3
Add logging to move_and_async_delete_path ( #32017 )
2023-06-07 16:31:16 -04:00
Jeff Washington (jwash)
36ccc71220
move StakeReward to stake_rewards.rs ( #32014 )
2023-06-07 12:35:28 -07:00
Alexander Meißner
c87ff8780a
Cleanup - `Bank::reconfigure_token2_native_mint()` ( #31817 )
...
Removes Bank::reconfigure_token2_native_mint().
2023-06-07 21:14:43 +02:00
steviez
843d6ed34a
Move BankingStage impl modules into banking_stage directory ( #31864 )
...
The core/src/ directory is already pretty crowded, and moving these
items into the subdirectory more clearly identifies that they are tied
to banking_stage.
2023-06-07 13:54:05 -05:00
Yueh-Hsuan Chiang
b1db4ccc9a
[TieredStorage] Make AccountMetaFlags and its fields public ( #32004 )
...
#### Problem
AccountMetaFlags and its fields are required to be public as the visibility of their get
functions generated by `bit_fields` are tied to the visibility of their fields, and the
get functions will later be used to support the TieredAccountMeta for AccountMeta.
#### Summary of Changes
Make AccountMetaFlags and its fields public
2023-06-07 11:37:56 -07:00
dependabot[bot]
74a9fc9641
Bump libc from 0.2.145 to 0.2.146 ( #32010 )
...
* Bump libc from 0.2.145 to 0.2.146
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.145 to 0.2.146.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.145...0.2.146 )
---
updated-dependencies:
- dependency-name: libc
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-06-07 12:18:40 -06:00
Jeff Washington (jwash)
0f215575ca
add RewardInterval::InsideInterval ( #31799 )
...
* add RewardInterval::InsideInterval
* update abi hash
---------
Co-authored-by: HaoranYi <haoran.yi@solana.com>
2023-06-07 09:56:36 -07:00
steviez
334216acf9
Fixup missed instances of SanitizedTransaction::try_create() ( #32013 )
...
The function signature was changed in #31767 , but these instances were
not updated due to the PR being created before the instances were added
to the repo.
2023-06-07 11:39:51 -05:00
dependabot[bot]
68b843860d
Bump tempfile from 3.5.0 to 3.6.0 ( #32009 )
...
* Bump tempfile from 3.5.0 to 3.6.0
Bumps [tempfile](https://github.com/Stebalien/tempfile ) from 3.5.0 to 3.6.0.
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.5.0...v3.6.0 )
---
updated-dependencies:
- dependency-name: tempfile
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-06-07 10:39:30 -06:00
dependabot[bot]
7d8289ba87
Bump regex from 1.8.3 to 1.8.4 ( #32008 )
...
* Bump regex from 1.8.3 to 1.8.4
Bumps [regex](https://github.com/rust-lang/regex ) from 1.8.3 to 1.8.4.
- [Release notes](https://github.com/rust-lang/regex/releases )
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/regex/compare/1.8.3...1.8.4 )
---
updated-dependencies:
- dependency-name: regex
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-06-07 10:38:37 -06:00
Alexander Meißner
ee2c2ef6c7
Cleanup - require_static_program_ids_in_transaction ( #31767 )
...
require_static_program_ids_in_transaction
2023-06-07 17:12:41 +02:00
axleiro
989e61318b
fix prometheus path reference ( #32003 )
...
* fix prometheus path reference
* add additional Discord handlers
* fix trailing whitespaces
---------
Co-authored-by: joeaba <joe@solana.com>
2023-06-07 02:56:55 +00:00
Brooks
7b37a1672f
Enables fastboot for ledger-tool ( #31921 )
2023-06-06 18:32:24 -04:00
Pankaj Garg
c86e160438
Add runtime environment to FailedVerification tombstones ( #31991 )
...
* Add runtime environment to FailedVerification tombstones
* modify default variant
* prune update
* add DelayVisibility in prune_feature_set_transition
2023-06-06 22:24:39 +00:00
behzad nouri
5760390d3b
removes redundant NewConnectionConfig trait ( #31979 )
...
Working towards removing hard-coded TPU specific configurations from
QUIC code; NewConnectionConfig is redundant and gets in the way.
2023-06-06 21:28:29 +00:00
behzad nouri
0db4f3f263
removes Option wrapper from QuicConfig in QuicConnectionManager ( #31995 )
...
QuicConfig isn't really optional and allowing it to be None results in
misconfigured connections.
2023-06-06 21:27:56 +00:00
ryleung-solana
36222a44d7
Use QUIC Retry packets during handshake ( #31802 )
...
Have the Quic server send a Retry packet to verify client control of the source IP
2023-06-06 14:23:23 -07:00
Jeff Washington (jwash)
85a0e31c60
add ProgramExecutionTemporarilyRestricted error ( #31796 )
...
* add StakeProgramUnavailable error
* rename to ProgramExecutionTemporarilyRestricted
* Update sdk/src/transaction/error.rs
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>
* fmt
* update frozen abi hash
* add account_index to ProgramExecutionTemporarilyRestricted error
* Update sdk/src/transaction/error.rs
Co-authored-by: mvines <mvines@gmail.com>
* populate transaction_details from transaction_error for ProgramExecutionTemporarilyRestricted error
* fix a test
* update abi digest
* Update sdk/src/transaction/error.rs
Co-authored-by: Brooks <brooks@prumo.org>
---------
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>
Co-authored-by: HaoranYi <haoran.yi@solana.com>
Co-authored-by: HaoranYi <haoran.yi@gmail.com>
Co-authored-by: mvines <mvines@gmail.com>
Co-authored-by: Brooks <brooks@prumo.org>
2023-06-06 14:13:41 -07:00
Tao Zhu
71c78f7a21
Will failed transaction should be considered has zero execution cost by cost model ( #31976 )
2023-06-06 15:45:45 -05:00
Brooks
f08fb3e158
Downgrades log to debug if reading bank snapshot from dir fails ( #31990 )
2023-06-06 15:07:45 -04:00
dependabot[bot]
031032b39f
Bump openssl from 0.10.53 to 0.10.54 ( #31937 )
...
* Bump openssl from 0.10.53 to 0.10.54
Bumps [openssl](https://github.com/sfackler/rust-openssl ) from 0.10.53 to 0.10.54.
- [Release notes](https://github.com/sfackler/rust-openssl/releases )
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.53...openssl-v0.10.54 )
---
updated-dependencies:
- dependency-name: openssl
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-06-06 12:38:34 -06:00
dependabot[bot]
7a85e38bf7
Bump url from 2.3.1 to 2.4.0 ( #31969 )
...
* Bump url from 2.3.1 to 2.4.0
Bumps [url](https://github.com/servo/rust-url ) from 2.3.1 to 2.4.0.
- [Release notes](https://github.com/servo/rust-url/releases )
- [Commits](https://github.com/servo/rust-url/compare/v2.3.1...v2.4.0 )
---
updated-dependencies:
- dependency-name: url
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-06-06 12:38:02 -06:00
dependabot[bot]
99af39d8d0
Bump libc from 0.2.144 to 0.2.145 ( #31966 )
...
* Bump libc from 0.2.144 to 0.2.145
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.144 to 0.2.145.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.144...0.2.145 )
---
updated-dependencies:
- dependency-name: libc
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-06-06 12:36:40 -06:00
dependabot[bot]
f0154edc59
Bump indicatif from 0.17.4 to 0.17.5 ( #31965 )
...
* Bump indicatif from 0.17.4 to 0.17.5
Bumps [indicatif](https://github.com/console-rs/indicatif ) from 0.17.4 to 0.17.5.
- [Release notes](https://github.com/console-rs/indicatif/releases )
- [Commits](https://github.com/console-rs/indicatif/compare/0.17.4...0.17.5 )
---
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-06-06 12:36:06 -06:00
dependabot[bot]
aeafe51be8
Bump once_cell from 1.17.2 to 1.18.0 ( #31967 )
...
* Bump once_cell from 1.17.2 to 1.18.0
Bumps [once_cell](https://github.com/matklad/once_cell ) from 1.17.2 to 1.18.0.
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md )
- [Commits](https://github.com/matklad/once_cell/compare/v1.17.2...v1.18.0 )
---
updated-dependencies:
- dependency-name: once_cell
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-06-06 12:35:41 -06:00
behzad nouri
8a47086246
rolls out merkle shreds to ~50% of testnet ( #31950 )
2023-06-06 17:36:06 +00:00
Andrew Fitzgerald
a2e7d1356c
Fix typo: process_and_record_tramsaction -> process_and_record_transaction ( #31974 )
2023-06-06 10:29:31 -07:00
Tao Zhu
83ac66caa1
split TransactionCost to its own module ( #31977 )
...
* split TransactionCost to its own module
* remove unused function
2023-06-06 11:15:38 -05:00
Alexander Meißner
89207a3fe5
Feature - Prune on feature set transition ( #31945 )
...
* Call create_program_runtime_environment() in Bank::apply_builtin_program_feature_transitions().
* Adds LoadedPrograms::prune_feature_set_transition().
2023-06-06 17:49:02 +02:00
Yihau Chen
557155d34b
ci: fix env name ( #31985 )
2023-06-06 14:03:11 +00:00
Michael
2f4a189d47
Hide Keybase and replace with URL ( #31852 )
2023-06-06 06:22:55 -07:00
Ryo Onodera
4227d0ee35
Bump patched ntapi from v0.3.6 to v0.3.7 ( #31981 )
2023-06-06 13:33:57 +09:00
Tyera
841609959c
Send messages to EntryNotifierService in Tpu, simpler ( #31962 )
...
* Add TpuEntryNotifier to send EntryNotifications from Tpu
* Optionally run TpuEntryNotifier to send out EntrySummarys alongside BroadcastStage messages
* Track entry index in TpuEntryNotifier
* Allow for leader slots that switch forks
* Exit if broadcast send fails
2023-06-06 00:19:17 +00:00
Jeff Biseda
6371240746
Add support for optional metric values via Option<_> ( #31975 )
2023-06-05 15:01:26 -07:00
Nick Frostbutter
8fbada42f9
[docs] `signatureSubscribe` websocket ( #31841 )
...
fix: signatureSubscribe websocket method
Closes #24558
2023-06-05 18:25:21 +00:00
axleiro
8628845836
add Discord handler to Kapacitor ( #31972 )
2023-06-05 11:35:02 -05:00
Ashwin Sekar
9f62cc1e19
Use timestamp to tiebreak votes in banking_stage ( #31925 )
2023-06-05 09:28:00 -07:00