Skip to content

Commit

Permalink
update mockgen to same version as subnet-evm (#470)
Browse files Browse the repository at this point in the history
  • Loading branch information
darioush authored Jan 26, 2024
1 parent b3692f3 commit 0f31c49
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 40 deletions.
49 changes: 21 additions & 28 deletions precompile/contract/mocks.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 12 additions & 7 deletions precompile/precompileconfig/mocks.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 2 additions & 5 deletions scripts/mock.gen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,8 @@ if ! [[ "$0" =~ scripts/mock.gen.sh ]]; then
exit 255
fi

if ! command -v mockgen &>/dev/null; then
echo "mockgen not found, installing..."
# https://github.com/uber-go/mock
go install -v go.uber.org/mock/mockgen@v0.2.0
fi
# https://github.com/uber-go/mock
go install -v go.uber.org/mock/mockgen@v0.4.0

if ! command -v go-license &>/dev/null; then
echo "go-license not found, installing..."
Expand Down

0 comments on commit 0f31c49

Please sign in to comment.