MystenLabs / sui

Sui, a next-generation smart contract platform with high throughput, low latency, and an asset-oriented programming model powered by the Move programming language
https://sui.io
Apache License 2.0
5.84k stars 11.06k forks source link

Check denylist v2 during execution #18374

Closed lxfind closed 4 days ago

lxfind commented 6 days ago

Description

This PR checks denylist v2 during execution. At the end of execution, it collects all the coin objects that are written with an address owner, and check whether the address is denied for the coin.

Test plan

I am working on tests separately using the Move branch, since the Move code hasn't been merged yet.

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.

vercel[bot] commented 6 days ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
sui-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 25, 2024 2:33am
3 Ignored Deployments | Name | Status | Preview | Comments | Updated (UTC) | | :--- | :----- | :------ | :------- | :------ | | **multisig-toolkit** | ⬜️ Ignored ([Inspect](https://vercel.com/mysten-labs/multisig-toolkit/CVSj6Tv1zVpRUizV9azxP2ZMXpGq)) | [Visit Preview](https://multisig-toolkit-git-denylist-exec-checks-mysten-labs.vercel.app) | | Jun 25, 2024 2:33am | | **sui-kiosk** | ⬜️ Ignored ([Inspect](https://vercel.com/mysten-labs/sui-kiosk/A3LBain35wYftozLZmcHxSRBQ6Fm)) | [Visit Preview](https://sui-kiosk-git-denylist-exec-checks-mysten-labs.vercel.app) | | Jun 25, 2024 2:33am | | **sui-typescript-docs** | ⬜️ Ignored ([Inspect](https://vercel.com/mysten-labs/sui-typescript-docs/ABH9b19vo5VGhkVYC1F1ELKyseFP)) | [Visit Preview](https://sui-typescript-docs-git-denylist-exec-checks-mysten-labs.vercel.app) | | Jun 25, 2024 2:33am |