Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix typos in validator/server_jit/spawner.go #2634

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions validator/server_jit/spawner.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ type JitSpawnerConfigFecher func() *JitSpawnerConfig
var DefaultJitSpawnerConfig = JitSpawnerConfig{
Workers: 0,
Cranelift: true,
WasmMemoryUsageLimit: 4294967296, // 2^32 WASM memeory limit
WasmMemoryUsageLimit: 4294967296, // 2^32 WASM memory limit
}

func JitSpawnerConfigAddOptions(prefix string, f *flag.FlagSet) {
Expand Down Expand Up @@ -82,7 +82,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