With the classic APIs one can invoke gov/kv/endpoints to know the JS app endpoint details and gov/kv/modules to know the JS app modules. In the modern APIs gov/service/javascript-app is mapping to gov/kv/endpoints but there is no gov/kv/modules equivalent.
We need a gov/kv/modules equivalent in the modern API to be able to expose the details of the JS application that is currently deployed on CCF. Scenario is that members that are joining the consortium are expected to review the code behind the constitution and the JS APP that is currently deployed before activating their membership. And after doing that review any set_constitution and set_js_app proposals in the future. Thus we need to expose the same information via the modern APIs as what one would review in a set_constitution and set_js_app proposal.
With the classic APIs one can invoke
gov/kv/endpoints
to know the JS app endpoint details andgov/kv/modules
to know the JS app modules. In the modern APIsgov/service/javascript-app
is mapping togov/kv/endpoints
but there is nogov/kv/modules
equivalent.We need a
gov/kv/modules
equivalent in the modern API to be able to expose the details of the JS application that is currently deployed on CCF. Scenario is that members that are joining the consortium are expected to review the code behind the constitution and the JS APP that is currently deployed before activating their membership. And after doing that review anyset_constitution
andset_js_app
proposals in the future. Thus we need to expose the same information via the modern APIs as what one would review in aset_constitution
andset_js_app
proposal.