Closed nzpr closed 3 years ago
@dckc yes, looking into it, my current guess that this is caused by changing GPrivate to GUnforgeable in RhoTypes.proto.
@nutzipper you're right that the code builds DeployService two different ways: one at "compile" time and one at "run" time. I have work-in-progress to switch to all compile time (statically generated code)
I tried to carry this PR forward but I'm losing: https://github.com/dckc/RChain-API/tree/v0.9.12-wip 50eeb61
npm run integrationTest
gives:
# smart contract deploy
not ok 5 13 INTERNAL: Received RST_STREAM with error code 2
I just pushed some earlier work: https://github.com/dckc/RChain-API/tree/rnode-0.9 088ac9c Apr 20.
The diagnostic from this version at least makes sense:
# smart contract deploy
not ok 5 12 UNIMPLEMENTED: Method not found: coop.rchain.casper.protocol.DeployService/createBlock
still not winning, but maybe getting closer...
https://github.com/dckc/RChain-API/tree/rnode-0.9 2903258
current symptoms:
# smart contract deploy
...
not ok 5 $root.coop.rchain.casper.protocol.DeployServiceResponse is not a constructor
looks similar to https://github.com/protobufjs/protobuf.js/issues/860 and perhaps https://github.com/protobufjs/protobuf.js/issues/1128
no longer supporting gRPC
Looks pretty good so far. Are you working on the RHOCore unit test failures?