Skip to content

Commit

Permalink
Move VRF proof from Header to Entropy for compatibity (#559)
Browse files Browse the repository at this point in the history
* move proof and round to entropy

* fix abci

* remove duplicated proto

* fix mocks

* fix import ordering

* fix proto number

* fix test
  • Loading branch information
ulbqb authored Feb 9, 2023
1 parent a64f25a commit 5aca894
Show file tree
Hide file tree
Showing 44 changed files with 951 additions and 3,586 deletions.
55 changes: 28 additions & 27 deletions abci/client/mocks/client.go

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

6 changes: 3 additions & 3 deletions abci/example/kvstore/kvstore_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ import (
"github.com/stretchr/testify/require"

"github.com/tendermint/tendermint/abci/types"
tmproto "github.com/tendermint/tendermint/proto/tendermint/types"

abcicli "github.com/line/ostracon/abci/client"
"github.com/line/ostracon/abci/example/code"
abciserver "github.com/line/ostracon/abci/server"
ocabci "github.com/line/ostracon/abci/types"
"github.com/line/ostracon/libs/log"
"github.com/line/ostracon/libs/service"
ocproto "github.com/line/ostracon/proto/ostracon/types"
)

const (
Expand Down Expand Up @@ -105,7 +105,7 @@ func TestPersistentKVStoreInfo(t *testing.T) {
// make and apply block
height = int64(1)
hash := []byte("foo")
header := ocproto.Header{
header := tmproto.Header{
Height: height,
}
kvstore.BeginBlock(ocabci.RequestBeginBlock{Hash: hash, Header: header})
Expand Down Expand Up @@ -198,7 +198,7 @@ func makeApplyBlock(
// make and apply block
height := int64(heightInt)
hash := []byte("foo")
header := ocproto.Header{
header := tmproto.Header{
Height: height,
}

Expand Down
3 changes: 1 addition & 2 deletions abci/types/messages_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ import (
"github.com/stretchr/testify/assert"

"github.com/tendermint/tendermint/abci/types"

tmproto "github.com/line/ostracon/proto/ostracon/types"
tmproto "github.com/tendermint/tendermint/proto/tendermint/types"
)

func TestMarshalJSON(t *testing.T) {
Expand Down
36 changes: 18 additions & 18 deletions abci/types/mocks/application.go

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

Loading

0 comments on commit 5aca894

Please sign in to comment.