Before I introduced typechain to a project, I passed Buffer to a smart contract that accepted bytes. Now types for that method expect string and I need to do
`0x{buffer.toString('hex')}`
Is there a way around this? Here is the repo.
Before I introduced typechain to a project, I passed Buffer to a smart contract that accepted bytes. Now types for that method expect string and I need to do
`0x{buffer.toString('hex')}`
Is there a way around this? Here is the repo.