Skip to content

Add integration test for topic distribution#791

Merged
guilherme-brandao merged 4 commits intodevfrom
guilherme/engn-3608-test-topic-weight-changes
Apr 4, 2025
Merged

Add integration test for topic distribution#791
guilherme-brandao merged 4 commits intodevfrom
guilherme/engn-3608-test-topic-weight-changes

Conversation

@guilherme-brandao
Copy link
Contributor

Purpose of Changes and their Description

This PR introduces a new integration test, TopicWeightDistributionChecks, located in test/integration/topic_distribution_test.go. The primary goal of this test is to verify that the Allora chain correctly calculates and distributes topic weights, particularly when topics have different epoch lengths.

Link(s) to Ticket(s) or Issue(s) resolved by this PR

https://linear.app/alloralabs/issue/ENGN-3608/test-topic-weight-changes

fernandofcampos
fernandofcampos previously approved these changes Apr 3, 2025
Copy link
Contributor

@xmariachi xmariachi left a comment

Choose a reason for hiding this comment

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

lgtm as is.
This can serve as the basis for further, more complex work on a multi-topic setup.

@guilherme-brandao guilherme-brandao merged commit 847ff8d into dev Apr 4, 2025
9 checks passed
@guilherme-brandao guilherme-brandao deleted the guilherme/engn-3608-test-topic-weight-changes branch April 4, 2025 16:19
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.

4 participants