We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d150443 commit 9e3257aCopy full SHA for 9e3257a
test/e2e/UpgradeAuthenticator.t.sol
@@ -3,7 +3,6 @@ pragma solidity ^0.8;
3
4
import {GPv2AllowListAuthentication} from "src/contracts/GPv2AllowListAuthentication.sol";
5
6
-import {GPv2AllowListAuthenticationV2} from "../src/GPv2AllowListAuthenticationV2.sol";
7
import {Helper} from "./Helper.sol";
8
9
interface IEIP173Proxy {
@@ -12,6 +11,12 @@ interface IEIP173Proxy {
12
11
function owner() external view returns (address);
13
}
14
+contract GPv2AllowListAuthenticationV2 is GPv2AllowListAuthentication {
15
+ function newMethod() external pure returns (uint256) {
16
+ return 1337;
17
+ }
18
+}
19
+
20
contract UpgradeAuthenticatorTest is Helper(false) {
21
GPv2AllowListAuthenticationV2 v2Impl;
22
test/src/GPv2AllowListAuthenticationV2.sol
0 commit comments