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

Exception on /v1 aex9 balance(s) range when contract was not yet created #771

Closed
jyeshe opened this issue Jul 4, 2022 · 0 comments · Fixed by #784
Closed

Exception on /v1 aex9 balance(s) range when contract was not yet created #771

jyeshe opened this issue Jul 4, 2022 · 0 comments · Fixed by #784
Assignees

Comments

@jyeshe
Copy link
Member

jyeshe commented Jul 4, 2022

ErlangError at GET /aex9/balance/gen/300620-300629/ct_RDRJC5EySx4TcLtGRWYrXfNgyWzEDzssThJYPd9kdLeS5ECaA/ak_Yc8Lr64xGiBJfm2Jo8RQpR1gwTY8KMqqXk8oWiVC9esG8ce48

Exception:

    ** (ErlangError) Erlang error: {:not_present, <<54, 251, 42, 164, 151, 220, 237, 234, 169, 183, 110, 71, 215, 181, 85, 211, 61, 76, 38, 93, 4, 90, 193, 50, 71, 241, 15, 220, 64, 158, 83, 252>>}
        (aecontract 6.5.2) /home/builder/aeternity/apps/aecontract/src/aect_state_tree.erl:187: :aect_state_tree.get_contract/3
        (ae_mdw 1.9.2) lib/ae_mdw/dry_run/contract.ex:21: AeMdw.DryRun.Contract.new_call_tx/5
        (ae_mdw 1.9.2) lib/ae_mdw/contract.ex:256: AeMdw.Contract.call_contract/4
        (ae_mdw 1.9.2) lib/ae_mdw/node/db.ex:110: AeMdw.Node.Db.aex9_balance/3
        (ae_mdw 1.9.2) lib/ae_mdw_web/controllers/aex9_controller.ex:301: anonymous fn/3 in AeMdwWeb.Aex9Controller.balance_range_reply/4
        (ae_mdw 1.9.2) lib/ae_mdw_web/controllers/aex9_controller.ex:428: anonymous fn/2 in AeMdwWeb.Aex9Controller.map_balances_range/2
        (elixir 1.10.4) lib/stream.ex:572: anonymous fn/4 in Stream.map/2
        (elixir 1.10.4) lib/range.ex:116: Enumerable.Range.reduce/5
        (elixir 1.10.4) lib/stream.ex:1609: Enumerable.Stream.do_each/4
        (elixir 1.10.4) lib/enum.ex:3383: Enum.reverse/1
        (elixir 1.10.4) lib/enum.ex:2982: Enum.to_list/1
        (ae_mdw 1.9.2) lib/ae_mdw_web/controllers/aex9_controller.ex:298: AeMdwWeb.Aex9Controller.balance_range_reply/4
        (ae_mdw 1.9.2) lib/ae_mdw_web/util.ex:82: AeMdwWeb.Util.handle_input/2
        (ae_mdw 1.9.2) lib/ae_mdw_web/controllers/aex9_controller.ex:1: AeMdwWeb.Aex9Controller.action/2
        (ae_mdw 1.9.2) lib/ae_mdw_web/controllers/aex9_controller.ex:1: AeMdwWeb.Aex9Controller.phoenix_controller_pipeline/2
        (phoenix 1.5.8) lib/phoenix/router.ex:352: Phoenix.Router.__call__/2
        (ae_mdw 1.9.2) lib/ae_mdw_web/endpoint.ex:1: AeMdwWeb.Endpoint.plug_builder_call/2
        (ae_mdw 1.9.2) lib/plug/debugger.ex:136: AeMdwWeb.Endpoint."call (overridable 3)"/2
        (ae_mdw 1.9.2) lib/ae_mdw_web/endpoint.ex:1: AeMdwWeb.Endpoint.call/2
        (phoenix 1.5.8) lib/phoenix/endpoint/cowboy2_handler.ex:65: Phoenix.Endpoint.Cowboy2Handler.init/4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant