Skip to content

feat: add network config#17312

Merged
alexghr merged 1 commit intonextfrom
ag/remote-config
Sep 30, 2025
Merged

feat: add network config#17312
alexghr merged 1 commit intonextfrom
ag/remote-config

Conversation

@alexghr
Copy link
Contributor

@alexghr alexghr commented Sep 25, 2025

Fix A-30 A-61

@alexghr alexghr changed the title feat: add remote config feat: add network config Sep 26, 2025
Comment on lines +7 to +8
registryAddress: z.string(),
feeAssetHandlerAddress: z.string().optional(),
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we have a circular import issue here. If I make these schemas.EthAddress we can no longer bootstrap cleanly

Comment on lines +266 to 272
const data = await cachedFetch(url, {
cacheDurationMs: BOOTNODE_CACHE_DURATION_MS,
cacheFile: cacheDir ? join(cacheDir, networkName, 'bootnodes.json') : undefined,
});

return json['bootnodes'];
return data.bootnodes;
}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We no longer crash if the bootnodes file is not available (fix A-61), so I've added a warning if starting a P2P client with 0 boot nodes defined.

@alexghr alexghr force-pushed the ag/remote-config branch 2 times, most recently from 2a07d39 to 54afb8d Compare September 26, 2025 13:08
PhilWindle added a commit that referenced this pull request Sep 29, 2025
This PR is a backport of the following into V2.

#17169
#17176 
#17186 
#17178 
#17177
#17130
#17039 
#17230
#17245 
#17273
#17186
#17192
#17194 
#17225 
#17285 
#17312 
#17326

---------

Co-authored-by: Alex Gherghisan <alexghr@users.noreply.github.com>
Co-authored-by: Santiago Palladino <santiago@aztec-labs.com>
Co-authored-by: Santiago Palladino <spalladino@gmail.com>
Co-authored-by: alexghr <3816165+alexghr@users.noreply.github.com>
@alexghr alexghr force-pushed the ag/remote-config branch 2 times, most recently from 41bf560 to bd712e6 Compare September 30, 2025 13:26
@alexghr alexghr enabled auto-merge September 30, 2025 13:27
@alexghr alexghr force-pushed the ag/remote-config branch 2 times, most recently from 8fc808b to 777c4af Compare September 30, 2025 13:39
Co-authored-by: PhilWindle <60546371+PhilWindle@users.noreply.github.com>
@alexghr alexghr added this pull request to the merge queue Sep 30, 2025
Merged via the queue into next with commit fdfa967 Sep 30, 2025
14 checks passed
@alexghr alexghr deleted the ag/remote-config branch September 30, 2025 16:12
@alexghr alexghr mentioned this pull request Oct 2, 2025
alexghr added a commit that referenced this pull request Oct 6, 2025
Backports of #17312, #17326 and #17407

Fix A-109

---------

Co-authored-by: PhilWindle <60546371+PhilWindle@users.noreply.github.com>
Co-authored-by: Santiago Palladino <santiago@aztec-labs.com>
ludamad pushed a commit that referenced this pull request Dec 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants