Skip to content

sdk_config_form.html generates a config JSON shape that doesn't match the real SdkConfig struct at all #1283

Description

@Haroldwonder

The real SdkConfig struct (src/sdk_config.rs lines 17-29) is { network, timeout_seconds, retry_attempts, default_anchor } with MIN_TIMEOUT = 5. sdk_config_form.html instead outputs { network, anchor_domain, timeout_seconds, custom_headers } (lines 219-227, 232-239, 341-346) — there's no retry_attempts field anywhere in the form, anchor_domain doesn't match the real default_anchor field name, custom_headers doesn't exist on the struct at all, and the timeout input's min="1" (line 226) is below the real MIN_TIMEOUT of 5, so the form can "successfully" generate a config that SdkConfig::new would reject.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions