Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TRON network support #1568

Merged
merged 6 commits into from
Jan 17, 2025
Merged

TRON network support #1568

merged 6 commits into from
Jan 17, 2025

Conversation

skudasov
Copy link
Collaborator

@skudasov skudasov commented Jan 17, 2025


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

Why

The changes introduce support for the TRON blockchain within the framework, enhancing the framework's capability to work with a broader range of blockchain technologies. This includes the addition of TRON blockchain client configuration, usage examples, and necessary modifications to accommodate TRON's integration.

What

  • book/src/SUMMARY.md
    • Added a new entry for TRON under the blockchains section.
  • book/src/framework/components/blockchains/tron.md
    • Introduced a new documentation file for how to configure and use the TRON blockchain client within the framework.
  • framework/.changeset/v0.4.5.md
    • Prepared a changeset file indicating the addition of TRON network support.
  • framework/cmd/observability/compose/docker-compose.yaml
    • Modified the Prometheus service port from 9090 to 9999 to likely accommodate new service configurations or prevent port conflicts.
  • framework/components/blockchain/blockchain.go
    • Added "tron" to the list of supported blockchain types and included the necessary case for TRON initialization.
  • framework/components/blockchain/tron.go
    • Created a new source file to handle the initialization and configuration of the TRON blockchain within the framework.
  • framework/components/blockchain/verify.go
    • Updated the VerifyContract function to accept a compilerVersion parameter, making contract verification more flexible across different blockchain networks.
  • framework/examples/myproject/go.mod
    • Updated the version of chainlink-testing-framework/framework to v0.4.4.
  • framework/examples/myproject/smoke_tron.toml
    • Added a new configuration file for testing the TRON blockchain integration.
  • framework/examples/myproject/smoke_tron_test.go
    • Introduced a new test file demonstrating how to write tests for the TRON blockchain using the framework.
  • framework/examples/myproject/verify_test.go
    • Modified an existing test to include compilerVersion as part of the contract verification process.

@skudasov skudasov changed the title WIP: TRON support TRON network support Jan 17, 2025
@skudasov skudasov marked this pull request as ready for review January 17, 2025 14:58
@skudasov skudasov requested review from sebawo and a team as code owners January 17, 2025 14:58
@cl-sonarqube-production
Copy link

@skudasov skudasov merged commit ddb6854 into main Jan 17, 2025
55 checks passed
@skudasov skudasov deleted the tron branch January 17, 2025 15:37
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