varasev
bec867be03
Activate on-chain randomness in POA Sokol ( #11505 )
2020-02-21 10:40:53 +01:00
David
fa0c1efb8d
Grab bag of cleanup ( #11504 )
...
Formatting, docs, pass TransactOptions instead of tracers.
2020-02-19 16:12:27 +01:00
Artem Vorotnikov
06df521eff
Implement eth/64 (EIP-2364) and drop support for eth/62 ( #11472 )
...
* sync: make code friendlier to future conditional parsing
* Implement eth/64 (EIP-2364) and drop support for eth/62
2020-02-19 14:42:52 +01:00
Niklas Adolfsson
a49950e9c0
[dependencies]: remove util/macros
( #11501 )
...
* [dependencies]: remove `util/macros`
* fix typo: `flish` -> flush`
* [json tests]: add log if `write` or `flush` fails
`write` is performed to `stdout`
`logging` is performed to `stderr`
* [rocksdb-migration]: remove unused `Progress`
* [rpc test]: BTreeMap -> `btreemap!`
2020-02-19 13:07:33 +01:00
Eduardo Antuña Díez
70f08e1549
OpenEthereum bootnodes are added ( #11499 )
2020-02-18 14:57:51 +01:00
Niklas Adolfsson
4e2010f2d9
[ci benches]: use all-features
( #11496 )
...
* [ci benches]: use `all-features`
Our benches are hidden behind feature flags, this PR enables to type check on those.
`--all` is deprecated
* [bench verification]: remove block_family_partial
* [global allocator]: rm `feature=memory_profiling`
The `memory_profiling` feature doesn't work because `parity_util_mem` crate configures it globally.
2020-02-17 12:25:07 +01:00
Niklas Adolfsson
ff78f4318a
[verification]: make test-build compile standalone ( #11495 )
...
This commit makes `cargo test -p verification` work again, by using `common-types` with
the `test-helpers` feature
2020-02-15 23:32:21 +01:00
Andronik Ordian
a4aef98acd
complete null-signatures removal ( #11491 )
...
* complete null-signatures removal
* unsigned transactions are disallowed by the type system
* "fix" verification test
* machine: bring the test back
* machine: simplify the test
2020-02-15 13:26:08 +01:00
David
856a075588
Include the seal when populating the header for a new block ( #11475 )
...
* debug signer
* Don't panic if empty_steps_transition already happened
Before this the `header_empty_steps_raw` would panic if the chain has already progressed beyond the block number set in `emptyStepsTransition`. As this is a user accessible configuration option I don't think we should panic.
* Cleanup some code in Aura
Nothing really interesting here, renames or removes some methods. Adds some docs and extends a test a bit to clarify the behaviour of the code.
* Include the seal when populating the header for a new block (fixes #11445 )
* cleanup
* cleanup2
* Review grumbles
* Update ethcore/engines/authority-round/src/lib.rs
Co-Authored-By: André Silva <andre.beat@gmail.com>
* Update ethcore/engines/authority-round/src/lib.rs
Co-Authored-By: André Silva <andre.beat@gmail.com>
* Update ethcore/src/block.rs
Co-Authored-By: André Silva <andre.beat@gmail.com>
Co-authored-by: André Silva <andre.beat@gmail.com>
2020-02-14 19:01:17 +01:00
Andronik Ordian
ea9322f9c1
fix compilation warnings ( #11492 )
2020-02-14 17:04:19 +01:00
Andronik Ordian
452aeec0bb
cargo update -p cmake ( #11490 )
2020-02-13 16:46:00 +01:00
Andronik Ordian
3424697313
update to published rlp-derive ( #11489 )
2020-02-13 15:34:50 +01:00
Anton Gavrilov
9477bae6dc
Switch usage of Secret Store to the external lib ( #11487 )
2020-02-12 18:37:34 +01:00
Anton Gavrilov
3357cfb3e5
Switch from the internal runtime lib to external one from crates.io ( #11480 )
...
* Parity runtime switched to the version from crates
* Tests fixed
2020-02-11 22:02:25 +01:00
Gregory Markou
6b61ef8aa7
Update params.rs ( #11474 )
2020-02-11 14:49:39 +01:00
Artem Vorotnikov
1a8c0391c5
weak_counts has been stabilized ( #11476 )
2020-02-11 09:41:23 +01:00
Andronik Ordian
c5123e1ecd
sync: remove broken eth_protocol_version method ( #11473 )
...
* sync: fix eth_protocol_version
* sync: remove eth_protocol_version altogether
2020-02-10 21:22:34 +01:00
David
99271db9d3
Use parity-crypto updated to use upstream rust-secp256k1 ( #11406 )
...
* Use parity-crypto updated to use upstream rust-secp256k1
* Fetch dependency from git
* Missed a session ID
* Add free-standing inversion function that uses `libsecp256k1`
* fixed tests
* Update deps
* Use parity-crypto 0.5.0
Use libsecp256k1 0.3.5
* Review grumble
Co-authored-by: Svyatoslav Nikolsky <svyatonik@gmail.com>
2020-02-10 18:29:21 +01:00
David
2c4b51c3ea
Cleanup some code in Aura ( #11466 )
...
* Cleanup some code in Aura
Nothing really interesting here, renames or removes some methods. Adds some docs and extends a test a bit to clarify the behaviour of the code.
* Update ethcore/engines/authority-round/src/lib.rs
Co-Authored-By: Niklas Adolfsson <niklasadolfsson1@gmail.com>
Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com>
2020-02-10 14:26:35 +01:00
Andronik Ordian
654632264b
upgrade some of the dependencies ( #11467 )
...
* bump parity-util-mem and related deps
* upgrade some of the dependencies
* deduplicate static_assertions
2020-02-07 17:23:45 +01:00
Marius Kjærstad
cb7df2053d
Some more release track changes to README.md ( #11465 )
...
Some more release track changes to README.md
2020-02-07 12:37:05 +01:00
Marius Kjærstad
218299969d
Update simple one-line installer due to switching to a single stable release track ( #11463 )
2020-02-07 11:37:30 +01:00
s3krit
77f755bbe1
update Dockerfile ( #11461 )
2020-02-06 18:13:58 +01:00
Artem Vorotnikov
090c3322a5
Implement EIP-2124 ( #11456 )
...
* Implement EIP-2124
* Implement ForkFilter
* ForkId deserialization
* Derive RLP for ForkId
* docs
* comments by @dvdplm
* docs
* clippy
* period
2020-02-06 14:40:19 +01:00
Niklas Adolfsson
06138ec7d3
[eth classic chainspec]: remove balance = 1
( #11459 )
2020-02-06 11:12:42 +01:00
Andronik Ordian
e20d5b639e
just to make sure we don't screw up this again ( #11455 )
2020-02-05 16:18:28 +01:00
Andronik Ordian
626543326d
backwards compatible call_type creation_method ( #11450 )
...
* rlp_derive: update syn & co
* rlp_derive: remove dummy_const
* rlp_derive: remove unused attirubutes
* rlp-derive: change authors
* rlp_derive: add rlp(default) attribute
* Revert "Revert "[Trace] Distinguish between `create` and `create2` (#11311 )" (#11427 )"
This reverts commit 5d4993b0f8
.
* trace: backwards compatible call_type and creation_method
* trace: add rlp backward compatibility tests
* cleanup
* i know, i hate backwards compatibility too
* address review grumbles
2020-02-05 15:30:45 +01:00
Denis S. Soldatov aka General-Beck
7108b3f048
gcc to clang ( #11453 )
...
* gcc to clang
test
```
export CC="sccache "$CC
export CXX="sccache "$CXX
```
darwin build
```
CC=clang
CXX=clang
```
* darwin - > default clang
2020-02-05 13:30:49 +01:00
David
49f338a173
Avoid copies ( #11451 )
...
* Avoid copies
* Unused import
2020-02-04 23:38:05 +01:00
Andronik Ordian
e9fa4d00d2
Cargo.lock: cargo lock translate ( #11448 )
2020-02-04 23:32:58 +01:00
David
cf6fa63f55
Avoid long state queries when serving GetNodeData requests ( #11444 )
...
* Remove dead bootnodes, add new geth bootnodes
* More granular locking when fetching state
Finish GetDataNode requests early if queries take too long
* typo
* Use latest kvdb-rocksdb
* Cleanup
* Update ethcore/sync/src/chain/supplier.rs
Co-Authored-By: Andronik Ordian <write@reusable.software>
* Address review grumbles
* Fix compilation
* Address review grumbles
Co-authored-by: Andronik Ordian <write@reusable.software>
2020-02-04 20:59:16 +01:00
Andronik Ordian
edf59a1394
Cargo.lock: cargo update -p kvdb-rocksdb ( #11447 )
2020-02-04 20:54:29 +01:00
Andronik Ordian
e4a4a3cb55
rlp_derive: cleanup ( #11446 )
...
* rlp_derive: update syn & co
* rlp_derive: remove dummy_const
* rlp_derive: remove unused attirubutes
* rlp-derive: change authors
2020-02-04 17:35:48 +01:00
Niklas Adolfsson
1b96f98296
chore: remove unused dependencies ( #11432 )
...
* fix: compiler warnings
* chore: remove unused dependencies
2020-02-03 23:26:43 +01:00
Andronik Ordian
ccaa514eec
update kvdb-rocksdb to 0.4 ( #11442 )
2020-02-03 19:00:23 +01:00
Tomasz Drwięga
296fac0fe7
Rough architecutre diagram. ( #11396 )
2020-02-03 16:29:27 +01:00
Artem Vorotnikov
3c3c19d37c
ethjson: impl Copy for hash type wrapper ( #11423 )
2020-02-03 16:24:20 +01:00
David
7d9ff1d810
Remove dead bootnodes, add new geth bootnodes ( #11441 )
2020-02-03 14:34:03 +01:00
Martin Holst Swende
9c94dcb8ab
goerli: replace foundation bootnode ( #11433 )
2020-01-31 15:53:02 +01:00
s3krit
9faa823f53
Update publish-docker.sh ( #11428 )
...
Add :latest tag to building stable releases
2020-01-30 16:18:36 +01:00
David
5d4993b0f8
Revert "[Trace] Distinguish between create
and create2
( #11311 )" ( #11427 )
...
This reverts commit 87e1080581
.
2020-01-30 15:21:29 +01:00
Andreas Fackler
bf44f024c6
Add POSDAO transition and malice report queue. ( #11245 )
...
* Add POSDAO transition; call emitInitiateChange.
* Retry failed malice reports.
* Make malice reports with zero gas price.
* Address review comments.
* Extract ReportQueue from ValidatorSafeContract.
* Add shouldValidatorReport to validator set contract.
* Rename queue_report to enqueue_report
* Increment nonce between randomness and POSDAO transactions.
* Refactor the test ValidatorSet contract
* Address review comments, docs
* Update ethcore/res/validator_contract.sol
Co-Authored-By: David <dvdplm@gmail.com>
* Update ethcore/res/validator_contract.sol
Co-Authored-By: David <dvdplm@gmail.com>
Co-authored-by: varasev <33550681+varasev@users.noreply.github.com>
Co-authored-by: David <dvdplm@gmail.com>
2020-01-29 15:08:03 +01:00
s3krit
ceda9d95de
update master/nightly version: v2.8.0 ( #11419 )
2020-01-29 15:07:24 +01:00
/raw PONG _GHMoaCXLT
c7c18d067d
ethcore/res: remove morden testnet ( #11392 )
...
* ethcore/res: remove morden testnet
* ethcore: replace morden by ropsten and null_morden
* json/spec: rename morden test to null morden
* parity/{cli,params}: remove morden testnet
* ethcore/engines: fix tests
* ethcore/engines: fix test
* ethcore/tests: remove `0x` prefix from registrar
Co-Authored-By: Andronik Ordian <write@reusable.software>
* ethcore/chain: fix tests for ropsten
Co-authored-by: Andronik Ordian <write@reusable.software>
2020-01-28 17:24:36 +01:00
Niklas Adolfsson
1113682555
fix: export hardcoded sync format ( #11416 )
...
* fix: export hardcoded sync format
* address grumbles
* make tests compile with rustc_hex 2.0
* fix grumbles: impl LowerHex for encoded Header
2020-01-28 17:08:56 +01:00
Niklas Adolfsson
283d0773fe
update hardcoded headers: mainnet and ropsten ( #11414 )
...
mainnet: #9361409
ropsten: #7202817
2020-01-28 14:43:16 +01:00
Andreas Fackler
e69539357f
AuthorityEngine: Minor cleanups. ( #11408 )
2020-01-27 14:30:42 +01:00
varasev
6ab7789604
Update POA bootnodes ( #11411 )
2020-01-27 12:50:04 +01:00
EtherCore Contributor
33bfcec4ab
Add EtherCore support ( #11402 )
...
* support ethercore mainnet with basic token metrics and ProgPoW support, ecip1017, bomb defuse & istanbul
2020-01-24 23:33:42 -08:00
Niklas Adolfsson
a47a5b1992
verification: fix race same block + misc ( #11400 )
...
* ethcore: fix race in verification
* verification: fix some nits
* verification: refactor err type `Kind::create`
* fix: tests
* address grumbles
* address grumbles: don't panic
2020-01-24 16:51:11 +01:00