Uploaded image for project: 'Fabric'
  1. Fabric
  2. FAB-18090

Validations for State Based Endorsements

    XMLWordPrintable

Details

    • Story
    • Status: Backlog
    • Medium
    • Resolution: Unresolved
    • None
    • None
    • fabric-ledger
    • Unset
    • Unset
    • Unset

    Description

      Test Environment: Fabric 1.4.x.

      Observation: It is possible to set State Based Endorsements for invalid Key (assetId) OR invalid org MSPID policy.

      Description: Setting the StateBased Endorsement , doesn’t validate or return error, but succeeds (for both state and private state API’s) with invalid key or policy based on invalid MSPID's. 

      setStateValidationParameter(key: string, ep: Buffer)

      setPrivateDataValidationParameter(collection: string, key: string, ep: Buffer)

       

      Is this the expected behaviour? 

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            gauravgiri Gaurav Giri
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: