taiko-mono icon indicating copy to clipboard operation
taiko-mono copied to clipboard

Automate abigen.sh scripts for solidity change

Open dantaik opened this issue 1 year ago • 1 comments

Jeff, I cannot resolve this conflict by running https://github.com/taikoxyz/taiko-mono/blob/main/packages/eventindexer/abigen.sh as there is no doc for helping me install dependencies:

./abigen.sh
./abigen.sh: line 14: jq: command not found
./abigen.sh: line 16: abigen: command not found

Could you:

  1. add a doc, or
  2. automate it so anything change in the protocol code will trigger the script and potential the one for https://github.com/taikoxyz/taiko-mono/blob/main/packages/relayer/abigen.sh

dantaik avatar Jun 05 '23 08:06 dantaik

Automating abigenerated changes will inherently break code, because those abigenerated files are used within the relayer and eventindexer. So even if I was to automate the generation, you would have to go throughout the relayer and eventindexer and fix all the issues that come up. I'm not sure you want to spend your time doing that, but if you want, I can still do this task.

cyberhorsey avatar Jun 29 '23 02:06 cyberhorsey