Skip to content

Commit

Permalink
do not turn off logging by default (useful for nitro tests) and updat…
Browse files Browse the repository at this point in the history
…e value field in beforeEVMTransfers and afterEVMTransfers of call_tracer inner_revert_reason.json to match correct values
  • Loading branch information
ganeshvanahalli committed Apr 25, 2024
1 parent 6ad365e commit 39f0d7b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,15 +54,15 @@
"purpose": "feePayment",
"from": "0x3623191d4CCfBbdf09E8EBf6382A1F8257417bC1",
"to": null,
"value": "0x2ff62db077c000"
"value": "0x254db1c2244000"
}
],
"afterEVMTransfers": [
{
"purpose": "gasRefund",
"from": null,
"to": "0x3623191d4CCfBbdf09E8EBf6382A1F8257417bC1",
"value": "0x2d8416efd77000"
"value": "0x2366bc81a79000"
},
{
"purpose": "tip",
Expand Down Expand Up @@ -104,4 +104,4 @@
"value": "0x0",
"type": "CREATE"
}
}
}
2 changes: 2 additions & 0 deletions internal/debug/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,8 @@ var (

func init() {
glogger = log.NewGlogHandler(log.NewTerminalHandler(os.Stderr, false))
glogger.Verbosity(log.LvlInfo)
log.SetDefault(log.NewLogger(glogger))
}

// Setup initializes profiling and logging based on the CLI flags.
Expand Down

0 comments on commit 39f0d7b

Please sign in to comment.