-
Notifications
You must be signed in to change notification settings - Fork 641
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* pin ibc-go v8.0 * go mod tidy * fix error * add mock key path and height * mock fixes
- Loading branch information
1 parent
cffbd67
commit 57fcdb9
Showing
5 changed files
with
37 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
package mock | ||
|
||
import ( | ||
"github.com/cosmos/ibc-go/v8/modules/core/exported" | ||
) | ||
|
||
var _ exported.Path = KeyPath{} | ||
|
||
// KeyPath defines a placeholder struct which implements the exported.Path interface | ||
type KeyPath struct{} | ||
|
||
// String implements the exported.Path interface | ||
func (KeyPath) String() string { | ||
return "" | ||
} | ||
|
||
// Empty implements the exported.Path interface | ||
func (KeyPath) Empty() bool { | ||
return false | ||
} | ||
|
||
var _ exported.Height = Height{} | ||
|
||
// Height defines a placeholder struct which implements the exported.Height interface | ||
type Height struct { | ||
exported.Height | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters