Retrive call via getCall() - ExtrinsicBuilder returns batch
Add returned batch back to extrinsic builder
Since batch parameter contains the same list that is later modified to add this batch back, batch ended up being added to itself
To solve this, we should always return a new copy of call list when using getWrappedCall() and getCalls()
Sequence of steps to reproduce:
Since batch parameter contains the same list that is later modified to add this batch back, batch ended up being added to itself To solve this, we should always return a new copy of call list when using
getWrappedCall()
andgetCalls()