contracs/checkpointoracle: fix directives (#24944)

contracts/checkpointoracle: redefine go-generate logic
pull/24997/head
Martin Holst Swende 3 years ago committed by GitHub
parent 93fe17559b
commit 2140aabf53
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      contracts/checkpointoracle/oracle.go

@ -17,7 +17,8 @@
// Package checkpointoracle is a an on-chain light client checkpoint oracle. // Package checkpointoracle is a an on-chain light client checkpoint oracle.
package checkpointoracle package checkpointoracle
//go:generate go run ../../cmd/abigen --sol contract/oracle.sol --pkg contract --out contract/oracle.go //go:generate solc contract/oracle.sol --combined-json bin,bin-runtime,srcmap,srcmap-runtime,abi,userdoc,devdoc,metadata,hashes --optimize -o ./ --overwrite
//go:generate go run ../../cmd/abigen --pkg contract --out contract/oracle.go --combined-json ./combined.json
import ( import (
"errors" "errors"

Loading…
Cancel
Save