Skip to content

Commit

Permalink
[WEL-447] APTOS Simulated Gas Fee
Browse files Browse the repository at this point in the history
- fix chainId
  • Loading branch information
kairoski03 committed Oct 19, 2023
1 parent 635c277 commit 29b1786
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/aptos/aptos-helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export async function dappTxn(
log.info(`rawTransaction`, rawTransaction);
// log.info(`raw args`, JSON.stringify((rawTransaction as any).payload.value.args, null, 2));
const estimatedGas = await estimateGas(
'https://fullnode.devnet.aptoslabs.com/v1',
`https://fullnode.${chainId}.aptoslabs.com/v1`,
dapp.networks.aptos.account.pubKey,
rawTransaction,
);
Expand Down

0 comments on commit 29b1786

Please sign in to comment.