Remove 'purpose' from blueprint's schema.

This has been removed from the CIP-0057 specification since validators
  are often re-used for multiple purposes (especially validators with
  arity 2). It's misleading to assign a validator a purpose since the
  purpose distinction actually happens _within_ the validator itself.
This commit is contained in:
KtorZ
2023-02-21 15:29:47 +01:00
parent db0dfbbec1
commit 82a32a082b
3 changed files with 1 additions and 54 deletions

View File

@@ -30,11 +30,5 @@ impl IdGenerator {
}
}
pub const SPEND: &str = "spend";
pub const PUBLISH: &str = "publish";
pub const MINT: &str = "mint";
pub const WITHDRAW: &str = "withdraw";
pub const VALIDATOR_NAMES: [&str; 4] = [SPEND, PUBLISH, MINT, WITHDRAW];
#[cfg(test)]
mod tests;