Closed vikiival closed 1 year ago
It looks correct to me. Why do you want to use this function if there are no events?
Maybe we should make generated files similar to evm-typegen, so there will be no such issues. @tmcgroul what do you think?
Maybe we should make generated files similar to evm-typegen, so there will be no such issues. @tmcgroul what do you think?
Fixed just the type issue for now. I think there is no reason to make generated files similar to evm-typegen... but some features would be useful to implement
Describe the bug
I have a smart contract that does not emit any events
the problem is when I do
npx squid-ink-typegen
(+ args ofc)it generates content like:
Now it it impossible to build the squid
or
decodeEvent
function