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

feat: merkle tree and proofs #96

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
Open

Conversation

cameri
Copy link
Owner

@cameri cameri commented Dec 23, 2022

Description

  1. Support public key and IP address whitelisting for event rate limits

Related Issue

#74

Motivation and Context

  1. Allow relay operator to mirror without hitting event rate limits

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

  • Non-functional change (docs, style, minor refactor)
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my code changes.
  • All new and existing tests passed.

@cameri cameri linked an issue Dec 23, 2022 that may be closed by this pull request
@coveralls
Copy link
Collaborator

coveralls commented Dec 23, 2022

Pull Request Test Coverage Report for Build 3763976340

  • 11 of 69 (15.94%) changed or added relevant lines in 4 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-3.9%) to 83.631%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/adapters/web-socket-adapter.ts 5 8 62.5%
src/validator/trail-log.ts 0 4 0.0%
src/validator/compact-merkle-tree.ts 0 51 0.0%
Totals Coverage Status
Change from base Build 3762686547: -3.9%
Covered Lines: 832
Relevant Lines: 995

💛 - Coveralls

@cameri cameri changed the title 74 merkle tree and proofs feat: merkle tree and proofs Dec 23, 2022
@sonarcloud
Copy link

sonarcloud bot commented Dec 23, 2022

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

34.3% 34.3% Coverage
0.0% 0.0% Duplication

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Merkle Tree and Proofs
2 participants