* ci: workaround for the cache bug
* ci: use the workaround only for linux
* cleanup
* REVERTME: invalidate cache
* test I
* test II
* simplify checkout
* try bash on windows
* fix checkout
* sudo bash?
* ok, I don't have time for this sh*t
* revert Cargo.lock change
* Test rules for .cargo in windows-latest
* update rules
* Get Acl
* new path to windows cargo home
7584c7b879/images/win/scripts/Installers/Install-Rust.ps1 (L10)
* Set-ExecutionPolicy
* Test
* another experiment
* another experiment II
* revert temp changes
Co-authored-by: Denis S. Soldatov aka General-Beck <general.beck@gmail.com>
* Log block number and earliest available block when snapshots fail to start
* Increase default pruning history to 128
Increase default pruning memory to 48Mb
* Decrease SNAPSHOT_PERIOD to 200 to get them snapshots started quicker
* Sync updates to defaults with the args parser
* Fix tests
* Restore the SNAPSHOT_PERIOD to 5000
* One more
* Update ethcore/src/client/config.rs
* Add github action for dockerhub deployment
* Add VCS_REF and BUILD_DATE as buildargs for docker image
* deploy docker images also based on tag
* move docker deployment to it's own github action so it can be parallelized
* remove unnecesary OS check in the docker deployment script
* adding initial steps of checkout and basic toolchain for docker github action
* Update deploy-docker.yml
Remove unnecesary line for checkout sources on deploy docker script
* remove build args from deploy docker script
* Update deploy-docker.yml
OpenEthereum is outside of the current scope for Parity's BugBounty program.
Unfortunately, this means that this Security Policy needs to go.
I urge other OpenEthereum stakeholders to come up with a replacement policy ASAP, and will glad to provide help in setting those processes up/sharing some templates and accumulated knowledge.
* [devp2p discovery]: cleanup
* [devp2p]: remove lifetime from Discovery
This commit it removes the lifetime on type `Discovery` by making `request_backoff: &'static [Duration]`
instead.
* [devp2p discovery]: pass SockAddr by value
* [devp2p discovery]: remove needless clones
* [devp2p discovery]: take payload by value
* Code cleanup
`flush_queue()` is mostly used by tests
remove some unused params
avoid clones in a few places
* Consistent params naming
Consistent use of log calls
* Fix todo
It'a actually not trivial to find out the size of these collections, likely we keep blocks from all kinds of forks in the `self.blocks`/`self.parents` collections and there's no good way to anticipate how many blocks we're going to drain. Most of the time we end up draining 0 blocks and then we drain a whole bunch of them, up to 30 000.
* Revert making flush_queue() test-only
Address review grumbles
* More review grumbles
* fix build
* cleanup
* upbork
* review grumble: rename client id prefix
* rpc-tests: make one of the clients open-ethereum
* fix doctest
* README: mention clang version and that our wiki is old
* ethcore: cleanup after #11531
* fix verification benches
* ethcore: remove enact_verified
* ethcore: replace PreverifiedBlock with a tuple
* ethcore: more descriptive Vec<u8> type alias
* actions
* add build scripts
* chmod +x
* remove clang env
* add ARM builds
* install LLVM for Windows
* check LLVM
* remove fi
* check platform
* fix LLVM install on windows
* diff cache
* remove unexpected token &&
* remove build directory cache from windows
* remove Show ENV
* remove checksum
* fix cross and RUSTFLAGS
* final fix for ARM and Windows build
* typo
* fix PATH for artifacts
* sudo for install
set PATH . for artifacts.zip
* target names for artifacts
* platform names for artifacts
* remove ARM builds
PLATFORM for build scripts
* remove PLATFORM and change PATH for artifacts.zip
* change PATH for artifacts
* add sccache
div to test and build
* env RUSTC_WRAPPER sccache
* sccache tag 0.2.13
up cache to latest v1.1.2
set SCCACHE_CACHE_SIZE: "1G"
* remove dependencies from build
* add audit check
add tags for Build sccache --show-stats
* remove beta and nightly toolchains
* refactoring cache && sccache
* fix Windows PATH o sccache HOME
* "*"->'*'
* install scache from https://github.com/mozilla/sccache/releases
* fix lint
* url for sccache
* sccache up
* shell: pwsh for sccache
* up install script for sccache
* fix link
* splitting tests into multiple tasks
* Jobs renaming
* typo fix
* remove Continue on error
* TEST: remove cargo build cache
* TEST: sccache show stats before
* TEST: 1
* TEST: 2
* TEST: 3
MacOS fix sccache PATH
* TEST 4: enable target cache
* remove build
* TEST 5: check cache and up Cargo.toml
* TEST 6
* TEST 7: restore cargo cache
splt build-tests and run-tests
* TEST 8: fix build-test
* TEST 9: fix sccache
* TEST 10: lint run-test
* TEST 11: build and test in one job
* prepare for merge
* test.yml -> check.yml
* add install sccache script
* sh -> ps1
* add os arg to ps cript
* os up
* fix os arg
* ls sccache tar
* echo url
* echo sccache url
* add swith for select platform
* fix args
* TEST CLEAN 1: clean biuld dir for all platforms
* TEST CLEAN 2: incude build step
continue-on-error in test
* TEST CLEAN 3: script for clean
* ready for merge
* update all the changelogs
* update only github URLs in README.md
* sed magic
find . -type f -exec sed -i 's_paritytech/parity-ethereum_OpenEthereum/open-ethereum_g' {} \;
* Faster kill_garbage
Benchmark shows that almost half the time `apply()`-ing a transaction is spent in garbage collection. This PR avoids visiting each cache item and `collect()`-ing accounts to clean up.
* Walk back panicking behaviour
* Review grumble: prefer `and_then` to `if let`
* Add benchmark for transaction execution
* Address review grumbles
* Address review grumbles and extend benches to test both blocks with both Constantinople and Istanbul rules
* Misc fixes
Did some code reading and made random changes as I went.
* Update ethcore/src/client/client.rs
Co-Authored-By: Andronik Ordian <write@reusable.software>
Co-authored-by: Andronik Ordian <write@reusable.software>
* [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.
* complete null-signatures removal
* unsigned transactions are disallowed by the type system
* "fix" verification test
* machine: bring the test back
* machine: simplify the test
* 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>