Skip to content

feat: add support for Asimov and Bradbury network configurations in setup guide and action files#361

Merged
dohernandez merged 1 commit intomainfrom
feat/multi-network-support
Mar 11, 2026
Merged

feat: add support for Asimov and Bradbury network configurations in setup guide and action files#361
dohernandez merged 1 commit intomainfrom
feat/multi-network-support

Conversation

@dohernandez
Copy link
Member

@dohernandez dohernandez commented Mar 11, 2026

feat: add support for Asimov and Bradbury network configurations in setup guide and action files

Summary by CodeRabbit

  • New Features

    • Added support for Asimov Phase 5 and Bradbury Phase 1 network configurations with dedicated validator consensus settings.
  • Documentation

    • Updated monitoring and setup guides with network-specific consensus configuration examples for Asimov and Bradbury testnets, including environment variable guidance.
  • Chores

    • Enhanced deployment automation to handle multiple network configuration variants during documentation synchronization.

@vercel
Copy link
Contributor

vercel bot commented Mar 11, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
genlayer-docs Ready Ready Preview, Comment Mar 11, 2026 7:32pm

Request Review

@netlify
Copy link

netlify bot commented Mar 11, 2026

Deploy Preview for genlayer-docs ready!

Name Link
🔨 Latest commit 4e4cb36
🔍 Latest deploy log https://app.netlify.com/projects/genlayer-docs/deploys/69b1c2f51e8dae0008a45477
😎 Deploy Preview https://deploy-preview-361--genlayer-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Mar 11, 2026

Caution

Review failed

Pull request was closed or merged during review

📝 Walkthrough

Walkthrough

This PR introduces two new network configuration variants (Asimov Phase 5 and Bradbury Phase 1) to the validator infrastructure. Changes extend GitHub Actions workflows and scripts to handle multiple configuration types, add corresponding YAML files, and update documentation with network-specific setup guidance.

Changes

Cohort / File(s) Summary
GitHub Actions Infrastructure
.github/actions/sync-files/action.yml, .github/workflows/sync-docs-from-node.yml
Extended conditional logic and sync matrix to treat config_asimov and config_bradbury equivalently to config in preparation, sync decisions, and cleanup steps. Added new sync types to matrix and parameter generation with corresponding YAML files and report handling in workflow summary.
Configuration Files
content/validators/asimov.yaml, content/validators/bradbury.yaml
Added two new YAML configuration files defining Asimov Phase 5 and Bradbury Phase 1 network consensus parameters, including consensus addresses and genesis block numbers.
Documentation
pages/validators/monitoring.mdx, pages/validators/setup-guide.mdx
Introduced NETWORK_NAME environment variable and propagated it through monitoring configurations. Expanded setup guidance with dedicated Network-Specific Consensus Configuration sections for Asimov and Bradbury testnets.
Configuration Update Script
scripts/update-config-in-setup-guide.js
Refactored to independently update three separate YAML blocks (main config, Asimov, and Bradbury) with discrete file-specific replacement logic and explicit existence checks.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related PRs

Suggested reviewers

  • rasca
  • AgustinRamiroDiaz

Poem

🐰 Two networks emerge from the configs so fine,
Asimov and Bradbury in harmony align,
Workflows sync smoothly through each phase,
New validators guide through blockchain's maze,
Monitoring watches with network's own name! 🌐

🚥 Pre-merge checks | ✅ 2 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The PR description only repeats the title and lacks detailed explanation of changes, reasoning, or references to related issues as required by the template. Add a detailed description explaining what Asimov and Bradbury configurations are, why they're needed, list the modified files, and reference any related issues using the 'Closes' keyword.
✅ Passed checks (2 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately reflects the main changes across the PR: adding Asimov and Bradbury network configuration support to setup guides and action files.
Docstring Coverage ✅ Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
  • 📝 Generate docstrings (stacked PR)
  • 📝 Generate docstrings (commit on current branch)
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feat/multi-network-support

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@dohernandez dohernandez merged commit 0e9cb33 into main Mar 11, 2026
8 of 9 checks passed
@dohernandez dohernandez deleted the feat/multi-network-support branch March 11, 2026 19:35
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.

1 participant