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

Fix mockgen sh #14068

Merged
merged 4 commits into from
May 31, 2024
Merged

Fix mockgen sh #14068

merged 4 commits into from
May 31, 2024

Conversation

terencechain
Copy link
Member

This PR fixes mockgen sh

  • BeaconChainClient was renamed to ChainClient but never reflected for mockgen
  • Ran mockgen.sh to ensure everything passed

@terencechain terencechain added the Ready For Review A pull request ready for code review label May 31, 2024
@terencechain terencechain requested a review from a team as a code owner May 31, 2024 15:38
hack/update-mockgen.sh Outdated Show resolved Hide resolved
@@ -27,8 +27,7 @@ done
# github.com/prysmaticlabs/prysm/v5/validator/client/iface
# --------------------------------------------------------
iface_mocks=(
"$iface_mock_path/beacon_chain_client_mock.go BeaconChainClient"
"$iface_mock_path/prysm_beacon_chain_client_mock.go PrysmBeaconChainClient"
Copy link
Contributor

Choose a reason for hiding this comment

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

Instead of removing this, we should generate a mock for PrysmChainClient

"$iface_mock_path/prysm_chain_client_mock.go PrysmChainClient"

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks. Done

terencechain and others added 2 commits May 31, 2024 08:51
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
@terencechain terencechain added this pull request to the merge queue May 31, 2024
Merged via the queue into develop with commit 5efecff May 31, 2024
17 checks passed
@terencechain terencechain deleted the fix-mockgen-sh branch May 31, 2024 17:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ready For Review A pull request ready for code review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants