Commit Graph

135 Commits

Author SHA1 Message Date
99c7ba1920 ci: don't add PRs to project (#735) 2023-01-05 17:44:13 +02:00
5c88f25ef3 ci: add project workflow (#720)
* ci: add project workflow

* ci: rename secret
2023-01-04 22:22:17 +01:00
ec69481af4 ci: use nightly for sanity workflow (#679) 2023-01-02 13:41:03 +02: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
562e895f21 ci: unused dependencies sanity check (#590)
* ci: add unused deps sanity check

* ci: fix unused deps issue template title

* ci: rename udeps job

* chore: formatting

* chore: make `cargo-udeps` ignore `aquamarine`

* deps: resolve unused deps

* ci: check every feature and target in udeps job
2022-12-23 13:19:50 +01:00
2f81137d66 ci: fix sanity check issue template frontmatter 2022-12-23 12:42:49 +01:00
affead471d ci: fix sanity job 2022-12-23 12:30:06 +01:00
9e2ef7e48c ci: add sanity check workflow (#588)
* ci: add sanity check workflow

Adds a workflow that performs on-demand and scheduled
checks to ensure reth crates are consumeable.

* chore: adjust issue template

* ci: rename sanity check job
2022-12-23 12:27:19 +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
df9d14127d Reth Book - Stages framework/draft (#360)
* Added framework and start to draft for stages, stopping here to get feedback on approach before pushing forward

* Update README.md

Fixing some wording / grammar.

* Fixing grammar/wording.

* Added note about non-exhaustive stages list, fixed grammar, fixed State exectuion function name, updated language to reflect that the stream yields a SealedHeader and added language to describe that the initial header validation is only a basic validation.

* updated stages chapter, added bodies, senders, execution, next chapter prelude

* typo

* Added line numbers to code snippets for the stages chapter of the reth book

* address reverse header download + other nits

* add note about book hosting

* tweaked wording, formatting

* Address typo "staring"

* Address typo "HeadderDownloader"

* consolidated book.toml

* updating snippets in stages chapter to ignore errors

* template & removed empty fields from book.toml

* addressed build issues, added templating for source code

* only deploy on push to main

* using single quotes in github action if expression

Co-authored-by: Andrew Kirillov <andrew@paradigm.xyz>
Co-authored-by: Andrew Kirillov <20803092+akirillo@users.noreply.github.com>
2022-12-14 10:30:45 +02: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
d2acc6bdff meta(contrib): bug issue template platform type (#400) 2022-12-13 08:22:32 +01: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
d0b31bb074 feat: add issue templates (#282) 2022-11-29 11:36:09 +01:00
78e7fbaee6 ci: book deployment workflow (#242)
* ci: book deployment workflow

* ci: modernize book publish workflow
2022-11-24 03:40:31 -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
e50eb65078 ci: add cargo deny action (#125)
* ci: add `cargo-deny` workflow

* ci: allow advisory failures in deny workflow

* ci: only run deny workflow if `Cargo.lock` changed

* chore: driveby formatting of readme
2022-10-24 16:34:37 +02: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
edc75881c1 docs: add book skeleton (#44)
* docs: add book skeleton

* ci: add book test workflow
2022-10-11 18:52:28 +02: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
978527367f chore: init 2022-09-19 19:25:12 +02:00