Skip to content

Commit

Permalink
remove_uneeded_code
Browse files Browse the repository at this point in the history
  • Loading branch information
yann300 committed Feb 11, 2025
1 parent ab225a6 commit 349b917
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 46 deletions.
26 changes: 0 additions & 26 deletions apps/remix-ide/src/blockchain/blockchain.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,32 +46,6 @@ export type Transaction = {
timestamp?: number
}

/*
export type ProviderConfig = {
isVM: boolean
isInjected: boolean
isRpcForkedState?: boolean
isVMStateForked?: boolean
statePath?: string
}
export type Provider = {
options: { [key: string]: string }
dataId: string
name: string
displayName: string
logo?: string,
logos?: string[],
fork: string
description?: string
config: ProviderConfig
title: string
init: () => Promise<void>
provider:{
sendAsync: (payload: any) => Promise<void>
}
}*/

export class Blockchain extends Plugin {
active: boolean
event: EventManager
Expand Down
21 changes: 1 addition & 20 deletions libs/remix-ui/run-tab/src/lib/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export interface RunTabProps {
initialState?: RunTabState
}


export interface Contract {
name: string,
alias: string,
Expand All @@ -23,26 +24,6 @@ export interface ContractList {
[file: string]: Contract[]
}

/*
export type Provider = {
name: string
displayName: string
provider: {
sendAsync: () => void
},
init: () => void
title: string
dataId: string
options: { [key: string]: string}
fork: boolean
isVM: boolean
isInjected: boolean
isRpcForkedState?: boolean
isVMStateForked?: boolean
statePath?: string
position: number
}*/

export interface RunTabState {
accounts: {
loadedAccounts: Record<string, string>,
Expand Down

0 comments on commit 349b917

Please sign in to comment.