Skip to content

Commit 7d66ec0

Browse files
authored
fix(dot/core): RuntimeInstance interface Version signature (#2783)
1 parent 4ed3def commit 7d66ec0

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

dot/core/interface.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ type RuntimeInstance interface {
2929
Exec(function string, data []byte) ([]byte, error)
3030
SetContextStorage(s runtime.Storage)
3131
GetCodeHash() common.Hash
32-
Version() (runtime.Version, error)
32+
Version() (version runtime.Version)
3333
Metadata() ([]byte, error)
3434
BabeConfiguration() (*types.BabeConfiguration, error)
3535
GrandpaAuthorities() ([]types.Authority, error)

dot/core/mocks_test.go

Lines changed: 2 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)