Aggregated Protobuf Best Practices Analysis & Improvement Plan #1622 - #1717
Conversation
374aaaa to
ddc36bd
Compare
0bd061c to
46eb8b9
Compare
f46c7d9 to
142e48a
Compare
…nurus#1717 The protobuf-level rewrite in LFDT-Panurus#1717 supersedes the auditor changes originally bundled in this PR. Keep only the driver-level Match, MatchInputs, and ValidateReceivers refactor here; auditor input correctness will be re-introduced as part of LFDT-Panurus#1717. Signed-off-by: Storm1289 <divakarsharm2934@gmail.com>
|
Hi @adecaro, went through the new auditor. Input commitments aren't re-checked - A few smaller things:
Thanks 🙏 |
Great catches, @Storm1289. Indeed. Those points need to be addressed 🙏 |
862be46 to
ad6b562
Compare
01436c3 to
789125d
Compare
58dd6b1 to
6d268de
Compare
499316b to
ef56c56
Compare
AkramBitar
left a comment
There was a problem hiding this comment.
LGTM
Great work @adecaro thanks a million.
4557090 to
151fafc
Compare
Signed-off-by: Angelo De Caro <adc@zurich.ibm.com>
Signed-off-by: Angelo De Caro <adc@zurich.ibm.com>
Signed-off-by: Angelo De Caro <adc@zurich.ibm.com>
fca4b4d to
7e7d71d
Compare
Signed-off-by: Angelo De Caro <adc@zurich.ibm.com>
Since LFDT-Panurus#1717 action and auditor signatures share the unified Actions.Signatures slice, but SetSignatures still assigned the whole field, silently dropping auditor signatures attached beforehand via AddAuditorSignature. Endorsement then fails with 'auditor signatures missing' when auditing runs before endorsement collection. Preserve existing auditor entries when assigning action signatures, restoring the pre-LFDT-Panurus#1717 order-independence of the two calls. Fixes LFDT-Panurus#1897 Signed-off-by: YanYuan <yan950414@gmail.com>
Since LFDT-Panurus#1717 action and auditor signatures share the unified Actions.Signatures slice, but SetSignatures still assigned the whole field, silently dropping auditor signatures attached beforehand via AddAuditorSignature. Endorsement then fails with 'auditor signatures missing' when auditing runs before endorsement collection. Preserve existing auditor entries when assigning action signatures, restoring the pre-LFDT-Panurus#1717 order-independence of the two calls, and rename SetSignatures to AppendSignatures so the name states that contract. Fixes LFDT-Panurus#1897 Signed-off-by: YanYuan <yan950414@gmail.com>
Since LFDT-Panurus#1717 action and auditor signatures share the unified Actions.Signatures slice, but SetSignatures still assigned the whole field, silently dropping auditor signatures attached beforehand via AddAuditorSignature. Endorsement then fails with 'auditor signatures missing' when auditing runs before endorsement collection. Append the action signatures to the ones already attached, restoring the pre-LFDT-Panurus#1717 order-independence of the two calls, and rename SetSignatures to AppendSignatures so the name states that contract. Fixes LFDT-Panurus#1897 Signed-off-by: YanYuan <yan950414@gmail.com>
Since LFDT-Panurus#1717 action and auditor signatures share the unified Actions.Signatures slice, but SetSignatures still assigned the whole field, silently dropping auditor signatures attached beforehand via AddAuditorSignature. Endorsement then fails with 'auditor signatures missing' when auditing runs before endorsement collection. Append the action signatures to the ones already attached, restoring the pre-LFDT-Panurus#1717 order-independence of the two calls, and rename SetSignatures to AppendSignatures so the name states that contract. Fixes LFDT-Panurus#1897 Signed-off-by: YanYuan <yan950414@gmail.com>
Since LFDT-Panurus#1717 action and auditor signatures share the unified Actions.Signatures slice, but SetSignatures still assigned the whole field, silently dropping auditor signatures attached beforehand via AddAuditorSignature. Endorsement then fails with 'auditor signatures missing' when auditing runs before endorsement collection. Append the action signatures to the ones already attached, restoring the pre-LFDT-Panurus#1717 order-independence of the two calls, and rename SetSignatures to AppendSignatures so the name states that contract. Fixes LFDT-Panurus#1897 Signed-off-by: YanYuan <yan950414@gmail.com>
Since LFDT-Panurus#1717 action and auditor signatures share the unified Actions.Signatures slice, but SetSignatures still assigned the whole field, silently dropping auditor signatures attached beforehand via AddAuditorSignature. Endorsement then fails with 'auditor signatures missing' when auditing runs before endorsement collection. Append the action signatures to the ones already attached, restoring the pre-LFDT-Panurus#1717 order-independence of the two calls, and rename SetSignatures to AppendSignatures so the name states that contract. Fixes LFDT-Panurus#1897 Signed-off-by: YanYuan <yan950414@gmail.com>
No description provided.