Skip to content

Commit

Permalink
Fix the params of xcmTransactor.transactThroughSigned call (#164)
Browse files Browse the repository at this point in the history
* Fix the params of xcmTransactor.transactThroughSigned call

* docs(changeset): Fix the params of xcmTransactor.transactThroughSigned call
  • Loading branch information
imstar15 authored and chrisli30 committed Jul 18, 2024
1 parent b91d1dc commit 0c35c3d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/clever-masks-invite.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@oak-network/adapter": patch
---

Fix the params of xcmTransactor.transactThroughSigned call
7 changes: 6 additions & 1 deletion packages/adapter/src/chains/moonbeam.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,12 @@ export class MoonbeamAdapter extends ChainAdapter implements TaskScheduler {
{ V3: destination },
{ currency, feeAmount },
encodedTaskExtrinsic,
{ overallWeight, transactRequiredWeightAtMost: encodedCallWeight },
{
overallWeight: {
Limited: overallWeight,
},
transactRequiredWeightAtMost: encodedCallWeight,
},
false,
);

Expand Down

0 comments on commit 0c35c3d

Please sign in to comment.