()
| 25 | |
| 26 | describe('ValidatorRegistry simulation', () => { |
| 27 | const clients = async () => { |
| 28 | const client = await hre.viem.getPublicClient({ |
| 29 | chain: getChain(hre), |
| 30 | }) |
| 31 | const validatorRegistry = ValidatorRegistry.attach(client) |
| 32 | const randomWallet = privateKeyToAccount(generatePrivateKey()) |
| 33 | const extraAbi = parseAbi(['function upgradeTo(address newImplementation)']) |
| 34 | |
| 35 | return { client, randomWallet, validatorRegistry, extraAbi } |
| 36 | } |
| 37 | |
| 38 | // Reads at block 0 so the assertion is immune to validator registrations |
| 39 | // performed by the localdev test suite (which only grows _nextRegistrationId). |
no test coverage detected