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

De-duplicate code in altair state transition fn #2694

Merged
merged 3 commits into from
Jun 15, 2021

Conversation

dapplion
Copy link
Contributor

Motivation

De-duplicate code from altair's state transition fn methods.

Description

Multiplex fork differences inside each function when the differences are small enough. This approach involves one extra function call than necessary but it should be okay in terms of performance.

Closes #2691

@codeclimate
Copy link

codeclimate bot commented Jun 13, 2021

Code Climate has analyzed commit ae03492 and detected 4 issues on this pull request.

Here's the issue category breakdown:

Category Count
Complexity 4

View more on Code Climate.

@dapplion dapplion force-pushed the dapplion/deduplicate-stfn-altair branch from 8f69a93 to 243282a Compare June 13, 2021 23:30
@dapplion
Copy link
Contributor Author

Ready for review

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.

De-duplicate processAttestation()
2 participants