🚀 Feature Request Description
We need to serialize complex structs for use in permissioned signer.
Additional context
Base branch for the permissioned signer work is permissioned-signer. This is working off of Philip's account-abstraction-prod branch. The branch has one test enabled that repro's the issue.
For context, we are trying to interface with the following move function via script composer: add_permissioned_handle. This function accepts DelegationKey and a RateLimiter.
Here is how we parse the DelegationKey and RateLimiter in the ts-sdk:
When calling add_permissioned_handle, the following error is thrown when the DelegationKey serialized:
Unsupported struct input type for argument 1, type '0x1::permissioned_delegation::DelegationKey'
🚀 Feature Request Description
We need to serialize complex structs for use in permissioned signer.
Additional context
Base branch for the permissioned signer work is permissioned-signer. This is working off of Philip's
account-abstraction-prodbranch. The branch has one test enabled that repro's the issue.For context, we are trying to interface with the following move function via script composer:
add_permissioned_handle. This function acceptsDelegationKeyand aRateLimiter.Here is how we parse the
DelegationKeyandRateLimiterin the ts-sdk:RateLimiterts-sdk implementationDelegationKeyts-sdk implementationWhen calling
add_permissioned_handle, the following error is thrown when theDelegationKeyserialized: