Skip to content

Commit 5ce6ea8

Browse files
Aniket-Enggyann300
authored andcommitted
fix linting
1 parent b94f1fd commit 5ce6ea8

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

libs/remix-lib/src/execution/txRunnerWeb3.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ export class TxRunnerWeb3 {
204204
callback(new Error('Gas estimation failed because of an unknown internal error. This may indicated that the transaction will fail.'))
205205
return
206206
}
207-
if (tx.fromSmartAccount && tx.value === "0" &&
207+
if (tx.fromSmartAccount && tx.value === "0" &&
208208
err && err.message && err.message.includes('missing revert data')
209209
) {
210210
// Do not show dialog for 'insufficient funds got transfer' & 'gas required exceeds allowance (0)'

libs/remix-lib/src/helpers/aaConstants.ts

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
1-
import { ZeroAddress} from 'ethers'
1+
import { ZeroAddress } from 'ethers'
22

33
// AA02: Add network name and public URL to support contract transactions using smart account
44
export const aaSupportedNetworks = {
5-
"11155111": {
6-
name: "sepolia",
7-
publicNodeUrl: "https://go.getblock.io/ee42d0a88f314707be11dd799b122cb9"
8-
},
9-
// "10200": {
10-
// name: "gnosisChiado",
11-
// publicNodeUrl: "https://rpc.chiadochain.net/"
12-
// }
13-
}
5+
"11155111": {
6+
name: "sepolia",
7+
publicNodeUrl: "https://go.getblock.io/ee42d0a88f314707be11dd799b122cb9"
8+
},
9+
// "10200": {
10+
// name: "gnosisChiado",
11+
// publicNodeUrl: "https://rpc.chiadochain.net/"
12+
// }
13+
}
1414

1515
export const getPimlicoBundlerURL = (chainId) => {
16-
return `https://pimlico.remixproject.org/api/proxy/${chainId}`
16+
return `https://pimlico.remixproject.org/api/proxy/${chainId}`
1717
}
1818

1919
export const aaLocalStorageKey = 'smartAccounts'

libs/remix-lib/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import { TxRunnerVM } from './execution/txRunnerVM'
1717
import { TxRunnerWeb3 } from './execution/txRunnerWeb3'
1818
import * as txResultHelper from './helpers/txResultHelper'
1919
export { ConsoleLogs } from './helpers/hhconsoleSigs'
20-
export { aaSupportedNetworks, aaLocalStorageKey, getPimlicoBundlerURL, aaDeterminiticProxyAddress, toAddress} from './helpers/aaConstants'
20+
export { aaSupportedNetworks, aaLocalStorageKey, getPimlicoBundlerURL, aaDeterminiticProxyAddress, toAddress } from './helpers/aaConstants'
2121
export { ICompilerApi, ConfigurationSettings, iSolJsonBinData, iSolJsonBinDataBuild } from './types/ICompilerApi'
2222
export { QueryParams } from './query-params'
2323
export { VMexecutionResult } from './execution/txRunnerVM'

0 commit comments

Comments
 (0)