github.com/koko1123/flow-go-1@v0.29.6/engine/execution/computation/committer/noop.go (about) 1 package committer 2 3 import ( 4 "github.com/koko1123/flow-go-1/fvm/state" 5 "github.com/koko1123/flow-go-1/ledger" 6 "github.com/koko1123/flow-go-1/model/flow" 7 ) 8 9 type NoopViewCommitter struct { 10 } 11 12 func NewNoopViewCommitter() *NoopViewCommitter { 13 return &NoopViewCommitter{} 14 } 15 16 func (n NoopViewCommitter) CommitView(_ state.View, s flow.StateCommitment) (flow.StateCommitment, []byte, *ledger.TrieUpdate, error) { 17 return s, nil, nil, nil 18 }