Open softsimon opened 4 months ago
Currently, Mainnet has 4000000 BLOCK_WEIGHT_UNITS but Signet has 1000000 which is not configurable as all networks use the same value in production.
BLOCK_WEIGHT_UNITS
We need to somehow be able to set this per network in the frontend build.
I tried sending this value through the websocket from the backend instead, but the delay from the websocket causes race condition rendering issues.
Changing SIGNET: boolean; To something like this might work?
SIGNET: boolean;
SIGNET: { ENABLED: true, BLOCK_WEIGHT_UNITS: 1000000 }
@softsimon After looking into this some more I think we should keep the config flat to avoid extra work to generate-config and the Docker overrides.
generate-config
Currently, Mainnet has 4000000
BLOCK_WEIGHT_UNITS
but Signet has 1000000 which is not configurable as all networks use the same value in production.We need to somehow be able to set this per network in the frontend build.
I tried sending this value through the websocket from the backend instead, but the delay from the websocket causes race condition rendering issues.
Changing
SIGNET: boolean;
To something like this might work?