Uploaded image for project: 'Indy Node'
  1. Indy Node
  2. INDY-1414

Review and replace 'assert' with exceptions in indy-node where needed

    XMLWordPrintable

    Details

    • Type: Task
    • Status: New
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Currently production builds use optimization for bytecode (INDY-211) when running node and node_control_tool.

      This silently removes all assert statements from the code. I think all asserts (in both indy-plenum and indy-node) should be reviewed and fixed (e.g. replaced with custom/built-in exeptions) where needed.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ashcherbakov Alexander Shcherbakov
              Reporter:
              andkononykhin Andrey Kononykhin
              Watchers:
              Andrey Kononykhin
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: