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
The mark-callable-contracts rule is being triggered against emitting events, as events are camel-cased very similarly to contracts. We should update this rule so that it does not get triggered by emitting an event. Take for instance this example:
contract A {
event UpdatedToken();
function b() public {
emit UpdatedToken(); // This line triggers mark-callable-contracts
}
}
The text was updated successfully, but these errors were encountered:
habdelra
added a commit
to habdelra/solhint
that referenced
this issue
May 14, 2019
The
mark-callable-contracts
rule is being triggered against emitting events, as events are camel-cased very similarly to contracts. We should update this rule so that it does not get triggered by emitting an event. Take for instance this example:The text was updated successfully, but these errors were encountered: