4 votes

Pallet membership and Pallet Proxy - what are the use cases?

In practice, what pallet_membership does is allows you to create "collectives" of accounts, specify the types of actions the collective can take, and with what threshold. For instance, this ...
rob's user avatar
  • 2,126
3 votes
Accepted

Can I use event data from previous calls in a batch?

As far as I know that is not something that batchAll enables, nor any of the other extrinsics exposed in pallet_utility. Though, it doesn't seem like a trivial approach, as what would happen if the ...
Alejandro Martínez's user avatar
2 votes

How to decode an error that happened in a proxy.proxy call

Thanks a lot forgetso for your help. this definitely got me on the right track. For some reason, the asModule didn't work. I had subsequent TS errors such as toNumber is not a function. I had to use ...
Tbaut's user avatar
  • 253
1 vote

How to decode an error that happened in a proxy.proxy call

I think you need to strip the trailing zeroes from the error code and decode the error as follows: const mod = dispatchError.asModule const error = api.registry.findMetaError( ...
forgetso's user avatar
  • 1,482

Only top scored, non community-wiki answers of a minimum length are eligible