Closed dbluhm closed 11 months ago
@dbluhm this will happen if you write the transactions in the wrong order. We've run into this before and we even added an endpoint to fix the issue (PUT /revocation/registry/{rev_reg_id}/fix-revocation-entry-state
)
You can call this with apply_ledger_update=false
and it won't try to apply any updates.
I suggest you trace exactly when credentials are revoked and updated revocations are written to the ledger, so that if this problem arises you can track back and see what happened. It's possible there's a logic error somewhere but tough to track down without specifics ...
I think this issue is stale, especially given plans to rework endorsement. Closing.
This might be another instance of me misunderstanding these endpoints but while attempting to publish a revocation registry entry with an endorser, I kept on running into the following error:
This was tested on ACA-Py 0.7.5 using Askar wallet type. It's possible that this was timing related; I was running a script that performed many operations in quick succession; however, I had been waiting for all previous transactions to be written to the network before moving on to this.