hyperledger-labs / go-perun

🌔 Perun's Blockchain-Agnostic State Channels Framework in Go.
https://perun.network/
Apache License 2.0
55 stars 18 forks source link

Failing client tests: Invalid version #354

Open matthiasgeihs opened 2 years ago

matthiasgeihs commented 2 years ago

Location

Probably client/failing_funding_test.go. See CI output for more information: https://github.com/hyperledger-labs/go-perun/runs/7039931517?check_suite_focus=true

Problem

In rare cases, the watcher reports: ERRO[0005] Error registering dispute: invalid version: expected >=1, got 0.

The problem seems to be that the watcher in multi-ledger mode sometimes still has an old state which it tries to register.

Proposal

Need to investigate further.