refactor: move model home and replica to models

buddies-main-deployment
James Prestwich 4 years ago
parent f65a1a4a7c
commit ff4962729c
No known key found for this signature in database
GPG Key ID: 75A7F5C06D747046
  1. 2
      rust/optics-core/bin/toy.rs
  2. 7
      rust/optics-core/src/lib.rs
  3. 0
      rust/optics-core/src/models/home.rs
  4. 5
      rust/optics-core/src/models/mod.rs
  5. 0
      rust/optics-core/src/models/replica.rs

@ -3,7 +3,7 @@ use ethers_signers::LocalWallet;
use std::time::Duration;
use tokio::time::interval;
use optics_core::{home::Home, replica::Replica};
use optics_core::models::{home::Home, replica::Replica};
fn main() {
tokio::runtime::Builder::new_current_thread()

@ -8,11 +8,8 @@
/// Accumulator management
pub mod accumulator;
/// A simple Home chain Optics implementation
pub mod home;
/// A simple Replica chain Optics implementation
pub mod replica;
/// Model instantatiations of the on-chain structures
pub mod models;
use ethers_core::{
types::{Address, Signature, H256},

@ -0,0 +1,5 @@
/// A simple Home chain Optics implementation
pub mod home;
/// A simple Replica chain Optics implementation
pub mod replica;
Loading…
Cancel
Save