- Jul 21, 2020
-
-
Hernando Castano authored
-
Hernando Castano authored
-
Hernando Castano authored
-
- Jul 20, 2020
-
-
Tomasz Drwięga authored
* Fix clippy errors. * Cargo fmt. * Enable clippy checks. * Create if does not exist. * Fix warnings and enable sccache for clippy. * chmod +x * Revert and ignore errors. * Update cancel-workflow-action. * Fixes. * Clippy fixes. * Fix compilation. * Fix new clippy warnings. * fmt --all * Fix the rest. * fmt --all * Conditional. * Bump smallvec. * Use separate cache dir for clippy to prevent races. * Remove unused imports in tests * Remove "useless conversion" * Move clippy to main worfklow to avoid clashes. * Fix clippy error. * Fix remaning clippy errors. * cargo fmt --all Co-authored-by: Hernando Castano <[email protected]>
-
dependabot-preview[bot] authored
-
dependabot-preview[bot] authored
-
dependabot-preview[bot] authored
-
dependabot-preview[bot] authored
-
- Jul 17, 2020
-
-
Svyatoslav Nikolsky authored
* expose metrics for Prometheus * added preconfigured configs for Prometheus and Grafana * metrics-related cli args * fix compilation
-
Tomasz Drwięga authored
* Dockerfile for OpenEth. * Add relayer dockerfile. * Add docker-compose. * Working on the relay. * Bump a bunch of deps. * Change relay branch. * Running a 3-validators poa network. * Add bridge nodes. * Conditional compilation of bridge configs. * Fix genesis hash. * Disable features build. * Disable empty steps. * Work on sub2eth * Add some logs. * More logs. * Fix compilation. * Add chain-id parameter to relay. * Unify bridge-hash. * Update the hash. * Ditch sub2eth for now. * Add some docs & proxy configuration. * Fixes. * Fix remaining issues. * Increase health timeout. * Make sure to install curl for health monitoring. * Fix kovan. * Fix build. * Create if does not exist. * Fix benches. * Revert CLI params requirements. * cargo fmt --all * Apply suggestions from code review Co-authored-by: Hernando Castano <[email protected]> * Add some docs. * Update BRIDGE_HASH to master * Duplicate compose file. * Rename testpoa to Rialto. * Fix borked merge. * Fix entrypoints to take arguments. Co-authored-by: Hernando Castano <[email protected]>
-
- 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
-
Denis S. Soldatov aka General-Beck authored
* Fix cleanup cache * echo github.env * Cleanup always
-
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
-
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
* 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
* 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
* Remove less maintenance friendly deny. * Run always on PRs. * Create if does not exist.
-
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 08, 2020
-
-
Svyatoslav Nikolsky authored
* backoff on connection-unrelated errors * cargo fmt --all * Fix some typos Co-authored-by: Hernando Castano <[email protected]>
-
- Jul 06, 2020
-
-
dependabot-preview[bot] 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 * add deny.toml and compare with embark actions * fix options * Fix cargo deny. * Remove cargo audit (same as deny) Co-authored-by: Tomasz Drwięga <[email protected]>
-
Svyatoslav Nikolsky authored
* ease serde version requirements (to build OE with builtin) * trace + fix completion notifications * check incompletion on submit * fix compilation * do not ask for synced blocks when queue is empty * cargo fmt --all * Update relays/ethereum/src/ethereum_client.rs Co-authored-by: Tomasz Drwięga <[email protected]> * remove closure * fn submit_substrate_header() -> Option<RpcError> Co-authored-by: Tomasz Drwięga <[email protected]>
-
- Jul 02, 2020
-
-
Svyatoslav Nikolsky authored
* sign PoA transactions from wasm env * cargo fmt --all
-
Denis S. Soldatov aka General-Beck authored
* enable actions * add check, test, build, audit, tyle check * remove travis * Disable Check& Build stage, clang and beta * disable check deps for test stage * remove cache cargo registry and index. Add sccache_dir * fix sccache dir * ~/sccache * sccache dir in script * fix ENV * SCCACHE_DIR="~/sccache" * pwsh env * pwsh ENV * update cache https://github.com/denoland/rusty_v8/blob/master/.github/workflows/ci.yml#L101 * update cache keys * rust wrapper
-
- Jul 01, 2020
-
-
Svyatoslav Nikolsky authored
This reverts commit 236d449b.
-
Svyatoslav Nikolsky authored
* use deposit_creating in DepositInto * Update modules/currency-exchange/src/lib.rs Co-authored-by: Tomasz Drwięga <[email protected]> * Update primitives/currency-exchange/src/lib.rs Co-authored-by: Tomasz Drwięga <[email protected]> Co-authored-by: Tomasz Drwięga <[email protected]>
-
- Jun 29, 2020
-
-
dependabot-preview[bot] authored
-
dependabot-preview[bot] authored
-
- Jun 26, 2020
-
-
Tomasz Drwięga authored
-
- Jun 24, 2020
-
-
Svyatoslav Nikolsky authored
* runtime benchmarks: start * merge tests + benchmarks infrastructure * fix compilation * Fix compilation issues with runtime-benchmark feature flag Mainly involved pulling in correct dependencies and adding some functions which were called but didn't yet exist. * Fix broken compilation for tests * Move header signing methods into trait * Move signing related test helpers to own module * Remove comment about feature flag * Add constants to tests * Add top level comment for testing utilities Co-authored-by: Hernando Castano <[email protected]>
-