Skip to content

Fix skale node support - #148

Merged
dmytrotkk merged 13 commits into
developfrom
fix-skale-node-support
Dec 30, 2025
Merged

dmytrotkk merged 13 commits into
developfrom
fix-skale-node-support

Conversation

@alexgex

@alexgex alexgex commented Nov 5, 2025

Copy link
Copy Markdown
Contributor

This pull request makes several updates to the Ansible configuration and Docker Compose templates for SKALE nodes, focusing on improved container management, better handling of node types, and some restructuring for clarity and maintainability. The most important changes include refactoring Docker Compose templates, updating cleanup and deployment tasks to support both SKALE and FAIR node types, and enhancing playbook logic for conditional execution.

Docker Compose Template Refactoring:

  • Replaced the legacy services: and base: anchor pattern with a new x-sk-base anchor, and restructured the templates for docker-compose.yml.j2, docker-compose-fair.yml.j2, and docker-compose-passive.yml.j2 to improve maintainability and clarity. [1] [2] [3] [4] [5] [6]

Container Cleanup and Management:

  • Updated the cleanup logic in containers.yaml to use a more generic filter for container names and consolidated admin container removal for both SKALE and FAIR node types, removing redundant tasks and improving conditional checks. [1] [2]
  • Added support for cleaning up SKALE passive node containers in cli_cleanup.yaml using the new command prefix logic.

Node Type Handling and Conditional Logic:

  • Enhanced playbooks and roles to use more robust conditional logic, such as only running passive fair node registration when appropriate, and ensuring contract deployment tasks run for both fair_boot and fair node types. [1] [2]
  • Improved transfer funds logic to handle missing endpoints and contracts gracefully using defaults, and added support for timestamp difference configuration.

Anvil Container Management:

  • Refactored the Anvil container startup logic to use a dynamically constructed command, adding block time configuration for SKALE nodes and reducing verbosity.

Playbook Restructuring:

  • Renamed the main playbook file to skale_pipeline.yaml and added the create_chain.yaml playbook to the pipeline for better organization and extensibility. [1] [2]

@alexgex alexgex linked an issue Nov 5, 2025 that may be closed by this pull request
@dmytrotkk
dmytrotkk requested review from badrogger and dmytrotkk and removed request for badrogger November 25, 2025 16:35
@dmytrotkk
dmytrotkk merged commit 833cfef into develop Dec 30, 2025
@dmytrotkk
dmytrotkk deleted the fix-skale-node-support branch December 30, 2025 19:41
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.

Add fixes for skale node support

2 participants