Skip to content

examples/credential_management.sh and .ps1 both invoke contract methods (set_credential_policy, check_credential_rotation, rotate_credential) that don't exist anywhere in the contract #1284

Description

@Haroldwonder

Both examples/credential_management.sh and examples/credential_management.ps1 repeatedly invoke set_credential_policy (lines 87, 99 in .sh; 88, 96 in .ps1), check_credential_rotation (line 158 in .sh; 142 in .ps1), and rotate_credential (line 196 in .sh; 164 in .ps1) as contract entry points via the CLI invoke pattern. None of these three names exist anywhere in src/contract.rs or anywhere else in src/ (verified via repo-wide grep) — running either script end-to-end fails at "Setting policy for KYC provider" with an unknown-method error from the underlying soroban contract invoke/CLI call.

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