Skip to content

Commit fd37d96

Browse files
committed
[gas] Increase default max gas to 2000000
1 parent 7815419 commit fd37d96

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ All notable changes to the Aptos TypeScript SDK will be captured in this file. T
44

55
# Unreleased
66
- Remove usage of Buffer.from and replace with TextEncoder or js-base64 for greater compatibility
7-
- Update dependencies for examples, gas station, and confidential assets packages
7+
- Update dependencies for examples, gas station, and confidential assets packages
8+
- Increase max gas amount default to 2000000
89

910
## Fixed
1011

src/utils/const.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export enum AptosApiType {
2424
* @group Implementation
2525
* @category Utils
2626
*/
27-
export const DEFAULT_MAX_GAS_AMOUNT = 200000;
27+
export const DEFAULT_MAX_GAS_AMOUNT = 2000000;
2828

2929
/**
3030
* The minimum max gas amount that the SDK will allow for a transaction.

0 commit comments

Comments
 (0)