Skip to content

Commit

Permalink
remove updateRuntimeCode
Browse files Browse the repository at this point in the history
  • Loading branch information
jimjbrettj committed Apr 17, 2023
1 parent 3e7294f commit 294c0e9
Show file tree
Hide file tree
Showing 15 changed files with 2 additions and 594 deletions.
1 change: 0 additions & 1 deletion dot/core/interfaces.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ import (

// RuntimeInstance for runtime methods
type RuntimeInstance interface {
UpdateRuntimeCode([]byte) error
Stop()
NodeStorage() runtime.NodeStorage
NetworkService() runtime.BasicNetwork
Expand Down
14 changes: 0 additions & 14 deletions dot/core/mocks_test.go

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

1 change: 0 additions & 1 deletion dot/interfaces.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ type Telemetry interface {
// Note: only used internally in `loadRuntime` and
// `createRuntime`.
type runtimeInterface interface {
UpdateRuntimeCode([]byte) error
Stop()
NodeStorage() runtime.NodeStorage
NetworkService() runtime.BasicNetwork
Expand Down
1 change: 0 additions & 1 deletion dot/rpc/modules/interfaces_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import (
)

type Runtime interface {
UpdateRuntimeCode([]byte) error
Stop()
NodeStorage() runtime.NodeStorage
NetworkService() runtime.BasicNetwork
Expand Down
1 change: 0 additions & 1 deletion dot/state/interfaces.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ type NewBatcher interface {

// Runtime interface.
type Runtime interface {
UpdateRuntimeCode([]byte) error
Stop()
NodeStorage() runtime.NodeStorage
NetworkService() runtime.BasicNetwork
Expand Down
14 changes: 0 additions & 14 deletions dot/sync/mock_runtime_test.go

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

14 changes: 0 additions & 14 deletions lib/babe/mocks/runtime.go

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

1 change: 0 additions & 1 deletion lib/blocktree/interfaces.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import (

// Runtime interface.
type Runtime interface {
UpdateRuntimeCode([]byte) error
Stop()
NodeStorage() runtime.NodeStorage
NetworkService() runtime.BasicNetwork
Expand Down
14 changes: 0 additions & 14 deletions lib/blocktree/mocks_test.go

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

14 changes: 0 additions & 14 deletions lib/grandpa/mocks_runtime_test.go

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

Loading

0 comments on commit 294c0e9

Please sign in to comment.