Closed ItasMattWebb closed 1 year ago
Just wondering if there is any timelines on if this is going to be looked at anytime soon? Its a pretty breaking bug for us as we went from one of the only handful of fully functional dapps on Sui to, absolutely not working and our users not being able to do anything anymore
@3of5-IQ Thanks for following up on this! I will look into this today. Do you mind sharing the source code of your Move module so that I can repro?
Meanwhile, I am curious about the reason why you can't use the RpcTxnDataSerializer
instead of LocalTxnDataSerializer
which does not have this bug?
The work around only applies to CLI and not the actual wallets themselves. This is something that is a bug with all wallets currently.
Put the source code in a gist. https://gist.github.com/ItasMattWebb/77411e3de60754e2bfbc78cabdbcd0a2
You could probably make a simpler function to test to recreate it that doesn't involve making a market. Maybe something like:
public entry fun list<T: key + store>(
item: T,
ctx: &mut TxContext
) {
transfer::transfer(item, tx_context::sender(ctx))
}
Hi, Just wondering if there is any more information that we can assist with providing to help increase the chances of tracking down the bug?
Sorry for the delay - As a temporary fix, I've turned on the switch to use RpcTxnSerializer
in the Sui wallet so this issue should no longer repro on Sui wallet.
Will put up a PR to fix the root issue by tomorrow
Steps to Reproduce Issue
Call a function that uses a typed argument, e.g.
Expected Result
Successful transaction
Actual Result
If you instantiate a raw signer like this:
Then you get the error. If you instantiate it like this:
Then you don't.
Thanks to @jaredcosulich for figuring this out
System Information
@mysten/sui.js: 0.15.0