Problem
sdk/src/client.ts createSchedule builds an args array with 9 elements. The contract's create_schedule expects 10 (lockup_duration was added between cliff_duration and kind). Every SDK call to createSchedule fails at the RPC simulation step.
Fix
Insert nativeToScVal(lockupSecs, { type: 'u64' }) at index 7 in the args array. Add lockupDays?: number to CreateScheduleParams (defaulting to cliffDays).
Problem
sdk/src/client.ts createSchedulebuilds an args array with 9 elements. The contract'screate_scheduleexpects 10 (lockup_durationwas added betweencliff_durationandkind). Every SDK call tocreateSchedulefails at the RPC simulation step.Fix
Insert
nativeToScVal(lockupSecs, { type: 'u64' })at index 7 in the args array. AddlockupDays?: numbertoCreateScheduleParams(defaulting tocliffDays).