Skip to content

sui_v1.5.0_1688096286_ci

@gegaowp gegaowp tagged this 30 Jun 01:39
## Description 

Duplicate digests would happen when tx sender also has their own as
recipients.

## Test Plan 

testing on address
`0x0000000000000000000000000000000000000000000000000000000000000000`

```
curl --location --request POST http://127.0.0.1:3030 \
--header 'Content-Type: application/json' \
--data-raw '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "suix_queryTransactionBlocks",
    "params": [
        {
            "filter": {
                "FromOrToAddress": {"addr": "0x0000000000000000000000000000000000000000000000000000000000000000"}
            }
        },
        null,
        5,
        false
    ]
}' | jq
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   984  100   667  100   317   1978    940 --:--:-- --:--:-- --:--:--  2972
{
  "jsonrpc": "2.0",
  "result": {
    "data": [
      {
        "digest": "7CuBm1AnLgkBMB6GiEn5d3RizznF5LbawjJTs8A5dcXF",
        "timestampMs": "1681318800000",
        "checkpoint": "0"
      },
      {
        "digest": "HneKYTSK8BKSxRftX3HEJrnLADzHVBQdHU7coCxaUw1T",
        "timestampMs": "1681491604701",
        "checkpoint": "85168"
      },
      {
        "digest": "815xhvL4Xdan73ia922Ns58dhta7U1JaJbYvF8M1yJiJ",
        "timestampMs": "1681578008541",
        "checkpoint": "161191"
      },
      {
        "digest": "3gKz11LNEX6B2bTubKqPeERADzA4BEw6DaQ4WrNoiv5e",
        "timestampMs": "1681664411498",
        "checkpoint": "237073"
      },
      {
        "digest": "2Rom2LhVuUaiatCKUEKAJQwesM7PN95hLB5uYB7NW27y",
        "timestampMs": "1681923621472",
        "checkpoint": "467715"
      }
    ],
    "nextCursor": "2Rom2LhVuUaiatCKUEKAJQwesM7PN95hLB5uYB7NW27y",
    "hasNextPage": true
  },
  "id": 1
}
```

---
If your changes are not user-facing and not a breaking change, you can
skip the following section. Otherwise, please indicate what changed, and
then add to the Release Notes section as highlighted during the release
process.

### Type of Change (Check all that apply)

- [ ] protocol change
- [ ] user-visible impact
- [ ] breaking change for a client SDKs
- [ ] breaking change for FNs (FN binary must upgrade)
- [ ] breaking change for validators or node operators (must upgrade
binaries)
- [ ] breaking change for on-chain data layout
- [ ] necessitate either a data wipe or data migration

### Release notes
Assets 2
Loading