Skip to content

feat: add shutdown to mock cctp relayer #300

@bekauz

Description

@bekauz

description

In order to test various adversarial scenarios, MockCctpRelayer should expose a shutdown option that will cause it to stop relaying the packets.

This should be implemented by providing a .shutdown() function which will gracefully break out of the loop.

Internally this should likely use the tokio_util::sync::CancellationToken.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions