Merge pull request #108 from eqlabs/feat/debug-prettify

Debug stream improvements.
This commit is contained in:
muzamil
2022-03-08 21:07:13 +05:30
committed by GitHub
11 changed files with 246 additions and 61 deletions

View File

@@ -34,8 +34,11 @@ export interface IAccount {
export interface ILog {
type: "error" | "warning" | "log" | "success";
message: string;
jsonData?: any,
timestamp?: string;
link?: string;
linkText?: string;
defaultCollapsed?: boolean
}
export interface IState {
@@ -52,7 +55,6 @@ export interface IState {
logs: ILog[];
deployLogs: ILog[];
transactionLogs: ILog[];
debugLogs: ILog[];
editorCtx?: typeof monaco.editor;
editorSettings: {
tabSize: number;
@@ -78,7 +80,6 @@ let initialState: IState = {
logs: [],
deployLogs: [],
transactionLogs: [],
debugLogs: [],
editorCtx: undefined,
gistId: undefined,
gistOwner: undefined,