Skip to content

Conversation

@cryptoAtwill
Copy link
Contributor

@cryptoAtwill cryptoAtwill commented Oct 22, 2025

Note

Passes a commit SHA to the Gateway constructor for both runtime and genesis deployments, adds a required Subnet Chain ID field to the UI wizard, and enhances deployment error logging.

  • Contracts/Deployment:
    • Gateway constructor extended with commit_sha: [u8; 32] in ipc::gateway::ConstructorParameters and new(...) signature.
    • Runtime deployer now injects commit SHA via get_commit_sha() (env COMMIT_SHA, git rev-parse --short HEAD, fallback c7d8f53f).
    • Genesis deployment passes a default commit SHA via get_genesis_commit_sha().
  • Genesis:
    • deploy_contracts updated to supply commit_sha to Gateway params.
  • UI (Wizard):
    • Adds chainId to SubnetConfig and Basic Config form.
    • Renders a required "Subnet Chain ID" input and includes it in validation.
  • CLI/API:
    • Improved error logging on deployment failure in deployment.rs.

Written by Cursor Bugbot for commit c9f95e8. This will update automatically on new commits. Configure here.

…iguration

- Improved error logging in deployment handling to include detailed error context.
- Added chainId field to SubnetConfig interface and updated BasicConfigView to include it in the form data and validation.
@cryptoAtwill cryptoAtwill requested a review from a team as a code owner October 22, 2025 13:29
phutchins and others added 5 commits October 22, 2025 09:31
- Introduced a new script `health.sh` that includes functions for managing validator nodes, including backup, wipe, start, and health checks.
- Implemented comprehensive health checks for validators, including process status, port listening, peer connections, and block height verification.
- Added functionality to measure block production times and monitor parent finality progress in real-time.
cursor[bot]

This comment was marked as outdated.

phutchins and others added 6 commits October 22, 2025 09:44
- Added scripts for setting up Anvil with IPC keystore accounts, ensuring deterministic funding and state persistence.
- Introduced `setup-anvil-with-ipc-keys.sh` for starting Anvil and funding accounts automatically.
- Created `anvil-persistent-state.sh` for managing state across restarts.
- Added convenience aliases in `aliases.sh` for easier command execution.
- Comprehensive documentation provided in `ANVIL_IPC_SETUP.md` and `QUICK_REFERENCE.md` for user guidance
- Introduced `setup-anvil-tunnels.sh` to establish SSH tunnels from local Anvil to remote validator nodes.
- The script parses a YAML configuration file for validator IPs and SSH users, allowing for dynamic setup.
- Includes error handling and cleanup functions to manage tunnel processes effectively.
- Provides user feedback during the setup process and ensures all tunnels are monitored for stability.
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.

2 participants