Skip to content

fix: Vc count logic#640

Merged
barnabasbusa merged 3 commits intoethpandaops:bbusa/vc_countfrom
0xTylerHolmes:vc_count_logic
May 28, 2024
Merged

fix: Vc count logic#640
barnabasbusa merged 3 commits intoethpandaops:bbusa/vc_countfrom
0xTylerHolmes:vc_count_logic

Conversation

@0xTylerHolmes
Copy link
Contributor

I ran into a few index out of bounds and divide by zero issues. I fixed those with what I expect is the right method. One thing I would like you to check is my change on the participant_network.star

I added a check on the vc_context assignment for the case where vc_count == 0. We would get an index out of bounds panic so I just set it to None. I'm unsure if there are downstream consequences but everything appears to be working on my end with that.

@barnabasbusa barnabasbusa changed the title Vc count logic fix: Vc count logic May 28, 2024
@barnabasbusa
Copy link
Collaborator

can you please run kurtosis lint --format to lint this PR?

@barnabasbusa
Copy link
Collaborator

vc_context = None should work fine, if we have no vc client set.

@barnabasbusa barnabasbusa merged commit d31ed99 into ethpandaops:bbusa/vc_count May 28, 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.

2 participants