Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for running empty programs #36

Closed
HCastano opened this issue Oct 24, 2023 · 1 comment
Closed

Add support for running empty programs #36

HCastano opened this issue Oct 24, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@HCastano
Copy link
Contributor

In entropyxyz/entropy-core#433 the Relayer::register interface was changed so that a program would go from being an Option to a Vec<u8>.

In theory a user can register with an empty program, which would be equivalent to having a None program previously.

However, according to Peg's comment it doesn't look like the execution of an empty program is supported yet. I propose that we allow this but just make it a no-op, essentially allowing a user to jump straight to signature generation.

@jakehemmerle
Copy link
Contributor

Closing since zero-length programs now error; interpretation of error (ie sign empty programs or not) is handled at core level.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants