Skip to content
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/ask-a-question.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,6 @@ These channels provide faster responses for general inquiries.
- Operating System: <!-- e.g., Ubuntu 20.04 -->
- Java version: <!-- e.g., java version "1.8.0_391" -->

## Additional Information
## Additional Information (Optional)

<!-- Any other details that might be helpful -->
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/report-a-bug.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ Include relevant logs from FullNode.jar or other components
[Paste error messages, stack traces, or relevant logs here]
```

## Additional Context
## Additional Context (Optional)

<!-- Add any other context about the problem -->

Expand Down
80 changes: 27 additions & 53 deletions .github/ISSUE_TEMPLATE/request-a-feature.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,28 +12,9 @@ Thank you for contributing to java-tron!
Please provide as much detail as possible to help us evaluate your feature request.
-->

## Background

<!-- Describe the context and motivation for this feature request -->

## Problem Statement

<!-- What problem does this feature solve? What pain points does it address? -->

## Rationale

**Why should this feature exist?**
<!-- Explain the benefits and value this feature would provide -->

**What are the use cases?**
<!-- Describe specific scenarios where this feature would be useful -->

1.
2.
3.

**Who would benefit from this feature?**
<!-- e.g., node operators, developers, end users, validators -->
<!-- Describe the problem this feature solves, the context/motivation, and who would benefit -->

## Proposed Solution

Expand All @@ -52,30 +33,17 @@ Please provide as much detail as possible to help us evaluate your feature reque
**Protocol Changes** (if applicable)
<!-- Describe any changes to the TRON protocol -->

## Testing Strategy

<!-- How should this feature be tested? -->

**Test Scenarios**

1.
2.
3.

**Performance Considerations**
<!-- Describe any performance implications -->

## Scope of Impact

<!-- What parts of the system will be affected? -->

- [ ] Core protocol
- [ ] API/RPC
- [ ] Database
- [ ] Network layer
- [ ] Smart contracts
- [ ] Documentation
- [ ] Other: <!-- specify -->
<!-- Select the system components that will be affected by this feature:
- Core protocol
- API/RPC
- Database
- Network layer
- Smart contracts
- Documentation
- Others, please specify
-->

**Breaking Changes**
<!-- Will this feature introduce any breaking changes? -->
Expand All @@ -90,23 +58,29 @@ Please provide as much detail as possible to help us evaluate your feature reque

**Are you willing to implement this feature?**
<!-- Let us know if you'd like to contribute the implementation -->
- [ ] Yes, I can implement this feature
- [ ] I can help with implementation
- [ ] I need help with implementation
- [ ] I'm just suggesting the idea

**Estimated Complexity**
<!-- Your assessment of implementation complexity -->
- [ ] Low (minor changes)
- [ ] Medium (moderate changes)
- [ ] High (significant changes)
- [ ] Unknown
<!-- Your assessment of implementation complexity, choose among
- Low (minor changes)
- Medium (moderate changes)
- High (significant changes)
- Unknown
-->

## Testing Strategy

<!-- How should this feature be tested? -->

**Test Scenarios**

**Performance Considerations**
<!-- Describe any performance implications -->

## Alternatives Considered
## Alternatives Considered (Optional)

<!-- Describe any alternative solutions or features you've considered -->

## Additional Context
## Additional Context (Optional)

<!-- Add any other context, mockups, diagrams, or examples -->

Expand Down
16 changes: 13 additions & 3 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
pull_request:
# The branches below must be a subset of the branches above
branches: [ 'develop' ]
paths-ignore: [ '**/*.md', '.gitignore', '**/.gitignore', '.editorconfig',
'.gitattributes', 'docs/**', 'CHANGELOG', '.github/ISSUE_TEMPLATE/**',
'.github/PULL_REQUEST_TEMPLATE/**', '.github/CODEOWNERS' ]
schedule:
- cron: '6 10 * * 0'

Expand All @@ -29,16 +32,23 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v4
with:
languages: ${{ matrix.language }}
build-mode: manual

- name: Autobuild
uses: github/codeql-action/autobuild@v4
- name: Set up JDK 8
uses: actions/setup-java@v5
with:
java-version: '8'
distribution: 'temurin'

- name: Build
run: ./gradlew build -x test --no-daemon

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v4
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/math-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5

- name: Check for java.lang.Math usage
id: check-math
Expand Down Expand Up @@ -55,14 +55,14 @@ jobs:

- name: Upload findings
if: steps.check-math.outputs.math_found == 'true'
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
name: math-usage-report
path: math_usage.txt

- name: Create comment
if: github.event_name == 'pull_request' && steps.check-math.outputs.math_found == 'true'
uses: actions/github-script@v6
uses: actions/github-script@v8
with:
script: |
const fs = require('fs');
Expand Down
Loading
Loading