Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The transaction_identifier hash field value is equal to block_identifier hash value #36

Closed
UMANGAWASTHY opened this issue Aug 25, 2021 · 1 comment

Comments

@UMANGAWASTHY
Copy link

Hello Team,

The transaction_identifier hash field value is equal to block_identifier hash value on Import operation Type. Any region why it is?

Rosetta Query input -:
{
"network_identifier": {
"blockchain": "Avalanche",
"network": "Mainnet"
},
"block_identifier": {
"index":3010277
}
}
Url : http://127.0.0.1:9650/block

Output:
image

@dhrubabasu
Copy link
Contributor

This is because the initial release of avalanche-rosetta treated AtomicTxs as block transactions. There has been a TODO to fix this:

https://github.com/ava-labs/avalanche-rosetta/blob/master/mapper/transaction.go#L250-L251

This PR will fix this issue #80

However, it requires integrators to re-index the chain so it's unclear on when this change will be merged in.

xiaoxiaff pushed a commit to xiaoxiaff/avalanche-rosetta that referenced this issue Aug 1, 2022
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

No branches or pull requests

2 participants