pub fn encode_calldata<F>(instances: &[Vec<F>], proof: &[u8]) -> Vec<u8> ⓘwhere F: PrimeField<Repr = [u8; 32]>,
Encode instances and proof into calldata.