Last active
August 28, 2024 16:40
-
-
Save jac18281828/5d2df32b06585a2a60bd56d7772d27ca to your computer and use it in GitHub Desktop.
DataAccessLayr example DAL in rust
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
trait DataAccessLayr { | |
fn init() -> Self; | |
fn write(&self, status: &eigenlayer::OperatorAVSRegistrationStatus) -> eyre::Result<()>; | |
fn read(&self, status: &mut eigenlayer::OperatorAVSRegistrationStatus) -> eyre::Result<()>; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment