Skip to content

Commit

Permalink
chore
Browse files Browse the repository at this point in the history
  • Loading branch information
tkxkd0159 committed May 3, 2024
1 parent d0d5dfb commit 5ceb48b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion x/fbridge/keeper/keeper.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ type Keeper struct {
// the target denom for the bridge
targetDenom string

// address that can have the same rights as a Guardian when the guardian is not registered yet
// authority can give a role to a specific address like guardian
authority string
}

Expand Down
2 changes: 1 addition & 1 deletion x/fbridge/keeper/transfer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func TestHandleBridgeTransfer(t *testing.T) {
bankKeeper.EXPECT().SendCoinsFromAccountToModule(ctx, sender, types.ModuleName, token).Return(nil)
bankKeeper.EXPECT().BurnCoins(ctx, types.ModuleName, token).Return(nil)

k := NewKeeper(encCfg.Codec, key, memKey, authKeeper, bankKeeper, denom)
k := NewKeeper(encCfg.Codec, key, memKey, authKeeper, bankKeeper, denom, types.DefaultAuthority().String())
targetSeq := uint64(2)
bz := make([]byte, 8)
binary.BigEndian.PutUint64(bz, targetSeq)
Expand Down
1 change: 1 addition & 0 deletions x/fbridge/types/keys.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ const (
//
// - 0xF0: memstore initialized
// - 0xF1: role metadata
// - 0xF2: bridge status

var (
KeyParams = []byte{0x01} // key for fbridge module params
Expand Down

0 comments on commit 5ceb48b

Please sign in to comment.