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: remove hardcoded chainlink rate age (#1171) #1171

Merged
merged 2 commits into from
Sep 21, 2023

Conversation

OjusWiZard
Copy link
Contributor

@OjusWiZard OjusWiZard commented Sep 18, 2023

Fixes #1144

Hi, a new contributor here!
Trying to fix the issue #1144

Description of the changes

I've added an optional parameter maxRateAge in ISwapSettings IConversionSettings. It defaults to 0.
We can keep it required too, wdyt?

Signed-off-by: OjusWiZard <ojuswimail@gmail.com>
@OjusWiZard OjusWiZard marked this pull request as ready for review September 19, 2023 15:30
Copy link
Member

@yomarion yomarion left a comment

Choose a reason for hiding this comment

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

Thanks for your contribution! Shouldn't this new param come from conversionSettings instead of swapSettings?

@OjusWiZard
Copy link
Contributor Author

Thanks for your contribution! Shouldn't this new param come from conversionSettings instead of swapSettings?

That makes sense. Thanks for the review!

Signed-off-by: OjusWiZard <ojuswimail@gmail.com>
Copy link
Member

@MantisClone MantisClone left a comment

Choose a reason for hiding this comment

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

Thank you for your contribution!

@MantisClone MantisClone merged commit 0fa63d6 into RequestNetwork:master Sep 21, 2023
25 of 27 checks passed
OjusWiZard added a commit to OjusWiZard/requestNetwork that referenced this pull request Sep 21, 2023
Signed-off-by: OjusWiZard <ojuswimail@gmail.com>
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.

Fix encodeSwapToPayAnyToErc20Request(): Don't hardcode _chainlinkMaxRateTimespan to 0
3 participants