Typechain making me convert Buffer to string to represent solidity's bytes

43 views Asked by At

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.

0

There are 0 answers