Commit 1b68ca3
authored
[Concept]: feat: introducing lazy chain loading (#644)
Chains can now be loaded lazily instead of eager, this means chains will
only be loaded when it is being used.
Hidden under the feature toggle `CLD_LAZY_BLOCKCHAINS` , off by default.
Basically this solves a bunch of issues
- avoid loading all the chains in the network config file even they are
not used (increases loading time)
- failures on loading certain chains that are not used will now not
failed the changeset
- users having to always specify chain overrides in input yaml in order
to avoid loading all the chains (this can be tricky if the chain
overrides is a long list of chains too)
- basically deprecate the `ChainsOverrides` feature, simplifying the
code1 parent 3791c84 commit 1b68ca3
File tree
11 files changed
+1706
-51
lines changed- .changeset
- chain
- deployment
- engine
- cld
- chains
- environment
- legacy/cli/mcmsv2
- test/environment
- experimental/analyzer
11 files changed
+1706
-51
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
27 | 31 | | |
28 | 32 | | |
29 | 33 | | |
| |||
35 | 39 | | |
36 | 40 | | |
37 | 41 | | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
38 | 58 | | |
39 | 59 | | |
40 | 60 | | |
| |||
0 commit comments