Skip to content

Commit

Permalink
chore: run fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
erwanor committed Nov 20, 2023
1 parent 19da31e commit 112584b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion crates/core/app/src/params.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use penumbra_chain::params::ChainParameters;
use penumbra_dao::params::DaoParameters;
use penumbra_fee::FeeParameters;
use penumbra_distributions::DistributionsParameters;
use penumbra_fee::FeeParameters;
use penumbra_governance::params::GovernanceParameters;
use penumbra_ibc::params::IBCParameters;
use penumbra_proto::core::app::v1alpha1 as pb;
Expand Down
7 changes: 5 additions & 2 deletions crates/core/component/governance/src/proposal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ use std::str::FromStr;
use crate::params::GovernanceParameters;
use penumbra_chain::params::ChainParameters;
use penumbra_dao::params::DaoParameters;
use penumbra_distributions::params::DistributionsParameters;
use penumbra_fee::params::FeeParameters;
use penumbra_ibc::params::IBCParameters;
use penumbra_distributions::params::DistributionsParameters;
use penumbra_proto::{penumbra::core::component::governance::v1alpha1 as pb, DomainType, TypeUrl};
use penumbra_stake::params::StakeParameters;

Expand Down Expand Up @@ -394,7 +394,10 @@ impl TryFrom<pb::ChangedAppParameters> for ChangedAppParameters {
Ok(ChangedAppParameters {
chain_params: msg.chain_params.map(TryInto::try_into).transpose()?,
dao_params: msg.dao_params.map(TryInto::try_into).transpose()?,
distributions_params: msg.distributions_params.map(TryInto::try_into).transpose()?,
distributions_params: msg
.distributions_params
.map(TryInto::try_into)
.transpose()?,
fee_params: msg.fee_params.map(TryInto::try_into).transpose()?,
governance_params: msg.governance_params.map(TryInto::try_into).transpose()?,
ibc_params: msg.ibc_params.map(TryInto::try_into).transpose()?,
Expand Down
2 changes: 1 addition & 1 deletion crates/proto/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ pub mod penumbra {
include!("gen/penumbra.core.component.distributions.v1alpha1.serde.rs");
}
}

pub mod fee {
pub mod v1alpha1 {
include!("gen/penumbra.core.component.fee.v1alpha1.rs");
Expand Down
2 changes: 1 addition & 1 deletion crates/view/src/storage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ use penumbra_dex::{
lp::position::{self, Position, State},
TradingPair,
};
use penumbra_distributions::params::DistributionsParameters;
use penumbra_fee::{FeeParameters, GasPrices};
use penumbra_governance::params::GovernanceParameters;
use penumbra_distributions::params::DistributionsParameters;
use penumbra_ibc::params::IBCParameters;
use penumbra_keys::{keys::AddressIndex, Address, FullViewingKey};
use penumbra_num::Amount;
Expand Down

0 comments on commit 112584b

Please sign in to comment.