f67a27eeea
Add missing deployment slot check for verifiable build badge ( #23032 )
2022-02-09 18:40:56 +08:00
1b287f1b59
(Ledger Cleanup) Add code comments for ledger_cleanup. ( #22807 )
2022-02-08 22:48:56 -08:00
f334931903
rent: refactor test function ( #23014 )
2022-02-08 22:11:47 -06:00
fb47c1f0a3
consolidate Rent construction in test code ( #23018 )
2022-02-08 21:51:52 -06:00
c7aa7fb66b
Add sbf-tools version to cargo target cache name on CI agents
2022-02-09 03:26:56 +00:00
869cfc9a1c
Return the accounts data len delta after processing messages ( #22986 )
2022-02-08 19:24:47 -06:00
ba2d83f580
fix tests after merge
2022-02-08 16:18:23 -06:00
7aa1fb4e24
1. Persist to blockstore less frequently;
...
2. reduce alpha for EMA to 1 percent to have roughly 200 data points for estimatio
2022-02-08 16:18:23 -06:00
6587dbfa47
use EMA in place of Welford
2022-02-08 16:18:23 -06:00
a25ac1c988
- estimate a program cost as 2 standard deviation above mean
...
- replaced get_average / get_mode with get_default to assign max units to unknown program
2022-02-08 16:18:23 -06:00
c899685cb2
chore: make Connection block tests less brittle ( #23015 )
2022-02-08 14:58:50 -07:00
541b5a4826
Rename struct to imported name ( #22814 )
...
* use imported RpcResponse
* Remove extra map method
* rename result to accounts
* fmt
2022-02-08 12:01:40 -07:00
dcd4ea9111
monitor: Remove getMaxRetransmitSlot RPC method usage
2022-02-08 09:26:34 -08:00
7873175764
zk-token-sdk: fix pod for zk-token transfer ( #22957 )
2022-02-08 12:09:50 -05:00
86cf226395
eliminate separate max root member ( #22943 )
2022-02-08 09:31:32 -06:00
f0f4042680
Put accounts data len updates behind feature gate ( #22918 )
2022-02-08 08:51:16 -06:00
3c65fd7ba3
Disable features programmatically in TestValidatorGenesis ( #22860 )
...
* Supported starting test-validator and disabling features
* Enable starting test validator and removing feature accounts
* Enable deactivating feature accounts
* Enable deactivating feature accounts - updates per PR comments
* Enable deactivating feature accounts - updates per PR comments
* Added more verbosity when key for deactition is either not a Feature or not in genesis_config accounts
2022-02-07 22:00:07 -07:00
e52e48076e
bench should update leader schedule cache ( #22991 )
2022-02-08 02:28:28 +00:00
f2d406ad5d
Fix panic in ProgramTestContext::warp_to_slot() when warping one slot ( #22977 )
...
warp_to_slot() first warps to one slot before desired slot in order to
freeze the bank at warp slot. This would cause issues when warping by
one slot as that would attempt to warp to the same slot and hit a sanity
check assertion.
2022-02-07 16:21:43 -06:00
5acf0f6331
Add feature gate for new vote instruction and plumb through replay ( #21683 )
...
* Add feature gate for new vote instruction and plumb through replay
Add tower versions
* Add check for slot hashes history
* Update is_recent check to exclude voting on hard fork root slot
* Move tower rollback test to flaky and ignore it until #22551 lands
2022-02-07 14:06:19 -08:00
d7fcfee4db
Fix slice length ( #22989 )
2022-02-07 13:54:20 -08:00
b2e475b5c4
clarify that RollingBitField max is exclusive ( #22947 )
2022-02-07 13:40:31 -06:00
a160fc30f2
make max_roots_inclusive clear ( #22942 )
2022-02-07 13:26:53 -06:00
514aab46d9
Search for consecutive ports ( #22979 )
2022-02-07 17:53:40 +01:00
a146f2d853
suppress clippy
2022-02-07 08:02:58 -08:00
c5d8560cdb
updates to address review feedback
2022-02-07 08:02:58 -08:00
dfef68f985
fix build
2022-02-07 08:02:58 -08:00
4de14e530b
Optimize batching of transactions during replay for parallel processing
2022-02-07 08:02:58 -08:00
37afdd1a65
(Ledger Store) Improve comments for blockstore_purge ( #22808 )
2022-02-06 21:56:23 -08:00
c7ca2f41f5
Add some comments for RocksDB option configuration ( #22655 )
2022-02-06 23:28:24 -06:00
eaf2df99c6
Fix typo
...
Fix typo
2022-02-06 08:21:24 -08:00
86c3990c25
Add verified/unverified badge to Program Account view ( #22825 )
...
* Add verified/unverified badge to Program Account view
* Generalize to any number of build verification providers
2022-02-06 18:11:12 +08:00
d2c89213ff
Implement json output for solana ping ( #22959 )
2022-02-05 21:40:12 +00:00
9548ea61e5
bench-streamer improvements ( #22945 )
...
* get the num-recv-sockets working again
* make num producers configurable
2022-02-05 14:13:49 +01:00
ba215e94f6
Refactor: Add AccountKeys struct for static and dynamic message keys ( #22960 )
2022-02-05 20:00:31 +08:00
e05cf4bf97
Bumps solana_rbpf to version v0.2.23 ( #22954 )
2022-02-05 08:51:52 +01:00
4d877567dd
feat(web3.js): support withdraw from Vote account ( #22932 )
2022-02-04 13:37:28 -07:00
96c88d1a5e
Bumps solana_rbpf to version v0.2.22 ( #22923 )
...
* Bumps solana_rbpf to v0.2.22
* Adjusts vm::Config and feature gates.
2022-02-04 21:17:49 +01:00
27aaf9df85
removes VoteTracker::new in favor of VoteTracker::default ( #22941 )
...
VoteTracker::new does not need a bank and is so redundant:
https://github.com/solana-labs/solana/blob/5a230f418/core/src/cluster_info_vote_listener.rs#L103-L107
2022-02-04 19:01:59 +00:00
5a230f418d
Add quic port for accepting transactions ( #22753 )
...
using quinn library
streamer: Sign TLS cert with validator identity key
Handle multiple incoming chunks
2022-02-04 15:27:09 +01:00
a47b76afcc
zk-token-sdk: add verify transfer with fee instruction ( #22924 )
2022-02-04 08:52:49 -05:00
f73b470ec0
fix: swallow error if socket has already been closed ( #22934 )
...
* Swallow error if socket has already been closed
* fix: log error
2022-02-04 19:21:58 +08:00
812b2fff04
Adjust expected instruction counts in assert_instruction_count test ( #22927 )
2022-02-04 01:39:24 +00:00
a9d9a5095b
Bump bpf-tools to v1.23
2022-02-03 15:50:18 -08:00
4bec182b32
Allow buffered packets be consumed if bank is active, regardless leader schedule ( #22913 )
2022-02-03 21:29:41 +00:00
28442aa922
fix: enable maxRetries option to SendOptions ( #22893 )
...
* Web3.js - enable maxRetries option to SendOptions
* Prettier
2022-02-03 11:54:43 -07:00
660f6981c6
Cleanup: TransactionContext ( #22910 )
...
* Adds BorrowedAccount::check_sysvar().
* Adds BorrowedAccount::get_data_mut().
* Implements account resizing in BorrowedAccount.
* Exposes is_signer() and is_writable() in InstructionContext.
* Removes AccountMeta and get_instruction_accounts_metas().
* Makes throwing errors in BorrowedAccount optional.
* Removes result return values from BorrowedAccount.
2022-02-03 17:19:42 +01:00
c16cf9cf8a
Refactor: Use SysvarCache
in all builtin programs ( #22864 )
...
* Replaces from_keyed_account() by SysvarCache in stake instruction.
* Replaces from_keyed_account() by SysvarCache in system instruction processor.
* Removes from_keyed_account().
Moves check_sysvar_keyed_account() into sysvar_cache.rs
* Removes tests which test for incorrectly serialized sysvars.
2022-02-03 13:03:50 +01:00
60af1a4cce
Refactor: Add trait for loading addresses ( #22903 )
2022-02-03 11:00:12 +00:00
cc94a93b56
Safer invoke context ( #22898 )
...
* Safer invoke context
* feedback and rebase with master
2022-02-03 02:34:51 -08:00