Skip to content

[119] Frontend: Contracts: Add upgradeability/proxy safety checks (if applicable)#2

Open
broda-spendy wants to merge 3 commits into
Junirezz:mainfrom
broda-spendy:fix/119-frontend-contracts-add-upgradeability-proxy-safety-checks-if-applicable
Open

[119] Frontend: Contracts: Add upgradeability/proxy safety checks (if applicable)#2
broda-spendy wants to merge 3 commits into
Junirezz:mainfrom
broda-spendy:fix/119-frontend-contracts-add-upgradeability-proxy-safety-checks-if-applicable

Conversation

@broda-spendy

Copy link
Copy Markdown

Closes Navin-xmr#119

Summary

  • Adds @stellar/stellar-base\ and \ rontend/src/utils/contractSafety.ts\ to validate Soroban contract StrKeys and optional allowlist checks for proxy/upgrade deployments (\VITE_SOROBAN_CONTRACT_ALLOWLIST).
  • Documents env var in \ rontend/.env.example\ and README.
  • Fixes Payment History modal TypeScript wiring so \pnpm run build\ passes.

Verification

  • \pnpm run test\
  • \pnpm run build\
  • \pnpm run lint\

Made with Cursor

- Add rollup-plugin-visualizer treemap (ANALYZE) and size-limit config
- CI job uploads dist/stats.html and enforces budget on dist/assets JS/CSS
- Fix PaymentHistory modal wiring and unused import so tsc build passes

Made-with: Cursor
- Add @stellar/stellar-base and contractSafety utils (validateSorobanContractId, allowlist checks)
- Document VITE_SOROBAN_CONTRACT_ALLOWLIST in .env.example and README
- Fix PaymentHistory modal wiring and remove unused import (build)

Closes Navin-xmr#119

Made-with: Cursor
…ysis-in-ci'

Integrate CI bundle budget + resolve pnpm-lock conflict; dedupe PaymentHistory state; use node:process in Vite configs for ESLint flat config.

Made-with: Cursor
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.

[FE:] Build the Shipment tracking timeline component

2 participants