Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions contracts/QuestChain.sol
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ contract QuestChain is
revert QuestNotFound(_questIdList[i]);

questDetails[_questIdList[i]] = QuestDetails(
_questDetails[i].order,
_questDetails[i].disabled,
_questDetails[i].optional,
_questDetails[i].skipReview
Expand Down
2 changes: 1 addition & 1 deletion contracts/interfaces/IQuestChain.sol
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ enum QuestStatus {
/// @notice Structure for holding quest details.
/// @dev Includes information about whether the quest is paused, optional, or can skip review.
struct QuestDetails {
// uint256 order; // The order of the quest in the chain.
uint256 order; // The position at which the quest will be displayed in the UI, 0-indexed.
// bool assignment; // Indicates if the quest is an assignment.
// uint256[] requiredQuests; // List of quest IDs required to complete this quest.
bool disabled; // Indicates if the quest is paused.
Expand Down