Skip to content

Commit

Permalink
Merge pull request #2634 from epociask/epociask--chore-fix-typos-jit-…
Browse files Browse the repository at this point in the history
…spawner

chore: fix typos in `validator/server_jit/spawner.go`
  • Loading branch information
eljobe authored Jan 16, 2025
2 parents 46d9938 + 2c74953 commit b9b1803
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 b9b1803

Please sign in to comment.