POC for a Hardhat project!! #57
-
For competitive audit, if the protocol is using hardhat and test is written in javascript now for Proof of Code can I submit a test using foundry or I have to do that in javascript?? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi @0xnayan, you raise an important question! This tends to be a puzzling area for some auditors. TL;DR: The answer is yes, you can. Let’s get into more detailIn a competitive audit, if a protocol uses Hardhat with JavaScript tests, you may in fact submit a PoC using Foundry. For example, this approach was successfully taken in the competitive audit for ENS on Code4rena (C4).
Tip However, it's important to review the guidelines of any audits you participate in, to ensure there are no restrictions on your choice of framework. Bonus Information
Does all of that make sense? |
Beta Was this translation helpful? Give feedback.
Hi @0xnayan, you raise an important question! This tends to be a puzzling area for some auditors.
TL;DR: The answer is yes, you can.
Let’s get into more detail
In a competitive audit, if a protocol uses Hardhat with JavaScript tests, you may in fact submit a PoC using Foundry.
For example, this approach was successfully taken in the competitive audit for ENS on Code4rena (C4).
Tip
However, it's important to r…