(request: proto::sequencer::AuthenticatedTransaction)
| 12 | type Output = proto::blockchain::BlockNumber; |
| 13 | |
| 14 | fn decode(request: proto::sequencer::AuthenticatedTransaction) -> tonic::Result<Self::Input> { |
| 15 | AuthenticatedTransaction::try_from(request).map_err(|err| { |
| 16 | Status::invalid_argument(err.as_report_context("invalid authenticated transaction")) |
| 17 | }) |
| 18 | } |
| 19 | |
| 20 | fn encode(output: Self::Output) -> tonic::Result<proto::blockchain::BlockNumber> { |
| 21 | Ok(output) |
nothing calls this directly
no test coverage detected