Hey team,
I have some static state variables(won't be changed anywhere through the methods) in a smart contract and the only variable states I have, I have shifted them over to the OffchainState, apart from settling the offchainState, is it possible to have pre-compile method execution proofs of say a fixed set of values as param? What I mean is : My function takes in 2 public variables so If I have the set of proofs prior compiled for a set of those values say the combination [1,10], [1,1000], [10,100] can I hypothetically just ask the user to sign the proofs and send them?
Note : The offchainState is updated within the methods.
If not are there any optimization techniques apart from zkCloudWorker/Caching that I can use to make the sending of txns on-chain even faster? Thank you. Appreciate any responses :)