Add context to error message #11

Merged
nabarun merged 2 commits from nv-handle-error into main 2024-04-08 04:04:15 +00:00
Member

Part of Fix error propagation from laconicd to client SDK and Create laconic registry SDK

  • Use error in response raw log from laconicd
  • Error examples
    • When using less gas
      Error: Unable to write to laconic2d.: out of gas in location: WritePerByte; gasWanted: 80000, gasUsed: 80095: out of gas
      
    • When using very less gas
      BroadcastTxError: Broadcasting transaction failed with code 11 (codespace: sdk). Log: out of gas in location: WriteFlat; gasWanted: 20000, gasUsed: 21850: out of gas
      
Part of [Fix error propagation from laconicd to client SDK](https://www.notion.so/Fix-error-propagation-from-laconicd-to-client-SDK-1bd20c5a4e8141a99e5809ea1fd7832f) and [Create laconic registry SDK](https://www.notion.so/Create-laconic-registry-SDK-d3a636d4aba44f7cbba3bd99b7146811) - Use error in response raw log from laconicd - Error examples - When using less gas ``` Error: Unable to write to laconic2d.: out of gas in location: WritePerByte; gasWanted: 80000, gasUsed: 80095: out of gas ``` - When using very less gas ``` BroadcastTxError: Broadcasting transaction failed with code 11 (codespace: sdk). Log: out of gas in location: WriteFlat; gasWanted: 20000, gasUsed: 21850: out of gas ```
nabarun added 2 commits 2024-04-05 05:48:22 +00:00
Update package version
All checks were successful
Tests / sdk_tests (pull_request) Successful in 19m52s
8daf488591
nabarun merged commit 25651a8e7a into main 2024-04-08 04:04:15 +00:00
nabarun deleted branch nv-handle-error 2024-04-08 04:04:16 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: cerc-io/registry-sdk#11
No description provided.