Fix ERC2771ContextMock for upgradeable contracts

pull/3058/head
Francisco Giordano 3 years ago
parent fe38eae6cd
commit e9e177f53b
  1. 1
      contracts/mocks/ERC2771ContextMock.sol

@ -7,6 +7,7 @@ import "../metatx/ERC2771Context.sol";
// By inheriting from ERC2771Context, Context's internal functions are overridden automatically
contract ERC2771ContextMock is ContextMock, ERC2771Context {
/// @custom:oz-upgrades-unsafe-allow constructor
constructor(address trustedForwarder) ERC2771Context(trustedForwarder) {
emit Sender(_msgSender()); // _msgSender() should be accessible during construction
}

Loading…
Cancel
Save