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

Run all the Solidity tests with Foundry

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

@RiccardoBiosas がすでに取り組んでいます。

2022年7月11日 から。

評価

この issue はまだ評価されていません。

説明

Context
At the moment the protocol code-base includes two types of Solidity tests: truffle-based Solidity tests and Foundry Solidity tests.. The truffle-based Solidity tests are run as part of the unit tests via the runSolidityTest helper.
I propose to convert them to Foundry tests to enforce more consistency in the code-base and because Foundry is the clear winner in terms of performance and testing capabilities.

TODO

  • Move the Solidity tests to the Foundry directory
  • Make the necessary refactoring to run them as tests with Foundry/forge - i.e.: replacing the before, beforeEach hooks with setUp. I'm estimating the refactoring process should be fairly straightforward
  • Remove the runSolidityTest helper
主要言語
JavaScript
スター
155
フォーク
50
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

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

livepeer/protocol のほかの issue

livepeer/protocol の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

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

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