Skip to content

Create messages database/backend that the validator is willing to sign #444

@aaronbuchwald

Description

@aaronbuchwald

Implement a WarpBackend to be used by the precompile onAccept and the signature request handler:

type WarpBackend interface {
	AddMessage(ctx context.Context, unsignedMessage *teleporter.UnsignedMessage) error
	GetSignature(ctx context.Context, messageHash ids.ID) ([]byte, error)
}

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions