Don't spend CPU condition
Custom eosio assertion message
By throwing an error containing what's outline below will result in the DSP gracefully failing the transaction without spending CPU. So for example if you have a price feed and you only want to update it when the price has moved by more than 1%, then you can throw that error until that condition is met.
Last updated