From 2140aabf535135cce56481faff59b116eb0e10da Mon Sep 17 00:00:00 2001 From: Martin Holst Swende Date: Mon, 30 May 2022 14:45:27 +0200 Subject: [PATCH] contracs/checkpointoracle: fix directives (#24944) contracts/checkpointoracle: redefine go-generate logic --- contracts/checkpointoracle/oracle.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/contracts/checkpointoracle/oracle.go b/contracts/checkpointoracle/oracle.go index eff8ce2f2b..dec01db244 100644 --- a/contracts/checkpointoracle/oracle.go +++ b/contracts/checkpointoracle/oracle.go @@ -17,7 +17,8 @@ // Package checkpointoracle is a an on-chain light client checkpoint oracle. 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 ( "errors"