kirill lykov
5631685d30
replaced chunks with tuples in validator ( #30499 )
...
* replaced chunks with tuples in test validator
* update Cargo.lock
* replaced chunks with tuples in genesis
* Update Cargo.lock
2023-03-07 14:32:42 +01:00
Tyera
7b1d446001
Admin RPC Service: move post-init activation to before wait-for-supermajority ( #30544 )
...
* Move AdminRpcRequestMetadataPostInit to solana-core
* Move AdminRpcRequestMetadataPostInit write to just before wait_for_supermajority
* Pass AdminRpcRequestMetadataPostInit in TestValidatorGenesis
* Fixup local-cluster
2023-03-01 19:38:11 -07:00
Tyera
08ca9cc17d
Default solana-test-validator --bpf-programs to upgradeable loader ( #30485 )
...
* Dedupe parsing
* Update --bpf-program param to use upgradeable loader, upgrade authority disabled
* Update add_program to use upgreadeable loader
* Deprecate non-upgradeable utils
2023-02-24 09:22:27 -07:00
Tyera
fbd8ef5bab
Add solana-test-validator --upgradeable-program ( #30412 )
...
* Add TestValidator handling for upgradeable programs
* Plumb --upgradeable-program for solana-test-validator
2023-02-23 18:25:14 +00:00
Tyera
47777c47bf
Revert "change test validator from non upgradable bpf loader to upgra… ( #30409 )
...
Revert "change test validator from non upgradable bpf loader to upgradable bpf loader (#29051 )"
This reverts commit b43eabaa47
.
2023-02-20 16:23:20 -07:00
skrrb
6717c07af1
test-validator: clone upgradeable programs ( #30279 )
...
* test-validator: clone upgradeable programs
* typo & drop bincode dep & clone bound
2023-02-16 16:28:01 +01:00
Kevin Ji
dd92f225bb
Use Ipv4Addr::{LOCALHOST, UNSPECIFIED} constants ( #29813 )
2023-01-23 16:49:51 -06:00
Kevin Ji
f4339bc0f2
faucet: Expose time-slice, per-time-cap, and per-request-cap in test validator ( #29812 )
2023-01-21 08:18:49 -08:00
Jeff Biseda
a44ea779bd
add support for a repair protocol whitelist ( #29161 )
2022-12-15 19:24:23 -08:00
Jeff Washington (jwash)
356372b175
remove TestValidatorGenesis::caching_enabled ( #29229 )
2022-12-13 07:20:44 -08:00
behzad nouri
9524c9dbff
patches errors from clippy::uninlined_format_args
...
https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
2022-12-06 19:32:15 +00:00
Luca
b43eabaa47
change test validator from non upgradable bpf loader to upgradable bpf loader ( #29051 )
...
change for test validator from non upgradable to upgradable
2022-12-05 11:49:40 -08:00
Jeff Washington (jwash)
f0ef316b19
remove cli arg "--no-accounts-db-caching" ( #28912 )
2022-11-21 12:38:35 -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
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
Brooks Prumo
d1ba42180d
clippy for rust 1.65.0 ( #28765 )
2022-11-09 19:39:38 +00:00
Dmitri Makarov
34865d032c
chore: update Solana docs and code comments that specify "BPF" to "SBF"
2022-10-31 14:14:25 -04:00
behzad nouri
9a57c64f21
patches clippy errors from new rust nightly release ( #27996 )
2022-09-22 22:23:03 +00:00
Tyera Eulberg
b8b3d723da
Use new client crates ( #27360 )
...
* Update ancillary cli crates
* Update cli
* Update command-line tools
* Update rpc, etc
* Update client-test
* Update core, validator
* Update local-cluster
2022-08-24 10:47:02 -06:00
Jeff Biseda
42572ebb44
remove abort() from test-validator ( #27124 )
2022-08-16 09:34:10 -07:00
Trent Nelson
b28657ff46
test-validator: improve multi-value arg help output ( #26650 )
2022-08-15 14:08:26 +02:00
Justin Starry
5618e9fd07
Allow overriding the runtime transaction account lock limit ( #26948 )
...
* Add --transaction-account-lock-limit cli arg to test-validator
* Allow overriding the tx account lock limit in ProgramTest
2022-08-12 15:07:48 +01:00
janlegner
fc6cee9c06
allow staked nodes weight override ( #26870 )
...
* Allowed staked nodes weight override (#26407 )
* Allowed staked nodes weight override, passing only HashMap over to core module
Co-authored-by: Ondra Chaloupka <chalda@chainkeepers.io>
2022-08-11 14:34:04 -07:00
skrrb
7c1ce867ce
account_from_dir flag renamed to account_dir
2022-07-20 10:24:20 -07:00
skrrb
3377f40d75
Update validator/src/bin/solana-test-validator.rs
...
Co-authored-by: Michael Vines <mvines@gmail.com>
2022-07-20 10:24:20 -07:00
skrrb
4fb70f48d6
test-validator: add accounts-from-dir flag
2022-07-20 10:24:20 -07:00
skrrb
4f71ae6102
test-validator: use ADDRESS from account flag
2022-07-14 11:23:07 -07:00
Nicholas Clarke
ee0a40937e
Add validator argument log_messages_bytes_limit to change log truncation limit.
...
Add new cli argument log_messages_bytes_limit to solana-validator to control how long program logs can be before truncation
2022-07-11 10:53:18 -05:00
Dan Coombs
32a58dd9e0
Add ability to use a non-default app profile id in bigtable requests ( #25968 )
...
* Add ability to use a non-default app profile id in bigtable requests
* Only run subcommand once when getting global configs
* Remove unneded scoping on option type
2022-06-16 00:58:16 +00:00
Michael Vines
b05c7d91ed
Fix derive_partial_eq_without_eq clippy lint
2022-05-22 22:22:21 -07:00
Justin Starry
a1522d0024
Use consistent naming for compute unit limit ( #25229 )
...
* Use consistent naming for compute unit limit
* feedback
2022-05-18 13:14:31 +08:00
hanako mumei
4aeb566c85
Add maybe clone flag to solana-test-validator
...
add --maybe-clone, which silently ignores accounts to be cloned, rather than dying
2022-04-25 19:56:57 -07:00
Jon Cinque
9b8850f99e
test-validator: Add `--max-compute-units` flag ( #24130 )
...
* test-validator: Add `--max-compute-units` flag
* Add `RuntimeConfig` for tweaking runtime behavior
* Actually add the file
* Move RuntimeConfig to runtime
2022-04-12 02:28:10 +02:00
Jon Cinque
7af48465fa
transaction-status: Add return data to meta ( #23688 )
...
* transaction-status: Add return data to meta
* Add return data to simulation results
* Use pretty-hex for printing return data
* Update arg name, make TransactionRecord struct
* Rename TransactionRecord -> ExecutionRecord
2022-03-22 23:17:05 +01:00
Tyera Eulberg
9c60991cd3
Add ability to query bigtable via solana-test-validator, with hidden params
2022-03-21 11:26:49 -06:00
Tyera Eulberg
102dd68a03
Rename AccountsDb plugins to Geyser plugins ( #23604 )
2022-03-14 19:18:46 -06:00
Jeff Washington (jwash)
2207e49633
all TestValdiators act like validators ( #23318 )
2022-02-24 12:12:47 -06:00
Jeff Washington (jwash)
99a057927c
started_from_validator, ignore env var for cli ( #23309 )
2022-02-23 17:15:43 -06:00
Lijun Wang
084fb79ad8
Unhide AccountsDb plugin parameters ( #23284 )
...
* Unhide AccountsDb plugin parameters
* addressed feedback from Trent
2022-02-23 10:01:14 -08:00
Michael Vines
a6d736572c
`solana-validator set-identity` now supports the `--require-tower` flag
2022-02-15 19:45:00 -08:00
Charlie You
a7598b6d78
Add deactivate-feature feature to test validator cli ( #23041 )
2022-02-09 13:45:24 -08:00
Trent Nelson
c62f9839a2
test-validator-bin: reinstate full rpc method set
2022-02-03 02:43:03 +00:00
Michael Vines
75658e2a96
solana-test-validator now supports the `--rpc-pubsub-enable-vote-subscription` flag
2022-01-27 08:22:29 -08:00
Haleem Assal
0562426661
add 'ticks-per-slot' to 'solana-test-validator' ( #22701 )
...
* add 'ticks-per-slot' to 'solana-test-validator'
* add input parser validator for "ticks-per-slot" argument
* fix fmt
2022-01-24 20:56:37 +00:00
Jeff Biseda
8b66625c95
convert std::sync::mpsc to crossbeam_channel ( #22264 )
2022-01-11 02:44:46 -08:00
Kirill Fomichev
5fb7da12f2
add caching_enabled option to test-validator
2021-12-15 11:45:31 -08:00
Michael Vines
ed924e3bc4
Update argument name
2021-12-15 11:05:02 -08:00
losman0s
9b06d64eb8
Add option to load accounts from file
...
This introduces the `--clone-from-file` option for
solana-test-validator. It allows specifying any number of files
(without extension) containing account info and data, which will be
loaded at genesis. This is similar to `--bpf-program` for programs
loading.
The files will be searched for in the CWD or in `tests/fixtures`.
Example: `solana-test-validator --clone-from-file SRM_token USD_token`
2021-12-15 11:05:02 -08:00
Michael Vines
e124659aca
Restore solana_validator::test_validator export
2021-12-15 00:22:27 -08:00
Kirill Fomichev
c2a94a8fb0
add accountsdb-plugin-config to test-validator
2021-12-14 23:42:55 -08:00