Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pr634 1.17 new filter #657

Closed
wants to merge 213 commits into from
Closed

Conversation

HaoranYi
Copy link

@HaoranYi HaoranYi commented Apr 8, 2024

Problem

Summary of Changes

Fixes #

willhickey and others added 30 commits October 3, 2023 10:20
…olana-labs#33491)

Refactor - `LoadedPrograms` (solana-labs#33482)

* Adds type ProgramRuntimeEnvironment.

* Moves LoadedPrograms::remove_expired_entries() into LoadedPrograms::prune().

* Adds Stats::prunes_environment and renames Stats::prunes_orphan and Stats::prunes_expired.

* Adds LoadedPrograms::latest_root_epoch.

* Typo fix, authored-by: Dmitri Makarov <dmakarov@users.noreply.github.com>

(cherry picked from commit 8033be3)

Co-authored-by: Alexander Meißner <AlexanderMeissner@gmx.net>
…rt of solana-labs#33484) (solana-labs#33492)

Deprecate bz2/gzip/none/tar snapshot compression types (solana-labs#33484)

These options are now disallowed on the command line for
solana-validator and solana-ledger-tool, which effectively means no more
snapshots will be created with this types in normal usecases. However,
support for reading the deprecated types is still in place.

(cherry picked from commit 73e9e6d)

Co-authored-by: steviez <steven@solana.com>
…-labs#33479) (solana-labs#33500)

ci: remove stable-perf from PR and push CI (solana-labs#33479)

ci: move stable-perf to nightly pipeline
(cherry picked from commit b87c8d1)

Co-authored-by: Yihau Chen <a122092487@gmail.com>
…3497) (solana-labs#33514)

Enable the banking trace by default (solana-labs#33497)

(cherry picked from commit eb262aa)

Co-authored-by: Ryo Onodera <ryoqun@gmail.com>
…bs#33518) (solana-labs#33531)

initialize with new VoteState for tests (solana-labs#33518)

(cherry picked from commit d4941cc)

Co-authored-by: Ashwin Sekar <ashwin@solana.com>
…rogram on feature activation (backport of solana-labs#32783) (solana-labs#33527)

Bank: Add function to replace empty account with upgradeable program on feature activation (solana-labs#32783)

* replace program account

* modify for all cases

* remove non-data swap

* address tests & conditional feedback

* get the rent involved

* mix in owner & executable

* feature-related cases

* stripped back to feature-specific case only

* added feature

* address initial feedback

* added more lamport checks

* condense tests

* using test_case

* add fail cases to tests

* more cleanup

* add verifiably built program

* update program account state

* cleaned up serializing logic

* use full word capitalization

* rename old & new to dst & src

* swap src and dst in parameters

* add warnings and errors

* rename feature to programify

* test suite description clarity

* remove strings from datapoints

* spell out source and destination

* more verbose comments in account replace functions

* move lamport calculation

* swap lamport check for state check

* move replace functions to helper module

* make replace_account methods fallible

* refactor error handling

* add test for source program state

(cherry picked from commit 25460f7)

Co-authored-by: Joe C <jcaulfield135@gmail.com>
…na-labs#33387) (solana-labs#33543)

Fix CLI help text for `solana stake-account` (solana-labs#33387)

Fix help text

(cherry picked from commit 83b49da)

Co-authored-by: sakridge <stephen@solana.com>
…lana-labs#33541)

(cherry picked from commit e0091d6)

Co-authored-by: Brooks <brooks@solana.com>
…a-labs#33563)

(cherry picked from commit 2d1449f)

Co-authored-by: Brooks <brooks@solana.com>
…backport of solana-labs#33551) (solana-labs#33562)

(cherry picked from commit 35a0295)

Co-authored-by: Brooks <brooks@solana.com>
…#33549) (solana-labs#33567)

Uses stable `u64::next_multiple_of()` (solana-labs#33549)

(cherry picked from commit c8d545c)

Co-authored-by: Brooks <brooks@solana.com>
…33535) (solana-labs#33540)

update feature gate no-op program id (solana-labs#33535)

(cherry picked from commit 93d8bcc)

Co-authored-by: Joe C <jcaulfield135@gmail.com>
…na-labs#33576) (solana-labs#33581)

(cherry picked from commit c588f25)

Co-authored-by: Brooks <brooks@solana.com>
…olana-labs#33617)

* Add helper trait for column key deprecation

* Add ColumnIndexDeprecation iterator method

* Impl ColumnIndexDeprecation for TransactionStatus

* Fix get_transaction_status_with_counter

* Impl ColumnIndexDeprecation for AddressSignatures

* Fix find_address_signatures methods

* Fix get_confirmed_signatures_for_address2
) (solana-labs#33625)

Fix - CPI interface `bool` masking (solana-labs#33623)

Adds masking of booleans in CPI interface to disable_cpi_setting_executable_and_rent_epoch.

(cherry picked from commit 1262ff7)

Co-authored-by: Alexander Meißner <AlexanderMeissner@gmx.net>
…lana-labs#33580) (solana-labs#33660)

Allow to create HTTP Sender with custom Client (solana-labs#33580)

* Allow to create HTTP Sender with custom Client

* Update rpc-client/src/http_sender.rs

Co-authored-by: Tyera <teulberg@gmail.com>

---------

Co-authored-by: Tyera <teulberg@gmail.com>
(cherry picked from commit a226783)

Co-authored-by: Kirill Fomichev <fanatid@ya.ru>
…labs#33655) (solana-labs#33657)

(cherry picked from commit 99542d9)

Co-authored-by: Brooks <brooks@solana.com>
…labs#33600) (solana-labs#33661)

Update hashes per tick with feature gates (solana-labs#33600)

* Update hashes per tick with feature gates

(cherry picked from commit b36d051)

Co-authored-by: Brennan <brennan.watt@solana.com>
…backport of solana-labs#33664) (solana-labs#33677)

Adds `--no-skip-initial-accounts-db-clean` *hidden* CLI flag (solana-labs#33664)

(cherry picked from commit 452fd5d)

Co-authored-by: Brooks <brooks@solana.com>
…che pruning (backport of solana-labs#33689) (solana-labs#33691)

Prevent delay_visibility_of_program_deployment feature from cache pruning (solana-labs#33689)

(cherry picked from commit fd92977)

Co-authored-by: Pankaj Garg <pankaj@solana.com>
…olana-labs#33588)

validator: skip health check (solana-labs#33568)

* validator: skip health check

* keep `healthy` as a boolean

(cherry picked from commit 7afb11f)

Co-authored-by: DimAn <diman@diman.io>
…t of solana-labs#33639) (solana-labs#33685)

bank: do not remove trailing 0 bytes from return data (solana-labs#33639)

This is creating havoc for Solang, as the return data is borsh encoded
and therefore `u64` values like 0x100 get truncated.

(cherry picked from commit 4751199)

Co-authored-by: Sean Young <sean@mess.org>
… (solana-labs#33695)

* Refactor - LoadedPrograms part 2 (solana-labs#33694)

(cherry picked from commit a3f85ab)

# Conflicts:
#	runtime/src/bank/tests.rs

* fix merge conflicts

---------

Co-authored-by: Alexander Meißner <AlexanderMeissner@gmx.net>
Co-authored-by: Pankaj Garg <pankaj@solana.com>
…ckport of solana-labs#33651) (solana-labs#33714)

Change getHealth to compare optimistically confirmed slots (solana-labs#33651)

The current getHealth mechanism checks a local accounts hash slot vs.
those of other nodes as specified by --known-validator. This is a
very coarse comparison given that the default for this value is 100
slots. More so, any nodes using a value larger than the default
(ie --incremental-snapshot-interval 500) will likely see getHealth
return status behind at some point.

Change the underlying mechanism of how health is computed. Instead of
using the accounts hash slots published in gossip, use the latest
optimistically confirmed slot from the cluster. Even when a node is
behind, it is able to observe cluster optimistically confirmed by slots
by viewing votes published in gossip.

Thus, the latest cluster optimistically confirmed slot can be compared
against the latest optimistically confirmed bank from replay to
determine health. This new comparison is much more granular, and not
needing to depend on individual known validators is also a plus.

(cherry picked from commit 8bd0e4c)

Co-authored-by: steviez <steven@solana.com>
* Update v1.17 changelog to current version

* Remove edge / beta / stable links. Leaving them is potentially confusing. Maintaining them is error prone and of limited benefit

* Update v1.17.1 notes

* Prepare CHANGELOG.md for v1.17.2 release
…bs#33501) (solana-labs#33578)

* Enable frozen_abi on banking trace file (solana-labs#33501)

* Enable frozen_abi on banking trace file

* Fix ci with really correct bugfix...

* Remove tracker_callers

* Fix typo...

* Fix AbiExample for Arc/Rc's Weaks

* Added comment for AbiExample impl of SystemTime

* Simplify and document EvenAsOpaque with new usage

* Minor clean-ups

* Simplify SystemTime::example() with UNIX_EPOCH...

* Add comment for AbiExample subtleties

(cherry picked from commit 95810d8)

# Conflicts:
#	Cargo.lock

* fix conflict

---------

Co-authored-by: Ryo Onodera <ryoqun@gmail.com>
…#33722) (solana-labs#33735)

remove redundant pubkey update record (solana-labs#33722)

* remove redundant pubkey update record

* from became unused, so removed from all process_pull_response() calls

(cherry picked from commit 6efc7ec)

Co-authored-by: Greg Cusack <greg.cusack@solana.com>
pgarg66 and others added 28 commits March 8, 2024 16:23
…()` (backport of solana-labs#35375) (solana-labs#65)

Remove unnecessary unwrap from `simulate_transaction_unchecked()` (solana-labs#35375)

Remove unnecessary unwrap from simulate_transaction_unchecked()

(cherry picked from commit cb260f1)

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
… of solana-labs#165) (solana-labs#166)

ci: fix Windows gh release pipeline (solana-labs#165)

(cherry picked from commit 3863bb1)

Co-authored-by: Yihau Chen <a122092487@gmail.com>
…olana-labs#133) (solana-labs#142)

* add precompile signature metrics to cost tracker (solana-labs#133)

(cherry picked from commit 9770cd9)

# Conflicts:
#	cost-model/src/cost_model.rs
#	cost-model/src/cost_tracker.rs

* merge fix

* fmt

---------

Co-authored-by: Tao Zhu <82401714+tao-stones@users.noreply.github.com>
Co-authored-by: Tao Zhu <tao@solana.com>
…abs#163) (solana-labs#205)

[anza migration] Sets client id to Agave (solana-labs#163)

(cherry picked from commit 0f1ca20)

Co-authored-by: Brooks <brooks@anza.xyz>
…lana-labs#274) (solana-labs#275)

* vote: deprecate unused legacy vote tx plumbing (solana-labs#274)

(cherry picked from commit b27c80a)

# Conflicts:
#	sdk/src/feature_set.rs

* fix conflicts

---------

Co-authored-by: Ashwin Sekar <ashwin@anza.xyz>
Co-authored-by: Ashwin Sekar <ashwin@solana.com>
…ort of solana-labs#223) (solana-labs#242)

[anza migration]: add 'agave=info' to default log level (solana-labs#223)

Co-authored-by: yihau <yihau.chen@icloud.com>
…ing thrashing (backport of solana-labs#293) (solana-labs#299)

Make the quic server connection table use an async lock
…(backport of solana-labs#245) (solana-labs#287)

[anza migration] fix: use the correct log filter for non-unix (solana-labs#245)

fix: use the correct log filter for non-unix
(cherry picked from commit 2537e3e)

Co-authored-by: Yihau Chen <a122092487@gmail.com>
… binaries (backport of solana-labs#155) (solana-labs#349)

Use agave prefix in scripts for pre-installed binaries (solana-labs#155)

(cherry picked from commit 68be105)

Co-authored-by: Justin Starry <justin@anza.xyz>
solana-labs#219) (solana-labs#351)

* [anza migration]: fix download link for net scripts (solana-labs#219)

(cherry picked from commit e682fec)

# Conflicts:
#	net/net.sh
#	scripts/agave-install-deploy.sh

* fix conflict

---------

Co-authored-by: Yihau Chen <a122092487@gmail.com>
Co-authored-by: yihau <yihau.chen@icloud.com>
…_slot (solana-labs#67)

blockstore: relax parent slot meta check for clear_unconfirmed_slot
…solana-labs#197) (solana-labs#340)

rpc-sts: add config options for stake-weighted qos (solana-labs#197)

* rpc-sts: plumb options for swqos config

* rpc-sts: send to specific tpu peers when configured

(cherry picked from commit f41fb84)

# Conflicts:
#	send-transaction-service/src/send_transaction_service.rs
#	validator/src/cli.rs
#	validator/src/main.rs

Co-authored-by: Trent Nelson <490004+t-nelson@users.noreply.github.com>
…abs#370) (solana-labs#374)

* Discard packets statically known to fail (solana-labs#370)

* Discard packets statically known to fail

* add test

(cherry picked from commit 5f16932)

# Conflicts:
#	core/src/banking_stage/transaction_scheduler/scheduler_controller.rs

* resolve conflict

---------

Co-authored-by: Andrew Fitzgerald <apfitzge@gmail.com>
…-labs#486)

ci: add release pipeline (solana-labs#466)

(cherry picked from commit 212cbdb)

Co-authored-by: Yihau Chen <a122092487@gmail.com>
…na-labs#493) (solana-labs#498)

ci: fix some issues for the release pipeline (solana-labs#493)

* add TRIGGERED_BUILDKITE_TAG to the pipeline

* publish a pre-release for the release id

(cherry picked from commit b1e1799)

Co-authored-by: Yihau Chen <a122092487@gmail.com>
* Bump version to v1.17.30

* revert unexpected changes

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: yihau <yihau.chen@icloud.com>
Bump h2 (solana-labs#570)

(cherry picked from commit f6e02e6)

Co-authored-by: Tyera <tyera@anza.xyz>
…lana-labs#3… (solana-labs#595)

Adjust receive window to make them linear to the count of streams (solana-labs#33913)

Adjust receive window to make them linear to the count of streams to reduce fragmentations
Copy link

mergify bot commented Apr 8, 2024

⚠️ The sha of the head commit of this PR conflicts with #640. Mergify cannot evaluate rules on this PR. ⚠️

@HaoranYi HaoranYi closed this Apr 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet