Skip to content

Commit

Permalink
Merge pull request #2070 from kadena-io/push-kmnvnqsoumqp
Browse files Browse the repository at this point in the history
Add HasCallStack to help debugging Rosetta errors
  • Loading branch information
edmundnoble authored Dec 16, 2024
2 parents 4f33731 + c99baf1 commit 86aaa6b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/unit/Chainweb/Test/Rosetta/RestAPI.hs
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ accountBalanceTests tio envIo =
where
req = AccountBalanceReq nid (AccountId "sender00" Nothing Nothing) Nothing

checkBalance :: HasCallStack => AccountBalanceResp -> Decimal -> IO ()
checkBalance resp bal1 = do
let b0 = head $ _accountBalanceResp_balances resp
b1 = kdaToRosettaAmount bal1
Expand Down

0 comments on commit 86aaa6b

Please sign in to comment.