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

Transaction size discrepancy

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

Description

### Context & versions
cardano-rosetta-java 1.3.x vs rosetta-ts - Data API

### Problem
The transaction metadata size field shows different values between implementations.

```bash
# Transaction: 9dd61bc76f41e9ed9618b02fee4e5b82d2c2e6cab3e6ada28cded3669d2464c4
# rosetta-ts: size = 703
# rosetta-java: size = 581
```

122 byte difference for the same transaction. This also affects the block size, which again doesn't match explorers.

### Tasks
- [ ] Determine which calculation is correct
- [ ] Fix implementation if needed

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.