adding default value for ignoreGasPricing and fixinf cookboox activation

from hometab
pull/4248/head
lianahus 1 year ago
parent 22fc80172e
commit 21f9f64a86
  1. 2
      apps/remix-ide/src/blockchain/execution-context.js
  2. 2
      libs/ghaction-helper/src/methods.ts
  3. 4
      libs/remix-ui/home-tab/src/lib/components/homeTabFeaturedPlugins.tsx

@ -7,7 +7,7 @@ const _paq = window._paq = window._paq || []
let web3
const config = { defaultTransactionType: '0x0' }
const config = { defaultTransactionType: '0x0', ignoreGasPricing: true }
if (typeof window !== 'undefined' && typeof window.ethereum !== 'undefined') {
var injectedProvider = window.ethereum
web3 = new Web3(injectedProvider)

@ -11,7 +11,7 @@ const providerConfig = {
blockNumber: global.blockNumber || null
}
const config = { defaultTransactionType: '0x0' }
const config = { defaultTransactionType: '0x0', ignoreGasPricing: true }
global.remixProvider = new Provider(providerConfig)
global.remixProvider.init()
global.web3Provider = new ethers.providers.Web3Provider(global.remixProvider)

@ -74,8 +74,8 @@ function HomeTabFeaturedPlugins({plugin}: HomeTabFeaturedPluginsProps) {
}
const startCookbook = async () => {
await plugin.appManager.activatePlugin(['cookbookdev'])
plugin.verticalIcons.select('cookbook.dev')
_paq.push(['trackEvent', 'hometabActivate', 'userActivate', 'cookbook.dev'])
plugin.verticalIcons.select('cookbookdev')
_paq.push(['trackEvent', 'hometabActivate', 'userActivate', 'cookbookdev'])
}
const startSolidityUnitTesting = async () => {
await plugin.appManager.activatePlugin(['solidity', 'solidityUnitTesting'])

Loading…
Cancel
Save