Commit Graph

9572 Commits

Author SHA1 Message Date
Tomasz Drwięga
8b749367fd AuRa fix for 1.7.x series (#7666)
* Fix Temporarily Invalid blocks handling (#7613)

* Handle temporarily invalid blocks in sync.

* Fix tests.

* Bump rustc-serialize

* Bump version.

* Update .gitlab-ci.yml

fix lint

* Remove slash from gitlab ci script to fix builds

* Start build.
2018-01-22 23:44:59 +01:00
Afri Schoedon
f96d152548
Fix stable builds for rustc 1.23.0 (#7504) 2018-01-09 10:39:00 +01:00
Tomasz Drwięga
c8f57315a8 [stable] Missing AuRa backports (#7499)
* Merge pull request #7368 from paritytech/td-future-blocks

Wait for future blocks in AuRa

* 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.

* 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).

* Fix tests.

* detect different node, same-key signing in aura (#7245)

* detect different node, same-key signing in aura

* reduce scope of warning
2018-01-08 23:09:11 +01:00
Tomasz Drwięga
e1925015c8 [stable] backports (#7496)
* Advance AuRa step as far as we can.

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

* Update Parity Mainnet Bootnodes

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

* Bump version.
2018-01-08 16:07:53 +01:00
Afri Schoedon
a5ed4cfc4b Stable Bootnodes and Warpnodes (#7298)
* new warp enodes (#7287)

* new warp enodes

* added one more warp enode; replaced spaces with tabs

* Bump stable to 1.7.11

* Update kovan boot nodes (#7296)

* Fix Cargo.lock

* Updating mainnet bootnodes.

* Update bootnodes (#7363)

* Updating mainnet bootnodes.

* Add additional parity-beta bootnodes.

* Restore old parity bootnodes and update foudation bootnodes
2017-12-28 15:18:40 +01:00
Tomasz Drwięga
cfa197061e Ethstore optimizations (#6827) (#6844) (#7347) 2017-12-27 23:36:01 +01:00
Tomasz Drwięga
9075ff883f Fix default CORS. (#7389) 2017-12-27 18:56:35 +01:00
Tomasz Drwięga
39317136c7 [stable] Backports + HF block update (#7243)
* Reduce max block timestamp drift to 15 seconds (#7240)

* reduce max block timestamp drift to 15 seconds

* add test for block timestamp validation within allowed drift

* Update kovan HF block number.
2017-12-11 14:09:46 +01:00
Tomasz Drwięga
f4a496ac8c [stable] Backports + Kovan HF (#7235)
* Merge pull request #7075 from miyao-gmo/feature/estimate_gas_limit

escape inifinite loop in estimte_gas

* Merge pull request #7006 from paritytech/no-uncles

Disable uncles by default

* Maximum uncle count transition (#7196)

* Enable delayed maximum_uncle_count activation.

* Fix tests.

* Defer kovan HF.

* Bump version.

* Kovan HF.

* Update Kovan HF block.

* Fix compilation issues.

* Fix aura test.

* Add missing byzantium builtins.

* Fix tests.

* Bump version for installers.

* Increase allowed time drift to 10s. (#7238)
2017-12-08 13:08:01 +01:00
Robert Habermeier
12940e4ed7
Merge pull request #7047 from paritytech/a5-version-179
Bumb 1.7.9
2017-11-13 21:00:21 +01:00
5chdn
2c2587e44c
Bumb to v1.7.9 2017-11-13 16:50:41 +01:00
GitLab Build Bot
d219ebc9ae [ci skip] js-precompiled 20171112-191643 2017-11-12 19:23:36 +00:00
Marek Kotewicz
412d1cb578
Merge pull request #7017 from paritytech/jg-stable-multisig-no-deploy
[stable] Disallow builtin multisig deploy (only watch)
2017-11-12 20:08:40 +01:00
jacogr
6638b01b46 Disallow builtin multisig deploy (only watch) 2017-11-10 17:25:57 +01:00
arkpar
d5fcf3b8ed
Fixed build 2017-10-25 12:06:04 +02:00
Tomasz Drwięga
6bb3edeb8a [stable] Refactor static context check in CREATE (#6889)
* Refactor static context check in CREATE.

* Fix evm tests.
2017-10-25 11:52:32 +02:00
Arkadiy Paronyan
16c091590f v1.7.8 (#6890) 2017-10-25 11:34:41 +02:00
Arkadiy Paronyan
eb7c648250 [stable] Fix auto-update (#6769)
* v1.7.7

* Updated ethabi to fix auto-update
2017-10-15 11:53:40 +02:00
Arkadiy Paronyan
be23afd1cd Bumped fork block for the auto updater (#6754) 2017-10-14 15:05:52 +02:00
Arkadiy Paronyan
19535333c9 [stable] Fixed modexp gas calculation overflow (#6741) (#6746)
* Fixed modexp gas calculation overflow (#6741)

* v1.7.6
2017-10-13 16:20:27 +02:00
GitLab Build Bot
5a1a7f6f45
js-precompiled 20171012-203250 2017-10-12 23:18:56 +02:00
Nicolas Gotchac
148b20978c Backport stable #6730 - Fixes Badges (#6731)
* Fix badges not showing up

* Always fetch meta data first [badges]
2017-10-12 22:23:06 +02:00
GitLab Build Bot
75b4bea521
js-precompiled 20171012-183503 2017-10-12 21:48:12 +02:00
Jaco Greeff
69f53ffb2b
Backport #6719 & #6725 (#6726)
* Check vouch status on appId in addition to contentHash (#6719)

* Check vouch status on appId in addition to contentHash

* Simplify var expansion

* Merge #6725

* Add updated MethodDecoding from master
2017-10-12 20:26:41 +02:00
arkpar
eee0e6f295
v1.7.5 stabilized 2017-10-12 20:25:29 +02:00
Marek Kotewicz
822fa82056 Merge pull request #6724 from paritytech/backporting
Backport #6694 and #6718
2017-10-12 18:53:01 +02:00
arkpar
83825befea
Fixed RETURNDATA out of bounds check 2017-10-12 18:21:48 +02:00
arkpar
4e93537e45
Prevent going offline when restoring or taking snapshot 2017-10-12 18:16:23 +02:00
arkpar
c0e32bac0e
v1.7.5 2017-10-12 18:11:51 +02:00
GitLab Build Bot
8b459b7bd3 [ci skip] js-precompiled 20171012-142240 2017-10-12 14:28:14 +00:00
Jaco Greeff
51f830e922 Trigger beta js build & release (#6721) 2017-10-12 15:56:11 +02:00
Jaco Greeff
6d0dfa6dab Backport #6710 & #6714 (#6715)
* [ci skip] js-precompiled 20171011-183908

* Fix estimate gas if from is not provided. (#6714)

* Display vouched overlay on dapps (#6710)

* Remove .only

* Add vouch overlays to dapps

* Cleanup address

* Only run where we have a contentHash

* GitLab kickstart
2017-10-11 22:21:12 +02:00
GitLab Build Bot
d30c715134
js-precompiled 20171011-183908 2017-10-11 21:23:12 +02:00
Arkadiy Paronyan
a21db69686 Backporting #6686 and #6691 (#6712)
* v1.7.4

* Fixed potential exp len overflow (#6686)

* Fix warp sync blockers detection
2017-10-11 20:34:36 +02:00
Jaco Greeff
9afd1006ed Backport #6707, #6702 & #6701 (#6713)
* #6707

* Fix default values for address input (#6701)

* #6702

* Remove .only
2017-10-11 20:34:25 +02:00
GitLab Build Bot
d097956ede
js-precompiled 20171009-113503 2017-10-09 16:43:52 +02:00
Arkadiy Paronyan
949d2b7fd0 [beta] Backporting (#6676)
* Fix wallet view (#6597)

* Add safe fail for empty logs

* Filter transactions

* Add more logging

* Fix Wallet Creation and wallet tx list

* Remove logs

* Prevent selecting twice same wallet owner

* Fix tests

* Remove unused props

* Remove unused props

* Disallow pasting recovery phrases on first run (#6602)

* Fix disallowing paste of recovery phrase on first run, ref #6581

* Allow the leader of CATS pasting recovery phrases.

* Updated systemd files for linux (#6592)

Previous version put $BASE directory in root directory.
This version clearly explains how to run as root or as specific user.

Additional configuration:

* send SIGHUP for clean exit,

* restart on fail.

Tested on Ubuntu 16.04.3 LTS with 4.10.0-33-generic x86_64 kernel

* Don't expose port 80 for parity anymore (#6633)
2017-10-09 13:20:28 +02:00
Arkadiy Paronyan
2d4f4bdd61 [beta] Backporting (#6675)
* Required validators >= num owners (#6551)

* Debounce sync status. (#6572)

* Fixed network protocol version negotiation

* Renamed RPC receipt statusCode field to status

* Fixed RETURNDATA size for built-ins
2017-10-09 13:07:57 +02:00
Marek Kotewicz
67bd9a33cf Merge pull request #6661 from paritytech/byzantium-fork-beta
[beta] Byzantium fork block number
2017-10-09 11:26:39 +02:00
GitLab Build Bot
109168b990 [ci skip] js-precompiled 20171006-100509 2017-10-06 10:22:08 +00:00
arkpar
e535174604
Byzantium fork block number 2017-10-06 10:02:22 +02:00
Afri Schoedon
ea6d517a87 Fix refreshing block number on status view (#6610) 2017-10-06 09:11:41 +02:00
Arkadiy Paronyan
965727c5d3 Tweaked block download timeouts (#6595) 2017-10-03 10:06:42 +02:00
Arkadiy Paronyan
083b69ffb1 [beta] Backports (#6563)
* Sync progress and error handling fixes (#6560)

* Fixed receipt serialization and RPC (#6555)

* v1.7.3
2017-09-21 11:42:58 +02:00
Tomasz Drwięga
9f47909edf Fix output from eth_call. (#6538) 2017-09-18 12:09:52 +02:00
Arkadiy Paronyan
be6fe6b005 Ropsten fork (#6532) 2017-09-18 11:12:48 +02:00
Arkadiy Paronyan
bb311e838b [beta] Byzantium updates (#6529)
* fix modexp bug: return 0 if base=0 (#6424)

* Running state test using parity-evm (#6355)

* Initial version of state tests.

* Refactor state to support tracing.

* Unify TransactResult.

* Add test.

* Byzantium updates
2017-09-16 12:21:35 +02:00
GitLab Build Bot
d8bf5fc848 [ci skip] js-precompiled 20170915-191610 2017-09-15 19:20:33 +00:00
Tomasz Drwięga
cc562d2c4f Fix extension detection (#6452) (#6524)
* Fix extension detection.

* Fix mobx quirks.

* Update submodule.
2017-09-15 21:08:12 +02:00
GitLab Build Bot
e614203170 [ci skip] js-precompiled 20170915-130655 2017-09-15 13:13:52 +00:00