Skip to content

Conversation

@jadepark-dev
Copy link
Contributor

@jadepark-dev jadepark-dev commented Jun 16, 2025

Primary Changes

  • Added service_profile configuration option with "core" (default) and "full" modes
  • Core profile runs genesis node only for lightweight testing
  • Full profile includes all services (genesis, HTTP API, faucet, explorer, indexing)

Others

  • Refactored service creation to use template-based approach for better maintainability
  • Updated port allocation documentation to reflect service-specific assignments
  • Removed CI-based service filtering in favor of explicit profile selection
  • Updated example configurations to demonstrate profile usage

Below is a summarization created by an LLM (gpt-4-0125-preview). Be mindful of hallucinations and verify accuracy.

Why

The changes enhance the TON blockchain support in the testing framework by introducing service profiles, which allows for more flexible and specific configurations depending on the testing needs. Additionally, the updates facilitate better resource management and customization for TON blockchain testing environments.

What

  • book/src/framework/components/blockchains/ton.md
    • Added documentation for the new service_profile configuration option.
    • Replaced the default ports section with service profiles explanation and detailed the ports allocation based on the base port.
  • framework/components/blockchain/blockchain.go
    • Introduced a new ServiceProfile field in the Input struct for TON specific parameters, allowing the selection between core and full profiles.
  • framework/components/blockchain/ton.go
    • Added constants and a map to define the TON service profiles and their corresponding services.
    • Implemented the resolveServices method to determine the services to launch based on the selected profile.
    • Modified newTon function to utilize the service profile for setting up the TON environment with the appropriate services.
    • Updated service container templates to reflect the changes in service profiles and port configurations.
  • framework/examples/myproject/parallel_ton.toml and framework/examples/myproject/smoke_ton.toml
    • Updated the base ports in example configurations to reflect the new port allocation strategy.

@jadepark-dev jadepark-dev changed the title ton: service profile ton: minimal service profile Jun 16, 2025
@jadepark-dev
Copy link
Contributor Author

Since the usage requirements of Go-based tests in TON is still insufficient and we need to focus on other parts of the project, I’m closing this PR for now

@jadepark-dev jadepark-dev deleted the jade/mylocalton-service-profile branch June 24, 2025 07:51
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