Skip to content

Support for ABI packed encoding at cartesi send#417

Merged
tuler merged 4 commits intoprerelease/v2-alphafrom
feature/abi-packed
Feb 5, 2026
Merged

Support for ABI packed encoding at cartesi send#417
tuler merged 4 commits intoprerelease/v2-alphafrom
feature/abi-packed

Conversation

@tuler
Copy link
Member

@tuler tuler commented Feb 5, 2026

This PR adds support for cartesi send --encoding abi-packed, to allow easy submission of inputs that use packed encoding. The following are valid commands:

cartesi-dev send --encoding abi-packed

cartesi-dev send --encoding abi-packed --abi-params uint8,uint64,uint16,uint64,int64,uint64,int64

cartesi-dev send --encoding abi-packed --abi-params uint8,uint64,uint16,uint64,int64,uint64,int64 3,1770308000,2,4412482,100000000000000000,4740165,3000000000000000

I also fixed the support for signed integers in the signature.

@tuler tuler requested a review from endersonmaia February 5, 2026 18:30
@changeset-bot
Copy link

changeset-bot bot commented Feb 5, 2026

🦋 Changeset detected

Latest commit: c7105cc

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@cartesi/cli Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@tuler tuler changed the base branch from main to prerelease/v2-alpha February 5, 2026 18:31
@socket-security
Copy link

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedlistr2@​10.1.0100100100100100

View full report

@tuler tuler requested a review from brunomenezes February 5, 2026 18:31
Copy link
Contributor

@endersonmaia endersonmaia left a comment

Choose a reason for hiding this comment

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

LGTM

Exercising the command it seems to work as expected.

@tuler tuler merged commit a8b705c into prerelease/v2-alpha Feb 5, 2026
2 checks passed
@tuler tuler deleted the feature/abi-packed branch February 5, 2026 19:25
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