Skip to content

Commit

Permalink
chore: generate files with suffix .gen.go
Browse files Browse the repository at this point in the history
  • Loading branch information
fbac committed Sep 20, 2024
1 parent a7533eb commit 67ad4fa
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 6 deletions.
4 changes: 1 addition & 3 deletions codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,4 @@ ignore:
- "precompiles/**/*.abi"
- "precompiles/**/*.json"
- "precompiles/**/*.sol"
- "precompiles/prototype/IPrototype.go"
- "precompiles/staking/IStaking.go"
- "precompiles/bank/IBank.go"
- "precompiles/**/*.gen.go"
File renamed without changes.
2 changes: 1 addition & 1 deletion precompiles/bank/bindings.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//go:generate sh -c "solc IBank.sol --combined-json abi | jq '.contracts.\"IBank.sol:IBank\"' > IBank.json"
//go:generate sh -c "cat IBank.json | jq .abi > IBank.abi"
//go:generate sh -c "abigen --abi IBank.abi --pkg bank --type IBank --out IBank.go"
//go:generate sh -c "abigen --abi IBank.abi --pkg bank --type IBank --out IBank.gen.go"

package bank

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion precompiles/prototype/bindings.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//go:generate sh -c "solc IPrototype.sol --combined-json abi | jq '.contracts.\"IPrototype.sol:IPrototype\"' > IPrototype.json"
//go:generate sh -c "cat IPrototype.json | jq .abi > IPrototype.abi"
//go:generate sh -c "abigen --abi IPrototype.abi --pkg prototype --type IPrototype --out IPrototype.go"
//go:generate sh -c "abigen --abi IPrototype.abi --pkg prototype --type IPrototype --out IPrototype.gen.go"

package prototype

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion precompiles/staking/bindings.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//go:generate sh -c "solc IStaking.sol --combined-json abi | jq '.contracts.\"IStaking.sol:IStaking\"' > IStaking.json"
//go:generate sh -c "cat IStaking.json | jq .abi > IStaking.abi"
//go:generate sh -c "abigen --abi IStaking.abi --pkg staking --type IStaking --out IStaking.go"
//go:generate sh -c "abigen --abi IStaking.abi --pkg staking --type IStaking --out IStaking.gen.go"

package staking

Expand Down

0 comments on commit 67ad4fa

Please sign in to comment.