diff --git a/apps/remix-ide/src/app/tabs/locales/en/terminal.json b/apps/remix-ide/src/app/tabs/locales/en/terminal.json index 431f54fbba..9ce7d78d6f 100644 --- a/apps/remix-ide/src/app/tabs/locales/en/terminal.json +++ b/apps/remix-ide/src/app/tabs/locales/en/terminal.json @@ -40,5 +40,6 @@ "terminal.input": "input", "terminal.decodedInput": "decoded input", "terminal.decodedOutput": "decoded output", + "terminal.rawlogs": "raw logs", "terminal.logs": "logs" } diff --git a/apps/remix-ide/src/app/tabs/locales/es/terminal.json b/apps/remix-ide/src/app/tabs/locales/es/terminal.json index 9c59e05ada..17eb3d6a40 100644 --- a/apps/remix-ide/src/app/tabs/locales/es/terminal.json +++ b/apps/remix-ide/src/app/tabs/locales/es/terminal.json @@ -39,5 +39,6 @@ "terminal.input": "entrada", "terminal.decodedInput": "entrada descodificada", "terminal.decodedOutput": "salida descodificada", + "terminal.rawlogs": "registros sin procesar", "terminal.logs": "registros" } diff --git a/apps/remix-ide/src/app/tabs/locales/fr/terminal.json b/apps/remix-ide/src/app/tabs/locales/fr/terminal.json index 8183140a97..e67a0c7b4f 100644 --- a/apps/remix-ide/src/app/tabs/locales/fr/terminal.json +++ b/apps/remix-ide/src/app/tabs/locales/fr/terminal.json @@ -39,5 +39,6 @@ "terminal.input": "entrée", "terminal.decodedInput": "entrée décodée", "terminal.decodedOutput": "sortie décodée", - "terminal.logs": "logs" + "terminal.rawlogs": "logs bruts", + "terminal.logs": "Log" } diff --git a/apps/remix-ide/src/app/tabs/locales/it/terminal.json b/apps/remix-ide/src/app/tabs/locales/it/terminal.json index 8bdc6c7dc8..19653883b1 100644 --- a/apps/remix-ide/src/app/tabs/locales/it/terminal.json +++ b/apps/remix-ide/src/app/tabs/locales/it/terminal.json @@ -39,5 +39,6 @@ "terminal.input": "input", "terminal.decodedInput": "input decodificato", "terminal.decodedOutput": "output decodificato", + "terminal.rawlogs": "log grezzi", "terminal.logs": "Log" } diff --git a/apps/remix-ide/src/app/tabs/locales/ko/terminal.json b/apps/remix-ide/src/app/tabs/locales/ko/terminal.json index 171a981094..23db143c61 100644 --- a/apps/remix-ide/src/app/tabs/locales/ko/terminal.json +++ b/apps/remix-ide/src/app/tabs/locales/ko/terminal.json @@ -39,5 +39,6 @@ "terminal.input": "입력", "terminal.decodedInput": "디코드된 입력", "terminal.decodedOutput": "디코드된 출력", + "terminal.rawlogs": "원시 로그", "terminal.logs": "로그" } diff --git a/apps/remix-ide/src/app/tabs/locales/ru/terminal.json b/apps/remix-ide/src/app/tabs/locales/ru/terminal.json index 2778fb35de..6d10549196 100644 --- a/apps/remix-ide/src/app/tabs/locales/ru/terminal.json +++ b/apps/remix-ide/src/app/tabs/locales/ru/terminal.json @@ -39,5 +39,6 @@ "terminal.input": "ввод", "terminal.decodedInput": "декодированный ввод", "terminal.decodedOutput": "декодированный вывод", + "terminal.rawlogs": "необработанные журналы", "terminal.logs": "журналы" } diff --git a/apps/remix-ide/src/app/tabs/locales/zh/terminal.json b/apps/remix-ide/src/app/tabs/locales/zh/terminal.json index 40e6d3791c..eac8de2d0b 100644 --- a/apps/remix-ide/src/app/tabs/locales/zh/terminal.json +++ b/apps/remix-ide/src/app/tabs/locales/zh/terminal.json @@ -39,5 +39,6 @@ "terminal.input": "输入", "terminal.decodedInput": "解码输入", "terminal.decodedOutput": "解码输出", + "terminal.rawlogs": "原始日志", "terminal.logs": "日志" } diff --git a/libs/remix-lib/package.json b/libs/remix-lib/package.json index fac86e3732..dffc187d0a 100644 --- a/libs/remix-lib/package.json +++ b/libs/remix-lib/package.json @@ -57,4 +57,4 @@ "typings": "src/index.d.ts", "gitHead": "35e1469e94bb370f5427d4ab230fcbd47c665e55", "types": "./src/index.d.ts" -} \ No newline at end of file +} diff --git a/libs/remix-simulator/src/methods/accounts.ts b/libs/remix-simulator/src/methods/accounts.ts index 61766e1631..6c99565455 100644 --- a/libs/remix-simulator/src/methods/accounts.ts +++ b/libs/remix-simulator/src/methods/accounts.ts @@ -44,7 +44,7 @@ export class Web3Accounts { async _addAccount (privateKey, balance) { try { - privateKey = toBytes('0x' + privateKey) + if (typeof privateKey === 'string') privateKey = toBytes('0x' + privateKey) const address: Uint8Array = privateToAddress(privateKey) const addressStr = toChecksumAddress(bytesToHex(address)) this.accounts[addressStr] = { privateKey, nonce: 0 } diff --git a/libs/remix-ui/app/src/lib/remix-app/remix-app.tsx b/libs/remix-ui/app/src/lib/remix-app/remix-app.tsx index ab0d2b951c..a730f2d7aa 100644 --- a/libs/remix-ui/app/src/lib/remix-app/remix-app.tsx +++ b/libs/remix-ui/app/src/lib/remix-app/remix-app.tsx @@ -194,7 +194,7 @@ const RemixApp = (props: IRemixAppUi) => {