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

Develop #20

Merged
merged 3 commits into from
Feb 24, 2025
Merged

Develop #20

merged 3 commits into from
Feb 24, 2025

Conversation

thang14
Copy link
Contributor

@thang14 thang14 commented Feb 24, 2025

This pull request includes several updates to the configuration and verifier processing logic. The most important changes involve updating the default configuration values and enhancing the verification process to handle logs from multiple providers.

Configuration updates:

  • config/default_config.go: Updated the default RPC URL and addresses for DefaultSubnetAppStoreAddr, DefaultSubnetProviderAddr, and DefaultSubnetVerifier to point to the mainnet instead of the testnet.

Enhancements to verifier processing:

  • core/apps/verifier/verifier.go: Added a check in the processUsageReports function to skip signing logs from peers if the logs come from multiple providers, ensuring the integrity of the usage reports.
  • core/apps/verifier/verifier.go: Added a new line for better readability in the processUsageReports function.

…iders

- Updated `processUsageReports` to check if peer logs come from different providers.
- Skips signing if logs come from multiple providers to ensure a single provider per peer.
- Added necessary logic to handle this validation.
@thang14 thang14 merged commit f1ab9b5 into main Feb 24, 2025
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.

1 participant