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

fix(PE-7040): updated weight names #367

Merged
merged 2 commits into from
Jan 31, 2025
Merged

Conversation

dtfiedler
Copy link
Collaborator

@dtfiedler dtfiedler commented Jan 29, 2025

@dtfiedler dtfiedler requested a review from a team as a code owner January 29, 2025 01:44
@dtfiedler dtfiedler marked this pull request as draft January 29, 2025 01:45
@dtfiedler dtfiedler changed the base branch from alpha to ant-api-v2 January 29, 2025 01:45
@dtfiedler dtfiedler changed the title Pe 7040 updated weight names fix(PE-7040): updated weight names Jan 29, 2025
@dtfiedler dtfiedler force-pushed the PE-7040-updated-weight-names branch from f776cb0 to 6ecaa24 Compare January 29, 2025 01:47
Comment on lines +244 to +250
// @deprecated - use `gatewayPerformanceRatio` instead
gatewayRewardRatioWeight: number;
// @deprecated - use `observerPerformanceRatio` instead
observerRewardRatioWeight: number;
gatewayPerformanceRatio: number;
observerPerformanceRatio: number;
Copy link
Contributor

Choose a reason for hiding this comment

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

in the method, we could duplicated this deprecated value to prevent any backwards compatiblity issues. at least until release 4.0.0

Copy link
Collaborator Author

@dtfiedler dtfiedler Jan 31, 2025

Choose a reason for hiding this comment

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

the contract will continue to provide these values for now. pre-mainnet we can prep and release a v4 with the final types

dtfiedler added a commit to ar-io/ar-io-network-process that referenced this pull request Jan 31, 2025
…tioWeight with gatewayPerformanceRatio and observerPerformanceRatio (#341)

Swap out the attribute name. for the handlers we'll support the old ones
until the SDK and network portal are updated.

ar-io/ar-io-sdk#367
@dtfiedler dtfiedler force-pushed the PE-7040-updated-weight-names branch from 6ecaa24 to a4aaf38 Compare January 31, 2025 19:19
@dtfiedler dtfiedler marked this pull request as ready for review January 31, 2025 19:19
@dtfiedler dtfiedler requested a review from fedellen January 31, 2025 19:19
@dtfiedler dtfiedler changed the base branch from ant-api-v2 to alpha January 31, 2025 19:20
@dtfiedler dtfiedler merged commit 38809ee into alpha Jan 31, 2025
11 checks passed
@dtfiedler dtfiedler deleted the PE-7040-updated-weight-names branch January 31, 2025 19:43
@dtfiedler
Copy link
Collaborator Author

🎉 This PR is included in version 3.4.1-alpha.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

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.

2 participants