Commit a79dc72
committed
fix(benchmark): add missing setDKGContract call in DKGBenchmark._setup
All ten tests were reverting with WrongDKGContract(). _setup() finalized
the KeyperSet without calling ks.setDKGContract(address(dkg)), so
_checkDKGContract saw address(0) instead of address(this).
Added ks.setDKGContract(address(dkg)) between setPublisher and setFinalized,
mirroring DKGContractTest.t.sol.
Files changed: test/DKGBenchmark.t.sol1 parent d7e14c7 commit a79dc72
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| 68 | + | |
68 | 69 | | |
69 | 70 | | |
70 | 71 | | |
| |||
0 commit comments