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

The tool assert(0) when count is set to greater than 10 #5

Closed
kchulj opened this issue Oct 30, 2020 · 3 comments
Closed

The tool assert(0) when count is set to greater than 10 #5

kchulj opened this issue Oct 30, 2020 · 3 comments
Assignees
Labels
prio-high Tasks with high priority (do not affect live system) Story-Point:5 This takes 3 to 5 days to complete type-bug Issue/PR addresses a bug

Comments

@kchulj
Copy link

kchulj commented Oct 30, 2020

core.exception.AssertError@submodules/agora/source/agora/utils/Test.d(529): Assertion failure
assert(newOutputs.all!(output => output.value > Amount(0)));
@kchulj kchulj added prio-high Tasks with high priority (do not affect live system) type-bug Issue/PR addresses a bug labels Oct 30, 2020
@Geod24
Copy link
Contributor

Geod24 commented Nov 1, 2020

I tried deploying it, and:

Nov 01 19:55:37 eu-001.bosagora.io systemd[1]: faucet.service: Service hold-off time over, scheduling restart.
Nov 01 19:55:37 eu-001.bosagora.io systemd[1]: faucet.service: Scheduled restart job, restart counter is at 4.
Nov 01 19:55:37 eu-001.bosagora.io systemd[1]: Stopped Your friendly transaction-happy bot.
Nov 01 19:55:37 eu-001.bosagora.io systemd[1]: Started Your friendly transaction-happy bot.
Nov 01 19:55:39 eu-001.bosagora.io docker[10737]: [main(----) INF] The address of node is http://eu-002.bosagora.io:28
Nov 01 19:55:39 eu-001.bosagora.io docker[10737]: [main(----) INF] Updating state: blocks [0 .. 9] (10)
Nov 01 19:55:39 eu-001.bosagora.io docker[10737]: [main(----) INF] UTXO delta: 920
Nov 01 19:55:39 eu-001.bosagora.io docker[10737]: core.exception.AssertError@submodules/agora/source/agora/utils/Test.
Nov 01 19:55:40 eu-001.bosagora.io systemd[1]: faucet.service: Main process exited, code=exited, status=1/FAILURE
Nov 01 19:55:40 eu-001.bosagora.io systemd[1]: faucet.service: Failed with result 'exit-code'.
Nov 01 19:55:40 eu-001.bosagora.io systemd[1]: faucet.service: Service hold-off time over, scheduling restart.
Nov 01 19:55:40 eu-001.bosagora.io systemd[1]: faucet.service: Scheduled restart job, restart counter is at 5.
Nov 01 19:55:40 eu-001.bosagora.io systemd[1]: Stopped Your friendly transaction-happy bot.
Nov 01 19:55:40 eu-001.bosagora.io systemd[1]: faucet.service: Start request repeated too quickly.
Nov 01 19:55:40 eu-001.bosagora.io systemd[1]: faucet.service: Failed with result 'exit-code'.
Nov 01 19:55:40 eu-001.bosagora.io systemd[1]: Failed to start Your friendly transaction-happy bot.

@kchulj
Copy link
Author

kchulj commented Nov 1, 2020

I'll examine if there are any Outputs with an Amount of 0.

@bpalaggi bpalaggi added the Story-Point:5 This takes 3 to 5 days to complete label Nov 4, 2020
Geod24 referenced this issue in Geod24/faucet Nov 5, 2020
The solution is simply to skip the UTXOs which would cause the assert.
However we'll soon run into another problem - we'll run out of UTXOs.
Geod24 added a commit that referenced this issue Nov 6, 2020
The solution is simply to skip the UTXOs which would cause the assert.
However we'll soon run into another problem - we'll run out of UTXOs.
@Geod24
Copy link
Contributor

Geod24 commented Nov 6, 2020

The issue had been fixed.

@Geod24 Geod24 closed this as completed Nov 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
prio-high Tasks with high priority (do not affect live system) Story-Point:5 This takes 3 to 5 days to complete type-bug Issue/PR addresses a bug
Projects
None yet
Development

No branches or pull requests

3 participants