snapshot-labs / sx-monorepo

Snapshot X monorepo
https://docs.snapshotx.xyz
MIT License
11 stars 10 forks source link

bug: explore page showing testnet on livenet deployment #392

Open bonustrack opened 1 month ago

bonustrack commented 1 month ago

For some reason from time to time I see testnet spaces on explore page while I'm on the livenet deployment:

image
wa0x6e commented 1 month ago

Which one is the testnet spaces ?

Sekhmet commented 1 month ago

@wa0x6e Looks like all of them (it's top spaces on testnet). https://testnet.snapshot.org/#/

wa0x6e commented 1 month ago

How to reproduce ? Is that on this page https://snapshotx.xyz/#/explore without any filters/search ?

bonustrack commented 1 month ago

I'm not sure, it's inconsistent and it's not happening often but it's happening

Sekhmet commented 3 weeks ago

I took a look at the code and I can't see how this could be possible. Environment variable looks good as well on this deployment. Lack of env variable shouldn't cause it either because s-tn is not in default list so unlikely that is issue with deployment unless we would get sx-testnet served as sx.

Might need to wait for repro 🤔

bonustrack commented 3 weeks ago

I think this happened on PR deployment, which I believe come from sx-devnet. I got it another time last night

wa0x6e commented 3 weeks ago

Isnt' devnet supposed to include both testnet and livenet ?

Sekhmet commented 3 weeks ago

on sx-devnet our env is:

s-tn,sep,sn-sep,s,eth,matic,oeth,arb1,sn

so both s and s-tn are enabled.

bonustrack commented 3 weeks ago

I think we should have a config var to define which env we want for the metadata like follows & profile, we can't have both