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