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 · May be fixed by #2094
Open

Add debug API to check PatchTimestamp activation #2004

oleksandrSydorenkoJ opened this issue Sep 24, 2024 · 0 comments · May be fixed by #2094
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
}
}
PropzSaladaz added a commit that referenced this issue Jan 15, 2025
@PolinaKiporenko PolinaKiporenko moved this to In Progress in SKALE Engineering 🚀 Jan 15, 2025
PropzSaladaz added a commit that referenced this issue Jan 16, 2025
PropzSaladaz added a commit that referenced this issue Jan 22, 2025
olehnikolaiev added a commit that referenced this issue Jan 22, 2025
@olehnikolaiev olehnikolaiev linked a pull request Jan 22, 2025 that will close this issue
PropzSaladaz added a commit that referenced this issue Jan 23, 2025
@PolinaKiporenko PolinaKiporenko moved this from In Progress to Code Review in SKALE Engineering 🚀 Jan 28, 2025
@PropzSaladaz PropzSaladaz linked a pull request Feb 5, 2025 that will close this issue
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: Code Review
4 participants