diff --git a/validator/client/validation_client.go b/validator/client/validation_client.go index 5c2734314f..4d15edd5e4 100644 --- a/validator/client/validation_client.go +++ b/validator/client/validation_client.go @@ -126,7 +126,7 @@ func NewExecutionClient(config rpcclient.ClientConfigFetcher, stack *node.Node) func (c *ExecutionClient) CreateBoldExecutionRun(wasmModuleRoot common.Hash, stepSize uint64, input *validator.ValidationInput) containers.PromiseInterface[validator.ExecutionRun] { return stopwaiter.LaunchPromiseThread[validator.ExecutionRun](c, func(ctx context.Context) (validator.ExecutionRun, error) { var res uint64 - err := c.client.CallContext(ctx, &res, server_api.Namespace+"_createBoldExecutionRun", wasmModuleRoot, stepSize, ValidationInputToJson(input)) + err := c.client.CallContext(ctx, &res, server_api.Namespace+"_createBoldExecutionRun", wasmModuleRoot, stepSize, server_api.ValidationInputToJson(input)) if err != nil { return nil, err } diff --git a/validator/valnode/validation_api.go b/validator/valnode/validation_api.go index fe9e1e48c2..835641f9c3 100644 --- a/validator/valnode/validation_api.go +++ b/validator/valnode/validation_api.go @@ -76,7 +76,7 @@ func NewExecutionServerAPI(valSpawner validator.ValidationSpawner, execution val } func (a *ExecServerAPI) CreateBoldExecutionRun(ctx context.Context, wasmModuleRoot common.Hash, stepSize uint64, jsonInput *server_api.InputJSON) (uint64, error) { - input, err := ValidationInputFromJson(jsonInput) + input, err := server_api.ValidationInputFromJson(jsonInput) if err != nil { return 0, err }