steveluscher
065a9ccfaa
Add shared ESLint config
2022-11-19 00:17:34 -08:00
steveluscher
e8796f454c
Initial commit of the rewrite of web3.js
2022-11-19 00:17:34 -08:00
eloylp
3d91c3f5cf
Refactor, move solana-validator CLI related configs to its own module ( #28548 )
...
* Refactor, move validator CLI related stuff to its own module(cli.rs)
The main function of the validator is getting big. Improve readability by moving away the CLI setup stuff to its own module.
* Restore help cli line
* Refactor, move test validator CLI config to cli.rs module
* Fix imports (cargo fmt)
2022-11-18 21:39:20 -08:00
Yihau Chen
eaea3ec5bc
bump solana_rbpf to v0.2.37 ( #28857 )
2022-11-19 11:30:36 +08:00
Michael Vines
c6927151ef
Sort offline/wrong-shred nodes by stake weight while waiting for supermajority ( #28872 )
2022-11-18 15:26:21 -08:00
Brooks Prumo
d698f982ee
Renames to AccountsHasher ( #28883 )
2022-11-18 18:25:44 -05:00
Jeff Washington (jwash)
8cbe83c725
cleanup CalcAccountsHashDataSource ( #28882 )
2022-11-18 14:49:22 -08:00
Jeff Washington (jwash)
f22104d46b
use write cache by default in some tests ( #28876 )
2022-11-18 14:35:52 -08:00
Jeff Washington (jwash)
aa1d319d48
add shrink ancient test ( #28858 )
...
* add shrink ancient test
* improvements
2022-11-18 13:11:57 -08:00
Brooks Prumo
7787cb2ab2
Renames BankHashInfo field to accounts_delta_hash ( #28878 )
2022-11-18 15:35:03 -05:00
apfitzge
a636038fff
Clean up: banking_stage_prepare_sanitized_batch ( #28841 )
...
Use measure! for bank.prepare_sanitized_batch_with_results
2022-11-18 14:04:44 -06:00
Tyera
c32377b5af
Split out quic- and udp-client definitions ( #28762 )
...
* Move ConnectionCache back to solana-client, and duplicate ThinClient, TpuClient there
* Dedupe thin_client modules
* Dedupe tpu_client modules
* Move TpuClient to TpuConnectionCache
* Move ThinClient to TpuConnectionCache
* Move TpuConnection and quic/udp trait implementations back to solana-client
* Remove enum_dispatch from solana-tpu-client
* Move udp-client to its own crate
* Move quic-client to its own crate
2022-11-18 12:21:45 -07:00
Jeff Washington (jwash)
dcfb73f664
extract test append_account function ( #28875 )
2022-11-18 10:57:02 -08:00
Pierre
cd93719f68
explorer: OpenBook ix details using Serum code ( #28867 )
...
* feat: OpenBook ixs details using Serum code
* Reduce repetition in the OpenBook address
Co-authored-by: steveluscher <me+github@steveluscher.com>
2022-11-18 10:27:24 -08:00
Jeff Washington (jwash)
9acfa08838
remove per-account slot in ancient append vecs ( #28851 )
...
* remove per-account slot in ancient append vecs
* review fixes
2022-11-18 10:15:41 -08:00
Justin Starry
4c85850a73
Refactor: Rename `load_transaction` to `load_transaction_accounts` ( #28746 )
...
* Refactor: Rename load_transaction to load_transaction_accounts
* Refactor: map over account keys to load transaction accounts
2022-11-18 23:44:09 +08:00
Justin Starry
7371608722
Support versioned transactions in program test framework ( #28739 )
...
* Support versioned transactions in program test framework
* use working bank
* Update to process_transaction_with_metadata
* Migrate client apis from Transaction to Into<VersionedTransaction>
* feedback
2022-11-18 23:43:52 +08:00
samkim-crypto
f1e7ffba0c
[zk-token-sdk] use canonical decoding for scalars ( #28870 )
...
use canonical decoding for scalars
2022-11-18 15:11:06 +09:00
Yihau Chen
e5551e5294
chore: remove rbpf-cli/Cargo.lock ( #28860 )
...
remove rbpf-cli/Cargo.lock
2022-11-18 03:33:05 +00:00
Yihau Chen
cbf224ad5c
ci: refactor docs pipeline ( #28852 )
...
* use git diff + grep to get affected files
* combine check and combine steps
* separate jobs
* fix condition
2022-11-18 03:31:07 +00:00
Tyera Eulberg
8b63f73100
Remove Default impls for TpuConnectionCache and ConnectionPool clients ( #28788 )
...
* Remove TpuConnectionCache impl Default
* Add fallible ctors for Quic/UdpClients
* Add Quic/TpuClient ctor trait
* Remove Quic/UdpClient impl Default
2022-11-17 20:13:43 -07:00
Jeff Washington (jwash)
813f1f993a
remove test only append_account ( #28850 )
2022-11-17 12:26:51 -08:00
apfitzge
88e6ea37d9
refactor: move more BankingStage cost_model stuff into qos_service ( #28840 )
2022-11-17 14:03:17 -06:00
Trent Nelson
53a579bed1
ledger-tool: stream output of `accounts` subcommand
2022-11-17 12:45:26 -07:00
Jacob Creech
57798fae9c
Docs: Removed Serum RPC mention ( #28854 )
2022-11-17 12:45:21 -06:00
Andrew Fitzgerald
ee2f760d3d
MultiIteratorScanner - improve banking stage performance with high contention
2022-11-17 10:54:12 -06:00
Jeff Washington (jwash)
e269fe3383
refactor into combine_one_store_into_ancient ( #28845 )
2022-11-17 08:42:42 -08:00
Brooks Prumo
2bafb0cb12
Requires EAH state cannot be Invalid ( #28817 )
2022-11-17 11:01:01 -05:00
Brooks Prumo
ae0bb44401
Fixes test_snapshots_with_background_services ( #28848 )
2022-11-17 00:49:28 -05:00
K-anon
e8c8235474
Get Index Key Size RPC Support ( #28383 )
...
Co-authored-by: K-anon <IntokuSatori@users.noreply.github.com>
2022-11-16 20:39:11 -07:00
Jeff Washington (jwash)
83a7b2ca6c
only log ancient append vec stats when they are useful ( #28843 )
2022-11-16 17:15:43 -08:00
Jeff Biseda
17ee3349f8
limit repairs to top staked requests in batch ( #28673 )
2022-11-16 16:30:41 -08:00
Tao Zhu
ae48ac97dd
fix account resize test by requesting max tx data size ( #28826 )
...
* fix account resize test by requesting max tx data size
* define data size limit in incremental of 1024
2022-11-16 17:52:15 -06:00
Haoran Yi
516d27bc42
saturating max_concurrent_uni_streams and receive_window instead of overflow
2022-11-16 15:39:21 -06:00
Tyera Eulberg
b18ef88c40
Fix client get_program_accounts_with_config calls with context ( #28772 )
...
* Move OptionalContext to solana-rpc-client-api
* Add helper function
* Add failing test
* Support OptionalContext in RpcClient::get_program_accounts_with_config
2022-11-16 14:35:35 -07:00
Jeff Washington (jwash)
c17d594684
collect storage_read_elapsed for shrink and ancient ( #28833 )
2022-11-16 11:14:07 -08:00
Jeff Washington (jwash)
4837dc071f
cleanup return value from append_accounts ( #28836 )
2022-11-16 10:59:11 -08:00
Jeff Washington (jwash)
f7139532a6
acct hash: don't init accum or create hash file if no storages ( #28839 )
2022-11-16 10:58:39 -08:00
Jeff Washington (jwash)
2b1db39faa
refactor test ancient population code ( #28823 )
2022-11-16 08:31:39 -08:00
Brooks Prumo
c1e440acb6
Warping calculates and sets new EAH ( #28809 )
2022-11-15 23:16:38 -05:00
Ashwin Sekar
ddf4ff2d26
Repair service documentation ( #28592 )
...
* repair doc update
* tree_root rename
* remove extra todo
2022-11-16 02:38:07 +00:00
Jeff Biseda
e10d958352
signed repair request test fixes/cleanup ( #28691 )
2022-11-15 16:46:17 -08:00
Lijun Wang
ad24e37cc0
Limit the maximum staked streams to avoid excessive streams from staked nodes ( #27973 )
...
* Limit the maximum staked streams to avoid excessive streams from staked nodes.
* Fixed a clippy issue
2022-11-15 12:58:10 -08:00
apfitzge
42cc76e33d
use a tempdir in test_bucket_storage ( #28819 )
2022-11-15 14:26:19 -06:00
behzad nouri
28956d7653
removes feature gate code preventing crediting accounts that end rent paying ( #28818 )
2022-11-15 19:55:34 +00:00
Brooks Prumo
d798e751a0
Disables EAH with short epochs ( #28803 )
2022-11-15 13:26:19 -05:00
Jeff Washington (jwash)
b572422d24
test ancient append vecs with dead slots ( #28800 )
2022-11-15 10:21:38 -08:00
Jeff Washington (jwash)
a21f536b3a
add scan statistics in hash calc for ancient append vecs ( #28816 )
2022-11-15 09:31:24 -08:00
Brooks Prumo
ac9b11762a
Lowers test's account data size to avoid hitting MaxLoadedAccountsDataSizeExceed ( #28814 )
2022-11-15 16:52:35 +00:00
Alexander Meißner
ff1ff587d1
Bump solana_rbpf to 0.2.36 ( #28794 )
...
* Bumps solana_rbpf to v0.2.36
* Removes ThisInstructionMeter.
* Removes one "unsafe" expression.
* Removes redundant call to solana_rbpf:🧝 :register_bpf_function().
* Adjusts SyscallFunction and SyscallRegistry.
* Inlines ProgramEnvironment into EbpfVm.
* Refactors trait SyscallConsume into fn consume_compute_meter().
* Inlines ComputeMeter into InvokeContext.
* Removes solana-metrics dependency from bpf_loader.
* Replaces RBPF tracer functionality by the debugger.
* Take compute_units_consumed from execute_program().
* Merges execute_program_interpreted() and execute_program_jit().
2022-11-15 15:21:11 +01:00