Skip to content

Commit

Permalink
👽️ Increase gasPrice to 10000
Browse files Browse the repository at this point in the history
  • Loading branch information
williamchong committed Jan 12, 2024
1 parent ddf0b1d commit 2ec8f67
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ export const BASE_PATH = process.env.BASE_PATH
export const INDEXER = IS_TESTNET
? 'https://node.testnet.like.co'
: 'https://mainnet-node.like.co'
export const DEFAULT_GAS_PRICE_NUMBER = 10000
export const WALLET_CONFIG = IS_TESTNET
? {
chainId: 'likecoin-public-testnet-5',
Expand Down
4 changes: 3 additions & 1 deletion store/wallet.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { LikeCoinWalletConnector, LikeCoinWalletConnectorMethod } from '@likecoin/wallet-connector'
import { ISCNSigningClient } from '@likecoin/iscn-js'
import { WALLET_CONFIG } from '../config'
import { WALLET_CONFIG, DEFAULT_GAS_PRICE_NUMBER } from '../config'

let connector = null

Expand Down Expand Up @@ -101,6 +101,7 @@ export const actions = {
state.walletAddress,
iscnId,
payload,
{ gasPrice: DEFAULT_GAS_PRICE_NUMBER },
)
commit('doneTx', result)
} catch (err) {
Expand Down Expand Up @@ -128,6 +129,7 @@ export const actions = {
state.walletAddress,
receiver,
iscnId,
{ gasPrice: DEFAULT_GAS_PRICE_NUMBER },
)
commit('doneTx', result)
} catch (err) {
Expand Down

0 comments on commit 2ec8f67

Please sign in to comment.