Commit Graph

255 Commits

Author SHA1 Message Date
Afri Schoedon
0487c5b7a7
Bump beta to 1.11.5 / Backports (#8955)
* parity-version: bump beta to 1.11.5

* Update ropsten.json (#8926)

* Update hardcoded headers (#8925)

* Update kovan.json

Update Kovan to block 7693549

* Update foundation.json

Updated to block #5812225

* Update ropsten.json

Update to 3465217

* Update ropsten.json

use tabs

* Update foundation.json

use tabs

* Update kovan.json

use tabs

* scripts: minor improvements (#8930)

* CI: enable 'latest' docker tag on master pipeline

* CI: mark both beta and stable as stable snap.

* CI: sign all windows binaries

* scripts: fix docker build tag on latest using master (#8952)

* rpc: cap gas limit of local calls (#8943)

* snap: downgrade rust to revision 1.26.2, ref snapcraft/+bug/1778530 (#8984)

* snap: downgrade rust to revision 1.26.2, ref snapcraft/+bug/1778530

* snap: use plugin rust

* Fix deadlock in blockchain. (#8977)

* Remove js-glue from workspace

This fixes test error on Rust 1.27 but also prevents js-glue from building itself. Builtin dapp users can still use
js-glue from crates.io.

* Fix Android build on beta (#9003)
2018-06-29 09:55:47 +02:00
André Silva
cc44ae9cb5 [beta] Backports (#8916)
* `duration_ns: u64 -> duration: Duration` (#8457)

* duration_ns: u64 -> duration: Duration

* format on millis {:.2} -> {}

* Keep all enacted blocks notify in order (#8524)

* Keep all enacted blocks notify in order

* Collect is unnecessary

* Update ChainNotify to use ChainRouteType

* Fix all ethcore fn defs

* Wrap the type within ChainRoute

* Fix private-tx and sync api

* Fix secret_store API

* Fix updater API

* Fix rpc api

* Fix informant api

* Eagerly cache enacted/retracted and remove contain_enacted/retracted

* Fix indent

* tests: should use full expr form for struct constructor

* Use into_enacted_retracted to further avoid copy

* typo: not a function

* rpc/tests: ChainRoute -> ChainRoute::new

* Handle removed logs in filter changes and add geth compatibility field (#8796)

* Add removed geth compatibility field in log

* Fix mocked tests

* Add field block hash in PollFilter

* Store last block hash info for log filters

* Implement canon route

* Use canon logs for fetching reorg logs

Light client removed logs fetching is disabled. It looks expensive.

* Make sure removed flag is set

* Address grumbles

* Fixed AuthorityRound deadlock on shutdown, closes #8088 (#8803)

* CI: Fix docker tags (#8822)

* scripts: enable docker builds for beta and stable

* scripts: docker latest should be beta not master

* scripts: docker latest is master

* ethcore: fix ancient block error msg handling (#8832)

* Disable parallel verification and skip verifiying already imported txs. (#8834)

* Reject transactions that are already in pool without verifying them.

* Avoid verifying already imported transactions.

* Fix concurrent access to signer queue (#8854)

* Fix concurrent access to signer queue

* Put request back to the queue if confirmation failed

* typo: fix docs and rename functions to be more specific

`request_notify` does not need to be public, and it's renamed to `notify_result`.
`notify` is renamed to `notify_message`.

* Change trace info "Transaction" -> "Request"

* Don't allocate in expect_valid_rlp unless necessary (#8867)

* don't allocate via format! in case there's no error

* fix test?

* fixed ipc leak, closes #8774 (#8876)

* Add new ovh bootnodes and fix port for foundation bootnode 3.2 (#8886)

* Add new ovh bootnodes and fix port for foundation bootnode 3.2

* Remove old bootnodes.

* Remove duplicate 1118980bf48b0a3640bdba04e0fe78b1add18e1cd99bf22d53daac1fd9972ad650df52176e7c7d89d1114cfef2bc23a2959aa54998a46afcf7d91809f0855082

* Block 0 is valid in queries (#8891)

Early exit for block nr 0 leads to spurious error about pruning: `…your node is running with state pruning…`.

Fixes #7547, #8762

* Add ETC Cooperative-run load balanced parity node (#8892)

* Minor fix in chain supplier and light provider (#8906)

* fix chain supplier increment

* fix light provider block_headers

* Check whether we need resealing in miner and unwrap has_account in account_provider (#8853)

* Remove unused Result wrap in has_account

* Check whether we need to reseal for external transactions

* Fix reference to has_account interface

* typo: missing )

* Refactor duplicates to prepare_and_update_sealing

* Fix build

* Allow disabling local-by-default for transactions with new config entry (#8882)

* Add tx_queue_allow_unknown_local config option

- Previous commit messages:

dispatcher checks if we have the sender account

Add `tx_queue_allow_unknown_local` to MinerOptions

Add `tx_queue_allow_unknown_local` to config

fix order in MinerOptions to match Configuration

add cli flag for tx_queue_allow_unknown_local

Update refs to `tx_queue_allow_unknown_local`

Add tx_queue_allow_unknown_local to config test

revert changes to dispatcher

Move tx_queue_allow_unknown_local to `import_own_transaction`

Fix var name

if statement should return the values

derp de derp derp derp semicolons

Reset dispatch file to how it was before

fix compile issues + change from FLAG to ARG

add test and use `into`

import MinerOptions, clone the secret

Fix tests?

Compiler/linter issues fixed

Fix linter msg - case of constants

IT LIVES

refactor to omit yucky explict return

update comments

Fix based on diff AccountProvider.has_account method

* Refactor flag name + don't change import_own_tx behaviour

fix arg name

Note: force commit to try and get gitlab tests working again 😠

* Add fn to TestMinerService

* Avoid race condition from trusted sources

- refactor the miner tests a bit to cut down on code reuse
- add `trusted` param to dispatch_transaction and import_claimed_local_transaction

Add param to `import_claimed_local_transaction`

Fix fn sig in tests
2018-06-19 10:41:14 +02:00
André Silva
7bf16cce1b [beta] Backports (#8785)
* Fix light sync with initial validator-set contract (#8528)

* Fix #8468

* Use U256::max_value() instead

* Fix again

* Also change initial transaction gas

* Resumable warp-sync / Seed downloaded snapshots (#8544)

* Start dividing sync chain : first supplier method

* WIP - updated chain sync supplier

* Finish refactoring the Chain Sync Supplier

* Create Chain Sync Requester

* Add Propagator for Chain Sync

* Add the Chain Sync Handler

* Move tests from mod -> handler

* Move tests to propagator

* Refactor SyncRequester arguments

* Refactoring peer fork header handler

* Fix wrong highest block number in snapshot sync

* Small refactor...

* Resume warp-sync downloaded chunks

* Add comments

* Refactoring the previous chunks import

* Fix tests

* Address PR grumbles

* Fix not seeding current snapshot

* Address PR Grumbles

* Address PR grumble

* Retry failed CI job

* Update SnapshotService readiness check
Fix restoration locking issue for previous chunks restoration

* Fix tests

* Fix tests

* Fix test

* Early abort importing previous chunks

* PR Grumbles

* Update Gitlab CI config

* SyncState back to Waiting when Manifest peers disconnect

* Move fix

* Better fix

* Revert GitLab CI changes

* Fix Warning

* Refactor resuming snapshots

* Fix string construction

* Revert "Refactor resuming snapshots"

This reverts commit 75fd4b553a38e4a49dc5d6a878c70e830ff382eb.

* Update informant log

* Fix string construction

* Refactor resuming snapshots

* Fix informant

* PR Grumbles

* Update informant message : show chunks done

* PR Grumbles

* Fix

* Fix Warning

* PR Grumbles

* Don't open Browser post-install on Mac (#8641)

Since we start parity with the UI disabled per default now, opening the browser post installation will show an annoying error message, confusing the user. This patch removes opening the browser to prevent that annoyance.

fixes #8194

* Fix not downloading old blocks (#8642)

* Fix PoW blockchains sealing notifications in chain_new_blocks (#8656)

* Shutdown the Snapshot Service early (#8658)

* Shutdown the Snapshot Service when shutting down the runner

* Rename `service` to `client_service`

* Fix tests

* Fix cli signer (#8682)

* Update ethereum-types so `{:#x}` applies 0x prefix

* Set the request index to that of the current request (#8683)

* Set the request index to that of the current request

When setting up the chain of (two) requests to look up a block by hash, the second need to refer to the first. This fixes an issue where the back ref was set to the subsequent request, not the current one. When the requests are executed we loop through them in order and ensure the requests that should produce headers all match up. We do this by index so they better be right.

In other words: off by one.

* network-devp2p: handle UselessPeer disconnect (#8686)

* Fix local transactions policy. (#8691)

* CI: Fixes for Android Pipeline (#8745)

* ci: Remove check for shared libraries in gitlab script

* ci: allow android arm build to fail

* Custom Error Messages on ENFILE and EMFILE IO Errors (#8744)

* Custom Error Messages on ENFILE and EMFILE IO Errors

Add custom mapping of ENFILE and EMFILE IO Errors (Failure because of missing system resource) right when chaining ioError into ::util::Network::Error to improve Error Messages given to user

Note: Adds libc as a dependency to util/network

* Use assert-matches for more readable tests

* Fix Wording and consistency

* ethcore-sync: fix connection to peers behind chain fork block (#8710)
2018-06-04 22:29:20 +02:00
Afri Schoedon
aae451de9e
Betalize 1.11 :) (#8475)
* Betalize 1.11 :)

* Update Gitlab scripts

* Use master as gitlab latest

* Fix snap builds (#8483)

* Update hardcodedSync for Ethereum, Kovan, and Ropsten (#8489)
2018-04-26 09:46:06 +02:00
Afri Schoedon
4e76cce0b7
Allow 32 bit pipelines to fail (#8454)
* Disable 32bit tragets for gitlab

* Rename linux pipelines
2018-04-21 11:24:51 +02:00
Denis S. Soldatov aka General-Beck
bbefdec973 fix cache & snapcraft CI build (#8052)
after successful testing it is necessary to port in a ```beta``` and ```stable```
2018-03-05 11:52:18 +01:00
Denis S. Soldatov aka General-Beck
e79ade59c9 gitlab cache (#7921)
it is necessary to test
2018-02-18 00:02:44 +01:00
Denis S. Soldatov aka General-Beck
3d803762ff Gitlb snap master patch (#7900)
* fix snap build master

add rhash

* fix double line

* remove filure from snap build stage
2018-02-15 07:54:21 +01:00
Afri Schoedon
1cce3cfb75
Fix snapcraft nightly (#7884)
* Fix snapcraft nightly

* Update gitlab-build.sh

* Update snapcraft.yaml

* Update gitlab-build.sh

* Update .gitlab-ci.yml

snap build switch to https://hub.docker.com/r/snapcore/snapcraft/

* skip aura-test.sh

https://github.com/paritytech/parity/pull/6078

* add snap artifacts

* Fix aura tests

* Fix macos build

* Allow aura test to fail

* Disable aura tests
2018-02-14 12:39:08 +01:00
Tomasz Drwięga
5584739b83 Fix checksums and auto-update push (#7846)
* Re-enable auto-update for windows. Fail build on non 2xx response from updater.

* Fix format of md5 and sha256 files.

* Fix identation.

* Add critical to metadata.

* Add some logs.

* Fix pushing build.

* Attempt to fix release pushing.

* Fix missing rhash?

* Workaround broken rhash.
2018-02-13 19:31:06 +01:00
Afri Schoedon
3cae42bb34
Fix installer binary names for macos and windows (#7881)
* Fix windows installer file name

* Fix macos installer file name
2018-02-13 16:20:01 +01:00
Afri Schoedon
516bb685bf
Add binary identifiers and sha256sum to builds (#7830)
* Add binary identifiers and sha256sum to builds

* Print build ident
2018-02-07 15:02:13 +01:00
Jaco Greeff
97a3c6e461 Move js & js-old code to github.com/parity-js (#7685)
* Move js & js-old to github.com/parity-js

* Update shell & dapp-wallet references

* Update wallet ref

* Remove JS stages

* Update to latest shell & wallet (token fixes)
2018-02-05 10:40:00 +01:00
Denis S. Soldatov aka General-Beck
66322c769e
remove cargo cache 2018-01-23 14:42:02 +03:00
Denis S. Soldatov aka General-Beck
8d3843f7dc
Update .gitlab-ci.yml
enable cache for cargo
2018-01-23 04:59:40 +03:00
Afri Schoedon
6773e88211 Fix libssl1.1 package name for debian (#7596) 2018-01-17 19:06:54 +03:00
Denis S. Soldatov aka General-Beck
9fe61dd529
Update .gitlab-ci.yml
fix cache key
2018-01-17 10:12:02 +03:00
Denis S. Soldatov aka General-Beck
0510cb3aa1
fix gitlab.yml lint 2018-01-17 10:01:49 +03:00
Denis S. Soldatov aka General-Beck
c46887e90b
add codecov 2018-01-17 00:14:38 +03:00
Denis S. Soldatov aka General-Beck
24a40af5bc
fix windows and centos builds (#7559)
* fix windows and centos builds
update gitlab-build.sh
windows installer `parity_$VER_installer.exe`
rpm package `parity_$VER_x86_64.rpm`

* Update .gitlab-ci.yml

add cache ``target``
fix windows and centos arg's

* Update installer.nsi

add ``ethstore.exe, ethkey.exe and parity-evm.exe`` to windows installer

* Update cov.sh

add timeout to coverage test's (10 min per test)
2018-01-15 08:20:04 +03:00
Denis S. Soldatov aka General-Beck
fff6e037ab clean .gitlab.yml and 2 scripts for test and build: gitlab-build.sh & gitlab-test.sh 2018-01-10 11:44:36 +03:00
Denis S. Soldatov aka General-Beck
0b91bd4b11 fix conditions 2018-01-10 07:33:46 +03:00
Denis S. Soldatov aka General-Beck
cb8c4b4e96 add gitlab-test.sh
move functions from .yml to add gitlab-test.sh
2018-01-10 06:38:50 +03:00
Denis S. Soldatov aka General-Beck
f400a7e171 .gitlab-ci cleanup
Resolves issue #4226 #7086 ci #63 close PR #7506
2018-01-10 05:58:12 +03:00
Kirill Pimenov
bdc3d6fee0 More thorough changes detection (#7472)
* More thorough changes detection

This basically trades false-negatives ("dumb" last commit not touching
Rust on a Rust-touching branch) for false-positives (all builds against
`stable` and `beta` will run all tests almost always).
This seems to be a reasonable tradeoff.

Closes #6507

* We don't have Appveyor anymore

* before_script sections are not merged

* Limiting commit depth breaks branching detection
2018-01-08 21:23:56 +03:00
Jaco Greeff
3833f87256
Complete token merge, remove unused files (#7037)
* Either js or js-old to have changes to trigger push-cargo

* Complete merge of token changes (code move to js-shared)

* Update setting variable
2017-11-13 13:44:51 +01:00
Jaco Greeff
0f2bfda830
Fix v1 precompiled (#7033)
* Combine cargo updates into one

* Update log tag
2017-11-13 11:52:34 +01:00
Tomasz Drwięga
da6bd4168b
Update build scripts. 2017-10-18 16:38:11 +02:00
Denis S. Soldatov aka General-Beck
88145752ff [ci skip] move Aura test https://github.com/paritytech/parity-import-tests in nightly build 2017-07-18 16:45:58 +03:00
Denis S. Soldatov aka General-Beck
801fcf3271 fix docker build in master 2017-07-18 16:17:33 +03:00
Denis S. Soldatov aka General-Beck
69561da15f fix docker build and snapcraft 2017-07-17 12:06:32 +03:00
Denis S. Soldatov aka General-Beck
3637c14da5 fix Windows and MacOS build
add `cargo clean`
2017-06-28 14:03:17 +03:00
Denis S. Soldatov aka General-Beck
201f34620a CI build
add evmbin, ethstore, ethkey
2017-06-28 13:54:05 +03:00
David Dorgan
16caf032bd Only use -cli for the build, not binary itself. 2017-06-27 09:23:16 +02:00
Denis S. Soldatov aka General-Beck
4900e90112 build ethkey & ethstore
add -cli
2017-06-26 22:06:00 +03:00
Denis S. Soldatov aka General-Beck
3111421866 Update .gitlab-ci.yml
snap update
2017-06-17 22:03:12 +03:00
Denis S. Soldatov aka General-Beck
6afe0b0612 fix builds
darwin rustup default stable
snap - allow failure
2017-06-13 12:21:44 +03:00
Denis S. Soldatov aka General-Beck
2501334ed7 add CI variable 2017-06-13 01:37:03 +03:00
Denis S. Soldatov aka General-Beck
5f01fb7f1a remove nodejs 8 test stage
switch to RUST 1.18 and NodeJS 8.1
2017-06-12 23:40:57 +03:00
Denis S. Soldatov aka General-Beck
317df7e6a6 fix CI lint 2017-06-07 22:05:44 +03:00
Denis S. Soldatov aka General-Beck
1fb11c23d8 port snap build 2017-06-07 21:53:36 +03:00
Denis S. Soldatov aka General-Beck
241de230bb Update .gitlab-ci.yml
add snap build to tags, triggers
2017-06-06 16:19:11 +03:00
Denis S. Soldatov aka General-Beck
815f427c95 Update .gitlab-ci.yml
add rust beta&nigthly test for master
add more triggers
2017-06-05 15:44:37 +03:00
Denis S. Soldatov aka General-Beck
d7e531c373 JS test Node 7 -> 8 2017-06-01 00:05:11 +03:00
Tomasz Drwięga
cbcc369a2d UI server refactoring (#5580)
* Full API in Authenticated WS server.

* Replacing UI server with Hyper.

* Solving CLI, RPCs and tests.

* Porting signer tests.

* Fixing origin recognition for dapps/rpc.

* Fixing tests. Adding parity-rpc-client to test.

* Dapps exposed as RPC method.

* JS code to support new connection scheme.

* Fixing dapps tests.

* Updating allowed origins/hosts to support web3.site.

* Fixing tests, fixing UI.

* Fixing tests.

* Removing invalid tests.

* Fixing merge.

* 404 fallback for UI

* Improve ContentFetcher constructor readability.

* Naming.

* Update .gitlab-ci.yml

fix CI lint error

* Fixing tests and linting issues.

* Fixing new tests.

* UI hosts.

* Submodules fix.
2017-05-24 12:24:07 +02:00
Gav
8a54c91431 Merge branch 'add-unit-tests' of https://github.com/guanqun/parity into guanqun-add-unit-tests 2017-05-23 08:48:04 -04:00
Guanqun Lu
14b715bdc7 fix not build issue, only detect pure js folder 2017-05-21 10:44:20 +08:00
Denis S. Soldatov aka General-Beck
2fd44e6ce4 CI add test stage with node 7.x 2017-05-18 21:22:52 +03:00
Gav Wood
91d6f14e3c Fix CI paths. (#5570) 2017-05-06 13:24:00 +02:00
Denis S. Soldatov aka General-Beck
951dc757f8 fix docker build (ethcore+parity hub's) 2017-05-04 23:46:25 +03:00