deso-protocol / deso-protocol/backend

Post being (erraneously) both a comment and a quote reposted post according to traansaction info of: 3JuETu7XUWAweECwK4ihyhQxcgJJR2W8UYEeczLqRe4t8GgD2MG75A

Open
#363 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
139
Forks
84
PR merge metrics
No merged PRs in 30d

Description

transaction info output below. According to it, post is both a comment, as has:
"ParentPostHashHex": "1d85b0002e578bb00b656e7c984057efe52594793a2697e769d2fc8c410533b2"
and is a quoted erpost:
"ExtraData": {
"EmbedVideoURL": "",
"IsQuotedReclout": "1",
"Node": "4",
"RecloutedPostHash": "1d85b0002e578bb00b656e7c984057efe52594793a2697e769d2fc8c410533b2"
}

This should not be possible according to my knowledge of protocol.

But... it's Matreshka's comment, and she's the Space Empress, so who knows what she's capable of? 😜

When cross checked with get single post - this API returns a 'thinner' extra data:
"PostExtraData": {
"Node": "4"
},
... so without the reclouted post has entry - so seems like a problem in transaction info?

* (APIs run from node.deso.org).

TRANSACTION INFO OUTPUT:
{
"TransactionIDBase58Check": "3JuETu7XUWAweECwK4ihyhQxcgJJR2W8UYEeczLqRe4t8GgD2MG75A",
"RawTransactionHex": "017de29082c2b590f4edf0ff17ac46c2a580ee62efa678022176033f31abd1f761000103c6812f86ea63a96992d156146190fb3467954aa03fc0433af609fffd19d9bbab86ec02056900201d85b0002e578bb00b656e7c984057efe52594793a2697e769d2fc8c410533b2387b22426f6479223a2248617070792062697274686461792043617373697573212048657265277320746f206d616e79206d6f72652120227de807d461c4aacde5bba1c4f916002103c6812f86ea63a96992d156146190fb3467954aa03fc0433af609fffd19d9bbab040d456d626564566964656f55524c000f497351756f7465645265636c6f75740101044e6f64650134115265636c6f75746564506f737448617368201d85b0002e578bb00b656e7c984057efe52594793a2697e769d2fc8c410533b24630440220144f932eee84ec166d52b7c377ba2fe5df6060dd16f8eeca40ccdb67054d800e02207038699192337a2107fbf35d65f04c94433a4d619d7cda5dfebcdd78dd247327",
"Inputs": [
{
"TransactionIDBase58Check": "3JuEThDHR7XmChcZZQ8jTRxQgBxESuHiGzEPuthmXWZtWqkiApv9vP",
"Index": 0
}
],
"Outputs": [
{
"PublicKeyBase58Check": "BC1YLj83BYpTBpx8ZthgYLkcLEkoSmykc6KL5CiDRbmkLtMThSdEvRe",
"AmountNanos": 46598
}
],
"SignatureHex": "30440220144f932eee84ec166d52b7c377ba2fe5df6060dd16f8eeca40ccdb67054d800e02207038699192337a2107fbf35d65f04c94433a4d619d7cda5dfebcdd78dd247327",
"TransactionType": "SUBMIT_POST",
"BlockHashHex": "0000000000007c2a12cd88b3973356145dae6127306c26c31bc971f3e30ba58a",
"TransactionMetadata": {
"BlockHashHex": "0000000000007c2a12cd88b3973356145dae6127306c26c31bc971f3e30ba58a",
"TxnIndexInBlock": 276,
"TxnType": "SUBMIT_POST",
"TransactorPublicKeyBase58Check": "BC1YLj83BYpTBpx8ZthgYLkcLEkoSmykc6KL5CiDRbmkLtMThSdEvRe",
"AffectedPublicKeys": [
{
"PublicKeyBase58Check": "BC1YLj83BYpTBpx8ZthgYLkcLEkoSmykc6KL5CiDRbmkLtMThSdEvRe",
"Metadata": "BasicTransferOutput"
},
{
"PublicKeyBase58Check": "BC1YLiwAKMFAUHGbTG3NgVj48t1WTAYcSQHMoWXfGuMSEajJgM12vbe",
"Metadata": "ParentPosterPublicKeyBase58Check"
},
{
"PublicKeyBase58Check": "BC1YLiwAKMFAUHGbTG3NgVj48t1WTAYcSQHMoWXfGuMSEajJgM12vbe",
"Metadata": "RepostedPublicKeyBase58Check"
}
],
"TxnOutputs": [
{
"PublicKey": "A8aBL4bqY6lpktFWFGGQ\u002BzRnlUqgP8BDOvYJ//0Z2bur",
"AmountNanos": 46598
}
],
"BasicTransferTxindexMetadata": {
"TotalInputNanos": 46982,
"TotalOutputNanos": 46598,
"FeeNanos": 384,
"UtxoOpsDump": "",
"UtxoOps": null,
"DiamondLevel": 0,
"PostHashHex": ""
},
"SubmitPostTxindexMetadata": {
"PostHashBeingModifiedHex": "98e83692c517c190ebeb1884e7bf2c1df6a7d06523f6009db56c688294b1099c",
"ParentPostHashHex": "1d85b0002e578bb00b656e7c984057efe52594793a2697e769d2fc8c410533b2"
}
},
"ExtraData": {
"EmbedVideoURL": "",
"IsQuotedReclout": "1",
"Node": "4",
"RecloutedPostHash": "1d85b0002e578bb00b656e7c984057efe52594793a2697e769d2fc8c410533b2"
}
},

