From 0c7b2ec09e7234396af676b44027c1d621258259 Mon Sep 17 00:00:00 2001 From: Francisco Giordano Date: Fri, 8 May 2020 13:02:07 -0300 Subject: [PATCH] Make Context abstract (#2229) --- contracts/GSN/Context.sol | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/contracts/GSN/Context.sol b/contracts/GSN/Context.sol index 227c9248f..449458d66 100644 --- a/contracts/GSN/Context.sol +++ b/contracts/GSN/Context.sol @@ -10,11 +10,7 @@ pragma solidity ^0.6.0; * * This contract is only required for intermediate, library-like contracts. */ -contract Context { - // Empty internal constructor, to prevent people from mistakenly deploying - // an instance of this contract, which should be used via inheritance. - constructor () internal { } - +abstract contract Context { function _msgSender() internal view virtual returns (address payable) { return msg.sender; }