Skip to content
This repository has been archived by the owner on Apr 6, 2020. It is now read-only.

homestead fix #68

Closed
wants to merge 2 commits into from
Closed

homestead fix #68

wants to merge 2 commits into from

Conversation

micahriggan
Copy link

@micahriggan micahriggan commented Mar 26, 2019

Fixing homestead bug where homestead rules are used on blocks before the fork.

closes #67

Fixing homestead bug where homestead rules are used on blocks before the fork.
@coveralls
Copy link

coveralls commented Mar 26, 2019

Coverage Status

Coverage increased (+0.09%) to 73.913% when pulling 4baf287 on micahriggan:patch-1 into c5dcbbc on ethereumjs:master.

Removing semi-colon
@s1na
Copy link
Contributor

s1na commented Mar 27, 2019

Hi @micahriggan, thanks for the PR (and the issue).

As you also mentioned, most of the libraries have switched to ethereumjs-common for determining the active hardfork/chain, and the _homestead attribute should probably be deprecated.

I did an organization-wide search and couldn't find a remaining use for the _homestead flag (apart from some example snippets and tests which should migrate, and this line which is also setting the value, not reading) and would recommend dropping it instead of fixing its value.

What do you think @holgerd77?

@orangecstsne04
Copy link

Is there a reason to be pulling items here

@holgerd77
Copy link
Member

@micahriggan @s1na Yes, that should likely be dropped.

@micahriggan
Copy link
Author

So if I understand correctly, get rid of the section that sets homestead and this will be good to merge?

@micahriggan
Copy link
Author

If #69 looks like what you'd want, feel free to close this one.

@justinkook justinkook mentioned this pull request Jul 29, 2019
@alcuadrado alcuadrado mentioned this pull request Jul 31, 2019
@alcuadrado
Copy link
Member

This PR isn't necessary after #72 got merged.

@alcuadrado alcuadrado closed this Aug 1, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Invalid Signature when validating pre-homestead blocks
6 participants