Skip to content

sui_v1.8.0_1692232490_ci

@awelc awelc tagged this 16 Aug 23:30
## Description 

Added a linter to signal a potentially useless comparison of two
collections which the developer may expect to be based on comparing the
collection content, but which is not implemented this way.

## Test Plan 

A new test has been added.

---
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
- [x] 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

When building Move code, there are now additional linter warnings
related to comparing collections from Sui framework code (`Bag`, `Table`
and `TableVec`). The comparison IS NOT a structural one based on the
collection content which is what the developers may be expecting so we
now signal it to them via a linter warning.
Assets 2
Loading