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

Fix formatting and bug in pseudocode in patricia-merkle-trie #14486

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

Privat33r-dev
Copy link

Prior to the change the doc wasn't formatted for Python code, even though mostly Python syntax is used, which might've lead to decrease in comprehension as the syntax wasn't highlighted.

All the code was formatted with the Black formatter to ease comprehension.

Additionally, the following line contained bug:

        if node = '': return ''

The comparison operator (==) was likely meant.

Description

Related Issue

Prior to the change the doc wasn't formatted for Python code, even though mostly Python syntax is used,
which might've lead to decrease in comprehension as the syntax wasn't highlighted.

All the code was formatted with the Black formatter to ease comprehension.

Additionally, the following line contained bug:
```python
        if node = '': return ''
```

The comparison operator (==) was likely meant.
@github-actions github-actions bot added the content 🖋️ This involves copy additions or edits label Dec 11, 2024
Copy link

netlify bot commented Dec 11, 2024

Deploy Preview for ethereumorg ready!

Name Link
🔨 Latest commit d66c572
🔍 Latest deploy log https://app.netlify.com/sites/ethereumorg/deploys/6759a64bbce58000089db03c
😎 Deploy Preview https://deploy-preview-14486--ethereumorg.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
7 paths audited
Performance: 49 (🔴 down 7 from production)
Accessibility: 92 (no change from production)
Best Practices: 87 (🔴 down 11 from production)
SEO: 98 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

gitguardian bot commented Dec 30, 2024

⚠️ GitGuardian has uncovered 1 secret following the scan of your pull request.

Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.

Since your pull request originates from a forked repository, GitGuardian is not able to associate the secrets uncovered with secret incidents on your GitGuardian dashboard.
Skipping this check run and merging your pull request will create secret incidents on your GitGuardian dashboard.

🔎 Detected hardcoded secret in your pull request
GitGuardian id GitGuardian status Secret Commit Filename
- - Generic High Entropy Secret 602d37b src/data/community-events.json View secret
🛠 Guidelines to remediate hardcoded secrets
  1. Understand the implications of revoking this secret by investigating where it is used in your code.
  2. Replace and store your secret safely. Learn here the best practices.
  3. Revoke and rotate this secret.
  4. 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

If this detection is a false positive, please contact Oleh Vasylenko (@Aldekein) to fix it in the GitGuardian dashboard.


🦉 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.

@Privat33r-dev
Copy link
Author

@Aldekein I guess that it is a false positive. It's not even a part of the PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content 🖋️ This involves copy additions or edits
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant