mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-17 21:46:36 +00:00
contracs/checkpointoracle: fix directives (#24944)
contracts/checkpointoracle: redefine go-generate logic
This commit is contained in:
parent
93fe17559b
commit
2140aabf53
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Reference in a new issue