Skip to content

Keeper unsuccessful in calling processReport on fork environemnt. #36

@slundqui

Description

@slundqui

When the keeper is required to call processReport, the call fails with an error.

To reproduce:

  1. Make random trades on Hyperdrive.
  2. One of the bots deposited into vault a.
  3. The keeper was successful in calling 3/4 functions (i.e., updateDebt, tend, strategyReport). processReport wasn't necessary on this call.
  4. The chain advanced time for 1 day.
  5. More trades were made on hyperdrive.
  6. There was a deposit and redeem to/from vault a, and a deposit to b.
  7. The keeper was successful in executing 3/4 functions (i.e., updateDebt, tend, strategyReport), but reverted on processReport.

This is the error hash I'm getting:

'0x08c379a0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000817661756c742070726f636573735f7265706f7274206661696c65643a2008c379a00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000b6e6f7420616c6c6f77656400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'

Attempting to decode the hex string results in the following:

\x08�y�\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0bnot allowed\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'

Notice the not allowed in the decoded string.

This issue is easily reproducible when fuzzing on the fork we've set up. Attempt to deploy locally results in an issue (#35), but should be able to track down the line it's crashing at once the linked issue is solved.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions