Skip to content

Commit

Permalink
cosmwasm: run cargo fmt using new stable 1.72.0
Browse files Browse the repository at this point in the history
commit-id:cb70a6c2
  • Loading branch information
kcsongor authored and kev1n-peters committed Aug 25, 2023
1 parent 753185e commit 512e507
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions cosmwasm/contracts/global-accountant/tests/chain_registration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,13 @@ fn any_target() {
.submit_vaas(vec![data])
.expect("failed to submit chain registration");

let Action::RegisterChain { chain, emitter_address } = v.payload.action else { panic!() };
let Action::RegisterChain {
chain,
emitter_address,
} = v.payload.action
else {
panic!()
};

resp.assert_event(
&Event::new("wasm-RegisterChain")
Expand All @@ -67,7 +73,13 @@ fn wormchain_target() {
.submit_vaas(vec![data])
.expect("failed to submit chain registration");

let Action::RegisterChain { chain, emitter_address } = v.payload.action else { panic!() };
let Action::RegisterChain {
chain,
emitter_address,
} = v.payload.action
else {
panic!()
};

resp.assert_event(
&Event::new("wasm-RegisterChain")
Expand Down

0 comments on commit 512e507

Please sign in to comment.