Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgao001 committed Mar 15, 2023
1 parent f123d3c commit 19924d9
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 6 deletions.
1 change: 0 additions & 1 deletion math/uint_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -370,5 +370,4 @@ func (s *uintTestSuite) TestUintBigEndian() {
u2 = u2.SetBytes(u1b)

s.Require().Equal(u1, u2)

}
3 changes: 2 additions & 1 deletion proto/cosmos/oracle/v1/oracle.proto
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,11 @@ message Params {
// Reward share for the relayer sends the claim message,
// the other relayers signed the bls message will share the reward evenly.
uint32 relayer_reward_share = 2; // in percentage

// RelayInterval is for in-turn relayer
uint64 relayer_interval = 3; // in s
}

// RelayInterval holds start and end tiem of in-turn relayer
message RelayInterval {
uint64 start = 1;
uint64 end = 2;
Expand Down
2 changes: 1 addition & 1 deletion x/auth/tx/eip712_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package tx
import (
"fmt"
"testing"
"time"

"github.com/stretchr/testify/require"

Expand All @@ -19,7 +20,6 @@ import (
"github.com/cosmos/cosmos-sdk/x/feegrant"
govtypes "github.com/cosmos/cosmos-sdk/x/gov/types/v1"
"github.com/cosmos/cosmos-sdk/x/group"
"time"
)

func TestEIP712Handler(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion x/gashub/simulation/params_test.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package simulation_test

import (
"fmt"
"math/rand"
"testing"

"github.com/stretchr/testify/require"

"fmt"
"github.com/cosmos/cosmos-sdk/x/gashub/simulation"
"github.com/cosmos/cosmos-sdk/x/gashub/types"
)
Expand Down
4 changes: 3 additions & 1 deletion x/oracle/types/oracle.pb.go

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

1 change: 0 additions & 1 deletion x/params/types/proposal/proposal_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,4 @@ func TestCrossChainUpgradeProposal(t *testing.T) {

pcp = NewCrossChainParameterChangeProposal("test title", "test description", []ParamChange{pc2, pc3}, []string{"0x80C7Fa8FC825C5e622cdbcAEa0A22d188634BDd3", "0xA4A2957E858529FFABBBb483D1D704378a9fca6b"})
require.Equal(t, pcp.ValidateBasic(), ErrInvalidUpgradeProposal)

}

0 comments on commit 19924d9

Please sign in to comment.