Skip to content

Commit

Permalink
fix: rename makeUnpaidSudoTransactProgram
Browse files Browse the repository at this point in the history
  • Loading branch information
mrshiposha committed Oct 2, 2023
1 parent 716b83b commit a6308d9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tests/src/util/playgrounds/unique.dev.ts
Original file line number Diff line number Diff line change
Expand Up @@ -981,7 +981,7 @@ export class ArrangeGroup {
};
}

makeTransactProgram(info: {weightMultiplier: number, call: string}) {
makeUnpaidSudoTransactProgram(info: {weightMultiplier: number, call: string}) {
return {
V3: [
{
Expand Down
6 changes: 3 additions & 3 deletions tests/src/xcm/xcm.types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ export class XcmTestHelper {
if(variant == 'plain') {
const kv = relayForceKV();
return {
program: helper.arrange.makeUnpaidTransactProgram({
program: helper.arrange.makeUnpaidSudoTransactProgram({
weightMultiplier: 1,
call: kv.call,
}),
Expand All @@ -537,7 +537,7 @@ export class XcmTestHelper {

const batchCall = helper.constructApiCall(`api.tx.utility.${variant}`, [[kv0.call, kv1.call]]).method.toHex();
return {
program: helper.arrange.makeUnpaidTransactProgram({
program: helper.arrange.makeUnpaidSudoTransactProgram({
weightMultiplier: 2,
call: batchCall,
}),
Expand Down Expand Up @@ -591,7 +591,7 @@ export class XcmTestHelper {
}

return {
program: helper.arrange.makeUnpaidTransactProgram({
program: helper.arrange.makeUnpaidSudoTransactProgram({
weightMultiplier: 1,
call,
}),
Expand Down

0 comments on commit a6308d9

Please sign in to comment.