mirror of
https://github.com/fluencelabs/tendermint
synced 2025-04-25 14:52:17 +00:00
update to latest amino (pre) release v0.11.1
- also reformat code and order imports
This commit is contained in:
parent
d665c79cc9
commit
2744682e77
@ -63,7 +63,7 @@
|
|||||||
|
|
||||||
[[constraint]]
|
[[constraint]]
|
||||||
name = "github.com/tendermint/go-amino"
|
name = "github.com/tendermint/go-amino"
|
||||||
version = "=0.10.1"
|
version = "=v0.11.1"
|
||||||
|
|
||||||
[[constraint]]
|
[[constraint]]
|
||||||
name = "google.golang.org/grpc"
|
name = "google.golang.org/grpc"
|
||||||
|
@ -2,10 +2,12 @@ package types
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"testing"
|
"testing"
|
||||||
"github.com/tendermint/tendermint/types/proto3"
|
|
||||||
"github.com/stretchr/testify/assert"
|
|
||||||
"github.com/golang/protobuf/proto"
|
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
|
"github.com/golang/protobuf/proto"
|
||||||
|
"github.com/stretchr/testify/assert"
|
||||||
|
|
||||||
|
"github.com/tendermint/tendermint/types/proto3"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestProto3Compatibility(t *testing.T) {
|
func TestProto3Compatibility(t *testing.T) {
|
||||||
@ -29,7 +31,6 @@ func TestProto3Compatibility(t *testing.T) {
|
|||||||
LastCommitHash: []byte("commit hash"),
|
LastCommitHash: []byte("commit hash"),
|
||||||
DataHash: []byte("data hash"),
|
DataHash: []byte("data hash"),
|
||||||
ValidatorsHash: []byte("validators hash"),
|
ValidatorsHash: []byte("validators hash"),
|
||||||
|
|
||||||
}
|
}
|
||||||
aminoHeader := Header{
|
aminoHeader := Header{
|
||||||
ChainID: "cosmos",
|
ChainID: "cosmos",
|
||||||
@ -69,7 +70,6 @@ func TestProto3Compatibility(t *testing.T) {
|
|||||||
LastCommitHash: []byte("commit hash"),
|
LastCommitHash: []byte("commit hash"),
|
||||||
DataHash: []byte("data hash"),
|
DataHash: []byte("data hash"),
|
||||||
ValidatorsHash: []byte("validators hash"),
|
ValidatorsHash: []byte("validators hash"),
|
||||||
|
|
||||||
}
|
}
|
||||||
emptyLastBlockAm := Header{
|
emptyLastBlockAm := Header{
|
||||||
ChainID: "cosmos",
|
ChainID: "cosmos",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user