We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I am getting errors re these two lines on the FlashLoanReceiverBase.sol:
ILendingPoolAddressesProvider public immutable override ADDRESSES_PROVIDER; ILendingPool public immutable override LENDING_POOL;
as it is not clear what they are overriding. There are no matching variable names on the IFlashLoanReceiver interface.
When I try to truffle compile, I get this error for both lines:
TypeError: Public state variable has override specified but does not override anything.
I am tempted to just remove the override but don't want to do something that may have dangerous repercussions.
If I do remove the overrides (just for testing), I get this error about the constructor:
DeclarationError: Abstract contracts cannot have public constructors. Remove the "public" keyword to fix this.
Assistance on these errors would be appreciated. Thank you.
The text was updated successfully, but these errors were encountered:
have this issue too, if i figure something out, i will try to update this.
Sorry, something went wrong.
yeah, I just ended up removing public and override and error is gone. hopefully someone can have a better solution to this.
No branches or pull requests
I am getting errors re these two lines on the FlashLoanReceiverBase.sol:
as it is not clear what they are overriding. There are no matching variable names on the IFlashLoanReceiver interface.
When I try to truffle compile, I get this error for both lines:
TypeError: Public state variable has override specified but does not override anything.
I am tempted to just remove the override but don't want to do something that may have dangerous repercussions.
If I do remove the overrides (just for testing), I get this error about the constructor:
DeclarationError: Abstract contracts cannot have public constructors. Remove the "public" keyword to fix this.
Assistance on these errors would be appreciated. Thank you.
The text was updated successfully, but these errors were encountered: