()
| 30 | } |
| 31 | |
| 32 | const clients = async () => { |
| 33 | const client = await hre.viem.getPublicClient({ |
| 34 | chain: getChain(hre), |
| 35 | }) |
| 36 | const protocolConfig = ProtocolConfig.attach(client) |
| 37 | const extraAbi = parseAbi(['function upgradeTo(address newImplementation)']) |
| 38 | |
| 39 | return { client, protocolConfig, extraAbi } |
| 40 | } |
| 41 | |
| 42 | it('migrate contract', async () => { |
| 43 | const { client, protocolConfig, extraAbi } = await clients() |
no test coverage detected