Skip to content

fix: support bounded Unicode wallet asset codes - #330

Merged
Pigbibi merged 1 commit into
mainfrom
codex/binance-unicode-assets-20261002
Oct 2, 2026
Merged

Pigbibi merged 1 commit into
mainfrom
codex/binance-unicode-assets-20261002

Conversation

@Pigbibi

@Pigbibi Pigbibi commented Oct 2, 2026

Copy link
Copy Markdown
Collaborator

Change

Accept native wallet asset codes with 1–128 Unicode code points: ASCII uppercase letters/digits or non-ASCII Unicode letters/numbers. Preserve original strings. Reject controls, whitespace, format characters, punctuation, surrogates, ASCII lowercase, four default-ignorable Hangul fillers, overlong strings and exact duplicates. Existing identity, source, amount, pagination and no-order protections remain.

Evidence

The bounded reader classified the previous failure as a non-ASCII asset-code rejection. Binance documents UTF-8 asset/symbol names: https://github.com/binance/binance-spot-api-docs/blob/master/user-data-stream.md#general-information

Review

Independent focused review passed after closing the invisible-filler case. Fixtures are synthetic. Actual balance publication remains to be validated after adoption; the reader gate is currently disabled.

Verification

197 focused Python account-facts and workflow-security tests passed; Ruff and diff checks passed. Spot, Earn and payload share one validator.

Co-Authored-By: Codex <noreply@openai.com>
@Pigbibi
Pigbibi merged commit 12e2250 into main Oct 2, 2026
1 check passed
@Pigbibi
Pigbibi deleted the codex/binance-unicode-assets-20261002 branch October 2, 2026 15: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