ergoplatform / ergoplatform/sigma-rust
Test ErgoScript -> ErgoTree compilation results are equivalent to sigmastate compiler
Open
- Dominant language
- Rust
- Stars
- 78
- Forks
- 63
- Avg merge
- 22h 5m
- Merged PRs (30d)
- 3
Description
## Suggestion
Make a test suite with each test consisting of pairs of ErgoScript source code with expected compiled ErgoTree serialized and encoded as Base16. These pairs should be generated by sigmastate compiler initially and then they should be run as part of sigmastate tests to catch regressions.
Contributor guide
Research direction
Start by locating the existing sigmastate tests and the Rust entry points for ErgoScript-to-ErgoTree compilation. Use source-and-Base16 pairs generated by the sigmastate compiler as regression cases, and consider the work complete when the Rust tests verify equivalent serialized and encoded results.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- compilers, testing
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100