-
Notifications
You must be signed in to change notification settings - Fork 2
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
Clear off-chain worker activity validation cache #474
base: dev
Are you sure you want to change the base?
Conversation
a5f20a9
to
050ab17
Compare
050ab17
to
09e1710
Compare
09e1710
to
5fa3d0d
Compare
7f7f396
to
a13c70b
Compare
a13c70b
to
7f5a974
Compare
There is an issue in the current implementation. We should remove the cached data (activity aggregates) for an Era only after this payout process for this Era is finished, i.e. after the |
|
GitGuardian id | GitGuardian status | Secret | Commit | Filename | |
---|---|---|---|---|---|
9100662 | Triggered | Generic High Entropy Secret | f52f5c0 | node/service/chain-specs/example.json | View secret |
🛠 Guidelines to remediate hardcoded secrets
- Understand the implications of revoking this secret by investigating where it is used in your code.
- Replace and store your secret safely. Learn here the best practices.
- Revoke and rotate this secret.
- If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.
To avoid such incidents in the future consider
- following these best practices for managing and storing secrets including API keys and other credentials
- install secret detection on pre-commit to catch secret before it leaves your machine and ease remediation.
🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.
Thanks @yahortsaryk, as far as I see we don't use the data during and after the |
04d4ce0
to
57acdfd
Compare
Description
The
pallet-ddc-verification
off-chain worker writes temporary data to the database and the patch implements its data removal when OCW doesn't needed it anymore.Types of Changes
Please select the branch type you are merging and fill in the relevant template.
Fix or Feature
Types of Changes
Migrations and Hooks
on_initialize
on_finalize
Checklist for Fix or Feature
spec_version
has been incremented.network-relayer
's events have been updated according to the blockchain events if applicable.Checklist for Hotfix
spec_version
has been incremented.dev
has been created.staging
has been created.network-relayer
's events have been updated according to the blockchain events if applicable.Checklist for Release