Commit 842bef82 by github-actions

Transpile 6eb8a15d

parent 0118b684
...@@ -14,7 +14,7 @@ abstract contract ERC2771ContextUpgradeable is Initializable, ContextUpgradeable ...@@ -14,7 +14,7 @@ abstract contract ERC2771ContextUpgradeable is Initializable, ContextUpgradeable
address private immutable _trustedForwarder; address private immutable _trustedForwarder;
/// @custom:oz-upgrades-unsafe-allow constructor /// @custom:oz-upgrades-unsafe-allow constructor
constructor(address trustedForwarder) {
_trustedForwarder = trustedForwarder; _trustedForwarder = trustedForwarder;
} }
......
...@@ -9,7 +9,7 @@ import "../proxy/utils/Initializable.sol"; ...@@ -9,7 +9,7 @@ import "../proxy/utils/Initializable.sol";
// By inheriting from ERC2771Context, Context's internal functions are overridden automatically // By inheriting from ERC2771Context, Context's internal functions are overridden automatically
contract ERC2771ContextMockUpgradeable is Initializable, ContextMockUpgradeable, ERC2771ContextUpgradeable { contract ERC2771ContextMockUpgradeable is Initializable, ContextMockUpgradeable, ERC2771ContextUpgradeable {
/// @custom:oz-upgrades-unsafe-allow constructor /// @custom:oz-upgrades-unsafe-allow constructor
constructor(address trustedForwarder) ERC2771ContextUpgradeable(trustedForwarder) {
emit Sender(_msgSender()); // _msgSender() should be accessible during construction emit Sender(_msgSender()); // _msgSender() should be accessible during construction
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment