In the FHEVM architecture, when the coprocessor submits ciphertexts to the gateway via the AddCiphertextMaterial call in order to establish consensus, I have a question regarding the scope of ciphertexts involved in this process:
Which ciphertexts are actually required to be included in the consensus workflow?
- Does this only include the initial ciphertexts directly generated by the user and provided as transaction inputs?
- Or does it encompass all ciphertexts produced throughout the entire FHE computation pipeline, including:
- intermediate ciphertexts generated during computation, and
- final ciphertexts that are persisted as encrypted contract state variables?
In other words, is AddCiphertextMaterial intended solely to anchor consensus on user-submitted input ciphertexts, or is it designed to cover all ciphertext materials generated along the FHE execution path, including both intermediate and final results?