Skip to content

Instantly share code, notes, and snippets.

@jac18281828
Last active August 28, 2024 16:40
Show Gist options
  • Save jac18281828/5d2df32b06585a2a60bd56d7772d27ca to your computer and use it in GitHub Desktop.
Save jac18281828/5d2df32b06585a2a60bd56d7772d27ca to your computer and use it in GitHub Desktop.
DataAccessLayr example DAL in rust
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