-
Notifications
You must be signed in to change notification settings - Fork 139
Support ProtocolConfig (v0.17) #2546
Copy link
Copy link
Open
Labels
blockedSomething prevents working on thisSomething prevents working on thisrpcRelated to the RPC componentRelated to the RPC componentstoreRelated to the store componentRelated to the store component
Milestone
Description
Activity
Metadata
Metadata
Assignees
Labels
blockedSomething prevents working on thisSomething prevents working on thisrpcRelated to the RPC componentRelated to the RPC componentstoreRelated to the store componentRelated to the store component
Type
Fields
Priority
Medium
Projects
- StatusShow more project fieldsTodo
In v0.17, fee asset ID is factored out into
ProtocolConfig, who's commitment is instead part of the block header.Clients now need a way to get this configuration, at the very least to access the fee asset ID that they could previously get from the header.
Support therefore includes:
We are expecting this config to change very rarely - on the order of months. (1) therefore makes sense to keep this in a separate table which can be looked up via commitment.
For (3) we need a new endpoint. The values can be heavily cached since they change so rarely, and are therefore valid for large block ranges. I imagine query by commitment makes the most sense.