You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 2, 2021. It is now read-only.
waitForChequeProcessed needs to be adapted to also wait for the cheque to be confirmed (waiting for cashDone is no longer necessary). Currently a new cheque is attempted to be sent while the old one is not confirmed yet, leading to the pending cheque to be resent, but waitForChequeProcessed is waiting for a new cheque causing the test to hang and timeout.
=== RUN TestMultiChequeSimulation
WARN [11-05|13:11:24.556|github.com/ethersphere/swarm/swap/swap.go:450] cheque bounced swaplog=* base=a5126ccf56b605e7 tx=0e0000…947e6f
WARN [11-05|13:11:24.571|github.com/ethersphere/swarm/swap/swap.go:450] cheque bounced swaplog=* base=a5126ccf56b605e7 tx=568d95…ff9a5c
WARN [11-05|13:11:24.581|github.com/ethersphere/swarm/swap/swap.go:450] cheque bounced swaplog=* base=a5126ccf56b605e7 tx=37e346…6cc0f7
WARN [11-05|13:11:24.596|github.com/ethersphere/swarm/swap/swap.go:450] cheque bounced swaplog=* base=a5126ccf56b605e7 tx=918b39…83cdd2
WARN [11-05|13:11:24.608|github.com/ethersphere/swarm/swap/swap.go:450] cheque bounced swaplog=* base=a5126ccf56b605e7 tx=ce0e24…413c86
WARN [11-05|13:11:24.620|github.com/ethersphere/swarm/swap/swap.go:450] cheque bounced swaplog=* base=a5126ccf56b605e7 tx=18146b…4133c6
WARN [11-05|13:11:24.621|github.com/ethersphere/swarm/swap/swap.go:353] cheque sent by peer has already been received in the past swaplog=* base=d9b5d8bd215a7f98 peer=bb40ff67e0811dfa cumulativePayout=176699531344266
WARN [11-05|13:11:24.621|github.com/ethersphere/swarm/swap/swap.go:415] ignoring confirm msg, no pending cheque swaplog=* base=d9b5d8bd215a7f98 peer=4ac7527c49bc60c6 confirm message cheque="Contract: 6c60ee4660ee385f658345b6bed000b513757ff4 Beneficiary: 467bcb061b0199d906a306874500cd796d119ebf CumulativePayout: 176699531344266 Honey: 19633281260474"
ERROR[11-05|13:11:24.981|accounts/usbwallet/hub.go:170] Failed to enumerate USB devices hub=trezor vendor=4617 failcount=3 err="failed to initialize libusb: libusb: unknown error [code -99]"
ERROR[11-05|13:11:24.981|accounts/usbwallet/hub.go:170] Failed to enumerate USB devices hub=ledger vendor=11415 failcount=3 err="failed to initialize libusb: libusb: unknown error [code -99]"
ERROR[11-05|13:11:24.981|accounts/usbwallet/hub.go:170] Failed to enumerate USB devices hub=trezor vendor=21324 failcount=3 err="failed to initialize libusb: libusb: unknown error [code -99]"
ERROR[11-05|13:11:44.622|github.com/ethersphere/swarm/p2p/protocols/protocol.go:249] dropping peer with DiscSubprotocolError peer=4ac7527c49bc60c6 reason="hive stopping"
--- FAIL: TestMultiChequeSimulation (20.15s)
simulations_test.go:430: timed out waiting for cheque to be processed
waitForChequeProcessedneeds to be adapted to also wait for the cheque to be confirmed (waiting forcashDoneis no longer necessary). Currently a new cheque is attempted to be sent while the old one is not confirmed yet, leading to the pending cheque to be resent, but waitForChequeProcessed is waiting for a new cheque causing the test to hang and timeout.