Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add crate template #2

Merged
merged 1 commit into from
Sep 26, 2022
Merged

feat: add crate template #2

merged 1 commit into from
Sep 26, 2022

Conversation

mattsse
Copy link
Collaborator

@mattsse mattsse commented Sep 21, 2022

add reth template with some sensible default clippy configs

see also https://github.com/rust-lang/rust-clippy

https://doc.rust-lang.org/rustdoc/write-documentation/the-doc-attribute.html

This is intended to be temporarily included in this monorepo so all new crates will use same default clippy config etc...

alternatively, there's clippy.toml but this is unstable and not everything is supported

@mattsse mattsse force-pushed the matt/add-crate-template branch from cdd47b4 to 57a2b2d Compare September 22, 2022 18:16
Copy link
Collaborator

@rakita rakita left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems nice :)

@gakonst gakonst merged commit 6f973a6 into master Sep 26, 2022
@gakonst gakonst deleted the matt/add-crate-template branch September 27, 2022 17:56
joshieDo added a commit that referenced this pull request Jan 26, 2023
clabby pushed a commit to clabby/reth that referenced this pull request Mar 5, 2023
rkrasiuk added a commit that referenced this pull request May 9, 2023
clabby added a commit to clabby/reth that referenced this pull request Aug 13, 2023
Resolution checkpoint

Resolution checkpoint paradigmxyz#2

Resolution checkpoint paradigmxyz#3

x

Resolution checkpoint paradigmxyz#4

Resolution checkpoint paradigmxyz#5

Resolution checkpoint paradigmxyz#6

Resolution checkpoint paradigmxyz#7

Resolution checkpoint paradigmxyz#8

Resolve checkpoint paradigmxyz#9 (transaction primitive)

Resolve checkpoint paradigmxyz#10 (rpc api transactions)

Resolve checkpoint paradigmxyz#11 (building w/o feature flag)

Start review

Compiling with and without `optimism` feature flag

Remove `DepositTx` from txpool mock tests, they never go into the txpool

fmt

code lint

fix signature tests

Co-authored-by: nicolas <[email protected]>

Use free CI runners (revert before upstream)

Co-authored-by: refcell <[email protected]>

Signature test fixes

Co-authored-by refcell <[email protected]>

Fix Receipt proptest

Co-authored-by BB <[email protected]>

lint

Fix variable-length compact for txtype/transaction

Co-authored-by: Brian Bland <[email protected]>

Fix basefee tests

Remove unnecessary rpc deps

Co-authored-by: Brian Bland <[email protected]>
Co-authored-by: refcell <[email protected]>
Co-authored-by: nicolas <[email protected]>
Co-authored-by: Roberto <[email protected]>
clabby added a commit to clabby/reth that referenced this pull request Aug 13, 2023
Resolution checkpoint

Resolution checkpoint paradigmxyz#2

Resolution checkpoint paradigmxyz#3

x

Resolution checkpoint paradigmxyz#4

Resolution checkpoint paradigmxyz#5

Resolution checkpoint paradigmxyz#6

Resolution checkpoint paradigmxyz#7

Resolution checkpoint paradigmxyz#8

Resolve checkpoint paradigmxyz#9 (transaction primitive)

Resolve checkpoint paradigmxyz#10 (rpc api transactions)

Resolve checkpoint paradigmxyz#11 (building w/o feature flag)

Start review

Compiling with and without `optimism` feature flag

Remove `DepositTx` from txpool mock tests, they never go into the txpool

fmt

code lint

fix signature tests

Co-authored-by: nicolas <[email protected]>

Use free CI runners (revert before upstream)

Co-authored-by: refcell <[email protected]>

Signature test fixes

Co-authored-by refcell <[email protected]>

Fix Receipt proptest

Co-authored-by BB <[email protected]>

lint

Fix variable-length compact for txtype/transaction

Co-authored-by: Brian Bland <[email protected]>

Fix basefee tests

Remove unnecessary rpc deps

Co-authored-by: Brian Bland <[email protected]>
Co-authored-by: refcell <[email protected]>
Co-authored-by: nicolas <[email protected]>
Co-authored-by: Roberto <[email protected]>
tcoratger pushed a commit to tcoratger/reth that referenced this pull request Jul 16, 2024
AshinGau added a commit to AshinGau/reth that referenced this pull request Sep 11, 2024
…gmxyz#2)

Improve asynchronous framework and yield IO operations.

Add test in `grevm_test.rs`. This may not be standardized, but the
entire framework is not yet perfect and the mock difficulty is
relatively high, so the main process was written separately for testing.
The file will be deleted later.

Comparison of two tests:
1. `test_parallel_without_yield`: not yield IO operations, and are
running with CPU operations. Total time of 12s.
2. `test_parallel_with_yield`: yield IO operations, and are running in
separate thread pool. Total time of 5s.
AshinGau added a commit to AshinGau/reth that referenced this pull request Oct 13, 2024
…gmxyz#2)

Improve asynchronous framework and yield IO operations.

Add test in `grevm_test.rs`. This may not be standardized, but the
entire framework is not yet perfect and the mock difficulty is
relatively high, so the main process was written separately for testing.
The file will be deleted later.

Comparison of two tests:
1. `test_parallel_without_yield`: not yield IO operations, and are
running with CPU operations. Total time of 12s.
2. `test_parallel_with_yield`: yield IO operations, and are running in
separate thread pool. Total time of 5s.
liamaharon added a commit to liamaharon/reth that referenced this pull request Oct 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants