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: CNS-891: Same provider conflict #1344

Conversation

shleikes
Copy link
Collaborator

@shleikes shleikes commented Mar 31, 2024

Summary by CodeRabbit

  • Bug Fixes

    • Enhanced logging for better traceability and debugging.
    • Corrected typos and improved code readability.
    • Improved consistency and accuracy in block finalization and conflict detection logic.
  • New Features

    • Added RelayFinalization message with detailed block finalization attributes.
    • Introduced new methods for handling consensus and finalization data.
  • Tests

    • Added comprehensive tests for median calculation across different data types.
  • Refactor

    • Streamlined conflict detection mechanisms by consolidating conflict parameters.
    • Replaced debug logs with trace logs to provide more detailed logging information.
  • Chores

    • Removed unused debug constants.
    • Updated @types/node version in package.json.

protocol/lavaprotocol/finalization_consensus.go Outdated Show resolved Hide resolved
protocol/lavaprotocol/finalization_consensus.go Outdated Show resolved Hide resolved
protocol/lavaprotocol/finalization_consensus.go Outdated Show resolved Hide resolved
protocol/lavaprotocol/finalization_consensus.go Outdated Show resolved Hide resolved
x/conflict/keeper/conflict.go Outdated Show resolved Hide resolved
x/conflict/types/relay_finalization_metadata.go Outdated Show resolved Hide resolved
protocol/integration/protocol_test.go Outdated Show resolved Hide resolved
protocol/integration/protocol_test.go Outdated Show resolved Hide resolved
x/conflict/keeper/conflict_test.go Outdated Show resolved Hide resolved
@shleikes shleikes requested a review from oren-lava April 3, 2024 14:05
@shleikes shleikes requested a review from Yaroms April 9, 2024 08:28
x/conflict/types/relay_finalization_metadata.go Outdated Show resolved Hide resolved
proto/lavanet/lava/conflict/conflict_data.proto Outdated Show resolved Hide resolved
x/conflict/keeper/msg_server_detection.go Outdated Show resolved Hide resolved
x/conflict/keeper/msg_server_detection.go Outdated Show resolved Hide resolved
x/conflict/keeper/conflict.go Outdated Show resolved Hide resolved
x/conflict/keeper/conflict.go Outdated Show resolved Hide resolved
x/conflict/keeper/conflict.go Outdated Show resolved Hide resolved
x/conflict/keeper/conflict.go Outdated Show resolved Hide resolved
@shleikes shleikes requested a review from Yaroms April 10, 2024 14:17
Copy link
Collaborator

@ranlavanet ranlavanet left a comment

Choose a reason for hiding this comment

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

didnt finish. got to finalization consensus

protocol/lavaprotocol/finalization_consensus.go Outdated Show resolved Hide resolved
proto/lavanet/lava/conflict/conflict_data.proto Outdated Show resolved Hide resolved
proto/lavanet/lava/conflict/conflict_data.proto Outdated Show resolved Hide resolved
protocol/lavaprotocol/finalization_consensus.go Outdated Show resolved Hide resolved
protocol/lavaprotocol/finalization_consensus.go Outdated Show resolved Hide resolved
protocol/lavaprotocol/finalization_consensus.go Outdated Show resolved Hide resolved
protocol/lavaprotocol/finalization_consensus.go Outdated Show resolved Hide resolved
protocol/lavaprotocol/finalization_consensus.go Outdated Show resolved Hide resolved
protocol/lavaprotocol/finalization_consensus.go Outdated Show resolved Hide resolved
protocol/lavaprotocol/finalization_consensus.go Outdated Show resolved Hide resolved
protocol/lavaprotocol/finalization_consensus.go Outdated Show resolved Hide resolved
protocol/lavaprotocol/response_builder.go Outdated Show resolved Hide resolved
protocol/rpcconsumer/rpcconsumer.go Show resolved Hide resolved
protocol/rpcconsumer/rpcconsumer_server.go Outdated Show resolved Hide resolved
protocol/rpcprovider/rpcprovider_server.go Outdated Show resolved Hide resolved
utils/lavaslices/slices.go Outdated Show resolved Hide resolved
ranlavanet
ranlavanet previously approved these changes Apr 25, 2024
omerlavanet
omerlavanet previously approved these changes Aug 6, 2024
@shleikes shleikes marked this pull request as draft August 6, 2024 20:03
@shleikes shleikes changed the base branch from main to CNS-891-same-provider-conflict-target August 6, 2024 20:08
@shleikes shleikes changed the base branch from CNS-891-same-provider-conflict-target to main August 6, 2024 20:09
@shleikes shleikes dismissed omerlavanet’s stale review August 6, 2024 20:09

The base branch was changed.

@shleikes shleikes changed the base branch from main to CNS-891-same-provider-conflict-target August 6, 2024 20:10
@shleikes
Copy link
Collaborator Author

shleikes commented Aug 7, 2024

Closed in favor of the new PR: #1614

@shleikes shleikes closed this Aug 7, 2024
@shleikes shleikes deleted the CNS-891-same-provider-conflict-is-disabled branch August 13, 2024 11:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants