Commit e6e69929 authored by Adrian Sutton's avatar Adrian Sutton

op-program: Increase log level to make debugging fpp goerli-verify failures easier.

parent 15660862
......@@ -2,6 +2,7 @@ package preimage
import (
"encoding/binary"
"encoding/hex"
"fmt"
"io"
)
......@@ -57,7 +58,7 @@ func (o *OracleServer) NextPreimageRequest(getPreimage PreimageGetter) error {
}
value, err := getPreimage(key)
if err != nil {
return fmt.Errorf("failed to serve pre-image %s request: %w", key, err)
return fmt.Errorf("failed to serve pre-image %s request: %w", hex.EncodeToString(key[:]), err)
}
if err := binary.Write(o.rw, binary.BigEndian, uint64(len(value))); err != nil {
......
......@@ -114,6 +114,7 @@ func Run(l1RpcUrl string, l2RpcUrl string, l2OracleAddr common.Address) error {
}()
fmt.Printf("Using temp dir: %s\n", temp)
args := []string{
"--log.level", "DEBUG",
"--network", "goerli",
"--exec", "./bin/op-program-client",
"--datadir", temp,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment