Skip to content

Commit

Permalink
Print the position id when generating a position (#4798)
Browse files Browse the repository at this point in the history
Resolves issue #4792 

Prints the position Id when creating a new liquidity position

---------

Signed-off-by: Henry de Valence <hdevalence@hdevalence.ca>
Co-authored-by: Henry de Valence <hdevalence@hdevalence.ca>
  • Loading branch information
zmanian and hdevalence authored Aug 12, 2024
1 parent be0ef35 commit 897b59d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/bin/pcli/src/command/tx.rs
Original file line number Diff line number Diff line change
Expand Up @@ -957,6 +957,8 @@ impl TxCmd {
let position = order.as_position(&asset_cache, OsRng)?;
tracing::info!(?position);

println!("Position id: {}", position.id());

let plan = Planner::new(OsRng)
.set_gas_prices(gas_prices)
.set_fee_tier(order.fee_tier().into())
Expand Down

0 comments on commit 897b59d

Please sign in to comment.