Skip to content

Conversation

manolisliolios
Copy link
Contributor

Description

Introduces the TS plugin that will be used for replacing names with actual addresses.

Test plan

Currently contains unit tests. Once we have a live setup (mainnet / testnet), we'll also setup an actual e2e test (similar to zksend).


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:

Copy link

vercel bot commented Sep 3, 2024

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

Name Status Preview Comments Updated (UTC)
multisig-toolkit ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 10, 2024 10:10pm
sui-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 10, 2024 10:10pm
sui-kiosk ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 10, 2024 10:10pm
sui-typescript-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 10, 2024 10:10pm

for (const t of splitType) {
if (t.includes(NAME_SEPARATOR) && !isValidNamedPackage(t)) return false;
}
return true;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not a blocker, but this isn't really validating that the type is a valid format, only that the namedType part is. At some point it would probably good if this returned false if you just pass in a package name, or have mis matching angle brackets, etc...

@manolisliolios manolisliolios merged commit 2c96b06 into main Sep 11, 2024
52 checks passed
@manolisliolios manolisliolios deleted the ml/dot-move-ts-plugin branch September 11, 2024 07:50
suiwombat pushed a commit that referenced this pull request Sep 16, 2024
## Description 

Introduces the TS plugin that will be used for replacing names with
actual addresses.

## Test plan 

Currently contains unit tests. Once we have a live setup (mainnet /
testnet), we'll also setup an actual e2e test (similar to zksend).

---

## 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:

---------

Co-authored-by: Michael Hayes <michael.hayes@mystenlabs.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants