Closed stephengaudet closed 1 year ago
Latest commit: |
c2e0271
|
Status: | ✅ Deploy successful! |
Preview URL: | https://fe3361bd.signatory.pages.dev |
Branch Preview URL: | https://379-watermark-order-issue.signatory.pages.dev |
Some background information: while the endorsement operation can't obviously be injected before the block it's endorsing it still can be forged and signed before the block header (but not before operations) as it doesn't refer to the final hash of the signed block but to block's payload hash instead which is computed from the operations hash and the block's predecessor hash only. So the signer service shouldn't expect any specific order of block header and endorsement requests.
While the endorsement operation can't obviously be injected before the block it's endorsing it still can be forged and signed before the block header (but not before operations) as it doesn't refer to the final hash of the signed block but to block's payload hash instead which is computed from the operations hash and the block's predecessor hash only. So the signer service shouldn't expect any specific order of block header and endorsement requests.