Uploaded image for project: 'RChain'
  1. RCHAIN-3734

Send of malformed data to secp256k1Verify leads to deploy "stuck" and node being able to propose blocks with no new deploys.

    Details

    • Type: Bug
    • Status: To Do
    • Priority: Medium
    • Resolution: Unresolved
    • Affects versions: RNode-0.9.11
    • Fix versions: None
    • Components: None
    • Labels:
      None
    • Sprint:
      Sprint 35, Sprint 36, Sprint 37

      Description

      Steps to reproduce:

      1. Send to system secp256k1Verify contract some random data
        new sigVerify, debug(`rho:io:stdout`) in {
          sigVerify!("dfdf","fdsf","dfsfd") |
          new c in {
            contract sigVerify(@data, @signature, @pubKey) = {
              @"secp256k1Verify"!(data.toByteArray(), signature.hexToBytes(), pubKey.hexToBytes(), *c)
            }
          }
        }
        
      2. Observe node responded with "Internal error encountered while processing deploy" and printed
        }: null
        
      3. All subsequent proposes create blocks despite the fact that no new deploys been received, trying to evaluate stuck deploy.

        Attachments

          Activity

            People

            • Assignee:
              joe Joseph Denman
              Reporter:
              nuttzipper nutzipper
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: