for generating COMMIT DATE and SHA reference used by the openethereum binary to display in the log. This commit
tries to solve it in the alpine docker image
Co-authored-by: Denis Granha <denis@gnosis.io>
* update(ewf-chainspec): istanbul fork transition blocks
- volta and ewc chains
* update(ewf-istanbul): 1 wei to blake 2 + new transition blocks
* update(ewf-istanbul): future proofing 1 wei for builtins
* update(ewf-chainspec): final transition block numbers for volta and ewc
- frok already went down
* ethcore/res: move test specifications in test-specs subdirectory
* ethcore/spec: update paths for test machines
* scripts/actions: validate mainnet specs against all forks
* fix unexpected end of macro invocation
* scripts/actions: remove first empty line
Co-Authored-By: Niklas Adolfsson <niklasadolfsson1@gmail.com>
Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com>
* Upgrade parity-crypto to 0.6
* More fixes
* Upgrade ethabi and ethabi-derive
* Fix lockfile
* Patch ethabi from master
* quickfix for ethash
* Update forkid
* Add secret store back
* Fetch ethabi from crates
* fetch secret-store from the right place
* update to keccak-hash 0.5.1
* ethash: upgrade keccak-hash
* ethash: sneaky spaces
* ethash: use overlapping bytes after all
* revert submodule update
* wip
* Use new method to impl ecrecover builtin
* Fetch patches from git
* Sort out todo
* Remove patches
Co-authored-by: Andronik Ordian <write@reusable.software>
* Upgrade parity-crypto to 0.6
* More fixes
* Upgrade ethabi and ethabi-derive
* Fix lockfile
* Patch ethabi from master
* quickfix for ethash
* Update forkid
* Add secret store back
* Fetch ethabi from crates
* fetch secret-store from the right place
* update to keccak-hash 0.5.1
* ethash: upgrade keccak-hash
* ethash: sneaky spaces
* ethash: use overlapping bytes after all
* revert submodule update
Co-authored-by: Andronik Ordian <write@reusable.software>
The Clique engine changes the header during the call to `check_and_lock_block()` and so when the block is committed we need to use the original header from the `PreverifiedBlock`, so we're back to cloning the `Header`.
Fixes https://github.com/openethereum/openethereum/issues/11603
The exported hardcoded sync was previously generating invalid JSON, with
the CHT list ending in a trailing comma. In order to remedy this, this
commit uses serde_json to serialize the SpecHardcodedSync struct
into valid JSON.
Fixes#11415
`Tempdir` is deprecated, but the functionality has been merged into
another crate: `tempfile`. This commit removes all `tempdir` dependencies
and replaces them with `tempfile` and the equivalent bindings.
Fixes#11560
* 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