Skip to content

fix: shell syntax error, port mismatch, stale names, and typos#10

Open
giwaov wants to merge 1 commit into
hyli-org:mainfrom
giwaov:fix/bugs-typos-misconfigs
Open

fix: shell syntax error, port mismatch, stale names, and typos#10
giwaov wants to merge 1 commit into
hyli-org:mainfrom
giwaov:fix/bugs-typos-misconfigs

Conversation

@giwaov

@giwaov giwaov commented Feb 18, 2026

Copy link
Copy Markdown

Summary

Fixes several bugs and issues that break the out-of-the-box developer experience.

Critical fixes

  • Shell syntax error in README: source <(hy devnet env)> has an extra > that causes a bash error — fixed to source <(hy devnet env)
  • Port mismatch: Frontend .env expects server at localhost:9003 but conf_defaults.toml starts server on port 9002 — aligned to 9003 so the app works out-of-the-box
  • Wrong package name: front/package.json was named "blackjack-win95" (leftover from a different project) — renamed to "hyli-app-scaffold"

Code fixes

  • "Failed to encsode Balances""Failed to encode Contract1 state" (typo + stale name)
  • "Could not decode hyllar state""Could not decode Contract1 state" (stale reference to different contract)

Minor fixes

  • Stale quickstart link quickstart/run.mdquickstart/ (MkDocs sites don't use .md in URLs)
  • Generic HTML title "Vite + React + TS""Hyli App Scaffold"
  • Misleading comment said session key duration is "72h" but code sets 24h — fixed comment to say "24h"

Test plan

  • Run source <(hy devnet env) and verify it works without syntax error
  • Start server with cargo run -p server and verify it listens on port 9003
  • Start frontend and verify it connects to server successfully
  • Verify npm install succeeds with the new package name

- Fix shell syntax error: remove extra `>` from `source <(hy devnet env)>`
- Fix port mismatch: align server default port (9002 -> 9003) to match
  frontend expectation in .env (VITE_SERVER_BASE_URL=localhost:9003)
- Fix wrong package name "blackjack-win95" -> "hyli-app-scaffold"
- Fix typo "encsode" -> "encode" and stale "Balances" -> "Contract1 state"
- Fix stale error message "hyllar state" -> "Contract1 state"
- Fix stale quickstart link with .md extension
- Fix generic HTML title "Vite + React + TS" -> "Hyli App Scaffold"
- Fix misleading session key comment (said 72h but code sets 24h)
@giwaov giwaov force-pushed the fix/bugs-typos-misconfigs branch from 62d925f to a6c7b6a Compare February 20, 2026 12:20
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