-
Notifications
You must be signed in to change notification settings - Fork 0
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
Chain configs #34
Chain configs #34
Conversation
c75874f
to
5a77fc8
Compare
48102e9
to
7c8b773
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, left some comments that are generally focused on reducing the number of changes we make so we can reduce the chances of conflicts during future merges.
@@ -271,6 +271,9 @@ mod tests { | |||
/// Tests that the log directory is parsed correctly. It's always tied to the specific chain's | |||
/// name | |||
#[test] | |||
#[cfg(not(feature = "telos"))] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we need to disable the upstream tests individually like this, there will be a lot of tests that will not work with our changes and we want to make as few changes as possible (to reduce merge conflicts). I have removed the .github directory and added our own CI workflow which will just run our E2E test.
@@ -14,7 +14,7 @@ use std::sync::Arc; | |||
#[global_allocator] | |||
static ALLOC: tikv_jemallocator::Jemalloc = tikv_jemallocator::Jemalloc; | |||
|
|||
#[cfg(not(feature = "optimism"))] | |||
#[cfg(all(not(feature = "optimism"), not(feature = "telos")))] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see you also removed a similar change from bin/reth/src/main.rs
, do we need either of these? If we always build with the telos
feature flag, should we need to worry at all about the other binaries besides our own bin/reth/src/telos.rs
? If possible, neither of these changes would be ideal, so we have fewer changes/merge conflicts.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not sure I'm following, you think that its OK to make it compilable only with our feture flag, and doing that way will reduce differences?
crates/chainspec/src/spec.rs
Outdated
@@ -30,6 +30,8 @@ use reth_network_peers::{ | |||
base_nodes, base_testnet_nodes, holesky_nodes, mainnet_nodes, op_nodes, op_testnet_nodes, | |||
sepolia_nodes, | |||
}; | |||
#[cfg(feature = "telos")] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Initially we will not have the reth nodes doing any peering, the Telos node itself peers on the network and then reth is just consuming the blocks from that node. Possibly after do our initial release we will want to find a way to run reth without a Telos node, which could use peering, but we haven't planned for that yet.
So, if this is needed for reth to function then that's good, but if this is only needed to allow reth to peer with other reth nodes, we can skip this change for the initial release.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This would apply to all the other changes related to peers and bootnodes.
08de37b
to
66469d3
Compare
7c8b773
to
52a0454
Compare
52a0454
to
71d0946
Compare
e8c14c7
to
48e5034
Compare
48e5034
to
cdfd02a
Compare
Fixes #issue_number
Description
Test scenarios
Checklist: