Commit Graph

181 Commits

Author SHA1 Message Date
Artem Vorotnikov
32ea4d69a3
Remove IPFS integration () 2020-09-10 05:54:36 +03:00
Artem Vorotnikov
54afb33333
Remove whisper () 2020-09-10 05:53:41 +03:00
Artem Vorotnikov
11fb967c6a
Remove support for hardware wallets () 2020-09-10 05:53:29 +03:00
adria0
82b37bfa0d
Add github actions 2020-08-07 20:47:12 +03:00
Denis S. Soldatov aka General-Beck
9f94473eaf sccache --stop-server -> sccache --show-stats () 2019-11-12 18:23:08 +01:00
Talha Cross
f3cdd7bf21 v2.5.10 stable ()
* ropsten  foundation  ()
* [stable] builtin, istanbul and mordor testnet backports ()
  * ethcore-builtin ()
  * [builtin]: support `multiple prices and activations` in chain spec ()
  * [chain specs]: activate `Istanbul` on mainnet ()
  * ethcore/res: add mordor testnet configuration ()
* Update list of bootnodes for xDai chain ()
* ethcore: remove `test-helper feat` from build ()
* Secret store: fix Instant::now() related race in net_keep_alive () ()
* [stable]: backport  and  ()
  * Fix compiler warning (that will become an error) ()
  * Refactor Clique stepping ()
* Add Constantinople eips to the dev (instant_seal) config ()
* Add cargo-remote dir to .gitignore (?)
* Insert explicit warning into the panic hook ()
* Fix docker centos build ()
* Update MIX bootnodes. ()
* Use provided usd-per-eth value if an endpoint is specified ()
* Add new line after writing block to hex file. ()
* Type annotation for next_key() matching of json filter options () (but no `FilterOption` in 2.5 so…)
* Upgrade jsonrpc to latest ()
* [CI] check evmbin build ()
* Correct EIP-712 encoding ()
* [client]: Fix for incorrectly dropped consensus messages ()
* Fix block detail updating ()
* Switching sccache from local to Redis ()
* Made ecrecover implementation trait public ()
* [dependencies]: jsonrpc `14.0.1` ()
* [receipt]: add `sender` & `receiver` to `RichReceipts` ()
* [ethcore/builtin]: do not panic in blake2pricer on short input ()
* util Host: fix a double Read Lock bug in fn Host::session_readable() ()
* ethcore client: fix a double Read Lock bug in fn Client::logs() ()
* Change how RPCs eth_call and eth_estimateGas handle "Pending" ()
* Cleanup stratum a bit ()
* Upgrade to jsonrpc v14 ()
* SecretStore: expose restore_key_public in HTTP API ()
2019-11-11 21:57:38 +01:00
s3krit
45f27cec34
v2.5.8-stable ()
* add more tx tests ()
* Fix parallel transactions race-condition ()
* Add blake2_f precompile ()
* [trace] introduce trace failed to Ext ()
* Edit publish-onchain.sh to use https ()
* Fix deadlock in network-devp2p ()
* EIP 1108: Reduce alt_bn128 precompile gas costs ()
* xDai chain support and nodes list update ()
* EIP 2028: transaction gas lowered from 68 to 16 ()
* EIP-1344 Add CHAINID op-code ()
* manual publish jobs for releases, no changes for nightlies ()
* [blooms-db] Fix benchmarks ()
* Verify transaction against its block during import ()
* Better error message for rpc gas price errors ()
* tx-pool: accept local tx with higher gas price when pool full ()
* Fix fork choice ()
* Cleanup unused vm dependencies ()
* Fix compilation on recent nightlies ()
2019-09-12 18:43:53 +02:00
s3krit
ff398fe7ff
V2.5.6 stable ()
-  Fix cargo audit ()
  - Add support for Energy Web Foundation's new chains ()
  - Kaspersky AV whitelisting ()
  - Avast whitelist script ()
  - Docker images renaming ()
  - Remove excessive warning ()
  - Allow --nat extip:your.host.here.org ()
  - When updating the client or when called from RPC, sleep should mean sleep ()
  - added new ropsten-bootnode and removed old one ()
  - ethkey no longer uses byteorder ()
  - Do not drop the peer with None difficulty ()
  - docs: Update Readme with TOC, Contributor Guideline. Update Cargo package descriptions ()
