Skip to content

Commit

Permalink
Merge pull request #55 from ewoolsey/main
Browse files Browse the repository at this point in the history
Derive Clone for App
  • Loading branch information
DariuszDepta authored Oct 2, 2023
2 parents 0a345b8 + b2afbf2 commit 7a427b6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ pub type BasicApp<ExecC = Empty, QueryC = Empty> = App<
/// Router is a persisted state. You can query this.
/// Execution generally happens on the RouterCache, which then can be atomically committed or rolled back.
/// We offer .execute() as a wrapper around cache, execute, commit/rollback process.
#[derive(Clone)]
pub struct App<
Bank = BankKeeper,
Api = MockApi,
Expand Down Expand Up @@ -871,6 +872,7 @@ where
}
}

#[derive(Clone)]
pub struct Router<Bank, Custom, Wasm, Staking, Distr, Ibc, Gov> {
// this can remain crate-only as all special functions are wired up to app currently
// we need to figure out another format for wasm, as some like sudo need to be called after init
Expand Down

0 comments on commit 7a427b6

Please sign in to comment.