implement and integrate attestation routine
Fix single-hop attestation. Add type for attestation notice.