Revert the change that made events accessible in other contacts via qualified access

This commit is contained in:
Kamil Śliwak
2022-06-14 12:04:14 +02:00
parent 82e5339d23
commit acbdcc3711
8 changed files with 44 additions and 25 deletions
+1 -1
View File
@@ -1216,7 +1216,7 @@ public:
FunctionTypePointer functionType(bool /*_internal*/) const override;
bool isVisibleInDerivedContracts() const override { return true; }
bool isVisibleViaContractTypeAccess() const override { return true; }
bool isVisibleViaContractTypeAccess() const override { return false; /* TODO */ }
EventDefinitionAnnotation& annotation() const override;