Skip to content

Commit

Permalink
Merge pull request #302 from convergence-rfq/dev-change-tx-priority-a…
Browse files Browse the repository at this point in the history
…nd-rpc

Dev change tx priority and rpc
  • Loading branch information
Nagaprasadvr authored Apr 25, 2024
2 parents 48807f7 + ae71843 commit 0adab70
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 7 deletions.
8 changes: 8 additions & 0 deletions packages/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @convergence-rfq/cli

## 6.6.9

### Patch Changes

- Disable CU calculations for Create RFQ Txs
- Updated dependencies
- @convergence-rfq/sdk@6.6.9

## 6.6.8

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@convergence-rfq/cli",
"description": "Official Convergence CLI",
"version": "6.6.8",
"version": "6.6.9",
"license": "MIT",
"publishConfig": {
"access": "public"
Expand Down Expand Up @@ -47,7 +47,7 @@
"cli": "ts-node src/index.ts"
},
"dependencies": {
"@convergence-rfq/sdk": "6.6.8",
"@convergence-rfq/sdk": "6.6.9",
"@solana/web3.js": "^1.87.6",
"@types/cookie": "^0.5.1",
"commander": "^10.0.0"
Expand Down
6 changes: 6 additions & 0 deletions packages/js/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @convergence-rfq/sdk

## 6.6.9

### Patch Changes

- Disable CU calculations for Create RFQ Txs

## 6.6.8

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/js/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@convergence-rfq/sdk",
"description": "Official Convergence RFQ SDK",
"version": "6.6.8",
"version": "6.6.9",
"license": "MIT",
"publishConfig": {
"access": "public"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ export const prepareAmericanOptions = async (
instruction: ixWithSigners.ix,
signers: [convergence.identity()],
});
await addComputeBudgetIxsIfNeeded(mintTxBuilder, convergence);
await addComputeBudgetIxsIfNeeded(mintTxBuilder, convergence, true);

mintTxBuilderArray.push(mintTxBuilder);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ export const prepareEuropeanOptions = async (
signers: [convergence.identity()],
});

await addComputeBudgetIxsIfNeeded(mintTxBuilder, convergence);
await addComputeBudgetIxsIfNeeded(mintTxBuilder, convergence, true);
mintTxBuilderArray.push(mintTxBuilder);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,6 @@ export const addLegsToRfqBuilder = async (
key: 'addLegsToRfq',
});

await addComputeBudgetIxsIfNeeded(txBuilder, convergence);
await addComputeBudgetIxsIfNeeded(txBuilder, convergence, true);
return txBuilder;
};
2 changes: 1 addition & 1 deletion packages/js/src/plugins/rfqModule/operations/createRfq.ts
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ export const createRfqBuilder = async (

const remainingLegsToAdd = instruments.slice(legsToAdd.length, legs.length);

await addComputeBudgetIxsIfNeeded(rfqBuilder, convergence);
await addComputeBudgetIxsIfNeeded(rfqBuilder, convergence, true);

return {
createRfqTxBuilder: rfqBuilder,
Expand Down

0 comments on commit 0adab70

Please sign in to comment.