You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Local-accounts.json file, which holds the accounts used for contract testing is created locally in the directory where one runs blast node start command.
At the same time, Only an instance of a local node can be run at once with the command, I cannot run nodes in different directories simultaneously, but once a node is running it is available globally.
Currently, local-accounts.json file has to be in each contract project otherwise testing with run blast test returns this error: Cannot find module '../ProjectName/local-accounts.json' from 'node_modules/cudos-blast/utilities/account-utils.js’
work around
I copied and pasted the local-accounts.json into the project directory.
Question
Could the local-accounts.json be a global file, instead of local account file for each project, this way a single instance of node can be used for different projects simultaneously.
The text was updated successfully, but these errors were encountered:
Aishat-Akinyemi
changed the title
Local-accounts.json file issue when testing 2 contracts in 2 directories
Local-accounts.json file issue when testing more than one contract in separate directories simultaenously
Oct 21, 2022
Aishat-Akinyemi
changed the title
Local-accounts.json file issue when testing more than one contract in separate directories simultaenously
Local-accounts.json file issue when testing more than one contract in separate directories simultaneously
Oct 21, 2022
The Local-accounts.json file, which holds the accounts used for contract testing is created locally in the directory where one runs
blast node start
command.At the same time, Only an instance of a local node can be run at once with the command, I cannot run nodes in different directories simultaneously, but once a node is running it is available globally.
Currently, local-accounts.json file has to be in each contract project otherwise testing with
run blast test
returns this error:Cannot find module '../ProjectName/local-accounts.json' from 'node_modules/cudos-blast/utilities/account-utils.js’
work around
I copied and pasted the local-accounts.json into the project directory.
Question
Could the local-accounts.json be a global file, instead of local account file for each project, this way a single instance of node can be used for different projects simultaneously.
The text was updated successfully, but these errors were encountered: