DXgovernance / davi-monorepo

https://davi-monorepo-davi.vercel.app
8 stars 12 forks source link

Fix: approval call was incorrectly decoded #357

Closed dcrescimbeni closed 1 year ago

dcrescimbeni commented 1 year ago

Description

Approval call was incorrectly decoded, returning an undefined amount value.

Now it will decode it correctly, and in case it doesn't, it will return zero instead of crashing.

Closes #335

Type of change

How Has This Been Tested?

Go to this proposal to test the fix:

http://localhost:3000/#/gnosis/0x3f842726188FcD932d43bcA291be28138228e6D9/proposal/0xd0d2b3959f717a877344d81bdd46d5ab60de1105be7b465e807a3b8016c5e46a

Checklist:

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
davi ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Mar 28, 2023 at 5:38PM (UTC)