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

Remove expanse chain #7437

Merged
merged 3 commits into from Jan 3, 2018
Merged

Remove expanse chain #7437

merged 3 commits into from Jan 3, 2018

Conversation

5chdn
Copy link
Contributor

@5chdn 5chdn commented Jan 3, 2018

People using Parity are on a wrong fork.

Ref #7146 #7061

@5chdn 5chdn added A0-pleasereview 🤓 Pull request needs code review. B0-patch M2-config 📂 Chain specifications and node configurations. labels Jan 3, 2018
@5chdn 5chdn added this to the 1.9 milestone Jan 3, 2018
@5chdn 5chdn added the B7-releasenotes 📜 Changes should be mentioned in the release notes of the next minor version release. label Jan 3, 2018
@5chdn
Copy link
Contributor Author

5chdn commented Jan 3, 2018

Failed test unrelated.

@5chdn 5chdn added the P2-asap 🌊 No need to stop dead in your tracks, however issue should be addressed as soon as possible. label Jan 3, 2018
@jacogr jacogr added A5-grumble 🔥 Pull request has minor issues that must be addressed before merging. and removed A0-pleasereview 🤓 Pull request needs code review. labels Jan 3, 2018
@jacogr
Copy link
Contributor

jacogr commented Jan 3, 2018

Test failure - removed the "expanse" case switch, but didn't remove the actual symbol.

@5chdn
Copy link
Contributor Author

5chdn commented Jan 3, 2018

Oops. Thanks for the pointer. Error message was pointing at CSS files :)

@5chdn 5chdn added A0-pleasereview 🤓 Pull request needs code review. and removed A5-grumble 🔥 Pull request has minor issues that must be addressed before merging. labels Jan 3, 2018
@debris debris added A8-looksgood 🦄 Pull request is reviewed well. and removed A0-pleasereview 🤓 Pull request needs code review. labels Jan 3, 2018
@debris debris merged commit 75f2921 into master Jan 3, 2018
@debris debris deleted the a5-chains-expanse branch January 3, 2018 15:12
debris added a commit that referenced this pull request Jan 3, 2018
@debris debris mentioned this pull request Jan 3, 2018
@chrisfranko
Copy link
Contributor

This is bullshit. Mostly because we did everything we were supposed to do and were waiting on feedback from the last comment I posted In the other thread. Feedback that.. well never came.

@5chdn
Copy link
Contributor Author

5chdn commented Jan 3, 2018

But your pull-request does not work, and I pointed that out on Nov-27. Now users report they mine on the wrong chain and ask us what to do. The hard-fork was three months ago.

We remove expanse in the meantime to prevent users continue using the old chain and are happy to accept any further contributions from the expanse community to make this working again.

@chrisfranko
Copy link
Contributor

chrisfranko commented Jan 3, 2018 via email

@5chdn
Copy link
Contributor Author

5chdn commented Jan 3, 2018

This can be easily reverted. Let's stick the discussion to #7146.

5chdn added a commit that referenced this pull request Jan 5, 2018
…ivisor (#7463)

* Byzantium Update for Expanse

Here the changes go. Hope I didnt miss anything.

* expip2 changes - update duration limit

* Fix missing EXPIP-2 fields

* Format numbers as hex

* Fix compilation errors

* Group expanse chain spec fields together

* Set metropolisDifficultyIncrementDivisor for Expanse

* Revert #7437

* Add Expanse block 900_000 hash checkpoint
debris pushed a commit that referenced this pull request Jan 8, 2018
…ivisor (#7463)

* Byzantium Update for Expanse

Here the changes go. Hope I didnt miss anything.

* expip2 changes - update duration limit

* Fix missing EXPIP-2 fields

* Format numbers as hex

* Fix compilation errors

* Group expanse chain spec fields together

* Set metropolisDifficultyIncrementDivisor for Expanse

* Revert #7437

* Add Expanse block 900_000 hash checkpoint
5chdn pushed a commit that referenced this pull request Jan 9, 2018
* Merge pull request #7368 from paritytech/td-future-blocks

Wait for future blocks in AuRa

* Fix tracing failed calls.

* Problem: sending any Whisper message fails

The error is "PoW too low to compete with other messages"

This has been previously reported in #7144

Solution: prevent the move semantics

The source of the error is in PoolHandle.relay
implementation for NetPoolHandle.

Because of the move semantics, `res` variable is in fact
copied (as it implements Copy) into the closure and for
that reason, the returned result is always `false.

* Merge pull request #7433 from paritytech/td-strict-config

Strict config parsing

* Problem: AuRa's unsafeties around step duration (#7282)

Firstly, `Step.duration_remaining` casts it to u32, unnecesarily
limiting it to 2^32. While theoretically this is "good enough" (at 3
seconds steps it provides room for a little over 400 years), it is
still a lossy way to calculate the remaining time until the next step.

Secondly, step duration might be zero, triggering division by zero
in `Step.calibrate`

Solution: rework the code around the fact that duration is
typically in single digits and never grows, hence, it can be represented
by a much narrower range (u16) and this highlights the fact that
multiplying u64 by u16 will only result in an overflow in even further
future, at which point we should panic informatively (if anybody's
still around)

Similarly, panic when it is detected that incrementing the step
counter wrapped around on the overflow of usize.

As for the division by zero, prevent it by making zero an invalid
value for step duration. This will make AuRa log the constraint
mismatch and panic (after all, what purpose would zero step duration
serve? it makes no sense within the definition of the protocol,
as finality can only be achieved as per the specification
if messages are received within the step duration, which would violate
the speed of light and other physical laws in this case).

* Merge pull request #7437 from paritytech/a5-chains-expanse

Remove expanse chain

* Expanse Byzantium update w/ correct metropolis difficulty increment divisor (#7463)

* Byzantium Update for Expanse

Here the changes go. Hope I didnt miss anything.

* expip2 changes - update duration limit

* Fix missing EXPIP-2 fields

* Format numbers as hex

* Fix compilation errors

* Group expanse chain spec fields together

* Set metropolisDifficultyIncrementDivisor for Expanse

* Revert #7437

* Add Expanse block 900_000 hash checkpoint

* Advance AuRa step as far as we can and prevent invalid blocks. (#7451)

* Advance AuRa step as far as we can.

* Wait for future blocks.

* fixed panic when io is not available for export block, closes #7486 (#7495)

* Update Parity Mainnet Bootnodes (#7476)

* Update Parity Mainnet Bootnodes

* Replace the Azure HDD bootnodes with the new ones :)

* Use https connection (#7503)

Use https when connecting to etherscan.io API for price-info

* Expose default gas price percentile configuration in CLI (#7497)

* Expose gas price percentile.

* Fix light eth_call.

* fix gas_price in light client
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A8-looksgood 🦄 Pull request is reviewed well. B7-releasenotes 📜 Changes should be mentioned in the release notes of the next minor version release. M2-config 📂 Chain specifications and node configurations. P2-asap 🌊 No need to stop dead in your tracks, however issue should be addressed as soon as possible.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants