When using fluree/server the raw, signed transaction sent to Fluree is not what is stored in the txn file on disk. The signed transaction is required for validating that a particular transaction/data change originated from a did.
Note about testing
@dpetran mentioned that we won't be able to write a test for this until there's an API that enables retrieving the contents of the txn file. We'll want this in the future not only for testing this works correctly, but also to support audit-ability and automated proving of provenance of data state changes.
Description
When using
fluree/server
the raw, signed transaction sent to Fluree is not what is stored in thetxn
file on disk. The signed transaction is required for validating that a particular transaction/data change originated from adid
.Note about testing
@dpetran mentioned that we won't be able to write a test for this until there's an API that enables retrieving the contents of the
txn
file. We'll want this in the future not only for testing this works correctly, but also to support audit-ability and automated proving of provenance of data state changes.Steps to reproduce
txn
file on disk.Expected:
Actual: