Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove hardhat #217

Merged
merged 11 commits into from
Oct 2, 2023
Merged

Remove hardhat #217

merged 11 commits into from
Oct 2, 2023

Conversation

waynehoover
Copy link
Contributor

@waynehoover waynehoover commented Sep 27, 2023

  • removes hardhat, and most JS
  • We still need JS to run solhint and @openzeppelin/upgrades-core validate and this migrates to use bun for those.

closes #159

@@ -125,7 +125,7 @@ contract TestQuestFactory is Test, Errors, Events, TestUtils {
sampleERC20.approve(address(questFactory), calculateTotalRewardsPlusFee(TOTAL_PARTICIPANTS, REWARD_AMOUNT, QUEST_FEE));

vm.expectEmit(true,false,true,true);
emit QuestCreatedWithAction(questCreator, address(0), "questId", "erc20", address(sampleERC20), END_TIME, START_TIME, TOTAL_PARTICIPANTS, REWARD_AMOUNT, "actionSpec");
emit QuestCreatedWithAction(questCreator, address(0), "questId", "erc20Stream", address(sampleERC20), END_TIME, START_TIME, TOTAL_PARTICIPANTS, REWARD_AMOUNT, "actionSpec");
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was from the struct change PR: https://github.com/rabbitholegg/quest-protocol/pull/216/files#diff-46d8d9ffae356f90bd43e36eef9e04ca41262e025e815f70e7434b80412bdf4eR254 and it wasn't tested there. Before a stream quest was emitting "erc20" in the log here.

Copy link
Member

@Quazia Quazia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@waynehoover waynehoover merged commit 371bd88 into main Oct 2, 2023
2 checks passed
@waynehoover waynehoover deleted the remove_hardhat branch October 2, 2023 21: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.

Migrate tests to foundry
2 participants