Skip to content
  • Benjamin Canou's avatar
    Alpha/Michelson: do not allow spendable smart contracts · 01b5bb08
    Benjamin Canou authored and Marco Stronati's avatar Marco Stronati committed
    This patches forbids the creation of spendable smart contracts, a
    current feature that is not necessary (it can be implemented from the
    contract's code) and prevents some possible future optimisations.
    
    It also prevents the creation of non spendable non scripted contracts,
    which was mostly a design flaw allowing people to lock funds.
    
    This is done by checking the flag in the origination operation rather
    than removing it so the change is lighter for third party software.
    01b5bb08