You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Although we want people to use V1 contracts for data feeds, the v0 Beacon contracts are not obsolete. Specifically, if the user has only RRP access to an Airnode (and no gateway access) this is the only way of running a data feed (or at least simulate one). I think we should keep this contract, but update the behavior to imitate the v1 contracts. For example
It shouldn't have whitelisting functionality (similar to Api3ServerV1.sol)
It shouldn't do templateId+parameters requests, it should do endpointId+parameters full requests instead (or only templateId requests, that will be cheaper but not as convenient as it will require the template to have been created beforehand)
Beacon ID derivation should use v1 template ID derivation (endpointId+parameters) and not v0 (airnode-endpointId+parameters) so that the Beacon IDs on Api3ServerV1 are identical to Beacon IDs on RrpBeaconServerV0
Maybe a few more minor things...
Alternatively, we can just move RrpBeaconServerV0.sol out of @api3/airnode-protocol and come back to it later.
The text was updated successfully, but these errors were encountered:
@api3/airnode-protocol has old, RRPv0-driven Beacon contracts.
Although we want people to use V1 contracts for data feeds, the v0 Beacon contracts are not obsolete. Specifically, if the user has only RRP access to an Airnode (and no gateway access) this is the only way of running a data feed (or at least simulate one). I think we should keep this contract, but update the behavior to imitate the v1 contracts. For example
templateId
+parameters
requests, it should doendpointId
+parameters
full requests instead (or onlytemplateId
requests, that will be cheaper but not as convenient as it will require the template to have been created beforehand)endpointId
+parameters
) and not v0 (airnode
-endpointId
+parameters
) so that the Beacon IDs on Api3ServerV1 are identical to Beacon IDs on RrpBeaconServerV0Alternatively, we can just move RrpBeaconServerV0.sol out of @api3/airnode-protocol and come back to it later.
The text was updated successfully, but these errors were encountered: