Skip to content
This repository was archived by the owner on Oct 21, 2025. It is now read-only.

Borrow/repay check removal#705

Merged
miguelmtzinf merged 3 commits into
feat/3.0.1from
fix/borrow-repay-check-removal
Oct 28, 2022
Merged

Borrow/repay check removal#705
miguelmtzinf merged 3 commits into
feat/3.0.1from
fix/borrow-repay-check-removal

Conversation

@The-3D

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

Copy link
Copy Markdown
Contributor

No description provided.

@The-3D The-3D changed the base branch from master to feat/3.0.1 August 8, 2022 17:32
).to.be.revertedWith(RESERVE_INACTIVE);
});

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

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.

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

@miguelmtzinf miguelmtzinf Aug 9, 2022

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.

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
Copy Markdown
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 subscribe to this conversation on GitHub. Already have an account? Sign in.

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