Skip to content

Commit

Permalink
Merge branch 'master' into promise_exec_client
Browse files Browse the repository at this point in the history
  • Loading branch information
eljobe authored Jan 16, 2025
2 parents aec3f68 + b9b1803 commit 65aebb6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions validator/server_jit/spawner.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ type JitSpawnerConfigFecher func() *JitSpawnerConfig
var DefaultJitSpawnerConfig = JitSpawnerConfig{
Workers: 0,
Cranelift: true,
WasmMemoryUsageLimit: 4294967296, // 2^32 WASM memory limit
MaxExecutionTime: time.Minute * 10,
WasmMemoryUsageLimit: 4294967296, // 2^32 WASM memeory limit
}

func JitSpawnerConfigAddOptions(prefix string, f *flag.FlagSet) {
Expand Down Expand Up @@ -87,7 +87,7 @@ func (v *JitSpawner) execute(
) (validator.GoGlobalState, error) {
machine, err := v.machineLoader.GetMachine(ctx, moduleRoot)
if err != nil {
return validator.GoGlobalState{}, fmt.Errorf("unabled to get WASM machine: %w", err)
return validator.GoGlobalState{}, fmt.Errorf("unable to get WASM machine: %w", err)
}

state, err := machine.prove(ctx, entry)
Expand Down

0 comments on commit 65aebb6

Please sign in to comment.