Add internal overrideable _flashFee in ERC20FlashMint#3551
Add internal overrideable _flashFee in ERC20FlashMint#3551frangio merged 14 commits intoOpenZeppelin:masterfrom nirban256:fix/internal-flashFee-#3331
Conversation
|
Hello @nirban256 I'm really puzzeled by this design. What are dev supposed to override? If you override the public one, you risk losing the |
|
Maybe what we want is |
|
Ok I will change this to this new implementation shortly |
frangio
left a comment
There was a problem hiding this comment.
Please update ERC20FlashMintMock to override _flashFee instead of flashFee like it does currently.
|
My previous comment hasn't been addressed yet:
It refers to the mock contract used for testing. |
|
Sir I have pushed a commit, let me know what are the changes required. |
|
do I need to do anything more in order to complete this pull request? @frangio |
Fixes #3331
added internal _flashFee function
added the function so that instead of
flashFeefunction the_flashFeefunction can be overridden inside the ERC20FlashMint contractPR Checklist