Skip to content

OR should be AND b4 deploy.#91

Open
geode-main wants to merge 3 commits into
devfrom
holesky-hotfix-revert-before-deploy
Open

OR should be AND b4 deploy.#91
geode-main wants to merge 3 commits into
devfrom
holesky-hotfix-revert-before-deploy

Conversation

@geode-main
Copy link
Copy Markdown
Member

No description provided.

@geode-main
Copy link
Copy Markdown
Member Author

This should be merged before mainnet deployment. However, the change on price validation check should be 'AND' instead of 'OR'.

self.MONOPOLY_THRESHOLD = newThreshold;
if (self.MONOPOLY_THRESHOLD != newThreshold) {
self.MONOPOLY_THRESHOLD = newThreshold;
}
Copy link
Copy Markdown
Member Author

@geode-main geode-main Sep 23, 2024

Choose a reason for hiding this comment

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

review this change please @crashbandicoott

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

seems fine

unchecked {
isValid =
lastupdate + PRICE_EXPIRY >= block.timestamp &&
lastupdate + PRICE_EXPIRY >= block.timestamp ||
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This change should be reverted before merging. This is just for the Holesky network.

self.MONOPOLY_THRESHOLD = newThreshold;
if (self.MONOPOLY_THRESHOLD != newThreshold) {
self.MONOPOLY_THRESHOLD = newThreshold;
}
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

seems fine

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.

2 participants