Commit Graph

44 Commits

Author SHA1 Message Date
8f9d2908ca chore: add and fix more lints, improve docs (#4765) 2023-09-25 15:46:46 +00:00
64aba9cac5 feat(CI): add timeout to CI (#4728) 2023-09-22 19:13:37 +00:00
a8e0880a98 chore(ci): run check and clippy on tests and benches too (#4587) 2023-09-14 16:19:42 +00:00
a3952f1281 chore(ci): different clippy action (#4579) 2023-09-13 13:09:50 +00:00
8d29a49dd8 chore(ci): cargo check (#4511) 2023-09-07 17:44:43 +00:00
4a86aae213 ci: re-enable workflows on main (#3849) 2023-07-19 16:24:16 +02:00
21db2936e6 ci: pin ubuntu to 20.04 to avoid glibc errors
ref: https://github.com/paradigmxyz/reth/actions/runs/5486255403/jobs/9996118421
ref: https://github.com/foundry-rs/foundry/issues/3827

Compiling serde v1.0.164
error: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.25' not found (required by /target/maxperf/deps/libserde_derive-6e9709c79bb5c7fa.so)
   --> /cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.164/src/lib.rs:340:1
    |
340 | extern crate serde_derive;
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-07-07 15:37:04 +03:00
f2f3425f1c chore: fix clippy (#3540) 2023-07-03 14:26:17 +03:00
007c04e29e ci: split checks across pr/merge group/main (#3405) 2023-06-26 17:41:52 +00:00
30a1ad2586 feat(ci): validate Grafana dashboard JSON (#3382) 2023-06-26 11:33:20 +00:00
144f4bdcee ci: fix required checks (#3192) 2023-06-15 19:58:49 +00:00
b7fb236986 ci: add dummy jobs to required workflows (#2905) 2023-05-31 08:19:35 +00:00
fd785287de ci: run workflows on merge_group (#2842) 2023-05-25 18:39:32 +02:00
3f342a7c0a ci: re-introduce running CI on ubuntu-latest (#1837) 2023-03-19 17:26:39 -07:00
8485d7b209 ci: revert nightly downgrade (#1807) 2023-03-16 23:36:27 -07:00
00bcb210a0 fix(ci): downgrade nightly to 2023-03-14 (#1790) 2023-03-16 03:11:46 -07:00
f63c8d7e36 ci: split ci workflow (#1345) 2023-02-14 17:49:18 +01:00
ce2354a05a ci: use matrix for sync job (#1339) 2023-02-14 16:08:53 +01:00
5c62149b83 ci: add sync ci job (#1330) 2023-02-13 20:10:51 -08:00
cc43b72835 chore(db): microbenchmarking for table serialization and db insertion (#513)
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2023-01-30 20:08:51 -08:00
87306f2892 ci: ensure docs build (#1073)
Co-authored-by: xqft <estefano.bargas@fing.edu.uy>
Co-authored-by: lambdaclass-user <github@lambdaclass.com>
2023-01-27 18:49:22 +01:00
2397c54a11 ci: add doc test job (#1045) 2023-01-26 00:26:59 -08:00
707e488d2c feat: improve eth test runner (#868) 2023-01-13 14:24:18 +01:00
fc977b27bd meta: latest nightly for lint (#675) 2023-01-02 13:40:29 +02:00
208118caa4 meta: stable toolchain (#640)
* switch ci toolchain to stable

* revert fmt & clippy to nightly
2022-12-29 14:55:06 +02:00
47d044942b patch nightly toolchain (#642) 2022-12-29 11:16:35 +01:00
bfe2fd6221 ci: add eth chain test. Set prevrandao after merge (#621)
* Small changes

* feat: Add eth chain test to ci. Set prevrandao after merge

* Update .github/workflows/ci.yml

Co-authored-by: Bjerg <onbjerg@users.noreply.github.com>

* move env

Co-authored-by: Bjerg <onbjerg@users.noreply.github.com>
2022-12-26 22:55:46 +01:00
0864193031 ci: disable fuzzing jobs (#559) 2022-12-21 15:41:28 +02:00
ed4213fdff ci: speed up fuzz tests (#544)
* ci: run fuzz tests in matrix

* ci: fail if fuzzing fails

* ci: rename fuzz step

* ci: clean up env

* ci: fix fuzz test target matching

* ci: prebuild fuzz corpus

* ci: collect coverage while running tests

Instead of running tests twice, we can just run them
once while collecting coverage data.

* ci: temporarily disable `reth-eth-wire` fuzzing

* ci: collect fuzz coverage data

* ci: fix fuzz coverage collection

* ci: re-enable `reth-eth-wire`
2022-12-20 22:18:53 +01:00
8a63ef4025 chore: remove unnecessary step (#525) 2022-12-19 18:59:47 +01:00
1e38ffa5ad feat(eth-wire): fuzzing wire encoding roundtrip (#350)
* move hello to separate file

* cargo fmt

* wip: actual fuzz test

 * should probably also take advantage of test-fuzz to generate
   benchmarks like impl_fuzzer_with_input

* impl generic roundtrip method

* generate test with macro

* change testname to fuzzname

* add reth-eth-wire to fuzz in ci

* add other message types to fuzz

* remove unused_crate_dependencies

 * was causing test issues, may want to revisit whether or not we can
   include this warning and still use test_fuzz

* more afl debugging ci

* use more explicit imports in fuzz_rlp

* impl Default for types and fuzz ping/pong

 * Default is necessary for test-fuzz to auto generate a corpus for each
   type we are fuzz testing

* enable AFL_I_DONT_CARE_ABOUT_MISSING_CRASHES

 * not sure if we should do this in the workflow instead:
   echo core >/proc/sys/kernel/core_pattern

   we may miss crashes if we keep this enabled?

* remove reth-interfaces from fuzzing

* add secp256k1 to reth-db dev deps
2022-12-13 19:10:52 +02:00
f72becb3c2 ci: install geth for coverage 2022-12-12 18:30:03 +02:00
37e016d4a3 feat(ci): add geth bin to GITHUB_PATH (#373)
* PATH is not updated between action steps, so GITHUB_PATH needs to be
   prepended with the directory the geth binary is in
2022-12-09 16:42:10 -08:00
dffc42d6d5 feat(ci): add geth to ci (#367) 2022-12-08 22:40:20 -08:00
d66138e143 feat(execution): Account NotExisting and block reward changesets (#349) 2022-12-07 21:10:06 -08:00
7c2ee1ba3a ci: fix fuzz tests (#243)
* ci: fix fuzz tests

* ci: move fuzz to own job

* ci: improve fuzz job speed
2022-11-23 21:22:10 +01:00
027fc2bbf2 feat(db): derive Compact codec (#177) 2022-11-22 20:46:45 -08:00
9575eb89fb ci: fix workflow concurrency control (#191) 2022-11-11 07:46:32 +01:00
1db9a5aed4 ci: NEXTEST_EXPERIMENTAL_FILTER_EXPR env var no longer required (#188) 2022-11-10 22:30:19 +01:00
6d3ebe5096 ci: run coverage in parallel (#124) 2022-10-24 06:14:38 -07:00
483bcdf9ab feat(db): Database Abstraction (#101)
* database tx traits

* wip build passes

* Db and tx results

* nightly and db GAT

* Impl tx, wip cursor

* Move Decode to Table Key, working cursor trait

* wip dupsort

* build all Cursor abstraction

* cleanup

* wip cleanup

* old stages

* codecs moved o interface,stages wip

* resolve db ref, it builds

* Add tx commit after execution

* fmt

* Remove sync send restriction

* Add missing rw cursor functions

* Cleanup, added missing cursor fn. rust toolchain

* fmt

* add nightly to ci

* deny dead_code, remove unwrap

* rm printfn, stages fix, bench fix
2022-10-20 08:32:13 -07:00
fe84bfb68c ci: coverage (#106)
* ci: update action versions

* ci: add coverage job

* ci: require `CODECOV_TOKEN` secret

* ci: collect coverage for entire workspace

* ci: typo

* ci: dedup

* ci: add concurrency control
2022-10-19 14:46:47 -07:00
ded56d45ec ci: run against main
previously was against master but we changed the default branch
2022-10-09 12:39:33 -07:00
1e07fb6991 ci: move gh workflow to correct folder (#5)
* ci: move gh workflow to correct folder

* ci: name workflow

* ci: use nextest
2022-09-29 16:52:20 +02:00