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

InsufficientMintingAmount Exception #268

Closed
agatsoh opened this issue Aug 29, 2019 · 2 comments
Closed

InsufficientMintingAmount Exception #268

agatsoh opened this issue Aug 29, 2019 · 2 comments
Labels
bug Something isn't working

Comments

@agatsoh
Copy link
Contributor

agatsoh commented Aug 29, 2019

Description

The commit of the dev branch that I am testing on

(raiden_env) [krishna@krishna-pc scenario-player]$ git log
commit 60b359899a3385d82e2d71da8f57dacce8789111 (HEAD -> dev, upstream/dev)
Author: DevOpsBot <[email protected]>
Date:   Fri Aug 23 08:04:57 2019 +0000

    'Sync Branch Versions.'

commit a67f951f8d065a2cfa98a1af83a9148dca378672
Merge: 5c8d0f1 2dbe8f4
Author: Nils Diefenbach <[email protected]>
Date:   Fri Aug 23 10:03:31 2019 +0200

    [HOTFIX-#264] Reset Dev to 0.3.5 and pick feat/fix commits.
    
    Master at 0.3.5

One the latest dev branch I run the same scenario in issue #238 and get this error
A small snapshot from the stacktrace of the error

Traceback (most recent call last):
  File "/home/krishna/Envs/raiden_env/bin/scenario_player", line 10, in <module>
    sys.exit(main())
  File "/home/krishna/Envs/raiden_env/lib/python3.7/site-packages/click/core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "/home/krishna/Envs/raiden_env/lib/python3.7/site-packages/click/core.py", line 717, in main
    rv = self.invoke(ctx)
  File "/home/krishna/Envs/raiden_env/lib/python3.7/site-packages/click/core.py", line 1137, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/krishna/Envs/raiden_env/lib/python3.7/site-packages/click/core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/krishna/Envs/raiden_env/lib/python3.7/site-packages/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "/home/krishna/Envs/raiden_env/lib/python3.7/site-packages/click/decorators.py", line 17, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/home/krishna/Envs/raiden_env/lib/python3.7/site-packages/scenario_player/main.py", line 214, in run
    account, chain_rpc_urls, auth, data_path, scenario_file, notify_tasks_callable
  File "/home/krishna/Envs/raiden_env/lib/python3.7/site-packages/scenario_player/runner.py", line 71, in __init__
    self.yaml = ScenarioYAML(scenario_file, self.data_path)
  File "/home/krishna/Envs/raiden_env/lib/python3.7/site-packages/scenario_player/scenario.py", line 37, in __init__
    self.validate()
  File "/home/krishna/Envs/raiden_env/lib/python3.7/site-packages/scenario_player/scenario.py", line 57, in validate
    raise InsufficientMintingAmount
scenario_player.exceptions.config.InsufficientMintingAmount

The scenario player is started

 scenario_player --chain=goerli:http://10.104.6.13:8545 run --no-ui --keystore-file=/home/krishna/.ethereum/keystore/UTC--2019-04-25T07-10-20.510144284Z--1bc9667edcb58197f4a5431fbf0c2289ddc235f3 --password=${KEYSTORE_PW} ~/raidenforked/scenario-player/pfs7_multiple_payments.yaml

Expected Behavior

Minting tokens should pass

@agatsoh agatsoh added the bug Something isn't working label Aug 29, 2019
@eorituz
Copy link
Contributor

eorituz commented Aug 30, 2019

This error code means that there aren't enough tokens minted.
token.min_balance needs to be greater than settings.services.udc.token.balance_required.
So that's related to the scenario player file

@eorituz
Copy link
Contributor

eorituz commented Aug 30, 2019

That is expected, I mentioned it in my review of Jacobs PR

@eorituz eorituz closed this as completed Aug 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants