File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
packages/transaction-preview/src Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ const simulateTransactions = async (
1818 const cleanedTrans = {
1919 from : convertedTransaction . from ,
2020 to : convertedTransaction . to ,
21- gas : convertedTransaction . gas ,
21+ gas : convertedTransaction . gas || convertedTransaction . gasLimit || 0 ,
2222 gasPrice : convertedTransaction . gasPrice ,
2323 maxFeePerGas : convertedTransaction . maxFeePerGas ,
2424 maxPriorityFeePerGas : convertedTransaction . maxPriorityFeePerGas ,
Original file line number Diff line number Diff line change @@ -42,6 +42,7 @@ type TransactionRequestWithNumberFields = TransactionForSim & {
4242 gas : number
4343 value : number
4444 gasPrice ?: number
45+ gasLimit ?: number
4546 maxPriorityFeePerGas ?: number
4647 maxFeePerGas ?: number
4748}
You can’t perform that action at this time.
0 commit comments