Skip to content

Preserve net recipients in transaction CSV destinations - #689

Open
startupcompliancekit wants to merge 1 commit into
alephium:masterfrom
startupcompliancekit:fix-537-csv-destinations
Open

startupcompliancekit wants to merge 1 commit into
alephium:masterfrom
startupcompliancekit:fix-537-csv-destinations

Conversation

@startupcompliancekit

Copy link
Copy Markdown

Closes #537.

Determine change addresses independently for ALPH and each token using the net amount per address. Keep positive-net recipients even when they also appear in the inputs, aggregate repeated outputs, and retain existing amounts and FromAddresses behavior. Include the transaction cited in the issue as an offline fixture.

Validation: 26 tests across two suites passed, including the reported transaction, token overlap, duplicate outputs, unchanged balances and ordinary change. Formatting and lint passed. All seven backend patches also passed 134 tests together.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve exports txs to csv for contract addresses

1 participant