Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Refactor the meaning of pool.exists()

オープン
#597 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
20/100
issue の種類
リファクタリング
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
solidity
領域
blockchain

調査の方向性

pull request 549 の議論から始め、pool.init と pool.exists がどのように定義され、使用されているかを追跡します。存在が初期化を意味するのか、ゼロではない実効割り当てを意味するのかを明確にし、その決定を文書化したうえで、選択した意味に一貫性があるよう、関連するコントラクトの動作とテストを更新します。

索引モデルが issue の本文から書いたものです。

説明

Could this be pool.exists()? Or, should the definition of pool.exists change? (I noticed now it's possible that a pool went through pool.init but its effective allocated state is still zero, so not sure how to interpret it or what's the best way to account for it)

Originally posted by @pcarranzav in https://github.com/graphprotocol/contracts/pull/549#discussion_r908606458

主要言語
Solidity
スター
373
フォーク
175
平均マージ
17時間 29分
マージ済み PR(30日)
3

環境構築

  • Dockerfile または Docker Compose ファイルあり
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

graphprotocol/contracts のほかの issue

graphprotocol/contracts の issue をすべて見る

似ている issue

Blockchain の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。