GET SINGLE POST OUTPUT:
{
"PostFound": {
"PostHashHex": "98e83692c517c190ebeb1884e7bf2c1df6a7d06523f6009db56c688294b1099c",
"PosterPublicKeyBase58Check": "BC1YLj83BYpTBpx8ZthgYLkcLEkoSmykc6KL5CiDRbmkLtMThSdEvRe",
"ParentStakeID": "1d85b0002e578bb00b656e7c984057efe52594793a2697e769d2fc8c410533b2",
"Body": "Happy birthday Cassius! Here's to many more! ",
"ImageURLs": null,
"VideoURLs": null,
"RepostedPostEntryResponse": null,
"CreatorBasisPoints": 1000,
"StakeMultipleBasisPoints": 12500,
"TimestampNanos": 1653684230283285828,
"IsHidden": false,
"ConfirmationBlockHeight": 133365,
"InMempool": false,
"ProfileEntryResponse": {
"PublicKeyBase58Check": "BC1YLj83BYpTBpx8ZthgYLkcLEkoSmykc6KL5CiDRbmkLtMThSdEvRe",
"Username": "Matreshka",
"Description": "\ud83c\udd83\ud83c\udd77\ud83c\udd74 \ud83c\udd82\ud83c\udd7f\ud83c\udd70\ud83c\udd72\ud83c\udd74 \ud83c\udd74\ud83c\udd7c\ud83c\udd7f\ud83c\udd81\ud83c\udd74\ud83c\udd82\ud83c\udd82 \ud83c\udd7c\ud83c\udd70\ud83c\udd83\ud83c\udd81\ud83c\udd74\ud83c\udd82\ud83c\udd77\ud83c\udd7a\ud83c\udd70\n\ud83d\udc8e\ud83d\udc78 Devs friend \ud83d\udee0 \nCommunity \ud83d\udc81\u200d\u2640\ufe0f love \u2665\ufe0f memes \ud83e\udda7\ud83d\udd1e\nannasolod.com\ud83e\ude86\n@NestingDolls @chestreshka @DeSoNniversary - https://discord.gg/aAxRRF2J",
"IsHidden": false,
"IsReserved": false,
"IsVerified": true,
"Comments": null,
"Posts": null,
"CoinEntry": {
"CreatorBasisPoints": 1111,
"DeSoLockedNanos": 13413615708,
"NumberOfHolders": 318,
"CoinsInCirculationNanos": 23424628716,
"CoinWatermarkNanos": 35512011416,
"BitCloutLockedNanos": 13413615708
},
"DAOCoinEntry": {
"NumberOfHolders": 11,
"CoinsInCirculationNanos": "0xb2d05e00",
"MintingDisabled": false,
"TransferRestrictionStatus": "dao_members_only"
},
"CoinPriceDeSoNanos": 1717886402,
"CoinPriceBitCloutNanos": 1717886402,
"UsersThatHODL": null,
"IsFeaturedTutorialWellKnownCreator": false,
"IsFeaturedTutorialUpAndComingCreator": false,
"ExtraData": {
"DAOPublicKeysPurchased": "BC1YLgxLrxvq5mgZUUhJc1gkG6pwrRCTbdT6snwcrsEampjqnSD1vck"
},
"DESOBalanceNanos": 1430007957,
"BestExchangeRateDESOPerDAOCoin": 0
},
"Comments": null,
"LikeCount": 1,
"DiamondCount": 0,
"PostEntryReaderState": {
"LikedByReader": false,
"DiamondLevelBestowed": 0,
"RepostedByReader": false,
"RepostPostHashHex": ""
},
"IsPinned": false,
"PostExtraData": {
"Node": "4"
},
"CommentCount": 0,
"RepostCount": 0,
"QuoteRepostCount": 1,
"ParentPosts": [],
"IsNFT": false,
"NumNFTCopies": 0,
"NumNFTCopiesForSale": 0,
"NumNFTCopiesBurned": 0,
"HasUnlockable": false,
"NFTRoyaltyToCreatorBasisPoints": 0,
"NFTRoyaltyToCoinBasisPoints": 0,
"AdditionalDESORoyaltiesMap": {},
"AdditionalCoinRoyaltiesMap": {},
"DiamondsFromSender": 0,
"HotnessScore": 0,
"PostMultiplier": 0,
"RecloutCount": 0,
"QuoteRecloutCount": 1,
"RecloutedPostEntryResponse": null
}
}

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.