Skip to content

Commit

Permalink
feat: set higher priority for apply block
Browse files Browse the repository at this point in the history
  • Loading branch information
LinZexiao committed Jun 7, 2023
1 parent 8709463 commit 34720ee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/consensus/processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import (
"github.com/filecoin-project/venus/pkg/config"
"github.com/filecoin-project/venus/pkg/constants"
"github.com/filecoin-project/venus/pkg/fvm"
"github.com/filecoin-project/venus/pkg/vm/vmcontext"
"github.com/filecoin-project/venus/venus-shared/actors/builtin/reward"

"github.com/filecoin-project/go-address"
Expand Down Expand Up @@ -112,6 +113,7 @@ func (p *DefaultProcessor) ApplyBlocks(ctx context.Context,
Tracing: vmOpts.Tracing,
ActorDebugging: vmOpts.ActorDebugging,
ReturnEvents: vmOpts.ReturnEvents,
ExecutionLane: vmcontext.ExecutionLanePriority,
}

return fvm.NewVM(ctx, vmOpt)
Expand Down

0 comments on commit 34720ee

Please sign in to comment.