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

refactor: implement rav traits for horizon #616

Merged
merged 3 commits into from
Feb 11, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions crates/tap-agent/src/tap/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ pub trait NetworkVersion: Send + Sync + 'static {
///
/// A simple `struct Legacy;` would be able to instantiate and pass as
/// value, while having size 1.
#[derive(Debug)]
pub enum Legacy {}
/// 0-sized marker for horizon network
///
Expand All @@ -79,6 +80,7 @@ pub enum Legacy {}
///
/// A simple `struct Legacy;` would be able to instantiate and pass as
/// value, while having size 1.
#[derive(Debug)]
pub enum Horizon {}

impl NetworkVersion for Legacy {
Expand Down
Loading
Loading