Skip to content

Commit

Permalink
fix(dot/core): RuntimeInstance interface Version signature (#2783)
Browse files Browse the repository at this point in the history
  • Loading branch information
qdm12 committed Aug 24, 2022
1 parent 4ed3def commit 7d66ec0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dot/core/interface.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ type RuntimeInstance interface {
Exec(function string, data []byte) ([]byte, error)
SetContextStorage(s runtime.Storage)
GetCodeHash() common.Hash
Version() (runtime.Version, error)
Version() (version runtime.Version)
Metadata() ([]byte, error)
BabeConfiguration() (*types.BabeConfiguration, error)
GrandpaAuthorities() ([]types.Authority, error)
Expand Down
5 changes: 2 additions & 3 deletions dot/core/mocks_test.go

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

0 comments on commit 7d66ec0

Please sign in to comment.