Skip to content

Commit

Permalink
Fixes benchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
grarco committed May 28, 2024
1 parent cf18dc9 commit c792d05
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion crates/node/src/bench_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -439,8 +439,12 @@ impl BenchShell {
)
.unwrap();

namada::token::conversion::update_allowed_conversions(&mut self.state)
if self.state.is_masp_new_epoch(true).unwrap() {
namada::token::conversion::update_allowed_conversions(
&mut self.state,
)
.unwrap();
}
}

pub fn init_ibc_client_state(&mut self, addr_key: Key) -> ClientId {
Expand Down

0 comments on commit c792d05

Please sign in to comment.