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

core/vm: replace repeated string with predefined variable #22774

Merged
merged 1 commit into from
Apr 30, 2021

Conversation

aaronbuchwald
Copy link
Contributor

This PR replaces a string with 34 repeated occurrences with a variable in core/vm/instructions_test.go.

If this would be better if x/y/etc variables were skipped when alphabetSoup is assigned directly to them, I can easily make that change as well. They seem to make the tests more clear IMHO though.

@rjl493456442 rjl493456442 changed the title Replace repeated string with variable core/vm: replace repeated string with predefined variable Apr 30, 2021
@fjl fjl merged commit dde6cb0 into ethereum:master Apr 30, 2021
atif-konasl pushed a commit to frozeman/pandora-execution-engine that referenced this pull request Oct 15, 2021
gzliudan pushed a commit to gzliudan/XDPoSChain that referenced this pull request Mar 1, 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.

3 participants