Skip to content

Merge Develop into Main#34

Merged
SiegfriedBz merged 3 commits into
mainfrom
develop
Apr 25, 2026
Merged

Merge Develop into Main#34
SiegfriedBz merged 3 commits into
mainfrom
develop

Conversation

@SiegfriedBz
Copy link
Copy Markdown
Owner

refactor: simplify submit publication (fixed stake, derived fee)

Summary

Contract

  • Simplify submitPublication by removing the _paidSubmissionFee parameter and deriving paidFee from msg.value - I_PUBLISHER_STAKE.
  • Replace previous fee/stake validation with a single minimum-payment check: msg.value >= I_PUBLISHER_STAKE + I_PUBLISHER_MIN_FEE.
  • Update all Foundry tests and helpers for the new function signature and revert behavior.

Front End

  • Simplify the frontend submission UX by removing the user stake input entirely and turning the fee box into a read-only breakdown (fixed stake + estimated fee + total).
  • Regenerate the TS contract config to sync the ABI change.

Deployments

@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 25, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
bio-verify-ai-dapp Ready Ready Preview, Comment Apr 25, 2026 3:45pm

@SiegfriedBz SiegfriedBz merged commit a33888b into main Apr 25, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant