replay: reload tower if set-identity during startup (#35173)
* replay: reload tower if set-identity during startup
* pr feedback: add unit tests
* pr feedback: use tower.node_pubkey, more descriptive names
(cherry picked from commit befe8b9d98)
Co-authored-by: Ashwin Sekar <ashwin@solana.com>
* Upgrade sbf tests to use bpf loader v3 (#34691)
* update sbf test to use bpf_loader v2
* update test_program_sbf_invoke_sanity test
* update test bpf program owner
* update test_program_sbf_invoke_upgradeable_via_cpi
* update test_program_sbf_disguised_as_sbf_loader
* update test_program_reads_from_program_account
* update test_program_sbf_program_id_spoofing
* update test_program_sbf_caller_has_access_to_cpi_program
* update 3 more tests
* fix program buffer size in minimul for rent exempt calculation
* more test updates
* more update
* more test updates
* comments
* undo c format
* typo
* add sol_alloc_free not deployable and deployable tests
* comments
* review feedback - move buffer_keypair and program_keypair inside callee
fn.
* more refactor
* delete sof_alloc_free_syscall enabled tests
* revert lamport change
---------
Co-authored-by: HaoranYi <haoran.yi@solana.com>
(cherry picked from commit 8869d0c8a0)
# Conflicts:
# programs/sbf/tests/programs.rs
* fix merge conflicts
* update tests to avoid using the new test api from 1.18
* manually backport #34722 to fix a test
* Ignore failing benchmark tests and fix compilation
---------
Co-authored-by: HaoranYi <haoran.yi@gmail.com>
Co-authored-by: HaoranYi <haoran.yi@solana.com>
Co-authored-by: haoran <haoran@mbook>
Co-authored-by: Stephen Akridge <sakridge@gmail.com>
* geyser: allow custom name in config file (#33550)
Allow loading the plugin name from the json config file as opposed to use plugin.name which is called before config file is passed to it. Allowing different plugins using the same executable to use different names.
(cherry picked from commit c82fc6c98e)
# Conflicts:
# geyser-plugin-manager/src/geyser_plugin_manager.rs
* Fixed merge conflicts
---------
Co-authored-by: Kirill Fomichev <fanatid@ya.ru>
Co-authored-by: Lijun Wang <83639177+lijunwangs@users.noreply.github.com>
sdk: add bounds check when instantiating `Keypair` from byte array (#34817)
(cherry picked from commit 6dbcdc063f)
Co-authored-by: Trent Nelson <trent@solana.com>
[zk-token-proof] include `VerifyBatchRangeProofU256` in the `enable_zk_transfer_with_fee` feature gate (#34747)
include `VerifyBatchRangeProofU256` in the `enable_zk_transfer_with_fee` feature
(cherry picked from commit bc136423b4)
Co-authored-by: samkim-crypto <skim13@cs.stanford.edu>
Bigtable: update google proto files and allow configuration of max_message_size (#34740)
* Update proto files with tonic-build v0.9.2
* Manually ignore invalid doc-tests
* Add new ReadRowsRequest fields
* Add LedgerStorageConfig::max_message_size and default value
* Add BigtableConnection::max_message_size and use on client creation
* Add max_message_size to RpcBigtableConfig and make const pub
* Add solana-validator cli arg
(cherry picked from commit 166be2995e)
Co-authored-by: Tyera <tyera@solana.com>
add metrics on throttled streams (#34579)
(cherry picked from commit 1a001751dd)
Co-authored-by: Lijun Wang <83639177+lijunwangs@users.noreply.github.com>
Add ContactInfo handling for shred versioning (#34286)
* handle ContactInfo in places where only LegacyContactInfo was used
* missed a spot
* missed a spot
* import contact info for crds lookup
* cargo fmt
* rm contactinfo from crds_entry. not supported yet
* typo
* remove crds.nodes insert for ContactInfo. not supported yet
* forgot to remove clusterinfo in remove()
* move around contactinfo match arm
* remove contactinfo updating crds.shred_version
(cherry picked from commit 8ed149a3f2)
Co-authored-by: Greg Cusack <greg.cusack@solana.com>