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

Index eips by number instead of string #872

Merged
merged 1 commit into from Sep 15, 2020
Merged

Conversation

ryanio
Copy link
Contributor

@ryanio ryanio commented Sep 14, 2020

This PR updates the new eips option in Common and VM to use type number instead of string.

The primary reasons discussed were for dev ex brevity (less bulky), and better long term performance (iterating and comparing numbers should be faster than strings).

@codecov
Copy link

codecov bot commented Sep 14, 2020

Codecov Report

Merging #872 into master will increase coverage by 0.07%.
The diff coverage is 65.00%.

Impacted file tree graph

Flag Coverage Δ
#account 92.85% <ø> (ø)
#block 77.63% <ø> (ø)
#blockchain 81.10% <ø> (ø)
#common 93.04% <75.00%> (+0.18%) ⬆️
#ethash 83.33% <ø> (+1.11%) ⬆️
#tx 94.11% <ø> (ø)
#vm 82.21% <62.50%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

@ryanio ryanio changed the title Use number[] instead of string[] for new eips option Index eips by number instead of string Sep 15, 2020
Copy link
Member

@holgerd77 holgerd77 left a comment

Choose a reason for hiding this comment

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

Ah, yes, that really looks nicer. 👍 Thanks Ryan for the quick update.

Will merge.

@holgerd77 holgerd77 merged commit 4eca1e6 into master Sep 15, 2020
@holgerd77 holgerd77 deleted the eips-from-string-to-number branch September 15, 2020 06:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants