cardano-foundation / cardano-foundation/cardano-rosetta-java

Investigate and document operation ordering requirements

Open
#569 0 comments 0 reactions 1 assignee Claimed by @linconvidal View on GitHub
documentation needs investigation
Dominant language
Java
Stars
26
Forks
15
Avg merge
5d 3h
Merged PRs (30d)
2

Description

### Context & versions
cardano-rosetta-java 1.3.x - Construction API

### Problem
The documentation states operations must be ordered (inputs/outputs → certificates → withdrawals), but it's unclear if the Java implementation actually enforces this or just follows it by (old ts implementation) convention.

### Steps to reproduce
1. Call `/construction/payloads` with operations in different orders
2. Test if transaction construction succeeds with reordered operations

### Investigation needed
- [ ] Test if rosetta-java accepts operations in different orders
- [ ] Verify if reordering breaks transaction construction
- [ ] Check if this is a hard requirement or just a convention

### Documentation updates needed
- [ ] If ordering is required: Document as a requirement with clear error messages
- [ ] If ordering is flexible: Update docs to clarify it's a recommendation
- [ ] Add examples showing valid operation orderings

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.