Skip to content

feat: CheckpointCommitment changes#1060

Open
thibault-martinez wants to merge 38 commits intomove-core-sdkfrom
replace-CheckpointCommitment
Open

feat: CheckpointCommitment changes#1060
thibault-martinez wants to merge 38 commits intomove-core-sdkfrom
replace-CheckpointCommitment

Conversation

@thibault-martinez
Copy link
Copy Markdown
Member

No description provided.

DaughterOfMars and others added 30 commits March 3, 2026 15:42
* feat: Use Version struct over type def

* bindings and doc test

* replace sequence number mentions

* bindings again

* regenerate

* kotlin lib without prefix

* Apply suggestions from code review

* centralize cfg_attr tags

* bindings

* fix version in gas station data

* fix gas station string or num

* use Version everywhere

* privatize consts

* make `Version` private

* fix docs

* implement PartialEq and PartialOrd traits for Version and u64

* allow deserializing from number or string

* fix BCS deserialization

* derives

* revert some changes with serialization

* Remove schemars tag from version

---------

Co-authored-by: Thibault Martinez <thibault@iota.org>
#529)

* feat(types): enhance Address with system package constants and methods

- Add GENESIS_BRIDGE and STARDUST system package constants
- Rename from_u8 to from_u16 to support larger package IDs
- Add is_system_package() method
- Add const fn from_object_id conversion
- Add random() method behind 'rand' feature flag
- Add next_lexicographical method
- Rename into_inner/inner to into_bytes/bytes for consistency

* fix some issues

* bindings

* update random address generation to exclude wasm32 target

* Update crates/iota-sdk-types/src/address.rs

Co-authored-by: Thoralf-M <46689931+Thoralf-M@users.noreply.github.com>

* dedup

---------

Co-authored-by: Thoralf-M <46689931+Thoralf-M@users.noreply.github.com>
* feat(types): enhance ObjectId with system constants and methods

- Add GENESIS_BRIDGE and STARDUST system package constants
- Add const fn from_address conversion
- Add from_bytes constructor
- Add next_lexicographical method
- Add random() method behind 'rand' feature flag
- Rename into_inner/inner to into_bytes/bytes for consistency

* add ObjectId::MAX

* add ObjectId::from_u16

* Divide from_hex and from_short_hex

* add ObjectId::is_system_package

* refactor hex methods

* update bindings

* add more ObjectId constants

* add from_prefixed_hex and from_prefixed_short_hex

* update bindings

* increase UniffiLibBatch2 size

* fix Address FromStr so that non-prefixed short strings are not accepted

* bindings

* improve object id debug

---------

Co-authored-by: /alex/ <alexander.schmidt@iota.org>
…ry (#550)

* feat(iota-sdk-types): derive AddAssign and SubAssign for GasCostSummary

* manual impl to support references

* Add/SubAssign for owned

* derive owned versions
* feat(types): enhance Digest with additional methods and constants

- Add GENESIS constant for genesis digest marker
- Add UpperHex formatting support
- Add const fn improvements (inner, as_bytes, from_bytes)
- Add is_alive, is_deleted, is_wrapped methods for ObjectDigest
- Add next_lexicographical method
- Add random() method behind 'rand' feature flag

fix base58 decoding

Add `next_lexicographical_opt`

* clippy

* bindings

* refactor

* rename object digest fns
* feat: ObjectReference changes for monorepo

* Ord, PartialOrd

* clippy
* remove useless type

* remove now unused I128 type
* feat(types): enhance Identifier, TypeTag and StructTag

* add more methods

* add more and refactor

* refactor macros

* add url::Url

* add bag::Bag and rename field methods

* add object_bag::ObjectBag

* better checking

* Add some comments

* bindings

* use short hex for struct tag display

* same for type tag

* fix comments and test

* bindings

* rename struct tag serde structs

* improve Identifier and reorganize move core types

* fix doc

* clippy

* Apply suggestions from code review

* Add `StructTag::type_params_mut`

* bindings

* fix bindings

* remove intos

* add address consts for objects

* make type tag parsing accept newlines and spaces and fail on more than 16 depth

* parsing improvements

* update const

* remove udeps

* fix parsing

* clippy and bindings

* rename address/object id consts and export more in ffi

* Add ident consts

* add consts to ffi

* Add TxContext

* cleanup

* add authenticator state and random

* add pay module

* fix canonical string

* rename gas fns, add some better checking and add missed is_name fn

* fix another bug

---------

Co-authored-by: Thibault Martinez <thibault@iota.org>
* feat(iota-sdk-types): derive Hash for Event and TransactionEvents

* use checked_add() and checked_sub()

* feat(iota-sdk-types): add is_system_epoch_info_event methods

* add random_for_testing()

* feature gate Event::random() and make it more random

* fix wasm

* remove random() method, refactor

* use consts

* don't derive to also have checked arithmetic

* newline

* move consts to Identifier
* feat: more ObjectRef changes

* serde helper

* camelCase

* fix proptest

* revert to tuple

* rename schemars

* fix

* fmt

* fix test
* Derive Hash for RandomnessStateUpdate

* add RandomnessRound wrapper

* more impls

* Apply suggestion from @thibault-martinez

---------

Co-authored-by: Thibault Martinez <thibault@iota.org>
* Add `address` fn to `Owner`

* impl partial eq

clippy

nit

* custom serialization impl

* fix tags
* feat: improvements to Argument

* display

* #[serde(rename = "Argument")]

* fix?

* remove tag

* fix
* feat: additions to ExecutionStatus for monorepo

* digest equality

* comment movelocopt

* add unwrap/unwrap_err

* remove 2 fns

* prepare test

* replace custom types with fns

* add order test

* move snapshot

* Update crates/iota-sdk-types/src/execution_status.rs

Co-authored-by: Thoralf-M <46689931+Thoralf-M@users.noreply.github.com>

* nits

* order

* use display

* undo serde variants

* add serde renames

* low acronyms

---------

Co-authored-by: Thoralf-M <46689931+Thoralf-M@users.noreply.github.com>
* feat: Update `AuthenticatorStateUpdateV1` for core

* add Ord derives

* fix ord impls

* Update crates/iota-sdk-types/src/transaction/mod.rs

Co-authored-by: Thibault Martinez <thibault@iota.org>

---------

Co-authored-by: Thibault Martinez <thibault@iota.org>
* feat: MovePackage changes

* some methods

* add OBJECT_START

* 2 new methods

* add type_origin_map

* serialized_module_map

* type_origin_table

* linkage_table

* get_module

* nit

* compute_digest_for_modules_and_deps

* impl PartialEq<String> for Identifier

* add digest method

* impl PartialEq<Identifier> for str

* impl PartialEq<&str> for Identifier

* remove comment

* fix docs

* fmt

* nits

* remove camelCase

* remove version serde stuff

* nits

* remove unwrap

* std::mem::size_of::<Version>()

* get_module

* unlock github?

* <SELF>
* feat(iota-sdk-types): add Input consts and methods

* write out im/mutable in consts

* add INITIAL_SHARED_VERSION const

* address review comments

* use const

* Input::Shared tuple variant

* Input::Pure tuple variant

* fix serialization

* update schemars

* old format

* update JsonSchema for Input, order

* receiving_objects -> receiving_object

* Update crates/iota-sdk-types/src/transaction/mod.rs

Co-authored-by: /alex/ <alexander.schmidt@iota.org>

* remove receiving_object()

* derive Copy for SharedObjectReference

* rename, cleanup

---------

Co-authored-by: /alex/ <alexander.schmidt@iota.org>
* feat(iota-sdk-types): EndOfEpochTransactionKind changes

* order

* add order warning

* add shared_input_objects and comments

* import position

* new_authenticator_state_create doc comment
* Rename `BinaryTransactionExpiration` for serde

* un-lowercase

* revert option serialization

* fix schemars impls

remove regression file
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Thoralf-M <46689931+Thoralf-M@users.noreply.github.com>
)

* feat(types): Skip validation of identifiers in some commands for BCS

* remove unnecessary typetag impl

* oops

* only allow module unverified

* fix comment
* Derive Hash

* add `VersionAssignment` ctor

* serde rename

* camelCase

* fix rename

* for god's sake

* pascal case

* custom json schema

* custom serde

* fix ci

* rename

* clean up

* tuple variants

* another breakage fix

* and another breakage fix

* ...
* feat(iota-sdk-types): add MoveObjectType

* ffi

* address review comments

* move fns around

* rename

* bring back rename
)

Co-authored-by: Thibault Martinez <thibault@iota.org>
* feat: Command improvements

* add methods

* add ctors

* Display

* clean and fix displays

* add delimiters

* add parenthesis to Some

* binary rename

* remove ref

* impl PartialEq<Identifier> for String

* add new_ prefix

* remove too specific methods

* Add comments
* fix feature gate error and warnings

* format
* feat: MoveStruct improvements

* more fns

* set_coin_value_unsafe

* set_clock_timestamp_ms_unsafe

* fixes

* add type_tag method

* unsafe -> unchecked

* fix id_opt

* address review comments

* into_parts

* nits

* struct_tag

* bring back object_type

* clippy

* remove is_ methods

* doc comments

* remove setters
Thoralf-M and others added 8 commits March 27, 2026 17:04
* feat: `ObjectData` improvements

* remove methods

* add mut versions in macro
* feat: `GenesisObject` improvements

* add id method

* serde rename
* derive Hash

* add Display

* expose Hash and Display

* add ctors

* update bindings

* move 2 more methods

* one more method

* serde rename

* remove leftover

* fix docs

* hopefully fix Go CI
* chore: utils module containing write_sep

* add doc
@thibault-martinez thibault-martinez requested a review from a team as a code owner April 7, 2026 11:42
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.

5 participants