Skip to content

Create TeleporterMessenger ABI Go binding #1

Create TeleporterMessenger ABI Go binding

Create TeleporterMessenger ABI Go binding #1

Workflow file for this run

# Copyright (C) 2023, Ava Labs, Inc. All rights reserved.
# See the file LICENSE for licensing terms.
name: ABI Go Binding
on:
push:
branches:
- main
pull_request:
branches:
- "*"
env:
GO_VERSION: "1.20.7"
jobs:
abi_binding:
name: abi_binding
runs-on: ubuntu-20.04
steps:
- name: Checkout go-ethereum repository
uses: actions/checkout@v4
with:
repository: ethereum/go-ethereum
ref: v1.13.1
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: ${{ env.GO_VERSION }}
- name: Install abigen tool
run: make
run: make devtools

Check failure on line 36 in .github/workflows/abibinding.yml

View workflow run for this annotation

GitHub Actions / ABI Go Binding

Invalid workflow file

The workflow is not valid. .github/workflows/abibinding.yml (Line: 36, Col: 9): 'run' is already defined .github/workflows/abibinding.yml (Line: 40, Col: 9): 'run' is already defined
- name: Create ABI Go bindings
run: mkdir -p abis/go/teleport-messenger
run: abigen --abi abis/TeleporterMessenger.json --pkg teleport_messenger --out teleport-messenger/teleport_messenger.go