Skip to content

Commit 02b7e1d

Browse files
authored
Merge branch 'master' into gregor/callbacks/metrics
2 parents 6b3b40e + 33d6951 commit 02b7e1d

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

cmd/util/cmd/verify_execution_result/cmd.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import (
99
"github.com/spf13/cobra"
1010

1111
"github.com/onflow/flow-go/engine/verification/verifier"
12+
"github.com/onflow/flow-go/fvm"
1213
"github.com/onflow/flow-go/model/flow"
1314
"github.com/onflow/flow-go/storage"
1415
)
@@ -60,7 +61,7 @@ func init() {
6061

6162
Cmd.Flags().BoolVar(&flagtransactionFeesDisabled, "fees_disabled", false, "disable transaction fees")
6263

63-
Cmd.Flags().BoolVar(&flagScheduledCallbacksEnabled, "scheduled_callbacks_enabled", false, "enable scheduled callbacks")
64+
Cmd.Flags().BoolVar(&flagScheduledCallbacksEnabled, "scheduled_callbacks_enabled", fvm.DefaultScheduledCallbacksEnabled, "enable scheduled callbacks")
6465
}
6566

6667
func run(*cobra.Command, []string) {

fvm/context.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const (
2525

2626
// DefaultScheduledCallbacksEnabled is the default value for the scheduled callbacks enabled flag
2727
// used by Execution, Verification, and Access nodes.
28-
DefaultScheduledCallbacksEnabled = false
28+
DefaultScheduledCallbacksEnabled = true
2929
)
3030

3131
// A Context defines a set of execution parameters used by the virtual machine.

integration/localnet/builder/bootstrap.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -472,6 +472,7 @@ func prepareAccessService(container testnet.ContainerConfig, i int, n int) Servi
472472
"--script-execution-mode=execution-nodes-only",
473473
"--event-query-mode=execution-nodes-only",
474474
"--tx-result-query-mode=execution-nodes-only",
475+
"--scheduled-callbacks-enabled=true",
475476
)
476477

477478
service.AddExposedPorts(

0 commit comments

Comments
 (0)