Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.

Conversation

@bw-solana
Copy link
Contributor

@bw-solana bw-solana commented May 9, 2023

Problem

Integration between invalidator and upstream can be challenging if there are many merge conflicts to resolve. Pushing some vestigial code upstream will limit the number of collisions.

See https://github.com/solana-labs/invalidator/pull/20 for some additional context. Note this is one of a few strategies being explored to minimize integration burden between repos - open to recommendations

Summary of Changes

  1. Add GeneratorConfig and plumbing from Validator --> TPU (doesn't actually do anything)
  2. Add generate-blocks-with-accounts cmd line arg (doesn't actually do anything)
  3. Add test_mainnet_beta_cluster_type_generator (marked as ignore)

@codecov
Copy link

codecov bot commented May 10, 2023

Codecov Report

Merging #31567 (9e9df21) into master (db4b76d) will decrease coverage by 0.1%.
The diff coverage is 40.0%.

@@            Coverage Diff            @@
##           master   #31567     +/-   ##
=========================================
- Coverage    81.9%    81.8%   -0.1%     
=========================================
  Files         737      737             
  Lines      205985   205990      +5     
=========================================
- Hits       168718   168704     -14     
- Misses      37267    37286     +19     

@bw-solana bw-solana marked this pull request as ready for review May 10, 2023 14:50
Copy link
Contributor

@t-nelson t-nelson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

some general concerns about the level of public exposure to advtest described below

@bw-solana bw-solana force-pushed the replay_invalidator_scaffold branch from cdf03fa to 9e9df21 Compare May 16, 2023 14:58
@bw-solana bw-solana requested a review from t-nelson May 16, 2023 15:00
Copy link
Contributor

@t-nelson t-nelson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@bw-solana bw-solana merged commit a9b19f5 into solana-labs:master May 16, 2023
@bw-solana bw-solana deleted the replay_invalidator_scaffold branch May 16, 2023 20:08
wen-coding pushed a commit to wen-coding/solana that referenced this pull request May 18, 2023
* Add replay invalidator scaffolding upstream
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants