@@ -65,21 +65,18 @@ func TestMsgVoteChainMetaConstruction(t *testing.T) {
6565 chainID := "eip155:1"
6666 price := uint64 (20000000000 )
6767 chainHeight := uint64 (18500000 )
68- observedAt := uint64 (1700000001 )
6968
7069 msg := & uexecutortypes.MsgVoteChainMeta {
7170 Signer : granter ,
7271 ObservedChainId : chainID ,
7372 Price : price ,
7473 ChainHeight : chainHeight ,
75- ObservedAt : observedAt ,
7674 }
7775
7876 assert .Equal (t , granter , msg .Signer )
7977 assert .Equal (t , chainID , msg .ObservedChainId )
8078 assert .Equal (t , price , msg .Price )
8179 assert .Equal (t , chainHeight , msg .ChainHeight )
82- assert .Equal (t , observedAt , msg .ObservedAt )
8380 })
8481
8582 t .Run ("MsgVoteChainMeta with zero values" , func (t * testing.T ) {
@@ -88,11 +85,9 @@ func TestMsgVoteChainMetaConstruction(t *testing.T) {
8885 ObservedChainId : "eip155:1" ,
8986 Price : 0 ,
9087 ChainHeight : 0 ,
91- ObservedAt : 0 ,
9288 }
9389 assert .Equal (t , uint64 (0 ), msg .Price )
9490 assert .Equal (t , uint64 (0 ), msg .ChainHeight )
95- assert .Equal (t , uint64 (0 ), msg .ObservedAt )
9691 })
9792}
9893
0 commit comments