Ostracon, a consensus algorithm, is forked from Tendermint Core. We have added VRF to Tendermint BFT. It adds randomness to PoS Validator elections and improves security.
Mockery was supposed to be installed in the local environment, but that assumption is not necessarily guaranteed. It is something that a repository should guarantee.
In this PR, a fix was made to manage the mockery package with go.mod and execute it directly with script.
The path is specified as a relative path according to Tendermint as follows.
The reason is to avoid conflicts during backporting.
Description
Mockery was supposed to be installed in the local environment, but that assumption is not necessarily guaranteed. It is something that a repository should guarantee.
In this PR, a fix was made to manage the mockery package with
go.mod
and execute it directly with script.The path is specified as a relative path according to Tendermint as follows. The reason is to avoid conflicts during backporting.
Ex.
This PR exists in
tendermint/tendermint
, but since Go 1.17 we cango run
external packages directly, so we don't need to use docker.Main: https://github.com/tendermint/tendermint/pull/9094
Two
Mockery
improvement PR exist in the 34.x version, butcherry-pick
is not desirable because it includes more than just Mock changes.https://github.com/tendermint/tendermint/pull/8863 https://github.com/tendermint/tendermint/pull/9114
This PR is for making Mockery work correctly.