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 rebalance bug and add sanity check #454

Merged
merged 22 commits into from
Nov 4, 2023
Merged

Fix rebalance bug and add sanity check #454

merged 22 commits into from
Nov 4, 2023

Conversation

shanejearley
Copy link
Contributor

@shanejearley shanejearley commented Nov 2, 2023

Had to pause the testnet contract briefly and address an issue, but the contract is now unpaused. The remainder of the PR will be cleanup for the next iteration.

  • Archived a script used to correct testnet issues from a rebalance bug
  • Added an onchain sanity check to the rebalance method to prevent the bug
  • Fixed incorrect passing and handling of start and end indicies in functions calls to views
  • Changed ethereum dev script to use already deployed contracts in fork
  • Todo: tighten up Functions oracle source code to mitigate other unchecked conditions

@shanejearley shanejearley merged commit f2ed3ce into develop Nov 4, 2023
1 check passed
@shanejearley shanejearley deleted the bug/functions branch November 4, 2023 04:58
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.

1 participant