-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Milestone
Description
Description
As mentioned in issue #335, the challengeWindow() external view function should be deprecated once challengeWindowSize is made public.
Current Situation
The challengeWindow() function is currently exposed as an external view function in:
service_contracts/src/FilecoinWarmStorageServiceStateView.sol(line 21-23)
function challengeWindow() external view returns (uint256) {
return service.challengeWindow();
}This function retrieves the challenge window size from storage using extsload.
Background
In issue #335, it was decided to make challengeWindowSize public so that tools can fetch this information directly from the contract instead of hard-coding it. Once challengeWindowSize is made public, the challengeWindow() function becomes redundant and should be deprecated.
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
🔎 Awaiting review