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

getOwnedUTXOs().length assert(0) #96

Closed
kchulj opened this issue Jun 8, 2021 · 4 comments
Closed

getOwnedUTXOs().length assert(0) #96

kchulj opened this issue Jun 8, 2021 · 4 comments
Assignees
Labels
type-bug Issue/PR addresses a bug

Comments

@kchulj
Copy link

kchulj commented Jun 8, 2021

The faucet is unable to retrieve its owned UTXOs. This error prevents the faucet from sending additional transactions.

core.exception.AssertError@source/faucet/main.d(176): Assertion failure
----------------
??:? _d_assert [0x105071407]
??:? @safe bool faucet.main.State.update(agora.api.FullNode.API, agora.common.Types.Height) [0x104f37cba]
??:? void faucet.main.Faucet.send() [0x104f38623]
??:? void faucet.main.main(immutable(char)[][]).__lambda21() [0x104f3a988]
??:? nothrow @safe void vibe.core.core.setTimer(core.time.Duration, void delegate(), bool).__lambda4() [0x104c2ef43]
??:? nothrow @safe void vibe.core.core.createTimer(void delegate() nothrow @safe).C.opCall(vibe.core.core.Timer).__lambda2(vibe.core.core.Timer) [0x104c2f281]
??:? nothrow void vibe.core.task.TaskFuncInfo.set!(void delegate(vibe.core.core.Timer) nothrow @safe, vibe.core.core.Timer).set(ref void delegate(vibe.core.core.Timer) nothrow @safe, ref vibe.core.core.Timer).callDelegate(ref vibe.core.task.TaskFuncInfo) [0x104c6ece5]
??:? void vibe.core.task.TaskFuncInfo.call() [0x104c6c34b]
??:? nothrow void vibe.core.task.TaskFiber.run() [0x104c6b898]
??:? fiber_entryPoint [0x10508ea23]
@kchulj kchulj added the type-bug Issue/PR addresses a bug label Jun 8, 2021
@Geod24
Copy link
Contributor

Geod24 commented Jun 8, 2021

Probably shouldn't be an assert since it can happen. Do you have genesis in the list of keys ?

@kchulj
Copy link
Author

kchulj commented Jun 8, 2021

Do you have genesis in the list of keys ?

Yes, boa1xzgenes5cf8xel37fz79gzs49v56znllk7jw7qscjwl5p6a9zxk8zaygm67:**SECRET** is there.

@kchulj
Copy link
Author

kchulj commented Jun 8, 2021

After the 1st block, .filter!(tup => tup.value.output.address in secret_keys) returns an empty AA.

@kchulj
Copy link
Author

kchulj commented Jun 10, 2021

Fixed by #97

@kchulj kchulj closed this as completed Jun 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-bug Issue/PR addresses a bug
Projects
None yet
Development

No branches or pull requests

3 participants