generate-abi.sh 458 B

12345678910111213
  1. #!/bin/bash
  2. # Regenerate bridge/pkg/ethereum/abi using a running eth-devnet's state.
  3. (
  4. cd third_party/abigen
  5. docker build -t localhost/certusone/wormhole-abigen:latest .
  6. )
  7. kubectl exec -c tests eth-devnet-0 -- npx truffle run abigen Wormhole
  8. kubectl exec -c tests eth-devnet-0 -- cat abigenBindings/abi/Wormhole.abi | \
  9. docker run --rm -i localhost/certusone/wormhole-abigen:latest /bin/abigen --abi - --pkg abi > \
  10. bridge/pkg/ethereum/abi/abi.go