Skip to content

sui_v1.40.0_1735554101_ci

@amnn amnn tagged this 30 Dec 06:59
## Description

Pick out this change from the bigger #20482. `DEFAULT VALUE` is not
something we use, and treating `None` as `DEFAULT VALUE` means we have
to prepare different statements for each insert/update based on where
the `None`'s appear.

By treating `None` as `NULL`, we get to re-use prepared statements more,
and the query sampler will do a better job grouping similar
inserts/updates.

## Test plan

Run indexer on coin balances and object info, locally, for the first
10,000 checkpoints.

---

## Release notes

Check each box that your changes affect. If none of the boxes relate to
your changes, release notes aren't required.

For each box you select, include information after the relevant heading
that describes the impact of your changes that a user might notice and
any actions they must take to implement updates.

- [ ] Protocol: 
- [ ] Nodes (Validators and Full nodes): 
- [ ] Indexer: 
- [ ] JSON-RPC: 
- [ ] GraphQL: 
- [ ] CLI: 
- [ ] Rust SDK:
- [ ] REST API:
Assets 2
Loading