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:
- Storing this config
- Verifying the commitment
- Exposing this config via RPC
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.
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.