tocwex / tocwex/fund

%fund-watcher failure

Open
#111 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
hoon
Stars
12
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Before releasing 1.1.2 from ~tocwex, saw this in the dojo.

fund-watcher failed; will retry
%rpc-result-incomplete-batch
[ %a
    p
  [   i
    [ %o
        p
      [ n=[p='jsonrpc' q=[%s p='2.0']]
        l=~
          r
        [   n
          [ p='error'
              q
            [ %o
                p
              [   n
                [ p='message'
                    q
                  [ %s
                      p
                    'the method eth_getBlockByNumber does not exist/is not available'
                  ]
                ]
                l=~
                r=[n=[p='code' q=[%n p=~.32601]] l={} r={}]
              ]
            ]
          ]
          l={}
          r={[p='id' q=[%s p='block by number']]}
        ]
      ]
    ]
    t=~
  ]
]
fund-watcher failed; will retry
%rpc-result-incomplete-batch
[ %a
    p
  [   i
    [ %o
        p
      [ n=[p='jsonrpc' q=[%s p='2.0']]
        l=~
          r
        [   n
          [ p='error'
              q
            [ %o
                p
              [   n
                [ p='message'
                    q
                  [ %s
                      p
                    'the method eth_blockNumber does not exist/is not available'
                  ]
                ]
                l=~
                r=[n=[p='code' q=[%n p=~.32601]] l={} r={}]
              ]
            ]
          ]
          l={}
          r={[p='id' q=[%s p='block number']]}
        ]
      ]
    ]
    t=~
  ]
]

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the failure in the dojo around the fund-watcher retry path described in the issue. Trace how it sends the JSON-RPC requests for eth_getBlockByNumber and eth_blockNumber, then determine the expected behavior when the provider reports both methods as unavailable. Done means the watcher handles this provider response without repeatedly failing.

Written by the indexing model from the issue text.

Assessment

Domain
blockchain
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.