Custom error in solidity do not work with window.tronWeb

When I was building the dapp for my hackathon, I found TVM’ smart contract have problem with custom error.

The tronWeb have problem accessing ABI’s method on client. I’ve been debugging the problem, and finally change all the solidity error into require instead of custom error and solve all the issue.

executing and deploying the contract has no problem, but window.tronWeb always ecounter the problem, I’m not sure about the detail why this happening.

but what’s possibility? is TVM on behind of solidity from EVM ?

TBC: more info…


This is good, I hope you find a long lasting fix for this problem


I hope you can rectify where the issues is from

1 Like