Commit cc71244
committed
fix(tests): more v2.0.0 API migrations (rng template, PeerId.random, etc.)
- tests/test_wakunode.nim: add std/options for Option.some disambiguation
- tests/test_peer_manager.nim: replace .withRng(rng) with .withRng(
crypto.newRng()); PeerId.random() now takes Rng
- tests/test_waku_keepalive.nim: Ping.new now requires rng: Rng arg
- tests/test_waku_dnsdisc.nim: qualify ambiguous rng as common.rng()1 parent 328e11d commit cc71244
4 files changed
Lines changed: 16 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
955 | 955 | | |
956 | 956 | | |
957 | 957 | | |
958 | | - | |
| 958 | + | |
| 959 | + | |
| 960 | + | |
| 961 | + | |
| 962 | + | |
959 | 963 | | |
960 | 964 | | |
961 | 965 | | |
| |||
1013 | 1017 | | |
1014 | 1018 | | |
1015 | 1019 | | |
1016 | | - | |
| 1020 | + | |
1017 | 1021 | | |
1018 | 1022 | | |
1019 | 1023 | | |
| |||
1027 | 1031 | | |
1028 | 1032 | | |
1029 | 1033 | | |
1030 | | - | |
| 1034 | + | |
1031 | 1035 | | |
1032 | 1036 | | |
1033 | 1037 | | |
| |||
1040 | 1044 | | |
1041 | 1045 | | |
1042 | 1046 | | |
1043 | | - | |
| 1047 | + | |
1044 | 1048 | | |
1045 | 1049 | | |
1046 | 1050 | | |
| |||
1091 | 1095 | | |
1092 | 1096 | | |
1093 | 1097 | | |
1094 | | - | |
| 1098 | + | |
1095 | 1099 | | |
1096 | 1100 | | |
1097 | 1101 | | |
| |||
1148 | 1152 | | |
1149 | 1153 | | |
1150 | 1154 | | |
1151 | | - | |
| 1155 | + | |
1152 | 1156 | | |
1153 | 1157 | | |
1154 | 1158 | | |
| |||
1164 | 1168 | | |
1165 | 1169 | | |
1166 | 1170 | | |
1167 | | - | |
| 1171 | + | |
1168 | 1172 | | |
1169 | 1173 | | |
1170 | 1174 | | |
| |||
1178 | 1182 | | |
1179 | 1183 | | |
1180 | 1184 | | |
1181 | | - | |
| 1185 | + | |
1182 | 1186 | | |
1183 | 1187 | | |
1184 | 1188 | | |
| |||
1327 | 1331 | | |
1328 | 1332 | | |
1329 | 1333 | | |
1330 | | - | |
| 1334 | + | |
1331 | 1335 | | |
1332 | 1336 | | |
1333 | 1337 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
0 commit comments