2019-08-12 18:55:11 +02:00
s3krit
3fd58bdcbd
Beta 2.5.3 ()
* ethcore/res: activate atlantis classic hf on block 8772000 ()

* fix docker tags for publishing ()

* fix: aura don't add `SystemTime::now()` ()

This commit does the following:
- Prevent overflow in `verify_timestamp()` by not adding `now` to found faulty timestamp
- Use explicit `CheckedSystemTime::checked_add` to prevent potential consensus issues because SystemTime is platform
depedent
- remove `#[cfg(not(time_checked_add))]` conditional compilation

* Update version

* Treat empty account the same as non-exist accounts in EIP-1052 ()

* DevP2p: Get node IP address and udp port from Socket, if not included in PING packet ()

* get node IP address and udp port from Socket, if not included in PING packet

* prevent bootnodes from being added to host nodes

* code corrections

* code corrections

* code corrections

* code corrections

* docs

* code corrections

* code corrections

* Apply suggestions from code review

Co-Authored-By: David <dvdplm@gmail.com>

* Add a way to signal shutdown to snapshotting threads ()

* Add a way to signal shutdown to snapshotting threads

* Pass Progress to fat_rlps() so we can abort from there too.

* Checking for abort in a single spot

* Remove nightly-only weak/strong counts

* fix warning

* Fix tests

* Add dummy impl to abort snapshots

* Add another dummy impl for TestSnapshotService

* Remove debugging code

* Return error instead of the odd Ok(())
Switch to AtomicU64

* revert .as_bytes() change

* fix build

* fix build maybe
2019-06-25 13:38:29 +00:00
Talha Cross
ecbafb2390
backports for beta 2.5.2 ()
* version: bump beta to 2.5.2

* [CI] allow cargo audit to fail ()

* [CI] allow cargo audit to fail

* [.gitlab-ci.yml] add a comment about cargo audit

* [Cargo.lock] cargo update -p protobuf

* Reset blockchain properly ()

* delete BlockDetails from COL_EXTRA

* better proofs

* added tests

* PR suggestions

* new image ()

* Update publishing ()

* docker images are now built on k8s: test run

* copy check_sync.sh in build-linux job

