Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[move] Visitor trait for annotated Move values #16994

Merged
merged 1 commit into from
Apr 1, 2024
Merged

Conversation

tzakian
Copy link
Contributor

@tzakian tzakian commented Apr 1, 2024

Description

Adds a visitor for annotated Move values (finally!) 🙂

Test Plan

Added additional tests + make sure CI passes.


If your changes are not user-facing and do not break anything, you can skip the following section. Otherwise, please briefly describe what has changed under the Release Notes section.

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

Copy link

vercel bot commented Apr 1, 2024

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

Name Status Preview Updated (UTC)
explorer ❌ Failed (Inspect) Apr 1, 2024 7:16pm
multisig-toolkit ❌ Failed (Inspect) Apr 1, 2024 7:16pm
mysten-ui ✅ Ready (Inspect) Visit Preview Apr 1, 2024 7:16pm
sui-kiosk ❌ Failed (Inspect) Apr 1, 2024 7:16pm
sui-typescript-docs ❌ Failed (Inspect) Apr 1, 2024 7:16pm

Copy link
Contributor

@tnowacki tnowacki left a comment

Choose a reason for hiding this comment

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

We should clean this up and merge it all into MoveValue::simple_deserialize with an optional config. But we can do that at a later date

@tzakian tzakian merged commit bf90503 into main Apr 1, 2024
41 of 45 checks passed
@tzakian tzakian deleted the tzakian/value-visitor branch April 1, 2024 20:11
tzakian added a commit that referenced this pull request Apr 1, 2024
## Description 

Adds a visitor for annotated Move values (finally!) 🙂 

## Test Plan 

Added additional tests + make sure CI passes. 

---
If your changes are not user-facing and do not break anything, you can
skip the following section. Otherwise, please briefly describe what has
changed under the Release Notes section.

### 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
tzakian added a commit that referenced this pull request Apr 1, 2024
## Description 

Adds a visitor for annotated Move values (finally!) 🙂 

## Test Plan 

Added additional tests + make sure CI passes. 

---
If your changes are not user-facing and do not break anything, you can
skip the following section. Otherwise, please briefly describe what has
changed under the Release Notes section.

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

## Description 

Describe the changes or additions included in this PR.

## Test Plan 

How did you test the new or updated feature?

---
If your changes are not user-facing and do not break anything, you can
skip the following section. Otherwise, please briefly describe what has
changed under the Release Notes section.

### 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
ebmifa added a commit that referenced this pull request Apr 1, 2024
tzakian added a commit that referenced this pull request Apr 4, 2024
## Description 

Adds a visitor for annotated Move values (finally!) 🙂 

## Test Plan 

Added additional tests + make sure CI passes. 

---
If your changes are not user-facing and do not break anything, you can
skip the following section. Otherwise, please briefly describe what has
changed under the Release Notes section.

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