-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CapTP using RhoTypes.proto under Agoric @endo/marshal #16
Comments
some type-directed prototyping: marshal-rhoproto.js |
ordering?rholang terms are totally ordered; that's too strong for remotables. plus I wonder if the arbitrary things like whether strings or numbers go first are consistent with Here's hoping there are interesting interop targets that don't depend on the orders on both sides being exactly the same. |
ag-solo as outboard IBC implementation for rnodeonce we get rnode and ag-solo talking CapTP, rnode can talk IBC via ag-solo. cosmos-testnet <-IBC-> ag-solo <-CapTP-> rnode see also: |
Rholang terms are normalized with total ordering so that they be hashed, but it's not required on the protocol level. |
progress in office hours today: https://github.com/rchain-community/js2rho/blob/captp/lib/capTPTool.js 331e08d we saw in https://rhobot.net/rnode-log/ :
cc @jimscarver |
@Bill-Kunj I just found a smaller implementation of (some part of) CapTP: https://github.com/Agoric/agoric-sdk/blob/master/packages/solo/src/captp.js https://github.com/Agoric/agoric-sdk/tree/b7c2a9b3205ccf348959cc22fc474f40137e416d |
More progress today, with @David405 @jimscarver
https://discord.com/channels/257555930173014017/687879575451336760/975035826067107900
|
@erights you expressed interest in the details when, after presenting marshal types and such, I said it's remarkable how much it looks like rholang.
Note the correspondence between marshal types and the rholang data structures in RhoTypes.proto (see also: cheat sheet, BNFC grammar):
Par
with no sends, receives, etc.undefined
, add a distinguished UnforgeableName to the RChain registryinsertSigned
so that the representation doesn't depend on the state of the registry.I wonder about a Justin context with
makeCopySet
and such in scope, bound toSet
. It would look even more like rholang.A possible fun project:
cc @Bill-Kunj , @jimscarver , @michaelfig
see also: OCapn
cc @cwebber
The text was updated successfully, but these errors were encountered: