Open YaronWittenstein opened 2 years ago
Right now, the SDK generates this verify code (svm_verify if to be precise)
verify
svm_verify
#[no_mangle] pub extern "C" fn svm_verify() -> u32 { 0 }
https://github.com/spacemeshos/svm/blob/6edb73de199fafce0953f82af061ca1090ff911c/crates/sdk-macros/src/template.rs#L299-L311
The Simple Coin Iteration #2 is about being able to implement meaningful verify that will implement algorithms such as Single-Sig or MultiSig.
Simple Coin Iteration #2
#[verify]
#[endpoint]
#[ctor]
Right now, the SDK generates this
verify
code (svm_verify
if to be precise)https://github.com/spacemeshos/svm/blob/6edb73de199fafce0953f82af061ca1090ff911c/crates/sdk-macros/src/template.rs#L299-L311
The
Simple Coin Iteration #2
is about being able to implement meaningfulverify
that will implement algorithms such as Single-Sig or MultiSig.#[verify]
proc-macro attribute. For references look at the current#[endpoint]
and#[ctor]
.#[verify]
within a Template.#[verify]
usage is being used - we can decide to fall back to the current stub implementation for now.