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

Borrow/repay check removal #705

Merged
merged 3 commits into from
Oct 28, 2022
Merged

Conversation

The-3D
Copy link
Contributor

@The-3D The-3D commented Aug 8, 2022

No description provided.

@The-3D The-3D changed the base branch from master to feat/3.0.1 August 8, 2022 17:32
@@ -404,132 +404,6 @@ makeSuite('ValidationLogic: Edge cases', (testEnv: TestEnv) => {
).to.be.revertedWith(RESERVE_INACTIVE);
});

it('validateRepay() when variable borrowing and repaying in same block (revert expected)', async () => {
Copy link
Contributor

Choose a reason for hiding this comment

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

I believe its better to add these tests cases as non-reverting

Copy link
Contributor

@miguelmtzinf miguelmtzinf Aug 9, 2022

Choose a reason for hiding this comment

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

Tests added

@miguelmtzinf miguelmtzinf self-requested a review August 9, 2022 20:27
@miguelmtzinf miguelmtzinf linked an issue Aug 10, 2022 that may be closed by this pull request
@kyzia551
Copy link
Collaborator

looks fine

@miguelmtzinf miguelmtzinf merged commit b1d94da into feat/3.0.1 Oct 28, 2022
@miguelmtzinf miguelmtzinf deleted the fix/borrow-repay-check-removal branch October 28, 2022 15:15
@eboadom eboadom mentioned this pull request Nov 16, 2022
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.

repay should not throw when repaying a borrow of the same block
3 participants