code.vegaprotocol.io/vega@v0.79.0/core/datasource/external/ethcall/testdata/gen.sh (about)

     1  #!/bin/bash
     2  
     3  # shanghai EVM is a pain to set up using go-ethereum's simulated backend
     4  solc --abi mycontract.sol --evm-version paris --bin --overwrite -o .
     5  # go run github.com/ethereum/go-ethereum/cmd/abigen@latest --abi Store.abi --bin Store.bin --pkg ethcall_test --out ../testcontract_bindings_test.go