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.
In https://github.com/entropyxyz/entropy-core/pull/433 the
Relayer::register
interface was changed so that a program would go from being anOption
to aVec<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.