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

validate-chainspecs: check istanbul eips are in the foundation spec#11305

Merged
ordian merged 2 commits into
masterfrom
ao-check-mainnet-spec-against-istanbul-test
Dec 6, 2019
Merged

validate-chainspecs: check istanbul eips are in the foundation spec#11305
ordian merged 2 commits into
masterfrom
ao-check-mainnet-spec-against-istanbul-test

Conversation

@ordian
Copy link
Copy Markdown
Member

@ordian ordian commented Dec 5, 2019

No description provided.

@ordian ordian added M1-ci 🙉 Continuous integration. M2-config 📂 Chain specifications and node configurations. labels Dec 5, 2019
@ordian ordian added this to the 2.7 milestone Dec 5, 2019
@dvdplm dvdplm requested review from TriplEight and s3krit December 5, 2019 15:06
done

echo "________Mainnet contains Istanbul EIPs________"
for eip in $(grep --only-matching "eip.*Transition" ethcore/res/ethereum/istanbul_test.json); do
Copy link
Copy Markdown
Collaborator

@niklasad1 niklasad1 Dec 5, 2019

Choose a reason for hiding this comment

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

how to deal with re-enable transitions?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Add them to the chain spec?
#11228 (comment)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

yeah, I guess that is easiest solution even though they are redundant in this case.

if ! ./target/release/chainspec "$spec"; then ERR=1; fi
done

echo "________Mainnet contains Istanbul EIPs________"
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Doesn't have to be addressed in this PR but would be good to run this on the other testing network (hard forks) such as Contantinople and so on.

In order to make sure that we are not breaking anything.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

good point, but I think since we're running tests with istanbul_test spec, it should be caught there

@ordian ordian merged commit 36c917e into master Dec 6, 2019
@ordian ordian deleted the ao-check-mainnet-spec-against-istanbul-test branch December 6, 2019 12:12
dvdplm added a commit that referenced this pull request Dec 9, 2019
* master:
  Istanbul activation on xDai (#11299)
  Istanbul activation on POA Core (#11298)
  Adds support for ipc socket permissions (#11273)
  Add check for deserialising hex values over U256 limit (#11309)
  validate-chainspecs: check istanbul eips are in the foundation spec (#11305)
@TriplEight
Copy link
Copy Markdown
Collaborator

👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

M1-ci 🙉 Continuous integration. M2-config 📂 Chain specifications and node configurations.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants