Skip to content
This repository has been archived by the owner on May 11, 2024. It is now read-only.

feat(proposer): Improved shuffle function to preserve original prover endpoints slice #475

Merged
merged 5 commits into from
Dec 24, 2023

Conversation

airdrop-monster
Copy link
Contributor

This pull request enhances the 'shuffleProverEndpoints' function in the 'ETHFeeEOASelector' struct to return a shuffled slice without modifying the original 'proverEndpoints' slice. The function now operates on a copy of the original slice, shuffles it internally, and returns the shuffled slice without altering the original data.

This pull request enhances the shuffleProverEndpoints function in the ETHFeeEOASelector struct to return a shuffled slice without modifying the original proverEndpoints slice. The function now operates on a copy of the original slice, shuffles it internally, and returns the shuffled slice without altering the original data.
@airdrop-monster airdrop-monster changed the title Improved shuffle function to preserve original prover endpoints slice feat(proposer): Improved shuffle function to preserve original prover endpoints slice Dec 14, 2023
@airdrop-monster airdrop-monster marked this pull request as draft December 14, 2023 21:29
@airdrop-monster airdrop-monster marked this pull request as ready for review December 14, 2023 21:31
Copy link
Contributor Author

@airdrop-monster airdrop-monster left a comment

Choose a reason for hiding this comment

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

@davidtaikocha davidtaikocha enabled auto-merge (squash) December 22, 2023 01:45
Copy link

codecov bot commented Dec 22, 2023

Codecov Report

Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (c656ddb) 57.90% compared to head (e2e0adb) 58.11%.

Files Patch % Lines
proposer/prover_selector/eth_fee_eoa_selector.go 71.42% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #475      +/-   ##
==========================================
+ Coverage   57.90%   58.11%   +0.21%     
==========================================
  Files          44       44              
  Lines        5516     5520       +4     
==========================================
+ Hits         3194     3208      +14     
+ Misses       2001     1993       -8     
+ Partials      321      319       -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@davidtaikocha
Copy link
Member

@davidtaikocha @cyberhorsey

Looks like there is a lint error, could u fix it?

auto-merge was automatically disabled December 22, 2023 08:33

Head branch was pushed to by a user without write access

@airdrop-monster
Copy link
Contributor Author

airdrop-monster commented Dec 22, 2023

I couldn't see details about the lint error. It seemed to be giving a goimports error on an empty line. I deleted the empty line; can we try again? I don't want to miss the details this time. @davidtaikocha @cyberhorsey

@davidtaikocha davidtaikocha enabled auto-merge (squash) December 24, 2023 06:24
@davidtaikocha davidtaikocha merged commit 6b25d9d into taikoxyz:main Dec 24, 2023
4 checks passed
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