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

MultiNode Integration: TOML Configurations #844

Open
wants to merge 39 commits into
base: develop
Choose a base branch
from

Conversation

DylanTinianov
Copy link
Contributor

@DylanTinianov DylanTinianov commented Sep 6, 2024

Description

Added required TOML configurations for MultiNode integration.

Closes: https://smartcontract-it.atlassian.net/browse/BCFR-302

Requires Dependencies

This PR is a follow up to the MultiNode Initial Setup PR: #824

Copy link

@patrick-dowell patrick-dowell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some minor comments around cleaning up this code.

c.multiNodeEnabled = ptr(false)

// Node Configs
c.pollFailureThreshold = ptr(uint32(5))

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The default values here - where are they coming from? For example, the 5 for syncThreshold or the 10 for pollInterval. Could these come from another source or if they are to be hardcoded, could we provide some documentation as to why these are the best default values for these fields?

Copy link
Contributor Author

@DylanTinianov DylanTinianov Sep 26, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had a meeting with Dmytro and Aaron where we discussed what default values make sense for each config. I can for sure add some comments though!

pkg/solana/config/multinode.go Outdated Show resolved Hide resolved
Copy link
Collaborator

@aalu1418 aalu1418 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

usually changing TOML configs requires updating tests in core with default values

please link a draft PR in core that bumps chainlink-solana in core and validates that all tests are passing

@cl-sonarqube-production
Copy link

Quality Gate failed Quality Gate failed

Failed conditions
30.0% Coverage on New Code (required ≥ 75%)

See analysis details on SonarQube

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.

3 participants