Commit 8ef7ea8
Localclusters tmpnet (#2680)
* start/stop/clean start working for basic local network
* add missing files
* goimports
* move network load and stop inside tmpnet file
* improve bootstrapping status check and have better names for localnet info
* centralize tmpnet usage. fix status partially
* make network start to use given avalanchego
* some refactors
* more refactoring
* cleanup
* refactor
* preparing to work on track
* move blockchain boostrapping check to tmpnet
* added blockchain config stuff
* saving RPCs into sidecar
* local network non sovereign flow kind of migrated
* add missing file
* adding health info to status
* fixed output
* lint
* fix go.mod
* fix licenses
* make clean to not fail if no network up
* add wait before setting aliases
* only set aliases on validators
* improve alias and bootstrap check functions to base on subnet id
* rm debugging print
* fix for a e2e
* fix more e2e
* more fixes
* e2e fix attempt
* fixes to pass e2e
* use GetApp() on all tests
* add some comments
* move helpers to application
* fix uris inside tmpnet wrapper
* add some comments
* avoid using latest on network restart
* nit
* e2e
* fix e2e
* chore: Update MD files [skip ci]
* empty
* chore: Update MD files [skip ci]
* e2e
* nit
* chore: Update MD files [skip ci]
* chore: Update MD files [skip ci]
* use fixed ANR
* chore: Update MD files [skip ci]
* more fixes
* chore: Update MD files [skip ci]
* add back script
* chore: Update MD files [skip ci]
* reformatting and comments
* rename app function to better reflect it is local clusters
* i
* Update cmd/networkcmd/start.go
Co-authored-by: Meaghan FitzGerald <meag.fitz@avalabs.org>
Signed-off-by: felipemadero <felipe.madero@gmail.com>
* address PR comment
* replace functions related to removal
* preparing for start
* put network connection info in separate struct
* add network id to create params
* further steps into connecting to local network
* implemented cluster lists
* save tracked subnets
* add mising file
* add log as param to db downloader
* fuji connection working
* improve stop
* basic cluster load working, not same port
* address RS comments
* address MN comments part 1
* address MN comments 2
* mode blockchain info stuff to its own file
* don't write avalanchego path into extra local network data
* simplify running check
* added deadline check to busy wait
* add per node chain config
* e2e fix
* fix e2e
* nit
* lets make this work
* fix e2e
* fix e2e?
* filter not running bootstrappers
* addres MN comments
* address MN comments
* go run
* lint
* rename function
* status
* nit
* status working
* add port persistence
* correctly pass in the local network genesis
* sort out some avago binary def stuff
* partial work
* output improvements
* remove ANR VMID usage
* relayer reconf
* mid work
* lint
* nit
* adding node starts working
* remove more stuff
* nit
* add mising file
* Potential fix for code scanning alert no. 49: Incorrect conversion between integer types
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Signed-off-by: felipemadero <felipe.madero@gmail.com>
* fix network e2e
* e2e
* more e2e
* e2e...
* e2e
* remove 2 anr refs
* use latest relayer release
* add migrate skel
* nit
* remove anr server start code
* filtered clusters to migrate
* migration working
* migration
* nit
* almost working
* migration added
* disable migration for the moment
* adding local network cluster migration
* nit
* nit
* nit
* start adding local relayer stop/start to migration
* near
* nit
* also cp evm data
* local network working
* lint
* add multiple relayer kinds to migration
* stop/start relayer based on network kind
* add port spec + alias to addValidator
* prepare for review
* nit
* nit
* lint
* address RS comments
* set up aliases only for local network clusters
* avoid retrieving subnet validators
* bump avago
* fix e2e
* address RS comments
---------
Signed-off-by: felipemadero <felipe.madero@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Meaghan FitzGerald <meag.fitz@avalabs.org>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>1 parent 38d2a84 commit 8ef7ea8
File tree
74 files changed
+2568
-2203
lines changed- cmd
- backendcmd
- blockchaincmd
- upgradecmd
- interchaincmd/relayercmd
- networkcmd
- nodecmd
- internal/migrations
- pkg
- application
- binutils
- blockchain
- constants
- interchain
- relayer
- localnet
- models
- networkoptions
- node
- plugins
- prompts
- subnet
- utils
- vm
- scripts
- sdk/publicarchive
- tests/e2e
- testcases
- network
- packageman
- subnet
- non-sov
- local
- public
- sov
- addRemoveValidatorPoA
- addRemoveValidatorPoS
- local
- public
- upgrade
- non-sov
- sov
- utils
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
74 files changed
+2568
-2203
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
| 108 | + | |
108 | 109 | | |
109 | 110 | | |
110 | 111 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | | - | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | 28 | | |
30 | 29 | | |
31 | 30 | | |
| |||
68 | 67 | | |
69 | 68 | | |
70 | 69 | | |
| 70 | + | |
| 71 | + | |
71 | 72 | | |
72 | 73 | | |
73 | 74 | | |
| |||
129 | 130 | | |
130 | 131 | | |
131 | 132 | | |
| 133 | + | |
| 134 | + | |
132 | 135 | | |
133 | 136 | | |
134 | 137 | | |
| |||
222 | 225 | | |
223 | 226 | | |
224 | 227 | | |
225 | | - | |
| 228 | + | |
226 | 229 | | |
227 | 230 | | |
228 | 231 | | |
| |||
264 | 267 | | |
265 | 268 | | |
266 | 269 | | |
| 270 | + | |
267 | 271 | | |
268 | | - | |
269 | | - | |
270 | | - | |
271 | | - | |
272 | | - | |
273 | | - | |
274 | | - | |
275 | | - | |
276 | | - | |
277 | | - | |
278 | | - | |
279 | | - | |
280 | | - | |
| 272 | + | |
| 273 | + | |
281 | 274 | | |
282 | | - | |
283 | | - | |
284 | | - | |
285 | | - | |
286 | | - | |
287 | | - | |
288 | | - | |
289 | | - | |
290 | | - | |
291 | | - | |
292 | | - | |
293 | | - | |
294 | | - | |
295 | | - | |
296 | | - | |
297 | | - | |
298 | 275 | | |
299 | 276 | | |
300 | | - | |
301 | | - | |
302 | | - | |
303 | | - | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
304 | 282 | | |
305 | | - | |
| 283 | + | |
| 284 | + | |
306 | 285 | | |
307 | 286 | | |
308 | 287 | | |
309 | | - | |
310 | | - | |
| 288 | + | |
| 289 | + | |
311 | 290 | | |
312 | 291 | | |
313 | | - | |
| 292 | + | |
| 293 | + | |
314 | 294 | | |
315 | 295 | | |
316 | 296 | | |
| |||
346 | 326 | | |
347 | 327 | | |
348 | 328 | | |
349 | | - | |
| 329 | + | |
350 | 330 | | |
351 | 331 | | |
352 | 332 | | |
| |||
360 | 340 | | |
361 | 341 | | |
362 | 342 | | |
363 | | - | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
364 | 352 | | |
365 | 353 | | |
366 | 354 | | |
| |||
623 | 611 | | |
624 | 612 | | |
625 | 613 | | |
| 614 | + | |
626 | 615 | | |
627 | 616 | | |
628 | 617 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | 18 | | |
20 | 19 | | |
21 | 20 | | |
| |||
116 | 115 | | |
117 | 116 | | |
118 | 117 | | |
119 | | - | |
| 118 | + | |
120 | 119 | | |
121 | 120 | | |
122 | 121 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| 85 | + | |
| 86 | + | |
85 | 87 | | |
86 | 88 | | |
87 | 89 | | |
| |||
109 | 111 | | |
110 | 112 | | |
111 | 113 | | |
| 114 | + | |
| 115 | + | |
112 | 116 | | |
113 | 117 | | |
114 | 118 | | |
| |||
118 | 122 | | |
119 | 123 | | |
120 | 124 | | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
| 125 | + | |
127 | 126 | | |
128 | 127 | | |
129 | | - | |
| 128 | + | |
130 | 129 | | |
131 | 130 | | |
132 | 131 | | |
| |||
155 | 154 | | |
156 | 155 | | |
157 | 156 | | |
158 | | - | |
159 | | - | |
160 | | - | |
| 157 | + | |
161 | 158 | | |
162 | 159 | | |
163 | 160 | | |
| |||
173 | 170 | | |
174 | 171 | | |
175 | 172 | | |
176 | | - | |
| 173 | + | |
| 174 | + | |
177 | 175 | | |
178 | 176 | | |
179 | 177 | | |
| |||
184 | 182 | | |
185 | 183 | | |
186 | 184 | | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | 185 | | |
191 | 186 | | |
192 | 187 | | |
| |||
224 | 219 | | |
225 | 220 | | |
226 | 221 | | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
227 | 234 | | |
228 | 235 | | |
229 | 236 | | |
230 | 237 | | |
231 | 238 | | |
232 | 239 | | |
233 | 240 | | |
234 | | - | |
| 241 | + | |
| 242 | + | |
235 | 243 | | |
236 | 244 | | |
237 | 245 | | |
238 | 246 | | |
239 | 247 | | |
240 | 248 | | |
241 | 249 | | |
242 | | - | |
| 250 | + | |
243 | 251 | | |
244 | 252 | | |
245 | 253 | | |
| |||
271 | 279 | | |
272 | 280 | | |
273 | 281 | | |
274 | | - | |
| 282 | + | |
275 | 283 | | |
| 284 | + | |
276 | 285 | | |
277 | 286 | | |
278 | | - | |
279 | 287 | | |
280 | 288 | | |
281 | 289 | | |
| |||
648 | 656 | | |
649 | 657 | | |
650 | 658 | | |
651 | | - | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
| 665 | + | |
| 666 | + | |
| 667 | + | |
652 | 668 | | |
653 | 669 | | |
654 | 670 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
332 | 332 | | |
333 | 333 | | |
334 | 334 | | |
| 335 | + | |
335 | 336 | | |
336 | 337 | | |
337 | 338 | | |
| |||
0 commit comments