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

Remove the limit enforcement for first genesis update #195

Open
Neeharika-Sompalli opened this issue Jan 26, 2023 · 0 comments
Open

Remove the limit enforcement for first genesis update #195

Neeharika-Sompalli opened this issue Jan 26, 2023 · 0 comments
Assignees

Comments

@Neeharika-Sompalli
Copy link
Member

When ERT send a FileUpdate transaction with the latest exchange rate. But, if the value exceeds 25% of previous value i throws EXCHANGE_RATE_LIMIT_EXCEEDED.
The first update after genesis restart should not enforce the limit. It should take the median value from the exchanges and submit a FileUpdate transaction, to avoid using default value.
But, a restart after an update or reconnect should still have the limit.

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

No branches or pull requests

2 participants