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 bank and account keepers are added to every scaffolded module #2589

Closed
evan-forbes opened this issue Jun 12, 2022 · 3 comments
Closed

The bank and account keepers are added to every scaffolded module #2589

evan-forbes opened this issue Jun 12, 2022 · 3 comments
Labels

Comments

@evan-forbes
Copy link

Describe the bug
The bank and account keepers are always added to new modules.
can be seen here. probably related to #2205

To reproduce
Steps to reproduce the behavior:

  1. scaffold a module

What version are you using?
v0.22.1

Provide the output of the ignite version command.

Ignite CLI version:	development
Ignite CLI build date:	2022-06-12T12:23:57
Ignite CLI source hash:	c52eae6d81e2a06ce2cd99bdcff2ea464c621280
Your OS:		linux
Your arch:		amd64
Your go version:	go version go1.18.3 linux/amd64
Your uname -a:		Linux coyote 5.13.0-44-generic #49~20.04.1-Ubuntu SMP Wed May 18 18:44:28 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Your cwd:		/home/evan/go/src/github.com/pomifer/generated-volo/volo
Is on Gitpod:		false
@fadeev
Copy link
Contributor

fadeev commented Jun 13, 2022

As far as I remember this was added to enable simulation testing.

https://github.com/ignite-hq/cli/pull/1731/files#diff-b520d76bbf3aad4848b9534ae22d947b85abf527deaaac9b4b405cc4c8e2972e

#1731

@evan-forbes
Copy link
Author

Ahh I see 🙂

Thanks for the info!

@lumtis
Copy link
Contributor

lumtis commented Jun 13, 2022

Yes, the modules are actually not imported in the scaffolded module keeper. For this, you should use --dep bank,...

There are added in the Module Manager to be used for simulation testing. Accessing accounts and balances for simulation tests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants