You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unexpected Type Conversion in Transaction Arguments
Steps to Reproduce Issue
Execute the following Move call:
tx.moveCall({target: '0xAddress::interface::request_stake',arguments: [tx.object('0xValidator',{initialSharedVersion: version}),stakeCoin,tx.pure('address','0x0'),// Expected to be address typetx.object('0x5'),// Expected to be SharedObject type]})
Expected Result
tx.pure('address', '0x') should resolve to an address type
tx.object('0x5') should be recognized as a SharedObject type
Actual Result
On-chain execution shows:
tx.pure('address', '0x') resolves to null type instead of address type
tx.object('0x5') is incorrectly interpreted as address type rather than SharedObject
System Information
SDK Version: @mysten/sui 1.21.2
The text was updated successfully, but these errors were encountered:
Thank you for opening this issue, a team member will review it shortly. Until then, please do not interact with any users that claim to be from Sui support and do not click on any links!
Unexpected Type Conversion in Transaction Arguments
Steps to Reproduce Issue
Expected Result
tx.pure('address', '0x')
should resolve to an address typetx.object('0x5')
should be recognized as a SharedObject typeActual Result
tx.pure('address', '0x')
resolves to null type instead of address typetx.object('0x5')
is incorrectly interpreted as address type rather than SharedObjectSystem Information
The text was updated successfully, but these errors were encountered: