Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Misleading chequebook init: insufficient xDAI for initial deposit error message #4924

Open
Cafe137 opened this issue Dec 9, 2024 · 0 comments
Labels
needs-triaging new issues that need triaging

Comments

@Cafe137
Copy link

Cafe137 commented Dec 9, 2024

Context

Bee 2.3.0

Summary

"time"="2024-12-09 12:24:12.024155" "level"="info" "logger"="node/chequebook" "msg"="no chequebook found, deploying new one."
"time"="2024-12-09 12:24:12.189576" "level"="warning" "logger"="node/chequebook" "msg"="cannot continue until there is at least min xDAI (for Gas) available on address" "min_amount"="0.000375000002" "address"="0x4609C1Ab99552C1F5C2c0c9A1F3Bc78cA4A48a93"
^C"time"="2024-12-09 12:24:21.180988" "level"="info" "logger"="node" "msg"="received interrupt signal"
"time"="2024-12-09 12:24:21.181052" "level"="error" "logger"="node" "msg"="got error, shutting down..." "error"="chequebook init: insufficient xDAI for initial deposit"

Expected behavior

The error message should be insufficient xDAI for deploying chequebook. Initial deposit is different, and assumes a deployed chequebook.

Actual behavior

Please see Summary

Steps to reproduce

Start a new node with swap enabled, shut it down while it outputs the repeated message about funding with xDAI.

Possible solution

pkg/settlement/swap/chequebook/init.go#checkBalance

@Cafe137 Cafe137 added the needs-triaging new issues that need triaging label Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-triaging new issues that need triaging
Projects
None yet
Development

No branches or pull requests

1 participant