title: Hyperledger fabric changing endorsement policy : stateBasedValidator.Validate failed
body: <p>I'm trying to change endorsement policy in existing setup at chaincode level for that I have changed the chaincode sequece and approved chaincode for all organizaiton. I have commited the chaincode successfully and I'm able to perform transaction successfully.</p>
  <p>but when I tried same steps once again for rechanging the endorsement policy for that I have commited chaincode without any issue but while I'm performing the transaction I'm getting following error.</p>
  <pre><code>2021-08-17 09:16:51.375 UTC [vscc] Validate -&gt; ERRO 0aa VSCC error: stateBasedValidator.Validate failed, err validation of endorsement policy for chaincode basic in tx 110:0 failed: signature set did not satisfy policy
  2021-08-17 09:16:51.376 UTC [committer.txvalidator] validateTx -&gt; ERRO 0ab Dispatch for transaction txId = 79f0fa71cc39d61d56f565bec88856ca6899067401fc309ea40d302c66b37dcb returned error: validation of endorsement policy for chaincode basic in tx 110:0 failed: signature set did not satisfy policy
  </code></pre>
  <p>My default policy mentioned in configtx.yaml file is:</p>
  <pre><code>Policies:
      Readers:
          Type: ImplicitMeta
          Rule: &quot;ANY Readers&quot;
      Writers:
          Type: ImplicitMeta
          Rule: &quot;ANY Writers&quot;
      Admins:
          Type: ImplicitMeta
          Rule: &quot;MAJORITY Admins&quot;
      LifecycleEndorsement:
          Type: Signature
          Rule: &quot;AND('Org1.peer', 'Org2.peer', 'Org3.peer')&quot;
      Endorsement:
          Type: Signature
          Rule: &quot;AND('Org1.peer', 'Org2.peer', 'Org3.peer')&quot;
  
  Capabilities:
      &lt;&lt;: *ApplicationCapabilities
  </code></pre>
  <p>during the approve the chaincode for organizations and commit I have used signature policy as</p>
  <blockquote>
  <p>--signature-policy &quot;OR('Org1.peer', 'Org2.peer', 'Org3.peer')&quot;</p>
  </blockquote>