Skip to content

Commit

Permalink
Merge pull request #1195 from novasamatech/fix/extrinsic-batch-types-…
Browse files Browse the repository at this point in the history
…for-hydration

Fix extrinsic batch type for hydration
  • Loading branch information
svojsu authored Aug 21, 2024
2 parents d3a95c3 + 3d26794 commit 57f8c3f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ extension HydraExtrinsicFeeInstaller: ExtrinsicFeeInstalling {
}

return try builder
.with(batchType: .ignoreFails)
.adding(call: setCurrencyCall.runtimeCall(), at: 0)
.adding(call: revertCurrencyCall.runtimeCall())
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ enum HydraExtrinsicConverter {
var currentBuilder = builder

if let updateReferralCall = params.updateReferral {
currentBuilder = try currentBuilder.adding(call: updateReferralCall.runtimeCall())
currentBuilder = try currentBuilder
.with(batchType: .ignoreFails)
.adding(call: updateReferralCall.runtimeCall())
}

switch params.swap {
Expand Down

0 comments on commit 57f8c3f

Please sign in to comment.