-
Notifications
You must be signed in to change notification settings - Fork 1
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
Move relayer inventory config to external json file #45
Move relayer inventory config to external json file #45
Conversation
Where would we like to store json file for relayer inventory config? |
Maybe, let's add it to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works as expected 👍
Ran yarn relay --wallet void --address <ADDRESS>
with SEND_RELAYS=false
in .env file.
To get it running on Lisk Sepolia, I'd to use the contract addresses instead of the token symbols under tokenConfig
in the relayer inventory config.
### What was the problem? This PR resolves LISK-885. ### How was it solved? - [x] Instead of using `RELAYER_INVENTORY_CONFIG` variable which has `json` string, `RELAYER_EXTERNAL_INVENTORY_CONFIG` is used containing file path to `json` file with a relayer inventory config. ### How was it tested? Run `yarn relay --wallet void --address <ADDRESS>`, after setting `RELAYER_EXTERNAL_INVENTORY_CONFIG` variable in `.env` file.
### What was the problem? This PR resolves LISK-885. ### How was it solved? - [x] Instead of using `RELAYER_INVENTORY_CONFIG` variable which has `json` string, `RELAYER_EXTERNAL_INVENTORY_CONFIG` is used containing file path to `json` file with a relayer inventory config. ### How was it tested? Run `yarn relay --wallet void --address <ADDRESS>`, after setting `RELAYER_EXTERNAL_INVENTORY_CONFIG` variable in `.env` file.
### What was the problem? This PR resolves LISK-885. ### How was it solved? - [x] Instead of using `RELAYER_INVENTORY_CONFIG` variable which has `json` string, `RELAYER_EXTERNAL_INVENTORY_CONFIG` is used containing file path to `json` file with a relayer inventory config. ### How was it tested? Run `yarn relay --wallet void --address <ADDRESS>`, after setting `RELAYER_EXTERNAL_INVENTORY_CONFIG` variable in `.env` file.
### What was the problem? This PR resolves LISK-885. ### How was it solved? - [x] Instead of using `RELAYER_INVENTORY_CONFIG` variable which has `json` string, `RELAYER_EXTERNAL_INVENTORY_CONFIG` is used containing file path to `json` file with a relayer inventory config. ### How was it tested? Run `yarn relay --wallet void --address <ADDRESS>`, after setting `RELAYER_EXTERNAL_INVENTORY_CONFIG` variable in `.env` file.
What was the problem?
This PR resolves LISK-885.
How was it solved?
RELAYER_INVENTORY_CONFIG
variable which hasjson
string,RELAYER_EXTERNAL_INVENTORY_CONFIG
is used containing file path tojson
file with a relayer inventory config.How was it tested?
Run
yarn relay --wallet void --address <ADDRESS>
, after settingRELAYER_EXTERNAL_INVENTORY_CONFIG
variable in.env
file.