AxLabs / grantshares-contracts

GrantShares: Smart Contracts 🌱
Apache License 2.0
5 stars 2 forks source link

Add expected error return value in Intent struct #20

Open csmuller opened 2 years ago

csmuller commented 2 years ago

Depending on the return value of contract call of a proposal intent the proposer might want the execute method to fail. To have knowledge of the error return value we need the user to define it already in the intent at the time of proposal creation.

Requires migration of the contract storage.