Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
90 changes: 90 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
---
name: "Bug Report"
about: "Report a bug in the OrbitStream Soroban Contract"
title: "[BUG] "
labels: ["bug", "needs-triage"]
assignees: ""
---

# Bug Report

## 🔍 Is this a regression?

<!-- Did this work before and now it's broken? If so, which version last worked? -->

## 📝 Description

<!-- A clear and concise description of what the bug is. -->

## 🔄 Steps to Reproduce

1.
2.
3.

## ✅ Expected Behavior

<!-- What you expected to happen. -->

## ❌ Actual Behavior

<!-- What actually happened. Include error messages or transaction hashes. -->

## 🌍 Environment

- **OS**: [e.g., Ubuntu 22.04, macOS 14]
- **Rust version**: [e.g., 1.75.0]
- **Soroban SDK version**: [e.g., 21.0.0]
- **Stellar network**: [testnet / mainnet]
- **Contract deployment**: [deployed / local only]

## 📋 Contract Details

- **Contract name**: [e.g., OrbitStream]
- **Contract ID**: [e.g., CABC...1234 (if deployed)]
- **Function called**: [e.g., create_escrow]
- **Transaction hash**: [e.g., abc123... (if applicable)]

## 📋 Arguments Passed

<!-- Paste the exact arguments used to call the contract function. -->

```rust
// Example
client.create_escrow(&buyer, &seller, &token, &1000, &3600);
```

## 🔍 Error Output

<!-- Paste the full error message or panic output. -->

```
[Paste error here]
```

## 🧪 Test Case

<!-- If possible, provide a minimal Rust test that reproduces the issue. -->

```rust
#[test]
fn test_reproduce_bug() {
let env = Env::default();
// ...
}
```

## 📋 Storage State

<!-- If the bug involves contract state, describe the relevant storage entries. -->

## 📎 Additional Context

<!-- Any other context about the problem. -->

## ✅ Checklist

- [ ] I have searched existing issues and this is not a duplicate
- [ ] I am using the latest version of Soroban SDK
- [ ] I have included contract function and arguments
- [ ] I have included error output
8 changes: 8 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
blank_issues_enabled: false
contact_links:
- name: Documentation
url: https://github.com/your-org/OrbitStream/blob/main/orbitstream_docs/README.md
about: Read the OrbitStream documentation before opening an issue
- name: Security Vulnerability
url: https://github.com/your-org/OrbitStream/security/advisories/new
about: Report security vulnerabilities privately
82 changes: 82 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
---
name: "Feature Request"
about: "Suggest a new feature or enhancement for the OrbitStream Soroban Contract"
title: "[FEAT] "
labels: ["enhancement", "needs-triage"]
assignees: ""
---

# Feature Request

## 📝 Summary

<!-- A clear, one-sentence summary of the feature you want. -->

## 🎯 Problem Statement

<!-- What problem does this feature solve? Why is it needed? -->

## 💡 Proposed Solution

<!-- Describe your ideal solution. Be as specific as possible. -->

## 🔄 Alternatives Considered

<!-- Have you considered other approaches? Why is your preferred solution better? -->

## 📋 Acceptance Criteria

<!-- How will we know this feature is complete? List specific, testable criteria. -->

- [ ] Criterion 1
- [ ] Criterion 2
- [ ] Criterion 3

## 🏗️ Implementation Notes

<!-- Any technical details, contract design ideas, or storage considerations. -->

### Contract Function Signature (if applicable)

```rust
// Example new function
pub fn new_function(env: Env, param: Address) -> Result<u64, ContractError> {
// ...
}
```

### Storage Changes (if applicable)

```rust
// Example storage key additions
```

### Events (if applicable)

```rust
// Example new event
```

### Affected Contract Areas

- [ ] Escrow (create/release/refund)
- [ ] Storage
- [ ] Events
- [ ] Errors
- [ ] Tests
- [ ] Other: ___

## 📎 Related Issues/PRs

<!-- Link any related issues, PRs, or discussions. -->

## 📋 Additional Context

<!-- Any other context, references to SEP specs, or design docs. -->

## ✅ Checklist

- [ ] I have searched existing issues and this is not a duplicate
- [ ] I have clearly described the problem this feature solves
- [ ] I have provided acceptance criteria
- [ ] I have considered the impact on existing contract functions
Loading
Loading