Prevents EthereumBlobExporter from consuming dest when returning NotApplicable (#5789)
# Description
The EthereumBlobExporter consumes the `dest` parameter when the
destination is not `Here`. Subsequent exporters will receive a `None`
value for the destination instead of the original destination value,
which is incorrect.
Closes #5788
## Integration
Minor fix related to the exporter behaviour.
## Review Notes
Verified that tests
`exporter_validate_with_invalid_dest_does_not_alter_destination` and
`exporter_validate_with_invalid_universal_source_does_not_alter_universal_source`
fail without the fix in the exporter.
---------
Co-authored-by:
Adrian Catangiu <adrian@parity.io>
parent
88570c26
Showing
- bridges/snowbridge/primitives/router/src/outbound/mod.rs 12 additions, 10 deletionsbridges/snowbridge/primitives/router/src/outbound/mod.rs
- bridges/snowbridge/primitives/router/src/outbound/tests.rs 110 additions, 6 deletionsbridges/snowbridge/primitives/router/src/outbound/tests.rs
- prdoc/pr_5789.prdoc 19 additions, 0 deletionsprdoc/pr_5789.prdoc
Please register or sign in to comment