Skip to content

Commit

Permalink
Improve visibility of Router members for build
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanfrey committed Sep 15, 2021
1 parent a095074 commit c979682
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions packages/multi-test/src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -576,11 +576,14 @@ where
}

pub struct Router<Bank, Custom, Wasm, Staking, Distr> {
// 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
pub(crate) wasm: Wasm,
// these must be pub so we can initialize them (super user) on build
pub bank: Bank,
pub custom: Custom,
pub(crate) staking: Staking,
pub(crate) distribution: Distr,
pub staking: Staking,
pub distribution: Distr,
}

impl<BankT, CustomT, WasmT, StakingT, DistrT> Router<BankT, CustomT, WasmT, StakingT, DistrT>
Expand Down

0 comments on commit c979682

Please sign in to comment.