Quellcode durchsuchen

Remove outdated note about virtual view functions (#4014)

Francisco vor 2 Jahren
Ursprung
Commit
591c12d22d
1 geänderte Dateien mit 0 neuen und 2 gelöschten Zeilen
  1. 0 2
      docs/modules/ROOT/pages/extending-contracts.adoc

+ 0 - 2
docs/modules/ROOT/pages/extending-contracts.adoc

@@ -66,8 +66,6 @@ contract ModifiedAccessControl is AccessControl {
 
 The `super.revokeRole` statement at the end will invoke ``AccessControl``'s original version of `revokeRole`, the same code that would've run if there were no overrides in place.
 
-NOTE: As of v3.0.0, `view` functions are not `virtual` in OpenZeppelin, and therefore cannot be overridden. We're considering https://github.com/OpenZeppelin/openzeppelin-contracts/issues/2154[lifting this restriction] in an upcoming release. Let us know if this is something you care about!
-
 [[using-hooks]]
 == Using Hooks