Skip to content

Fix deploy scripts: strip \r from parsed addresses and JSON - #32

Merged
danvaneijck merged 1 commit into
mainfrom
claude/update-staking-draw-weights-Y8rPd
Feb 12, 2026
Merged

Fix deploy scripts: strip \r from parsed addresses and JSON#32
danvaneijck merged 1 commit into
mainfrom
claude/update-staking-draw-weights-Y8rPd

Conversation

@danvaneijck

Copy link
Copy Markdown
Owner

The Injective node can return tx query output with \r\n line endings. The existing tr -d '\n' only stripped \n, leaving \r embedded in extracted code IDs and contract addresses. These invisible carriage returns made the JSON init messages invalid (control chars must be escaped in JSON), causing "payload msg: invalid" from wasmd.

https://claude.ai/code/session_01NEJPs6qUL9kmJUNHj54Njy

The Injective node can return tx query output with \r\n line endings.
The existing tr -d '\n' only stripped \n, leaving \r embedded in
extracted code IDs and contract addresses. These invisible carriage
returns made the JSON init messages invalid (control chars must be
escaped in JSON), causing "payload msg: invalid" from wasmd.

https://claude.ai/code/session_01NEJPs6qUL9kmJUNHj54Njy
@vercel

vercel Bot commented Feb 12, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
chance-staking Building Building Preview, Comment Feb 12, 2026 5:12am

@danvaneijck
danvaneijck merged commit 0053cda into main Feb 12, 2026
6 of 7 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.

2 participants