removing further occurrence of vm-paris

pull/4745/head
yann300 7 months ago committed by Aniket
parent 4dad24ec6b
commit 8f17f86084
  1. 2
      apps/remix-ide/src/app/providers/abstract-provider.tsx
  2. 4
      libs/remix-ui/run-tab/src/lib/reducers/runTab.ts

@ -119,7 +119,7 @@ export abstract class AbstractProvider extends Plugin implements IProvider {
}
this.call('notification', 'alert', modalContent)
}
await this.call('udapp', 'setEnvironmentMode', {context: 'vm-paris'})
await this.call('udapp', 'setEnvironmentMode', {context: 'vm-cancun'})
return
}

@ -19,7 +19,7 @@ export const runTabInitialState: RunTabState = {
sendValue: '0',
sendUnit: 'wei',
gasLimit: 0,
selectExEnv: 'vm-paris',
selectExEnv: 'vm-cancun',
personalMode: false,
networkName: 'VM',
chainId:'-',
@ -166,7 +166,7 @@ export const runTabReducer = (state: RunTabState = runTabInitialState, action: A
return {
...state,
selectExEnv: payload,
networkName: state.selectExEnv === 'vm-paris' ? 'VM' : state.networkName,
networkName: state.selectExEnv === 'vm-cancun' ? 'VM' : state.networkName,
accounts: {
...state.accounts,
selectedAccount: '',

Loading…
Cancel
Save