You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
implements keyword is strict in a sense of forbidding modifying mutability and adding new default parameters. @trocherargumented on strict version, though I need a way to show contract is compatible having implementation-specific parameters.
A.vyi
# pragma version 0.4.0@externaldef bridge(_token: address):
...
B.vy
# pragma version 0.4.0import A
implements: A
@external# @payable # <-- Can not adddef bridge(
_token: address,
# _specific: uint256=0, # <-- Can not add
):
return
How can it be fixed?
Relaxed version of implements like compatible: or follows:
# noqa style comments to skip specific checks
The text was updated successfully, but these errors were encountered:
Version Information
vyper --version
): 0.4.0What's your issue about?
implements
keyword is strict in a sense of forbidding modifying mutability and adding new default parameters. @trocher argumented on strict version, though I need a way to show contract is compatible having implementation-specific parameters.A.vyi
B.vy
How can it be fixed?
implements
likecompatible:
orfollows:
# noqa
style comments to skip specific checksThe text was updated successfully, but these errors were encountered: