pub fn validate_eof(eof: &Eof) -> Result<(), EofError>
Expand description
Fully validates an Eof
container.
Only place where validation happen is in Creating Transaction. Because of that we are assuming CodeType is ReturnContract.
Note: If needed we can make a flag that would assume ReturnContract CodeType.