Skip to content

Sandbox/lawrence 20260727 - #683

Merged
Mimah97 merged 4 commits into
Vatix-Protocol:mainfrom
lawrencesunday311-sketch:sandbox/lawrence-20260727
Jul 27, 2026
Merged

Sandbox/lawrence 20260727#683
Mimah97 merged 4 commits into
Vatix-Protocol:mainfrom
lawrencesunday311-sketch:sandbox/lawrence-20260727

Conversation

@lawrencesunday311-sketch

Copy link
Copy Markdown
Contributor

Summary

Related issue

Type of change

  • Bug fix
  • New feature
  • Docs update
  • Chore / refactor

Checklist

  • CI passes (lint + tests + build)
  • Self-reviewed the diff
  • Added or updated tests where relevant
  • Docs updated if needed

lawrencesunday311-sketch and others added 4 commits July 27, 2026 12:43
Uses turbo's git-range filter so pre-push scales with the size of the
change instead of the whole monorepo. Skippable via
SWYFT_SKIP_PRE_PUSH_LINT=1, documented in CONTRIBUTING.md.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
docker-compose.yml already wires healthchecks + depends_on:
condition: service_healthy for postgres/redis/api/web; README didn't
call that out explicitly. Both compose files (root and apps/api)
validate cleanly with `docker compose config`.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
deploy-testnet.sh now records a sha256 hash of each deployed contract's
wasm under .wasmHashes in deployments/testnet.json. validate-contracts.js
gains --check-drift, which rebuilds each contract and compares its fresh
wasm hash against the recorded one for any deployed contract, exiting
non-zero on mismatch.

Wired into a new "Contracts" CI job (build + drift check), plus a
fixture-based unit test (test:drift) proving the comparison correctly
flags an intentional mismatch.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Removes the unused Raw*Response index-signature interfaces in types.ts
and replaces the inline parameter object types on getPool/getPosition/
getPositionWithLoading/getTick with named, exported interfaces
(GetPoolParams/GetPositionParams/GetTickParams), so consumers can
import strict types instead of re-declaring their own.

No `any` in the SDK before or after. Web app has zero SDK consumers of
these query types today (hooks talk to the REST API, not on-chain RPC
queries directly) — confirmed apps/web still typechecks identically
(same 88 pre-existing, unrelated errors before and after).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@Mimah97
Mimah97 merged commit cfae97b into Vatix-Protocol:main Jul 27, 2026
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