Skip to content

feat: remove BlockSigner trait#2057

Merged
Mirko-von-Leipzig merged 1 commit intomainfrom
mirko/deasync-signer
May 7, 2026
Merged

feat: remove BlockSigner trait#2057
Mirko-von-Leipzig merged 1 commit intomainfrom
mirko/deasync-signer

Conversation

@Mirko-von-Leipzig
Copy link
Copy Markdown
Collaborator

@Mirko-von-Leipzig Mirko-von-Leipzig commented May 6, 2026

BlockSigner::sign is an async trait function which abstracts over both KMS and local signing. Unfortunately this also hides the fact local signing is a blocking call happening in an async runtime.

#2041 patched over this by hiding in another inner runtime. This PR sidesteps the problem entirely by instead removing the abstraction layer.

@Mirko-von-Leipzig Mirko-von-Leipzig added the no changelog This PR does not require an entry in the `CHANGELOG.md` file label May 6, 2026
@Mirko-von-Leipzig Mirko-von-Leipzig force-pushed the mirko/deasync-signer branch 2 times, most recently from b988fa6 to 7e47850 Compare May 6, 2026 11:53
@Mirko-von-Leipzig Mirko-von-Leipzig marked this pull request as ready for review May 6, 2026 12:06
Copy link
Copy Markdown
Contributor

@kkovaacs kkovaacs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool, looks much better.

Copy link
Copy Markdown
Collaborator

@sergerad sergerad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, TY.

@Mirko-von-Leipzig Mirko-von-Leipzig merged commit f1e1448 into main May 7, 2026
27 of 29 checks passed
@Mirko-von-Leipzig Mirko-von-Leipzig deleted the mirko/deasync-signer branch May 7, 2026 06:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no changelog This PR does not require an entry in the `CHANGELOG.md` file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants