Closed L8D closed 1 month ago
Thanks for raising an issue here with a minimal repro!
Since Frog is written with TypeScript, it's expected that to
property is set to Address
type – otherwise a type error would be thrown.
I don't think there are plans to maintain cases when a developer overrides any types with unknown
's as if one does it, he has to understand potential issues that come with it!
Describe the bug
I had a transaction that looks like this
however when I did not set
MY_CONTRACT_ADDRESS
the value forto
would be undefined. This would cause the entire dev tools to crash when it tried to display the "review transaction" window.Link to Minimal Reproducible Example
https://github.com/L8D/frog-bug-reproduction
Steps To Reproduce
clone repo,
npm install && npm run dev
then open thehttp://localhost:5173/dev
then click "submit".Frog Version
0.11.8
TypeScript Version
No response
Check existing issues
Anything else?
No response