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

🐞 [Bug] rmb: rmb cache doesn't support multiple networks #820

Closed
Eslam-Nawara opened this issue Feb 13, 2024 · 2 comments
Closed

🐞 [Bug] rmb: rmb cache doesn't support multiple networks #820

Eslam-Nawara opened this issue Feb 13, 2024 · 2 comments
Assignees
Labels
rmb-sdk belongs to rmb type_bug Something isn't working
Milestone

Comments

@Eslam-Nawara
Copy link
Contributor

What happened?

Trying to deploy on multiple networks and found out that the cache doesn't differentiate between the different networks

which network/s did you face the problem on?

Main

Twin ID/s

10804

Node ID/s

No response

Farm ID/s

No response

Contract ID/s

No response

Relevant log output

mass-deployer git:(development-add-load-subcommand) ✗ ls  /tmp/rmb-cache
12  14  21  22  3507  4653  4962  5660  5762  5763  5933  6017  6171  6172  6173  6174  6175  6176  6213  6288  6289  6290  6302  6303  6304  6305  6306mass-deployer git:(development-add-load-subcommand) ✗ cat /tmp/rmb-cache/12
{"ID":12,"PublicKey":"e/I6RHcBFkMWBtLv7LiMfKx1OZQvb82rkk37Cl+EIIs=","Relay":"relay.dev.grid.tf","E2EKey":"A8/Si7rMnwkjBSZF/HH2IX8KJT9szx89sJ0sIaHlzPSQ","Timestamp":1707811165}%
@Eslam-Nawara Eslam-Nawara added type_bug Something isn't working rmb-sdk belongs to rmb labels Feb 13, 2024
@Eslam-Nawara Eslam-Nawara changed the title 🐞 [Bug] grid-client: rmb cache doesn't support multiple networks 🐞 [Bug] rmb: rmb cache doesn't support multiple networks Feb 13, 2024
@Eslam-Nawara Eslam-Nawara added this to the 1.0.0 milestone Feb 13, 2024
@xmonader
Copy link
Contributor

i suggest we do the caching as follows

/tmp/rmb-cache/$chainurl

@Eslam-Nawara
Copy link
Contributor Author

Verified:
RMB cache now supports multiple networks with /tmp/rmb-cache/$chainurl for caching

tfrobot git:(development) ✗ ls -al /tmp/rmb-cache
drwxr-xr-x - eslam eslam  3 Mar 13:23 tfchain.dev.grid.tf:443
drwxr-xr-x - eslam eslam  3 Mar 13:22 tfchain.grid.tf
drwxr-xr-x - eslam eslam  3 Mar 13:23 tfchain.grid.tf:443tfrobot git:(development) ✗

@xmonader xmonader closed this as completed Apr 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rmb-sdk belongs to rmb type_bug Something isn't working
Projects
No open projects
Status: Done
Development

No branches or pull requests

3 participants