Closed Patotking12 closed 4 months ago
I also added to the name-claim-fast another check that we have on the name-register , otherwise name-claim-fast would not validate that the stx being burnt is the correct amount
;; Confirms that the amount of STX burned with the preorder is sufficient for the name registration based on a computed price. (asserts! (>= stx-burn (compute-name-price name (get price-function namespace-props))) ERR-NAME-STX-BURNT-INSUFFICIENT)
And removed this as there is no point of double checking that
;; Asserts a positive amount of STX to be burnt (asserts! (> stx-burn u0) ERR-NAME-STX-BURNT-INSUFFICIENT)
This pull addresses the 2 step path name registry by separating it into mng and unmnged