Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
517 commits
Select commit Hold shift + click to select a range
bbae075
logs (#10817)
seunlanlege Jul 4, 2019
9f96fa0
Extricate PodAccount and state Account to own crates (#10838)
dvdplm Jul 4, 2019
a5a06e4
test: Update Whisper test for invalid pool size (#10811)
ltfschoen Jul 4, 2019
fafb534
Extract AccountDB to account-db (#10839)
dvdplm Jul 4, 2019
de906d4
Improve logging and cleanup in miner around block sealing (#10745)
dvdplm Jul 4, 2019
4bb517e
update jsonrpc to 12.0 (#10841)
ordian Jul 5, 2019
d83798d
Update version to 2.7.0 (#10846)
s3krit Jul 5, 2019
d5584a0
update parking-lot to 0.8 (#10845)
debris Jul 5, 2019
b97bf81
make fn submit_seal more idiomatic (#10843)
debris Jul 5, 2019
86ef490
removed unused trait PrivateNotify and unused Error types (#10847)
debris Jul 5, 2019
a6e96b0
bump crossbeam (#10848)
debris Jul 6, 2019
0a90956
removed unused macros (#10851)
debris Jul 6, 2019
c4c5d79
removed QueueError type (#10852)
debris Jul 6, 2019
fe7bc54
ethcore-builtin (#10850)
debris Jul 7, 2019
141f6a0
EIP-1702: Generalized Account Versioning Scheme (#10771)
sorpaas Jul 8, 2019
88e0cfe
[ethash] use static_assertions crate (#10860)
ordian Jul 8, 2019
d5c19ba
Remove compiler warning (#10865)
grbIzl Jul 8, 2019
44cc442
Move more code into state-account (#10840)
dvdplm Jul 8, 2019
073d242
Fix fork choice (#10837)
ngotchac Jul 8, 2019
0f33717
Extract state-db from ethcore (#10858)
dvdplm Jul 8, 2019
fdc7b0f
removed redundant fork choice abstraction (#10849)
debris Jul 9, 2019
f53c3e5
Run cargo fix on a few of the worst offenders (#10854)
dvdplm Jul 9, 2019
34cdeac
Move the substate module into ethcore/executive (#10867)
debris Jul 10, 2019
d850eb0
Docker images renaming (#10863)
TriplEight Jul 11, 2019
5a13117
[ethash] remove mem::uninitialized (#10861)
ordian Jul 12, 2019
cfe826f
whisper is no longer a part of parity-ethereum repo (#10855)
debris Jul 12, 2019
5baa7e8
Update README.md and Changelogs (#10866)
s3krit Jul 12, 2019
14e7641
Move DatabaseExtras back to trace (#10868)
dvdplm Jul 14, 2019
e3665ed
simplify create_address_scheme (#10890)
debris Jul 16, 2019
27d1c2d
rename is_pruned to is_prunable (#10888)
debris Jul 16, 2019
c62e97d
TransactionQueue::import accepts iterator (#10889)
debris Jul 16, 2019
7f707fa
return block nonce when engine is clique (#10892)
debris Jul 16, 2019
1ef9d5b
Move more types out of ethcore (#10880)
dvdplm Jul 18, 2019
fa1f81b
cleanup ethcore ethereum module (#10899)
debris Jul 18, 2019
acb1243
Avast whitelist script (#10900)
s3krit Jul 21, 2019
d1b28bf
remove verify_transaction_unordered from engine (#10891)
debris Jul 21, 2019
cc796a2
Add file path to disk map write/read warnings (#10911)
VladLupashevskyi Jul 24, 2019
8099efe
Fixes incorrect comment. (#10913)
Jul 24, 2019
27786f0
[Cargo.lock] cargo update -p crossbeam-epoch (#10921)
ordian Jul 29, 2019
ee9bfac
additional arithmetic EVM opcode benchmarks (#10916)
vkomenda Jul 29, 2019
ec90fc4
Kaspersky AV whitelisting (#10919)
s3krit Jul 29, 2019
12256a1
simplify BlockReward::reward implementation (#10906)
debris Jul 30, 2019
6c7d0fe
get rid of hidden mutability of Spec (#10904)
debris Jul 30, 2019
8e0c522
Change the return type of step_inner function. (#10940)
Aug 5, 2019
5de32a7
Updated security@parity.io key (#10939)
Aug 5, 2019
1503348
Fix some warnings and typos. (#10941)
afck Aug 6, 2019
13ccb9f
Enable sealing when engine is ready (#10938)
grbIzl Aug 6, 2019
7227985
Allow default block parameter to be blockHash (#10932)
seunlanlege Aug 6, 2019
4695452
journaldb changes (#10929)
debris Aug 6, 2019
c689495
refactor: Refactor evmbin CLI (#10742)
ltfschoen Aug 7, 2019
45978bc
unify loading spec && further spec cleanups (#10948)
debris Aug 7, 2019
49f2194
Fix compiler warnings in util/io and upgrade to edition 2018 Upgrade …
dvdplm Aug 8, 2019
cafdfa8
[evmbin] add more tests to main.rs (#10956)
ordian Aug 9, 2019
ffc066e
Add support for Energy Web Foundation's new chains (#10957)
ngyam Aug 12, 2019
509fda7
removed redundant state_root function from spec, improve spec error t…
debris Aug 12, 2019
73f4564
Extract Machine from ethcore (#10949)
dvdplm Aug 13, 2019
e551122
Disable unsyncable expanse chain (#10926)
Aug 13, 2019
bd2e4f9
tx-pool: accept local tx with higher gas price when pool full (#10901)
ascjones Aug 13, 2019
a23f5b8
Fix ethcore/benches build. (#10964)
afck Aug 13, 2019
e50eafe
[blooms-db] Fix benchmarks (#10974)
dvdplm Aug 15, 2019
5807402
Update to latest trie version. (#10972)
cheme Aug 15, 2019
ef47426
[evmbin] fix compilation (#10976)
dvdplm Aug 15, 2019
fd75491
Verify transaction against its block during import (#10954)
grbIzl Aug 15, 2019
abb2a8c
[.gitlab.yml] cargo check ethcore benches (#10965)
ordian Aug 15, 2019
1ba4df0
Better error message for rpc gas price errors (#10931)
seunlanlege Aug 15, 2019
6a9de9b
Extract the Engine trait (#10958)
dvdplm Aug 15, 2019
bd1a578
manual publish jobs for releases, no changes for nightlies (#10977)
TriplEight Aug 16, 2019
66e4410
Private contract migration and offchain state sync (#10748)
grbIzl Aug 16, 2019
0a654af
Fix rlp decode for inline trie nodes. (#10980)
cheme Aug 19, 2019
175051b
Add a 2/3 quorum option to Authority Round. (#10909)
afck Aug 21, 2019
efb390e
Configuration map of block reward contract addresses (#10875)
vkomenda Aug 22, 2019
2af3140
Extract engines to own crates (#10966)
dvdplm Aug 22, 2019
79b671f
EIP 2028: transaction gas lowered from 68 to 16 (#10987)
dvdplm Aug 23, 2019
fbf425c
Extract spec to own crate (#10978)
dvdplm Aug 23, 2019
b1e3aca
[ipfs] Convert to edition 2018 (#10979)
dvdplm Aug 26, 2019
505e284
Fix compilation on recent nightlies (#10991)
dvdplm Aug 27, 2019
dab2a6b
fix compile warnings (#10993)
niklasad1 Aug 27, 2019
974b245
bump spin to 0.5.2 (#10996)
niklasad1 Aug 27, 2019
cd26526
Make ClientIoMessage generic over the Client (#10981)
dvdplm Aug 28, 2019
5ce249a
EIP-1344 Add CHAINID op-code (#10983)
dvdplm Aug 28, 2019
4f12d7a
[trace] check mem diff within range (#11002)
ordian Aug 28, 2019
3420c2b
xDai chain support and nodes list update (#10989)
phahulin Aug 29, 2019
dabfa2c
EIP 1884 Re-pricing of trie-size dependent operations (#10992)
dvdplm Aug 29, 2019
00124b5
Implement EIP-1283 reenable transition, EIP-1706 and EIP-2200 (#10191)
sorpaas Aug 29, 2019
05f9606
Fix deadlock in `network-devp2p` (#11013)
AtkinsChang Sep 2, 2019
a9cb572
EIP 1108: Reduce alt_bn128 precompile gas costs (#11008)
niklasad1 Sep 2, 2019
396ccdb
Edit publish-onchain.sh to use https (#11016)
s3krit Sep 3, 2019
d193ddd
Extract snapshot to own crate (#11010)
dvdplm Sep 3, 2019
8c28612
[private-tx] remove unused rand (#11024)
niklasad1 Sep 5, 2019
11d3cb3
cli: update usage and version headers (#10924)
soc1c Sep 5, 2019
44c00b1
[trace] introduce trace failed to Ext (#11019)
ordian Sep 5, 2019
a89bbfe
Fix block detail updating (#11015)
AtkinsChang Sep 5, 2019
680807e
Convert `std::test` benchmarks to use Criterion (#10999)
tobz1000 Sep 5, 2019
a4969ca
fix: remove needless use of itertools (#11029)
niklasad1 Sep 8, 2019
53e590f
fix: remove unused error-chain (#11028)
niklasad1 Sep 9, 2019
80f0e4b
Add new line after writing block to hex file. (#10984)
seunlanlege Sep 9, 2019
d8d7abc
Add blake2_f precompile (#11017)
dvdplm Sep 9, 2019
feb87c9
[json-spec] make blake2 pricing spec more readable (#11034)
ordian Sep 10, 2019
fc9a293
[spec] add istanbul test spec (#11033)
ordian Sep 10, 2019
d311beb
cleanup json crate (#11027)
niklasad1 Sep 10, 2019
48629c2
Move snapshot related traits to their proper place (#11012)
dvdplm Sep 10, 2019
f4d14e2
Benchmarks for block verification (#11035)
dvdplm Sep 11, 2019
240ef46
[ethcore]: make it compile without `test-helpers` feature (#11036)
niklasad1 Sep 11, 2019
5e2def1
Fix parallel transactions race-condition (#10995)
ngotchac Sep 11, 2019
ad9a53f
add more tx tests (#11038)
ordian Sep 12, 2019
eb81168
[ethcore]: cleanup dependencies (#11043)
niklasad1 Sep 12, 2019
0bd2348
Include test-helpers from ethjson (#11045)
dvdplm Sep 13, 2019
a665116
ethcore: remove `test-helper feat` from build (#11047)
niklasad1 Sep 13, 2019
0659cb8
cargo update -p eth-secp256k1 (#11052)
ordian Sep 13, 2019
61a7c30
Update hardcoded headers (foundation, classic, kovan, xdai, ewc, ...…
Sep 16, 2019
bceb1d5
[evmbin] fix time formatting (#11060)
ordian Sep 16, 2019
0051c26
[ethcore]: reduce re-exports (#11059)
niklasad1 Sep 16, 2019
acad59b
[sync]: remove unused dependencies or make dev (#11061)
niklasad1 Sep 16, 2019
b6415c6
[ethcore]: move client test types to test-helpers (#11062)
niklasad1 Sep 17, 2019
19184e8
[sync]: rust 2018 (#11067)
niklasad1 Sep 19, 2019
2627288
ethcore/res: activate Istanbul on Ropsten, Görli, Rinkeby, Kovan (#11…
soc1c Sep 20, 2019
fc22c58
[ethash] remove manual unrolling (#11069)
ordian Sep 24, 2019
7f5ac8b
fix(network): typo (#11088)
NamsooCho Sep 25, 2019
d9201aa
Update JSON tests to d4f86ecf4aa7c (#11054)
dvdplm Sep 25, 2019
7c5fd04
[client]: Fix for incorrectly dropped consensus messages (#11082) (#1…
dforsten Sep 25, 2019
2b8b885
Update `kvdb`, `kvdb-rocksdb` and `h2` (#11091)
dvdplm Sep 27, 2019
4979c62
[CI] check evmbin build (#11096)
ordian Sep 27, 2019
8471b91
Correct EIP-712 encoding (#11092)
seunlanlege Sep 30, 2019
1b1b44b
use images from our registry (#11105)
TriplEight Oct 1, 2019
fcd042a
Update to latest jsonrpc (#11111)
dvdplm Oct 2, 2019
d243b15
[spec] fix rinkeby spec (#11108)
ordian Oct 2, 2019
ad633de
Fix deprecated trait objects without an explicit `dyn` (#11112)
zzau13 Oct 2, 2019
f24bff5
SIMD Implementation for EIP-152 (#11056)
seunlanlege Oct 2, 2019
0bd2979
Switching sccache from local to Redis (#10971)
General-Beck Oct 2, 2019
0c0f965
Refactor return type of `BlockChainClient::code` #7098 (#11102)
zzau13 Oct 3, 2019
79a17de
Deduplicate registrar contract & calling logic (#11110)
tobz1000 Oct 3, 2019
acc5bdf
move StateResult to `common-types` (#11121)
zzau13 Oct 3, 2019
ca32907
EIP-712: bump version in prep for publishing (#11106)
dvdplm Oct 3, 2019
79aeb95
Make EIP712Domain Fields Optional (#11103)
ptescher Oct 3, 2019
4fd1ec6
Refactor parity_listStorageKeys with count parameter optional (#11124)
zzau13 Oct 4, 2019
b31bff5
Fix some random typos, formatting/whitespace (#11128)
dvdplm Oct 4, 2019
63c7ae9
ServiceTransactionChecker::refresh_cache: allow registrar unavailable…
tobz1000 Oct 7, 2019
35513b1
[json]: add docs to `hardfork specification` (#11138)
niklasad1 Oct 7, 2019
f48780c
Update ethereum types to 0.8.0 version (#11139)
grbIzl Oct 8, 2019
11c447d
Fix sccache statistics (#11145)
General-Beck Oct 8, 2019
a404dd5
Use TryFrom instead of From+panic for Builtin (#11140)
rokob Oct 9, 2019
93fbbb9
RPC method for clearing the engine signer (#10920)
vkomenda Oct 9, 2019
330cdc1
Secret store: fix Instant::now() related race in net_keep_alive (#11155)
svyatonik Oct 10, 2019
9d313e3
Upgrade to jsonrpc v14 (#11151)
dvdplm Oct 10, 2019
4f25d43
[keccak-hasher]: rust2018 (#11163)
niklasad1 Oct 10, 2019
f3015ce
Cleanup stratum a bit (#11161)
dvdplm Oct 11, 2019
aefa8d5
Change how RPCs eth_call and eth_estimateGas handle "Pending" (#11127)
dvdplm Oct 11, 2019
f59ed47
Aura: Report malice on sibling blocks from the same validator (#11160)
afck Oct 14, 2019
6b57429
ethcore client: fix a double Read Lock bug in fn Client::logs() (#11172)
Oct 16, 2019
f99819d
util Host: fix a double Read Lock bug in fn Host::session_readable() …
Oct 17, 2019
9c8b7c2
[ethash] chainspec validate `ecip1017EraRounds` non-zero (#11123)
niklasad1 Oct 17, 2019
ff697b6
TxPermissions ver 3: gas price & data (#11170)
afck Oct 18, 2019
3696f68
[ethcore/builtin]: do not panic in blake2pricer on short input (#11180)
ordian Oct 18, 2019
2d2513b
[dependencies] bump rand 0.7 (#11022)
niklasad1 Oct 18, 2019
c8b4373
[receipt]: add `sender` & `receiver` to `RichReceipts` (#11179)
niklasad1 Oct 18, 2019
6960d35
[dependencies]: jsonrpc `14.0.1` (#11183)
niklasad1 Oct 19, 2019
20bd1fa
Remove unused macro_use. (#11191)
afck Oct 22, 2019
81ca599
Made ecrecover implementation trait public (#11188)
tolbrino Oct 22, 2019
834585d
Crypto primitives removed from ethkey (#11174)
grbIzl Oct 23, 2019
acf7c48
Type annotation for next_key() matching of json filter options (#11192)
lamafab Oct 23, 2019
ffeaee7
Pause pruning while snapshotting (#11178)
dvdplm Oct 24, 2019
c4ca84c
[export hardcoded sync]: use debug for `H256` (#11204)
niklasad1 Oct 25, 2019
2c97bcc
Upgrade jsonrpc to latest (#11206)
dvdplm Oct 26, 2019
e0e79fd
Step duration map configuration parameter ported from the POA Network…
vkomenda Oct 28, 2019
293e06e
[informant]: `MillisecondDuration` -> `as_millis()` (#11211)
niklasad1 Oct 28, 2019
0d3423c
Use a lock instead of atomics for snapshot Progress (#11197)
dvdplm Oct 28, 2019
6993ec9
Use provided usd-per-eth value if an endpoint is specified (#11209)
rakanalh Oct 29, 2019
29c364b
Update bootnodes. (#11203)
ethernomad Oct 29, 2019
f743829
retry on gitlab system failures (#11222)
TriplEight Oct 30, 2019
6b17e32
Fix docker centos build (#11226)
luosprz Oct 31, 2019
8c2199d
Snapshot restoration overhaul (#11219)
dvdplm Oct 31, 2019
80754c3
Insert explicit warning into the panic hook (#11225)
grbIzl Oct 31, 2019
13729a0
[builtin]: support `multiple prices and activations` in chain spec (#…
niklasad1 Oct 31, 2019
43dc9af
[chain specs]: activate `Istanbul` on mainnet (#11228)
niklasad1 Nov 1, 2019
1b4d23f
ethcore/res: add mordor testnet configuration (#11200)
soc1c Nov 2, 2019
5fdf6be
Update list of bootnodes for xDai chain (#11236)
phahulin Nov 5, 2019
8adde60
ropsten #6631425 foundation #8798209 (#11201)
Tbaut Nov 5, 2019
887aa62
Make InstantSeal Instant again (#11186)
seunlanlege Nov 10, 2019
9d55f0b
update ropsten forkCanonHash, forkBlock (#11247)
Nov 11, 2019
db1ea1d
simplify verification (#11249)
debris Nov 12, 2019
e194a2c
Fix misc compile warnings (#11258)
dvdplm Nov 13, 2019
eb565a7
Add a benchmark for snapshot::account::to_fat_rlps() (#11185)
dvdplm Nov 15, 2019
93f700d
Return Ok(None) when the registrar contract returns empty slice (#11257)
dvdplm Nov 15, 2019
82c3265
Ensure jsonrpc threading settings are sane (#11267)
dvdplm Nov 18, 2019
e0091c6
removed redundant VMType enum with one variant (#11266)
debris Nov 20, 2019
ee01612
Clarify what first_block `None` means (#11269)
dvdplm Nov 20, 2019
c7219aa
Upgrade trie-db to 0.16.0. (#11274)
jimpo Nov 21, 2019
df1c5ac
ethcore: fix rlp deprecation warnings (#11280)
ordian Nov 21, 2019
1986c4e
fixed verify_uncles error type (#11276)
debris Nov 22, 2019
6e34ee6
Don't prune ancient state when instantiating a Client (#11270)
dvdplm Nov 22, 2019
1b0948d
Update lib.rs (#11286)
deke997 Nov 25, 2019
dcb69ba
[ethcore]: apply filter when `PendingSet::AlwaysQueue` in `ready_tran…
niklasad1 Nov 25, 2019
cf2cb58
Istanbul HF on POA Sokol (#11282)
varasev Nov 25, 2019
a016dc5
interruptible test and build jobs (#11294)
TriplEight Dec 2, 2019
71f4f61
upgrade vergen to 3.0 (#11293)
ordian Dec 2, 2019
4c3be46
Add benchmarks and tests for RlpNodeCodec decoding (#11287)
dvdplm Dec 3, 2019
f2f4217
add support for evan.network chains (#11289)
Dec 3, 2019
2895e3b
Treat only blocks in queue as synced (#11264)
grbIzl Dec 3, 2019
f6c3d4c
Use upstream rocksdb (#11248)
dvdplm Dec 3, 2019
80a83c9
only add transactions to signing-queue if it is enabled (#11272)
seunlanlege Dec 5, 2019
cfe5763
[chainspec]: add `eip1344_transition` for istanbul (#11301)
niklasad1 Dec 5, 2019
36c917e
validate-chainspecs: check istanbul eips are in the foundation spec (…
ordian Dec 6, 2019
a6350c6
Add check for deserialising hex values over U256 limit (#11309)
lewisbelcher Dec 6, 2019
64295fd
Adds support for ipc socket permissions (#11273)
seunlanlege Dec 6, 2019
07e3a7f
Istanbul activation on POA Core (#11298)
varasev Dec 9, 2019
4c6b282
Istanbul activation on xDai (#11299)
varasev Dec 9, 2019
f1f6493
Fix atomicity violation in network-devp2p (#11277)
Dec 10, 2019
4fa78e0
Enable EIP-2384 for ice age hard fork (#11281)
sorpaas Dec 11, 2019
ae74e8d
[secretstore] migrate to version 4 (#11322)
ordian Dec 12, 2019
6e76be7
ethcore/res: activate agharta on classic 9573000 (#11331)
soc1c Dec 13, 2019
6353586
remove null signatures (#11335)
ordian Dec 13, 2019
fd29926
tx-q: enable basic verification of local transactions (#11332)
ordian Dec 13, 2019
f6909d8
ethcore/res: activate ecip-1061 on kotti and mordor (#11338)
soc1c Dec 16, 2019
2b1d148
Add randomness contract support to AuthorityRound. (#10946)
afck Dec 17, 2019
e14d68e
Add Nat PMP method to P2P module (#11210)
NamsooCho Dec 19, 2019
f8f2224
update autoupdate fork blocks for nightly (#11308)
Dec 19, 2019
860ef19
we do not profit from incremental now (#11302)
TriplEight Dec 19, 2019
b9f9d11
Update to latest `kvdb-*`: no default column, DBValue is Vec (#11312)
dvdplm Dec 20, 2019
2808946
Replace stale boot nodes with latest list (#11351)
majordutch Dec 30, 2019
9d8e6ee
[util/migration]: remove needless `static` bounds (#11348)
niklasad1 Dec 30, 2019
23a23e7
Fix error message typo (#11363)
macsj200 Jan 2, 2020
5bd6b20
Forward-port #11356 (#11359)
dvdplm Jan 6, 2020
424b38a
Encapsulate access to the client for secret store (#11232)
grbIzl Jan 7, 2020
b8d9b6f
Rip out the C and Java bindings (#11346)
Demi-Marie Jan 7, 2020
b6afc81
Fix esoteric test config variable (#11292)
meowsbits Jan 10, 2020
e95bbe3
fix cargo audit (#11378)
ordian Jan 10, 2020
87e1080
[Trace] Distinguish between `create` and `create2` (#11311)
fleupold Jan 13, 2020
73354d8
Set the block gas limit to the value returned by a contract call (#10…
vkomenda Jan 13, 2020
ea8e7fc
authority_round: Fix next_step_time_duration. (#11379)
afck Jan 13, 2020
d8a0d38
Fix Aztlan hard fork issues (#11347)
sorpaas Jan 13, 2020
a921408
miner: fix deprecation warning Error::description (#11380)
niklasad1 Jan 14, 2020
713fc9f
Update CHANGELOGs and version
s3krit Jan 15, 2020
46f995c
temporarily allow darwin and windows to be built on any branch
s3krit Jan 16, 2020
f22326e
Update copyright notice 2020 (#11386)
s3krit Jan 17, 2020
9e28241
Revert "temporarily allow darwin and windows to be built on any branch"
s3krit Jan 20, 2020
5923146
Switching to stable-track (#11377)
General-Beck Jan 22, 2020
c253e1f
ethcore/res: fix ethereum classic chainspec blake2_f activation block…
q9f Jan 20, 2020
1b37870
json-tests: Fix compile error (#11384)
ackintosh Jan 16, 2020
90fccf9
Add EtherCore support (#11402)
EtherCoreAdmin Jan 25, 2020
d688869
Update ProgPoW to 0.9.3 (#11407)
EtherCoreAdmin Jan 24, 2020
fabec3e
Update POA bootnodes (#11411)
varasev Jan 27, 2020
748eda2
update CHANGELOG.md
s3krit Jan 27, 2020
aa0a703
update hardcoded headers: mainnet and ropsten (#11414) (#11418)
s3krit Jan 28, 2020
6885be0
[release] v2.7.1 (#11430)
dvdplm Jan 30, 2020
d961010
V2.7.2 stable (#11454)
s3krit Feb 5, 2020
2662d19
[eth classic chainspec]: remove `balance = 1` (#11458)
niklasad1 Feb 6, 2020
318d306
update CHANGELOG.md (#11460)
s3krit Feb 6, 2020
41aee5a
update Dockerfile (#11461) (#11462)
s3krit Feb 6, 2020
4340d57
Merge branch 'stable' into bv-UPDATE-release
mexskican Jan 14, 2023
659a4b0
Skip CI test job
mexskican Jan 14, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
30 changes: 23 additions & 7 deletions .cargo/config
Original file line number Diff line number Diff line change
@@ -1,11 +1,27 @@
# NOTE: if you make changes here, remember to also update:
# scripts/test-linux.sh
# scripts/build-linux.sh
# scripts/build-windows.sh

# Using 'cfg` is broken, see https://github.com/rust-lang/cargo/issues/6858
#[target.'cfg(target_arch = "x86_64")']
#rustflags = ["-Ctarget-feature=+aes,+sse2,+ssse3"]

# …so instead we list all target triples (Tier 1 64-bit platforms)
[target.x86_64-unknown-linux-gnu]
# Enables the aes-ni instructions for RustCrypto dependency.
rustflags = ["-Ctarget-feature=+aes,+sse2,+ssse3"]

[target.x86_64-pc-windows-gnu]
# Enables the aes-ni instructions for RustCrypto dependency.
rustflags = ["-Ctarget-feature=+aes,+sse2,+ssse3"]

[target.x86_64-pc-windows-msvc]
# Enables the aes-ni instructions for RustCrypto dependency.
# Link the C runtime statically ; https://github.com/paritytech/parity-ethereum/issues/6643
rustflags = ["-Ctarget-feature=+crt-static"]
rustflags = ["-Ctarget-feature=+aes,+sse2,+ssse3", "-Ctarget-feature=+crt-static"]

[net]
git-fetch-with-cli = false
[target.x86_64-apple-darwin]
# Enables the aes-ni instructions for RustCrypto dependency.
rustflags = ["-Ctarget-feature=+aes,+sse2,+ssse3"]

[registries]
default = "crates-io"
chronicled-platform-v2 = { index = "https://dl.cloudsmith.io/ItqwH3F8rYFNB5vv/chronicled/platform-v2/cargo/index.git" }
crates-io = { index = "https://github.com/rust-lang/crates.io-index" }
4 changes: 1 addition & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,7 @@ workflows:
blockchain-interface-workflow:
jobs:
- test
- image:
requires:
- test
- image
- system_tests:
requires:
- image
6 changes: 5 additions & 1 deletion .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
_Before filing a new issue, please **provide the following information**._

_If you think that your issue is an exploitable security vulnerability, please mail your bugreport to security@parity.io instead; your submission might be eligible for our Bug Bounty._
_You can find mode info on the reporting process in [SECURITY.md](https://github.com/paritytech/parity-ethereum/blob/master/SECURITY.md)_


- **Parity Ethereum version**: 0.0.0
- **Operating system**: Windows / MacOS / Linux
- **Installation**: homebrew / one-line installer / built from source
- **Fully synchronized**: no / yes
- **Network**: ethereum / ropsten / kovan / ...
- **Network**: ethereum / ropsten / goerli / ...
- **Restarted**: no / yes

_Your issue description goes here below. Try to include **actual** vs. **expected behavior** and **steps to reproduce** the issue._
Expand Down
21 changes: 21 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
Thank you for your Pull Request!

Before you submitting, please check that:

- [ ] You added a brief description of the PR, e.g.:
- What does it do?
- What important points reviewers should know?
- Is there something left for follow-up PRs?
- [ ] You labeled the PR with appropriate labels if you have permissions to do so.
- [ ] You mentioned a related issue if this PR related to it, e.g. `Fixes #228` or `Related #1337`.
- [ ] You asked any particular reviewers to review. If you aren't sure, start with GH suggestions.
- [ ] Your PR adheres [the style guide](https://wiki.parity.io/Coding-guide)
- In particular, mind the maximal line length.
- There is no commented code checked in unless necessary.
- Any panickers have a proof or removed.
- [ ] You updated any rustdocs which may have changed

After you've read this notice feel free to remove it.
Thank you!

✄ -----------------------------------------------------------------------------
92 changes: 38 additions & 54 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,21 @@ stages:
- publish
- optional

image: parity/parity-ci-linux:latest
image: ${REGISTRY}/parity-ci-linux:latest

variables:
GIT_STRATEGY: fetch
GIT_SUBMODULE_STRATEGY: recursive
GIT_DEPTH: 3
CI_SERVER_NAME: "GitLab CI"
CARGO_HOME: "/ci-cache/${CI_PROJECT_NAME}/cargo/${CI_JOB_NAME}"
SCCACHE_DIR: "/ci-cache/${CI_PROJECT_NAME}/sccache"
CARGO_TARGET: x86_64-unknown-linux-gnu

CARGO_INCREMENTAL: 0
REGISTRY: registry.parity.io/parity/infrastructure/scripts

.releaseable_branches: # list of git refs for building GitLab artifacts (think "pre-release binaries")
only: &releaseable_branches
- stable
- beta
- tags
- schedules

Expand All @@ -31,28 +32,17 @@ variables:
- tools/

.docker-cache-status: &docker-cache-status
variables:
CARGO_HOME: "/ci-cache/parity-ethereum/cargo/${CI_JOB_NAME}"
dependencies: []
interruptible: true
before_script:
- rustup show
- cargo --version
- SCCACHE_ERROR_LOG=/builds/parity/parity-ethereum/sccache_debug.log
RUST_LOG=sccache=debug
sccache --start-server
- sccache -s
after_script:
# sccache debug info
- if test -e sccache_debug.log;
then
echo "_____All crate-types:_____";
grep 'parse_arguments.*--crate-type' sccache_debug.log | sed -re 's/.*"--crate-type", "([^"]+)".*/\1/' | sort | uniq -c;
echo "_____Non-cacheable reasons:_____";
grep CannotCache sccache_debug.log | sed -re 's/.*CannotCache\((.+)\).*/\1/' | sort | uniq -c;
else
echo "_____No logs from sccache_____";
exit 0;
fi
retry:
max: 2
when:
- runner_system_failure
- unknown_failure
- api_failure
tags:
- linux-docker

Expand All @@ -62,7 +52,6 @@ variables:
<<: *collect_artifacts
script:
- scripts/gitlab/build-linux.sh
- sccache -s
after_script:
- mkdir -p tools
- cp -r scripts/docker/hub/* ./tools
Expand All @@ -80,21 +69,35 @@ cargo-check 0 3:
<<: *docker-cache-status
script:
- time cargo check --target $CARGO_TARGET --locked --no-default-features --verbose --color=always
- sccache -s
- sccache --show-stats

cargo-check 1 3:
stage: test
<<: *docker-cache-status
script:
- time cargo check --target $CARGO_TARGET --locked --manifest-path util/io/Cargo.toml --no-default-features --verbose --color=always
- sccache -s
- sccache --show-stats

cargo-check 2 3:
stage: test
<<: *docker-cache-status
script:
- time cargo check --target $CARGO_TARGET --locked --manifest-path util/io/Cargo.toml --features "mio" --verbose --color=always
- sccache -s
- sccache --show-stats

cargo-check-evmbin:
stage: test
<<: *docker-cache-status
script:
- time cargo check -p evmbin --target $CARGO_TARGET --locked --verbose --color=always
- sccache --show-stats

cargo-check-benches:
stage: test
<<: *docker-cache-status
script:
- time cargo check --all --benches --target $CARGO_TARGET --locked --verbose --color=always
- sccache --show-stats

cargo-audit:
stage: test
Expand All @@ -108,67 +111,50 @@ validate-chainspecs:
<<: *docker-cache-status
script:
- ./scripts/gitlab/validate-chainspecs.sh
- sccache -s

test-cpp:
stage: build
<<: *docker-cache-status
script:
- ./scripts/gitlab/test-cpp.sh
- sccache -s

test-linux:
stage: build
<<: *docker-cache-status
script:
- ./scripts/gitlab/test-linux.sh stable
- sccache -s

test-linux-beta:
stage: build
only: *releaseable_branches
<<: *docker-cache-status
script:
- ./scripts/gitlab/test-linux.sh beta
- sccache -s

test-linux-nightly:
stage: build
only: *releaseable_branches
<<: *docker-cache-status
script:
- ./scripts/gitlab/test-linux.sh nightly
- sccache -s
allow_failure: true

build-android:
<<: *build-on-linux
image: parity/parity-ci-android:stretch
variables:
CARGO_TARGET: armv7-linux-androideabi

build-linux:
<<: *build-on-linux
# only: *releaseable_branches
only: *releaseable_branches

build-linux-i386:
<<: *build-on-linux
only: *releaseable_branches
image: parity/parity-ci-i386:latest
image: ${REGISTRY}/parity-ci-i386:latest
variables:
CARGO_TARGET: i686-unknown-linux-gnu

build-linux-arm64:
<<: *build-on-linux
only: *releaseable_branches
image: parity/parity-ci-arm64:latest
image: ${REGISTRY}/parity-ci-arm64:latest
variables:
CARGO_TARGET: aarch64-unknown-linux-gnu

build-linux-armhf:
<<: *build-on-linux
only: *releaseable_branches
image: parity/parity-ci-armhf:latest
image: ${REGISTRY}/parity-ci-armhf:latest
variables:
CARGO_TARGET: armv7-unknown-linux-gnueabihf

Expand All @@ -179,8 +165,6 @@ build-darwin:
variables:
CARGO_TARGET: x86_64-apple-darwin
CARGO_HOME: "${CI_PROJECT_DIR}/.cargo"
CC: gcc
CXX: g++
script:
- scripts/gitlab/build-linux.sh
tags:
Expand Down Expand Up @@ -219,7 +203,7 @@ publish-docker:
DOCKER_DRIVER: overlay2
GIT_STRATEGY: none
# DOCKERFILE: tools/Dockerfile
# CONTAINER_IMAGE: parity/parity
# CONTAINER_IMAGE: parity/parity
script:
- ./tools/publish-docker.sh
tags:
Expand Down Expand Up @@ -307,7 +291,7 @@ publish-onchain-manually:
when: manual

publish-release-awss3-nightly: &publish-release-awss3
image: parity/awscli:latest
image: ${REGISTRY}/awscli:latest
stage: publish
only:
- nightly
Expand All @@ -321,7 +305,7 @@ publish-release-awss3-nightly: &publish-release-awss3
script:
- echo "__________Push binaries to AWS S3____________"
- case "${SCHEDULE_TAG:-${CI_COMMIT_REF_NAME}}" in
(beta|stable|nightly)
(stable|nightly)
export BUCKET=releases.parity.io/ethereum;
;;
(*)
Expand All @@ -335,13 +319,13 @@ publish-release-awss3-nightly: &publish-release-awss3
- linux-docker

publish-release-awss3-manually:
<<: *publish-release-awss3
<<: *publish-release-awss3
only: *releaseable_branches
when: manual

publish-docs:
stage: publish
image: parity/parity-ci-docs:latest
image: ${REGISTRY}/parity-ci-docs:latest
only:
- tags
except:
Expand Down
Loading