Problem description
When set as autorun = true, createTokenBlock validation requires wipe contract to be set in the template, regardless if the wipe operation is enabled.
Step to reproduce
- Go to the token template configuration
- Set all features to "No"
- Create a policy with a createTokenBlock block
- Use the template and set autocreate = true
- Try validating the policy
- See the error "Autorun requires all fields to be filled in token template"
- Change the template to allow Wipe operation and set the contract "Empty"
- Try validating the policy
- Now the policy is validated correctly
Expected behavior
Validation passes with all token template features set to "No".
Screenshots
