Solidity: Validate user-supplied option strings at build entry points
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
- #897 @ninglinLiu による — マージされずにクローズ
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 48/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 技術スタック
- solidity, typescript
- 領域
- blockchain, tooling
調査の方向性
まず、WIP ブランチ validateSolidityStrings と、solidity パッケージでのその検証を確認します。次に、エントリーポイント buildERC20/buildERC721 と、confidential buildERC7984 および uniswap-hooks buildHooks パッケージを調べます。Solidity を生成する前に、各 build 境界が指定された無効な文字を OptionsError で拒否すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Some characters in user-supplied option strings (name, symbol, uri) can't round-trip cleanly through generated Solidity contracts — ASCII control characters, Unicode line terminators recognised by Solidity's lexer (NEL, LS, PS, VT, FF), and lone UTF-16 surrogates. Today, some of these slip through and produce non-compiling Solidity or contracts that store unexpected bytes.
Add input validation at each build entry point (buildERC20, buildERC721, etc.) to reject these characters with an OptionsError, so the failure surfaces at the build boundary rather than downstream.
A WIP here covers the solidity package. The confidential (buildERC7984) and uniswap-hooks (buildHooks) packages need the same treatment.
- 主要言語
- TypeScript
- スター
- 296
- フォーク
- 188
- 平均マージ
- 3時間 24分
- マージ済み PR(30日)
- 11
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
OpenZeppelin/contracts-wizard のほかの issue
-
Stellar: Generated test asserts against the contract identifier instead of the stored token nameオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
OpenZeppelin/contracts-wizard#805 ·
メンテナーはふだん 1 日以内に返信
-
Document properly that yarn classic is required (v1.X)対応中かも @0xMayurrr が 245 日前に担当しました。 オープン
難易度 1/5 1〜3時間 初心者へのやさしさ 68/100
OpenZeppelin/contracts-wizard#739 ·
メンテナーはふだん 1 日以内に返信
-
Solidity: Governor absolute quorum values accepted by validation generate code that does not compile対応中かも @RaphaelFakhri が 17 日前に担当しました。 オープン
難易度 3/5 半日 初心者へのやさしさ 62/100
OpenZeppelin/contracts-wizard#895 ·
メンテナーはふだん 1 日以内に返信
-
Solidity: Premint amounts below 1 with a leading fractional zero generate code that does not compile対応中かも @RaphaelFakhri が 20 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 20/100
OpenZeppelin/contracts-wizard#893 ·
メンテナーはふだん 1 日以内に返信
-
Follow-ups from the Chainlink CCIP and ACE integration (#880)対応中かも @nahimterrazas が 25 日前に担当しました。 オープン
OpenZeppelin/contracts-wizard#881 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
OpenZeppelin/contracts-wizard の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
jeanibarz/knowledge-base-mcp-server#1268 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
Koenkk/zigbee-herdsman-converters#13820 ·
メンテナーはふだん 2 日以内に返信
-
[prefer-expect-resolves] autofix leaves a stray ")" when the awaited expression is parenthesizedオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
jest-community/eslint-plugin-jest#2052 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
Wallet functions throws TypeError when the wallet has no account ID対応中かも @Medhansh-741 が今日担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
hiero-ledger/hiero-sdk-js#4781 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信