HausDAO / daohaus-app

long live pokemol
https://daohaus.club/
Other
134 stars 79 forks source link

Bug: WSOD on Proposal List Page due to bad minion action #1915

Closed skuhlmann closed 2 years ago

skuhlmann commented 2 years ago

Details

Load this page to see the app crash https://app.daohaus.club/dao/0x89/0xb307eae573fd0595ebda024eb57a22b5d3f0f63c/proposals

Looks to me like it's failing on calls to get minion actions in minionUtils.js

in function: getMinionAction

 const action = await minionContract.methods[actionName](proposalId).call();

this doesn't function call doesn't return. error screenshot attached. Image

To me it looks like it's trying to call for proposal 5 and 7. I don't see the immediate issue with those though.

plor commented 2 years ago

Hoping you might be able to take this on @santteegt

santteegt commented 2 years ago

@skuhlmann a decoding error is being thrown because the Minion Safe used for the Superfluid proposal was deployed using the new summoner contract but the ABI used to instantiate the contract is from the previous version.

plor commented 2 years ago

Thanks @santteegt, this makes sense. We probably need to tack on some additional development on this to sort out these changes as it probably affects several operations on the minion safe.

plor commented 2 years ago

@skuhlmann should I make a task within the nomad milestone to separate out the new minion such that this ABI change is factored in?