-
Notifications
You must be signed in to change notification settings - Fork 287
Closed
Description
Constants are currently quite literally constant, since they are embedded in the code generated from the metadata provided at compile time.
However, I believe it is more useful to read the constants from the metadata fetched at runtime from the node. This is for the case where the constant values differ in the runtime targeted node, which is legitimate when building an app which can target different compatible chains.
I came across this when debugging povstats which reads the maximum block weight, and I was adjusting the block weight on the node side which wasn't being reflected on the client side.
Rel #402
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels