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

feat(node): expose underlying byte slice #5400

Merged
merged 2 commits into from
Feb 18, 2025

Conversation

bingyanglin
Copy link
Contributor

@bingyanglin bingyanglin commented Feb 14, 2025

Description of change

This PR enhanced the dynamic_field and its visitor, as well as refactored the related iota-core codes, based on move(visitor): expose underlying byte slice #19517 and the changes on #4559. Note that the changes in crates/iota-types/src/object/balance_traversal.rs was already included in the develop branch.

@iotaledger/infrastructure would you please also check if iota-analytics-indexer, iota-graphql-rpc, and iota-indexer need related changes as in move(visitor): expose underlying byte slice #19517, thanks!

Links to any relevant issues based on the latest change of Move, also

fixes #4783 #4774 #4775 #4773 #4681 #4680

Type of change

  • Enhancement (a non-breaking change which adds functionality)

How the change has been tested

Ran the local network with RUST_LOG=info cargo run --release --bin iota start --force-regenesis --with-faucet

Change checklist

Tick the boxes that are relevant to your changes, and delete any items that are not.

  • I have followed the contribution guidelines for this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • I have checked that new and existing unit tests pass locally with my changes

@bingyanglin bingyanglin added the node Issues related to the Core Node team label Feb 14, 2025
@bingyanglin bingyanglin self-assigned this Feb 14, 2025
Copy link

vercel bot commented Feb 14, 2025

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

4 Skipped Deployments
Name Status Preview Comments Updated (UTC)
apps-backend ⬜️ Ignored (Inspect) Visit Preview Feb 16, 2025 0:24am
apps-ui-kit ⬜️ Ignored (Inspect) Visit Preview Feb 16, 2025 0:24am
rebased-explorer ⬜️ Ignored (Inspect) Visit Preview Feb 16, 2025 0:24am
wallet-dashboard ⬜️ Ignored (Inspect) Visit Preview Feb 16, 2025 0:24am

@bingyanglin bingyanglin changed the title Expose underlying byte slice feat(node): expose underlying byte slice Feb 14, 2025
Base automatically changed from sc-platform/issue-4551-pull-external-crates-changes to develop February 14, 2025 15:05
@bingyanglin bingyanglin force-pushed the core-node/expose-underlying-byte-slice branch from 82fe3ae to 48ba356 Compare February 15, 2025 07:19
@github-actions github-actions bot added documentation Improvements or additions to documentation apps-ui-kit Issues related to the Apps UI Kit wallet Issues related to the IOTA Wallet explorer Issues related to the Explorer wallet-dashboard Issues related to the Wallet Dashboard dApp apps-backend Issues related to the Apps Backend ci Issues related to our CI pipeline labels Feb 15, 2025
@bingyanglin bingyanglin force-pushed the core-node/expose-underlying-byte-slice branch from 48ba356 to acb928b Compare February 15, 2025 07:30
@bingyanglin bingyanglin removed documentation Improvements or additions to documentation apps-ui-kit Issues related to the Apps UI Kit wallet Issues related to the IOTA Wallet explorer Issues related to the Explorer wallet-dashboard Issues related to the Wallet Dashboard dApp apps-backend Issues related to the Apps Backend core-protocol labels Feb 15, 2025
@bingyanglin bingyanglin removed the ci Issues related to our CI pipeline label Feb 15, 2025
}
}

impl Field<'_, '_> {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Note that here we use Field<'_, '_> instead of using impl<'b, 'l> Field<'b, 'l> in the upstream change to fix the Lint error.

@bingyanglin bingyanglin marked this pull request as ready for review February 17, 2025 02:09
@bingyanglin bingyanglin requested review from a team as code owners February 17, 2025 02:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core-protocol node Issues related to the Core Node team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

move(visitor): expose underlying byte slice #19517
5 participants