Xdp testing no vm testing#68
Open
gregcusack wants to merge 83 commits into
Open
Conversation
c3b1726 to
9f0275c
Compare
chore: bump quinn to v0.11.11 Co-authored-by: Ashwin Sekar <ashwin@anza.xyz>
|
Tick the box to add this pull request to the merge queue (same as
|
70b5b50 to
32af9a5
Compare
#### Problem The current stake delegation adjustment logic performs the modification at epoch rollover and then persists those calculated values during the distribution block. However, it's possible to credit lamports to stake accounts during the partitioned epoch rewards distribution phase. A stake account that has its delegation adjusted down at epoch boundary may receive enough lamports to avoid adjustment by the time distribution occurs. #### Summary of changes Perform the adjustment at distribution time instead of calculation time. Most of this is quite straightforward, instead checking if a stake account *may* need adjustment during epoch rollover, and only actually adjusting during the distribution phase. #### Testing Old unit tests cover the adjustment calculation, and a new unit test ensures that a stake account avoids having its delegation adjusted if it's credited lamports before the reward distribution occurs.
32af9a5 to
41866fd
Compare
a656596 to
a47c25c
Compare
* clippy(tx-metadata): fix collapsible_if * fmt
…olana-labs#12907) * svm: conformance: port over firedancer harness customization Port the Firedancer-conformance harness customizations from SolFuzz-Agave into the in-tree conformance harness. These align the harness output with Firedancer so the shared test vectors compare equal; none change the underlying runtime semantics, and all are confined to the conformance proto entry point (`execute_instr_proto`) and the proto conversion, leaving the base `execute_instr_with_callback` harness unopinionated: - Accept up to FD_INSTR_ACCT_MAX (1094) instruction accounts in the proto conversion instead of capping at 128. - Normalize the precompile custom error code to 0. - Clear resulting-account data when virtual_address_space_adjustments is active and execution failed with the CU meter exhausted (a Firedancer VM CU-accounting quirk). * add comments
Do not store Certificate in genesis account
Stores validator and total stake as NonZero<u64>
…13366) Replace `XdpConfig.cpus: Vec<usize>` with `queues: Vec<QueueCpuBinding>`, where each binding pairs a NIC hardware TX queue id with the CPU core its worker thread is pinned to. `TransmitterBuilder` now takes the queue id from the binding rather than inferring it from the CPU's position in the list, so callers can target arbitrary (non-contiguous) hardware queues. The validator CLI converts `--xdp-cpu-cores` into sequential bindings (queue i -> cpus[i]), preserving the existing positional behavior. This makes `XdpConfig` the single setup object that an XDP config-file parser can populate with explicit queue->CPU mappings in a follow-up.
* clippy(networking): fix collapsible_if * fmt
….0 (solana-labs#13365) Bumps [buildkite/trigger-pipeline-action](https://github.com/buildkite/trigger-pipeline-action) from 2.4.1 to 2.5.0. - [Release notes](https://github.com/buildkite/trigger-pipeline-action/releases) - [Commits](buildkite/trigger-pipeline-action@909fed7...41fd38b) --- updated-dependencies: - dependency-name: buildkite/trigger-pipeline-action dependency-version: 2.5.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
c264496 to
535d304
Compare
Genesis vote type conflicts with other types
* Remove ability to purge stores from runtime * Simplify based on review feedback * Updated comment
* clean up docs dir * block docs add and rename * xxx: add new docs page * Revert "xxx: add new docs page" This reverts commit 32f5953.
…leAbi sampling (solana-labs#13343) switch BlockHashQueue to derived implementations of stableabi sampling
* chore(deps): bump solana-message from 4.2.2 to 4.2.3 Bumps [solana-message](https://github.com/anza-xyz/solana-sdk) from 4.2.2 to 4.2.3. - [Release notes](https://github.com/anza-xyz/solana-sdk/releases) - [Commits](https://github.com/anza-xyz/solana-sdk/compare/message@v4.2.2...message@v4.2.3) --- updated-dependencies: - dependency-name: solana-message dependency-version: 4.2.3 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Update all workspaces --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…abs#13440) * chore(deps): bump solana-epoch-schedule from 3.1.1 to 3.2.0 Bumps [solana-epoch-schedule](https://github.com/anza-xyz/solana-sdk) from 3.1.1 to 3.2.0. - [Release notes](https://github.com/anza-xyz/solana-sdk/releases) - [Commits](https://github.com/anza-xyz/solana-sdk/compare/bn254@v3.1.1...bn254@v3.2.0) --- updated-dependencies: - dependency-name: solana-epoch-schedule dependency-version: 3.2.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Update all workspaces --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…lana-labs#13475) Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 3.0.0 to 3.0.1. - [Release notes](https://github.com/softprops/action-gh-release/releases) - [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md) - [Commits](softprops/action-gh-release@b430933...718ea10) --- updated-dependencies: - dependency-name: softprops/action-gh-release dependency-version: 3.0.1 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* fix: add no-op collect_local_ipv4_ips for windows * use linux as the flag
…ature_set()` (solana-labs#13406) * Adds concurrent testing for prepare_one_program_for_upcoming_feature_set(). * Review feedback.
…solana-labs#13487) * chore(deps): bump solana-transaction from 4.1.3 to 4.1.4 in /dev-bins Bumps [solana-transaction](https://github.com/anza-xyz/solana-sdk) from 4.1.3 to 4.1.4. - [Release notes](https://github.com/anza-xyz/solana-sdk/releases) - [Commits](https://github.com/anza-xyz/solana-sdk/compare/transaction@v4.1.3...transaction@v4.1.4) --- updated-dependencies: - dependency-name: solana-transaction dependency-version: 4.1.4 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Update all workspaces --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
8ad4ed6 to
4365283
Compare
4365283 to
b60a3ec
Compare
f2d6660 to
8897a24
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Summary of Changes
Testing
Fixes #