Marek Kotewicz
d80dd81d77
parity-version pr reopen ( #7136 )
...
* parity-version module split from util
removed unused util deps and features
trigger buildbot again
only kvdb links rocksdb
snappy linker issues
* rm snappy
* fixed old version imports
2017-12-22 09:37:39 -04:00
Marek Kotewicz
7c24d0665e
Merge pull request #7355 from paritytech/td-clippy
...
Get rid of clippy remainings.
2017-12-22 07:09:26 -04:00
Marek Kotewicz
6f516607a1
Merge pull request #7357 from paritytech/unwrap-or
...
Avoid using ok_or with allocated argument
2017-12-22 06:55:37 -04:00
Nicolas Gotchac
276496fb4b
Enable traces for DEV chain ( #6949 ) ( #7327 )
2017-12-22 06:33:17 +03:00
Yurii Rashkovskii
d5b81ead71
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).
2017-12-21 14:59:09 +01:00
NikVolf
516725abe4
ok_or -> ok_or_else
2017-12-21 16:50:58 +03:00
Tomasz Drwięga
00883e477a
Get rid of clippy remainings.
2017-12-21 11:27:26 +01:00
Marek Kotewicz
53dce9ff98
Merge pull request #7222 from ellaismer/ellaism
...
Add Ellaism coin in chain config
2017-12-19 09:34:21 -04:00
Robert Habermeier
8f6f6a068e
detect different node, same-key signing in aura ( #7245 )
...
* detect different node, same-key signing in aura
* reduce scope of warning
2017-12-15 16:29:23 +01:00
André Silva
fcddc7751a
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
2017-12-08 11:43:31 +01:00
Robert Habermeier
3cb4d81eb1
Fix aura difficulty race ( #7198 )
...
* Fix Aura difficulty race
* fix test key
* extract out score calculation
* fix build
2017-12-07 12:17:11 +01:00
Ellaismer
dcf6e1d83d
Add basic Elliasm config
2017-12-06 20:46:24 +08:00
Takehiro Miyao
3284020b04
mistake comment in calc difficulty ( #7154 )
2017-12-05 16:06:04 +01:00
Tomasz Drwięga
7e3872fddc
Maximum uncle count transition ( #7196 )
...
* Enable delayed maximum_uncle_count activation.
* Fix tests.
* Defer kovan HF.
2017-12-05 15:57:45 +01:00
Robert Habermeier
e85c98e09a
Merge pull request #7075 from miyao-gmo/feature/estimate_gas_limit
...
escape inifinite loop in estimte_gas
2017-12-04 15:29:23 +01:00
Takehiro Miyao
ad01f99c44
upper limit is gas limit * 10 in estimate gas
2017-12-01 11:12:11 +00:00
Marek Kotewicz
68db425fe8
Merge pull request #7067 from sorpaas/patch-1
...
ECIP-1039: Monetary policy rounding specification
2017-11-24 15:49:33 +01:00
Wei Tang
8e89be775c
Wrong era used in ECIP1017 test
...
It is era 49, and should correspond to ECIP1017/ECIP1039's era 50.
2017-11-24 20:17:26 +08:00
Wei Tang
bef85fb876
Add test for ECIP1017 at block 250000000
2017-11-24 19:31:48 +08:00
Robert Habermeier
81212c5031
Merge branch 'master' into upload-crates
2017-11-17 16:42:41 +01:00
Wei Tang
b35cc3f716
Change reward calculation to only use divide once
2017-11-16 12:34:04 +08:00
Wei Tang
2ca57d7cdb
ECIP-1039: Monetary policy rounding specification
...
Fix potential rounding errors between geth and parity in the long-term future.
2017-11-16 12:25:05 +08:00
Marek Kotewicz
605cd5cd9f
Merge pull request #7006 from paritytech/no-uncles
...
Disable uncles by default
2017-11-15 23:51:49 +01:00
Robert Habermeier
ec5519ccd1
rename hash crate to keccak-hash
2017-11-10 20:08:28 +01:00
keorn
261c0d5368
no default uncles
2017-11-09 23:56:02 +00:00
Robert Habermeier
acdec22d58
Merge branch 'master' into warn-blacklisted
2017-11-07 16:56:57 +01:00
Arkadiy Paronyan
85465fc0b1
Skip nonce check for gas estimation ( #6997 )
2017-11-07 09:21:30 +01:00
Tomasz Drwięga
ffee6aacff
Creating pending block with all transactions from the queue ( #6942 )
...
* Allow to include all queue transactions in pending block.
* Fix tests.
2017-11-03 15:20:20 +01:00
Dmitry Kashitsyn
713bba00ac
Removes FUTURE_QUEUE_LIMITS_SHIFT ( #6962 )
2017-11-02 15:06:17 +01:00
Nikolay Volf
f72858ee0a
Add hint in ActionParams for splitting code/data ( #6957 )
...
* Action params and embedded params handling
* fix namespaces
2017-11-02 12:49:57 +01:00
Tomasz Drwięga
0a69d5ac4c
Return decoded seal fields. ( #6932 )
2017-11-01 11:29:03 +01:00
Tomasz Drwięga
b861ad37a4
Reserve nonces for signing ( #6834 )
...
* Nonce future - reserve and dispatch
* Single thread nonce tests
* Track status of reserved nonces.
* Initialization of nonce reservations.
* Prospective Signer
* Fix cli tests.
2017-11-01 11:23:18 +01:00
Marek Kotewicz
39e27076ad
Merge pull request #6842 from paritytech/td-evm-json
...
Fix JSON tracing for sub-calls.
2017-10-29 21:47:14 -07:00
Tomasz Drwięga
8dfdebc2a2
Refactor static context check in CREATE. ( #6886 )
...
* Refactor static context check in CREATE.
* Fix wasm.
2017-10-25 11:27:18 +02:00
David Dorgan
bdf1e6afcc
Revert "Sync parity-ewf with parity"
...
This reverts commit f7ba063b22
.
2017-10-24 13:31:58 +01:00
David Dorgan
f7ba063b22
Sync parity-ewf with parity
2017-10-24 12:31:50 +01:00
Tomasz Drwięga
b98150526c
Fix serialization of non-localized transactions ( #6868 )
...
* Fix serialization of non-localized transactions.
* Return proper SignedTransactions representation.
2017-10-24 12:13:00 +02:00
Tomasz Drwięga
1253a5c577
Merge branch 'master' into td-evm-json
2017-10-24 09:16:51 +02:00
Robert Habermeier
dd13526f6c
warn when blacklisted account present in store
2017-10-24 09:04:28 +02:00
Arkadiy Paronyan
097815cb71
Ethstore optimizations ( #6827 )
2017-10-20 20:20:41 +02:00
Tomasz Drwięga
2d222a5920
Capture traces and write some tests.
2017-10-20 16:06:36 +02:00
Tomasz Drwięga
4ac406da6b
Merge branch 'master' into td-evm-json
2017-10-20 13:36:45 +02:00
Dmitry Kashitsyn
153b8572dd
Fixes tests
2017-10-17 22:24:47 +07:00
Tomasz Drwięga
2d10cd0ecc
Fixing JSON WiP. Refactor & Write tests.
2017-10-17 14:54:56 +02:00
Dmitry Kashitsyn
c0fc83988f
Refactors ethcore to use journaldb crate ( #6693 )
2017-10-17 11:46:07 +07:00
debris
3830f9b464
fixed failing test
2017-10-16 22:12:17 +02:00
debris
95f0384510
Merge branch 'master' into ipc_cleanup
2017-10-16 18:19:41 +02:00
Marek Kotewicz
bb1be15dc4
Merge pull request #6792 from paritytech/kvdb_error
...
consistent KeyValueDB errors
2017-10-16 18:19:18 +02:00
debris
16d84f8ecf
finished removing ipc
2017-10-16 18:18:43 +02:00
debris
fa019bd03e
remove ipc codegen from ethcore
2017-10-16 17:50:25 +02:00