The BlockVerifier constructed a tracing span and manually entered it inside of an async block. Manually entering spans inside async blocks can cause problems where the span might not be entered and exited correctly as the resulting future is polled. Instead, using the .instrument creates a wrapper future that handles the bookkeeping. I changed the span name and contents to be consistent with the spans in the checkpoint verifier. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |