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

stop giving false signal to transmit #500

Merged
merged 1 commit into from
Aug 2, 2024

Conversation

augustbleeds
Copy link
Collaborator

@augustbleeds augustbleeds commented Aug 2, 2024

There's a bug where we are transmitting too frequently. This discovery came as an investigation into why we were over-transmitting even when the deviation threshold was not met. It happens because the LatestRoundRequested shouldn't be triggered on Starknet.

refer to: https://github.com/smartcontractkit/libocr/blob/master/offchainreporting/internal/protocol/report_generation_follower.go#L499 (libocr)
https://github.com/smartcontractkit/chainlink-solana/blob/02a42e04dc42d30a41f07dd100cf1062e0c04a16/pkg/solana/median_contract.go#L64 (how solana deals with it)

@cl-sonarqube-production
Copy link

Quality Gate failed Quality Gate failed

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

See analysis details on SonarQube

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.

lgtm!

the contract does not implement requestNewRound so there should only be 0 responses from LatestRoundRequested

@augustbleeds augustbleeds merged commit 51b0712 into develop Aug 2, 2024
20 of 21 checks passed
@augustbleeds augustbleeds deleted the augustus.transmit-less-often-bug branch August 2, 2024 17:01
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