Skip to content

Commit

Permalink
Merge branch 'feat/integrate-aptos' into test/aptos_index-api
Browse files Browse the repository at this point in the history
  • Loading branch information
semeano committed Jan 2, 2025
2 parents 2eb99c4 + 8aee213 commit 3e5bad3
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ const aptos: CurrenciesData<Transaction> = {
({
errors: {},
warnings: {},
estimatedFees: BigNumber("1100"),
estimatedFees: BigNumber("900"),
amount: BigNumber("20000"),
totalSpent: BigNumber("21100"),
totalSpent: BigNumber("20900"),
}),
},
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ export const getFee = async (
}
}

res.estimate.expirationTimestampSecs = completedTx.expiration_timestamp_secs;
gasLimit =
Number(completedTx.gas_used) ||
Math.floor(Number(transaction.options.maxGasAmount) / ESTIMATE_GAS_MUL);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,6 @@ const prepareTransaction = async (
transaction.options = {
...transaction.options,
maxGasAmount: estimate.maxGasAmount,
gasUnitPrice: estimate.gasUnitPrice,
sequenceNumber: estimate.sequenceNumber,
expirationTimestampSecs: estimate.expirationTimestampSecs,
};

transaction.fees = fees;
Expand Down

0 comments on commit 3e5bad3

Please sign in to comment.