SIP-37: Exposing ProgrammableTransaction data in TxContext in Move#37
SIP-37: Exposing ProgrammableTransaction data in TxContext in Move#37thounyy wants to merge 2 commits intosui-foundation:mainfrom
Conversation
|
Thanks for writing this up! One question, would adding a function to
also satisfy the requirement? This (of course) wouldn't give you the PTB itself on-chain--you'd have to post it elsewhere. But it would expose a lot less of the internal structure of PTBs, which is desirable for a number of reasons (more flexibility to extend/change, smaller protocol footprint, less invitation to write fragile Move code). |
|
Yes for sure that's an option, only the pure arguments would be missing but I don't think it is a big issue. It also removes the goal of making the proposal human readable but it's not a primary requirement. |
|
Ah, I think we can (and probably should) include pure arguments in the hash as well |
|
bcs serialized then hashed or you're thinking of something else? |
Pure arguments are simply a series of bytes with no type information, so we would use the bytes as is. |
|
Hello, are there any updates on this? This is a priority for us at @govexdotai. We are building a futarchy as a service protocol on Sui |
No description provided.