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

Add debug API to check PatchTimestamp activation #2004

Open
oleksandrSydorenkoJ opened this issue Sep 24, 2024 · 0 comments
Open

Add debug API to check PatchTimestamp activation #2004

oleksandrSydorenkoJ opened this issue Sep 24, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@oleksandrSydorenkoJ
Copy link

Need to add debug API call with patch timestamps for testing purposes

example call

curl -X POST --data '{"jsonrpc":"2.0","method":"skale_patchTimestamps","params":null,"id":1205}' http_endpoint

Example response

{"id":1205,"jsonrpc":"2.0","result":{
  "contractStorageZeroValuePatchTimestamp": 1678100400,
  "revertableFSPatchTimestamp": 1678100400,
  "contractStoragePatchTimestamp": 1678100400,
  "verifyDaSigsPatchTimestamp": 1678100400,
  "storageDestructionPatchTimestamp": 1702393200,
  "powCheckPatchTimestamp": 1702296000,
  "skipInvalidTransactionsPatchTimestamp": 1702382400,
  "pushZeroPatchTimestamp": 1710331200,
  "precompiledConfigPatchTimestamp": 1710331200,
  "correctForkInPowPatchTimestamp": 1710331200,
  "EIP1559TransactionsPatchTimestamp": 1721818800,
  "fastConsensusPatchTimestamp": 1721822400,
  "flexibleDeploymentPatchTimestamp": 1721826000,
  "verifyBlsSyncPatchTimestamp": 1721829600
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: No status
Development

No branches or pull requests

3 participants