* copy scripts/docker/hub/* in build-linux job

* removed cache var

* cleanup, no more nightly dockers

* cleanup in dockerfile

* some new tags

* removed sccsche debug log, cleanup

* no_gits, new artifacts dir, changed scripts. Test run.

* define version once

* one source for TRACK

* stop kovan onchain updates

* moved changes for two images to a new branch

* rename Dockerfile

* no need in libudev-dev

* enable lto for release builds ()

* Use RUSTFLAGS to set the optimization level ()

* Use RUSTFLAGS to set the optimization level

Cargo has a [quirk]() in how configuration settings are propagated when `cargo test` runs: local code respect the settings in `[profile.test]` but all dependencies use the `[profile.dev]` settings. Here we force `opt-level=3` for all dependencies.

* Remove unused profile settings

* Maybe like this?

* Turn off incremental compilation

* Remove colors; try again with overflow-checks on

* Use quiet CI machine

* Turn overflow checking back on

* Be explicit about what options we use

* Remove "quiet machine" override

* ethcore: enable ECIP-1054 for classic ()

* config: enable atlantis on ethereum classic

* config: enable atlantis on morden classic

* config: enable atlantis on morden classic

* config: enable atlantis on kotti classic

* ethcore: move kotti fork block to 0xAEF49

* ethcore: move morden fork block to 0x4829BA

* ethcore: move classic fork block to 0x81B320

* remove trailing comma

* remove trailing comma

* fix chainspec

* ethcore: move classic fork block to 0x7fffffffffffffff
2019-06-11 20:56:03 +02:00
Talha Cross
adabd8198c
beta ci: backport missing diff from master ()
* ci: publish docs debug ()

* ci: backport missing diff from master
2019-05-14 15:03:29 +02:00
Talha Cross
c2487cfe07
ci: publish docs debug () () 2019-05-14 14:04:54 +02:00
Denis S. Soldatov aka General-Beck
e4c2fe9e72 Initial support sccache for windows build ()
* Initial support sccache for win build

* show sccache stats

* cache paths for shared runners

* sccache status is in the script.

* removed windows test for now
2019-03-27 14:47:08 +01:00
TriplEight
9cb8606103
verbose flag for cpp tests () 2019-03-26 12:37:45 +01:00
Denis S. Soldatov aka General-Beck
f2c34f7ca2 fix Sha3/keccak256 hash calculation for binaries ()
https://github.com/paritytech/parity-ethereum/issues/10495
2019-03-22 11:46:57 +01:00
TriplEight
82a148a99b
Tests parallelized ()
* tests splitted, phase 1

* typo

* fix wrong launch commands

* typos

* rearrangements

* use `nproc` function for threads

* use nproc for threads

* let theads be auto, build-andriod no more in regular run

* split val chain and cargo check

* renamed some files

* wrong phase

* check rust files before test jobs

* lint error

* rust files modivied var

* test except changes

* add rust_changes except

* lint error

* fixes

* .gitlab-ci.yml can't be excluded

* pipeline shouldn't start

* pipeline must go

* pipeline must go 2

* pipeline must go 3

* pipeline must go 4

* pipeline must go 5

* pipeline must go 6

* pipeline must go 7

* pipeline must not go 1

* pipeline must go 8

* avoid skippng tests yet, reintroducing them after the caching

* test theory

* parallelized cargo check with combusting helicopters

* less uploads

* alias for cargo checks

* nice template
2019-03-11 15:26:35 +01:00
Denis S. Soldatov aka General-Beck
742a6007fe
Revert "CI aws git checkout ()" ()
* Revert "CI aws git checkout ()"

This reverts commit 3e1d73126c.

* Update .gitlab-ci.yml

revert aws script with small fixes

* Delete publish-aws.sh
2019-03-07 14:45:35 +03:00
Denis S. Soldatov aka General-Beck
3e1d73126c CI aws git checkout ()
* Updating the CI system with the publication of releases and binary files on github

Signed-off-by: Denis S. Soldatov aka General-Beck <general.beck@gmail.com>

* move publish aws from gitlab.yml to gitlab scripts

Signed-off-by: Denis S. Soldatov aka General-Beck <general.beck@gmail.com>

* gitlab.yml cleaning
move publish AWS to gitlab scripts
remove dependencies from android build

Signed-off-by: Denis S. Soldatov aka General-Beck <general.beck@gmail.com>

* Revert "Updating the CI system with the publication of releases and binary files on github"

This reverts commit da87e06f2e4751dbca08a898b52926aef5ad0aba.

* remove no-git for aws

* microfix

* no need in no_git then
2019-03-05 18:33:10 +01:00
Denis S. Soldatov aka General-Beck
1bd4564216
CI publish to aws ()
* move publish aws from gitlab.yml to gitlab scripts

* gitlab.yml cleaning
move publish AWS to gitlab scripts
remove dependencies from android build
2019-03-04 21:59:20 +03:00
5chdn
bceb883d99 snap: reenable i386, arm64, armhf architecture publishing ()
* snap: reenable i386, arm64, armhf architecture publishing

* gitlab: fix indent

* gitlab: fix yml syntax

* Linker for crosscomile

* fix target to linker

* new docker image

* fix lint, add build to this PR

* calc SHA3 using rhash

* add new images for i386, armhf

* show snap target & artifacts

* set CARGO_TARGET for publish snap

* move detect Version to publish snap

* rm libc6 dep from snap-template up pub-snap script

* clean up cargo config before add linker

* move linker config to docker images
2019-02-25 14:56:38 +03:00
TriplEight
b21844b371 no-git for publish jobs, empty artifacts dir ()
* no-git for publish jobs, empty artifacts dir

* fix syntax

* prettiness

* fix prettiness

* should get rid of git in publishing
2019-02-21 21:14:59 +03:00
Leo Arias
b4520c5886 snap: add the removable-media plug ()
This interface allows the snap to access the directories in /media. This is needed when the storage is in a separate disk, not part of home.
2019-02-20 09:49:54 +01:00
Afri Schoedon
fa570f297e snap: release untagged versions from branches to the candidate snap channel () 2019-02-14 17:24:52 +01:00
TriplEight
bff0bedfa9 no volumes are needed, just run -v volume:/path/in/the/container () 2019-02-14 12:45:56 +01:00
Afri Schoedon
512343003d
snap: prefix version and populate candidate channel ()
* snap: populate candidate releases with beta snaps to avoid stale channel

* snap: prefix version with v*
2019-02-13 15:50:02 +01:00
gabriel klawitter
ea589a17a4
role back docker build image and docker deploy image to ubuntu:xenial based () 2019-02-12 20:52:30 +01:00
gabriel klawitter
a3883ca5d9
change docker image based on debian instead of ubuntu due to the chan… ()
* change docker image based on debian instead of ubuntu due to the changes of the build container
2019-02-12 19:00:52 +01:00
Shude Li
55454b2f2d fix(docker): fix not receives SIGINT ()
* fix(docker): fix not receives SIGINT

* fix: update with reviews

* update with review

* update

* update
2019-02-12 16:57:07 +01:00
TriplEight
a4dc85543b
snap: official image / test ()
* official image / test

* fix / test

* bit more necromancy

* fix paths

* add source bin/df /test

* add source bin/df /test2

* something w paths /test

* something w paths /test

* add source-type /test

* show paths /test

* copy plugin /test

* plugin -> nil

* install rhash

* no questions while installing rhash

* publish snap only for release
2019-02-12 15:37:54 +01:00
TriplEight
83bcb819da
CI optimizations ()
* CI optimizations

* fix stripping

* new dockerfile

* no need n submodule upd

* review

* moved dockerfile

* it becomes large

* onchain update depends on s3

* fix dependency

* fix cache status

* fix cache status

* new cache status
2019-02-07 18:49:50 +01:00
Denis S. Soldatov aka General-Beck
460681ead9 perform stripping during build ()
* perform stripping during build

* var RUSTFLAGS
2019-01-18 12:03:18 +01:00
TriplEight
ed6f2877d7
Update for Android cross-compilation. ()
* build-unix update

* .gitlab-ci update

* Update build-unix.sh

add android postprocessing

* path to android lib

libparity.so

* fix path to libparity

* add android lib to artifacts
2019-01-15 17:27:43 +01:00
Afri Schoedon
4d66e8d06d
snap: fix path in script ()
* snap: fix path in script

* debug, revert me

* fix

* necromancer awk magic

* awk necromancy and path fixing

* working track selection
2019-01-10 10:58:30 +01:00
Afri Schoedon
f9a8aac036
ci: re-enable snap publishing ()
* ci: enable snap publishing~

* ci: add publish snap script

* ci: add snapcraft skeleton

* ci: group export statements

* ci: enable snaps on pr branch

* ci: enable snaps on pr branch

* ci: set default BUILD_ARCH

* ci: enable snaps on pr branch

* ci: enable snaps on pr branch

* ci: add libdb to snap

* ci: reinitiate gitlabci

* ci: reinitiate publish-snap script

* ci: fix yaml syntax

* cargo/gitlab env vars

* debug, revert me

* version?

* debug vars

* vars

* vars fix

* vars fix

* revert

* Update scripts/gitlab/publish-snap.sh

Co-Authored-By: 5chdn <5chdn@users.noreply.github.com>

* ci: read track from cargo toml
2019-01-09 14:39:21 +01:00
joshua-mir
1fda997370 Autogen docs for the "Configuring Parity Ethereum" wiki page. ()
* publish docs changes for autogen config docs

* Update publish-docs.sh

adding an environment variable so js knows not to download git master and just grab the local repo

* Update publish-docs.sh

made some changes making this unnecessary

* fix env variable

env variable passes to node properly now

* use yarn

* test pipeline, revert me

* fix test pipeline, revert me

* change runner tag

* change runner tag 2

* change runner tag

* global git config

* supress upload_files output

* Update .gitlab-ci.yml

reverting testing changes

* Replace tag if exists

Very unlikely to be important/useful
2019-01-07 14:47:28 +01:00
Afri Schoedon
349098e7b2
ci: move future releases to ethereum subdir on s3 ()
* ci: move future releases to ethereum subdir on s3

* ci: redesign s3 bucket logic

* ci: use the releases bucket
2018-12-05 15:02:37 +01:00
gabriel klawitter
c4466878cf fix docker build () 2018-11-27 12:51:42 +01:00
Afri Schoedon
c584221fa2
ci: rearrange pipeline by logic ()
* ci: rearrange pipeline by logic

* ci: rename docs script
2018-11-27 12:51:27 +01:00
Sebastian Siemssen
4ee49f03df Do not use the home directory as the working dir in docker ()
* Do not create a home directory.

* Re-add -m flag
2018-11-22 14:15:04 +00:00
TriplEight
052380b8de
simplify cargo audit () 2018-11-14 11:46:10 +01:00
Afri Schoedon
4f2415b483 Fix docker script ()
* Dockerfile: change source path of the newly added check_sync.sh ()
2018-11-07 15:53:22 +01:00
gabriel klawitter
f6dcca3ebb
gitlab-ci: make android release build succeed ()
* use docker cargo config file for android builds

* make android build succeed
2018-11-06 20:26:05 +01:00
Niklas Adolfsson
a898109522 fix(docker-aarch64) : cross-compile config () 2018-10-31 12:39:18 +00:00
Azamat M
9b55169251 Add readiness check for docker container ()
* Update Dockerfile

Since parity is built for "mission critical use", I thought other operators may see the need for this.

Adding the `curl` and `jq` commands allows for an extremely simple health check to be usable in container orchestrators.

For example. Here is a health check for a parity docker container running in Kubernetes.

This can be setup as a readiness Probe that would prevent clustered nodes that aren't ready from serving traffic.

```bash
#!/bin/bash

ETH_SYNCING=$(curl -X POST --data '{"jsonrpc":"2.0","method":"eth_syncing","params":[],"id":1}' http://localhost:8545 -H 'Content-Type: application/json')
RESULT=$(echo "$ETH_SYNCING | jq -r .result)

if [ "$RESULT" == "false" ]; then
  echo "Parity is ready to start accepting traffic"
  exit 0
else
  echo "Parity is still syncing the blockchain"
  exit 1
fi
```

* add sync check script
2018-10-26 13:51:08 +02:00
felix
879e7305ca removed "rustup" & added new runner tag ()
* removed "rustup" & added new runner tag

* exchanged tag "rust-windows" with "windows"

* revert windows tag change
2018-10-26 13:39:44 +02:00
gabriel klawitter
702311b6b2 heads ref not present for branches beta and stable () 2018-10-12 13:45:28 +02:00
Wei Tang
ce5a6eabae Add --force to cargo audit install script () 2018-10-11 10:53:00 +02:00
gabriel klawitter
5a8fb77fb2 Schedule nightly builds ()
* introduce SCHEDULE_TAG variable for gitlab scheduled nightly builds

* add refs for complex only statement in .gitlab-ci.yml
2018-10-09 15:32:07 +02:00
Lorenzo Manacorda
1388f4d27e Docker: run as parity user () 2018-10-03 13:10:05 +01:00
Afri Schoedon
7781cbbc57
CI: Remove unnecessary pipes ()
* ci: reduce gitlab pipelines significantly

* ci: build pipeline for PR

* ci: remove dead weight

* ci: remove github release script

* ci: remove forever broken aura tests

* ci: add random stuff to the end of the pipes

* ci: add wind and mac to the end of the pipe

* ci: remove snap artifacts

* ci: (re)move dockerfiles

* ci: clarify job names

* ci: add cargo audit job

* ci: make audit script executable

* ci: ignore snap and docker files for rust check

* ci: simplify audit script

* ci: rename misc to optional

* ci: add publish script to releaseable branches

* ci: more verbose cp command for windows build

* ci: fix weird binary checksum logic in push script

* ci: fix regex in push script for windows

* ci: simplify gitlab caching

* docs: align README with ci changes

* ci: specify default cargo target dir

* ci: print verbose environment

* ci: proper naming of scripts

* ci: restore docker files

* ci: use docker hub file

* ci: use cargo home instead of cargo target dir

* ci: touch random rust file to trigger real builds

* ci: set cargo target dir for audit script

* ci: remove temp file

* ci: don't export the cargo target dir in the audit script

* ci: fix windows unbound variable

* docs: fix gitlab badge path

* rename deprecated gitlab ci variables

https://docs.gitlab.com/ee/ci/variables/#9-0-renaming

* ci: fix git compare for nightly builds

* test: skip c++ example for all platforms but linux

* ci: add random rust file to trigger tests

* ci: remove random rust file

* disable cpp lib test for mac, win and beta ()
2018-10-02 00:03:58 +01:00