Skip to content

Commit 27b3c6f

Browse files
authored
Bump sdk version to increase timeout for decryption (#37)
* Bump sdk version to increase timeout for decryption * change to non-zeta version * fmt yaml
1 parent 1caae44 commit 27b3c6f

File tree

3 files changed

+32
-54
lines changed

3 files changed

+32
-54
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@
1919
},
2020
"dependencies": {
2121
"@aptos-labs/confidential-asset-wasm-bindings": "^0.0.2",
22-
"@aptos-labs/confidential-assets": "=0.4.3",
23-
"@aptos-labs/gas-station-client": "^1.0.0",
24-
"@aptos-labs/ts-sdk": "^1.38.0",
22+
"@aptos-labs/confidential-assets": "=0.6.0",
23+
"@aptos-labs/gas-station-client": "^1.1.1",
24+
"@aptos-labs/ts-sdk": "^3.1.2",
2525
"@distributedlab/tools": "^1.0.0-rc.17",
2626
"@hookform/resolvers": "^4.1.3",
2727
"@next/env": "^15.2.3",

pnpm-lock.yaml

Lines changed: 22 additions & 47 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/api/modules/aptos/client.ts

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,18 @@ const aptosConfig = new AptosConfig({
1111
clientConfig: {
1212
API_KEY: appConfig.APTOS_BUILD_API_KEY,
1313
},
14+
pluginSettings: {
15+
TRANSACTION_SUBMITTER: createGasStationClient({
16+
network: appConfig.APTOS_NETWORK as Network,
17+
apiKey: appConfig.APTOS_BUILD_GAS_STATION_KEY,
18+
}),
19+
},
1420
});
1521
export const aptos = new Aptos(aptosConfig);
1622
export const confidentialAssets = new ConfidentialAsset({
1723
config: aptosConfig,
1824
confidentialAssetModuleAddress: appConfig.CONFIDENTIAL_ASSET_MODULE_ADDR,
19-
gasStation: createGasStationClient({
20-
network: appConfig.APTOS_NETWORK as Network,
21-
apiKey: appConfig.APTOS_BUILD_GAS_STATION_KEY,
22-
}),
25+
withFeePayer: true,
2326
});
2427

2528
/** Do not forget to pass the API key when using this client. */

0 commit comments

Comments
 (0)