- Jul 17, 2020
-
-
Tomasz Drwięga authored
-
Tomasz Drwięga authored
-
Tomasz Drwięga authored
-
- Jul 16, 2020
-
-
Denis S. Soldatov aka General-Beck authored
* [WIP] Fix cleanup cache 3 * check sccache idle * check cache * remove sccache stats
-
Denis S. Soldatov aka General-Beck authored
* Revert "[WIP] Fix cleanup cache (#190)" This reverts commit f2d29ced. * move Cleanup stage to merged.yml
-
Tomasz Drwięga authored
-
Denis S. Soldatov aka General-Beck authored
* Fix cleanup cache * echo github.env * Cleanup always
-
Tomasz Drwięga authored
-
Tomasz Drwięga authored
-
Tomasz Drwięga authored
Co-authored-by: Hernando Castano <[email protected]>
-
Svyatoslav Nikolsky authored
* exchange benchmarks: framework * updated comment about tx size Co-authored-by: Tomasz Drwięga <[email protected]>
-
- Jul 14, 2020
-
-
Denis S. Soldatov aka General-Beck authored
-
Svyatoslav Nikolsky authored
* fixed best_ethereum_block() params encoding * updated versions
-
Tomasz Drwięga authored
-
Svyatoslav Nikolsky authored
* relay exchange transaction(s) * fixed Ethereum::get_block_by_hash * added exchange trace * fixed method name * update for new web3 * svyatonik/rust-web3 -> tomusdrw/rust-web3 * if let Some() -> .expect() * extracted loops in separate functions * use yaml references (TIL) * get eth header with transactions * cargo fmt --all * Update primitives/ethereum-poa/src/lib.rs Co-authored-by: Hernando Castano <[email protected]> * Update relays/ethereum/src/ethereum_exchange.rs Co-authored-by: Hernando Castano <[email protected]> * Update relays/ethereum/src/rpc_errors.rs Co-authored-by: Hernando Castano <[email protected]> * Update relays/ethereum/src/exchange.rs Co-authored-by: Hernando Castano <[email protected]> * removed comment * Update relays/ethereum/src/ethereum_exchange.rs Co-authored-by: Hernando Castano <[email protected]> * Update relays/ethereum/src/ethereum_exchange.rs Co-authored-by: Hernando Castano <[email protected]> * module-level comments * updated readme * use web3 from crates.io * added missing fields info in error description * cargo fmt --all Co-authored-by: Hernando Castano <[email protected]>
-
Svyatoslav Nikolsky authored
* basic sync loop tests * cargo ftm --all * SyncLoopTestParams * move sync loop tests to sync_loop_tests.rs * cargo fmt --all
-
Denis S. Soldatov aka General-Beck authored
* If the cache is missing, copy it from the master * make target dir * cp -> rsync * install rsync * disable verbose out from rsync * rsync --info=progress2 * rsync quiet * add cleanup stage * cleanup * todo for rsync
-
- Jul 13, 2020
-
-
dependabot-preview[bot] authored
-
Tomasz Drwięga authored
-
Tomasz Drwięga authored
-
Tomasz Drwięga authored
* Run fmt on stable. * remove toolchain in the case of stable there is no need to explicitly specify the toolchain * Run fmt on gh-actions runners. * run on github runner Co-authored-by: Denis S. Soldatov aka General-Beck <[email protected]>
-
Denis S. Soldatov aka General-Beck authored
* Cancel Workflow Action * check cancel and remove cpu option
-
Tomasz Drwięga authored
-
Tomasz Drwięga authored
-
Tomasz Drwięga authored
* Clean up build a little. * Create if does not exist. * Remove clippy for now cause it's super slow. * Create if does not exist.
-
- Jul 10, 2020
-
-
Tomasz Drwięga authored
-
Tomasz Drwięga authored
* Remove less maintenance friendly deny. * Run always on PRs. * Create if does not exist.
-
Tomasz Drwięga authored
-
Tomasz Drwięga authored
-
Tomasz Drwięga authored
-
Svyatoslav Nikolsky authored
-
Denis S. Soldatov aka General-Beck authored
* Add cargo deny * deny - master * Copy deny.toml to . * cargo deny check * upload artifacts * install cargo deny * typo * up install cargo deny * update archive * typo * path's * allow failure cargo deny * allew failure log * cargo deny init * Build stage * rm deny from build PR * lint * Use correct name for Ethereum bridge node crate * add clippy to test * clippy -nightly * add release * Style stage * add doc-book * disable doc * add cache to clippy * test macos & windows build * cargo clean * move build stage after test, add nightly remove windows and macos targets * remove install steps * move check style to rust.yml * cache fixes * Test needs check * clippy -> nightly toolchain * build needs test * clippy -- -D warnings * disable needs test for build * latest build before rest fix runs-on in build section * whitespace * atrtifacts list * enable self-hosted * remove target/sccache * global env * check self-hosted * test cache on selfhosted * all-in one stage * lint * new cache * check new cache * disable cache * add docker volume * lint * fix yml * fix volumes * change target dir * switch volumes path * echo refs * change mount point * head ref to cargo home * add CARGO_TARGET_DIR * fix artifact path * path * $CARGO_TARGET_DIR/ * test 2 * test 3 * test 4 * update deny * test 5 * deny * remove deny actions * move clippy to new workflow, only nightly check * rename lint workflow * Update .github/workflows/rust.yml Co-authored-by: Hernando Castano <[email protected]> * Update .github/workflows/lint.yml Co-authored-by: Hernando Castano <[email protected]> * Update .github/workflows/rust.yml Co-authored-by: Hernando Castano <[email protected]> * Update .github/workflows/rust.yml Co-authored-by: Hernando Castano <[email protected]> * rustfmt in every job nightly build -> weekly * check nightly Rus and clean cache * check nightly Rus and clean cache 2 * check nightly Rus and clean cache 3 * check nightly Rus and clean cache 4 * check nightly Rus and clean cache 5 * Split clippy and fmt * Run build only on master. * Don't fail if nightly file does not exist. Co-authored-by: Hernando Castano <[email protected]> Co-authored-by: Hernando Castano <[email protected]> Co-authored-by: Tomasz Drwięga <[email protected]>
-
Hernando Castano authored
* Bump Substrate to rc4 * Add BaseCallFilter type * Add DenyUnsafe to SystemApi extension * Use new ServiceBuilder build functions * Add BaseCallFilter to test runtimes * Remove old comments * Add `rev` and `git` fields back Turns out that if you don't have these future release candidates will be used if available. For instance, once `rc5` is released a fresh pull would use that instead of `rc4` which is what we want. * Use tag release instead of specific commit Will make scripted updates easier in the future * Add short script to update between `rc` versions * Update scripts/update_rc.sh Co-authored-by: Tomasz Drwięga <[email protected]>
-
Hernando Castano authored
* Add skeleton for worst case import_unsigned_header * Fix a typo * Add benchmark test for best case unsigned header import * Add finality verification to worst case bench * Move `insert_header()` from mock to test_utils Allows the benchmarking code to use this without having to pull it in from the mock. * Add a rough bench to test a finalizing a "long" chain * Try to use complexity parameter for finality bench * Improve long finality bench * Remove stray dot file * Remove old "worst" case bench * Scribble some ideas down for pruning bench * Prune headers during benchmarking * Clean up some comments * Make finality bench work for entire range of complexity parameter * Place initialization code into a function * Add bench for block finalization with caching * First attempt at bench with receipts * Try and trigger validator set change * Perform a validator set change during benchmarking * Move `validators_change_receipt()` to shared location Allows unit tests and benchmarks to access the same helper function and const * Extract a test receipt root into a constant * Clean up description of pruning bench * Fix cache and pruning tests * Remove unecessary `build_custom_header` usage * Get rid of warnings * Remove code duplication comment I don't think its entirely worth it to split out so few lines of code. The benches aren't particularly hard to read anyways. * Increase the range of the complexity parameter * Use dynamic number of receipts while benchmarking As part of this change we have removed the hardcoded TEST_RECEIPT_ROOT and instead chose to calculate the receipt root on the fly. This will make tests and benches less fragile. * Prune a dynamic number of headers
-
- Jul 09, 2020
-
-
Tomasz Drwięga authored
-
Tomasz Drwięga authored
-
Tomasz Drwięga authored
-
Tomasz Drwięga authored
-
Tomasz Drwięga authored
-
Tomasz Drwięga authored
-