Skip to content

fix: return real invoice count and harden contract CI - #204

Open
bashir347 wants to merge 5 commits into
Yormee-103:mainfrom
bashir347:fix/invoice-count-and-contract-ci
Open

bashir347 wants to merge 5 commits into
Yormee-103:mainfrom
bashir347:fix/invoice-count-and-contract-ci

Conversation

@bashir347

Copy link
Copy Markdown

invoice_count returned the stored NextId counter, so a fresh contract reported 1 instead of 0 and every count was off by one. Return the saturating NextId - 1, update the test and the contract README, and fix the rustfmt failures that were masking the contract test suite.

Harden Contract CI with --locked on clippy, test and build so lockfile drift (including the ed25519-dalek pin) fails the job, make clippy warnings fatal, and report the optimized wasm size in bytes with a 128 KiB budget.

Fixes #53
Fixes #54
Fixes #55

🤖 Generated with Codebuff

`invoice_count` returned the stored `NextId` counter, so a fresh contract
reported 1 instead of 0 and every count was off by one. Return the saturating
`NextId - 1`, update the test and the contract README, and fix the rustfmt
failures that were masking the contract test suite.

Harden Contract CI with `--locked` on clippy, test and build so lockfile drift
(including the ed25519-dalek pin) fails the job, make clippy warnings fatal,
and report the optimized wasm size in bytes with a 128 KiB budget.

Fixes Yormee-103#53
Fixes Yormee-103#54
Fixes Yormee-103#55

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
@vercel

vercel Bot commented Nov 25, 2026

Copy link
Copy Markdown

@bashir347 is attempting to deploy a commit to the yormee-103's projects Team on Vercel.

A member of the Team first needs to authorize it.

@drips-wave

drips-wave Bot commented Nov 25, 2026

Copy link
Copy Markdown

@bashir347 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

)

Add a global CSS media query @media (prefers-reduced-motion: reduce) in
globals.css to disable smooth scroll and neutralize spin/pulse animations
for users who prefer reduced motion, while keeping full animations for
everyone else. Add motion-reduce:animate-none to spinner, pulse, and
skeleton components, and add accessible loading text/labels on loading
states so reduced-motion users still get visible feedback.

Also fixes a build-time defect in PayClient.tsx where isConfigured was
imported from the wrong module — corrected to import from @/lib/config
along with the missing config import.

NOTE: this commit also refreshes web/package-lock.json and adds web/bun.lock
as a side effect of running the build/lint verification.

Co-authored-by: Codebuff <noreply@codebuff.com>
@Yormee-103

Copy link
Copy Markdown
Owner

fix conflict

This branch has not been deployed

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

Labels

None yet

Projects

None yet

2 participants