Commit 997046d
committed
shim/rollkit: go-da via gRPC
This changeset migrates the rollkit demo to go-da, the more modern version
of the DA interface for Rollkit.
One of the most important changes is that rollkit doesn't embed the adapters anymore.
Instead, it communicates with the adapter through gRPC protocol. Instead of yet another
adapter, this implements gRPC dock directly, which kind of challenges the current
architecture.
Notable changes:
1. demo/rollkit was regenerated from the tutorial once again. That turned out to be
easier than manually porting changes. I ported init-local.sh though.
2. removed adapter/sugondat since it is not longer needed
3. since it looks like we are going away from the docker workflow, I did not port
the Dockerfile to the new code. I left the docker-compose.yml though, just removed
the gm service.
4. the JSON-RPC was pushed to the sovereign dock. Now `serve` subcommand will launch
only the specified dock instead of all of them. Each dock has its own subcommand.
`ikura-shim serve rollkit` is now used for running rollkit.
5. now dock subcommands get their own options. E.g. rollkit doc now can accept the default
namespace in case requests from rollkit without namespace (they do atm).
There are some things that were left for follow ups:
1. #258
1. #2591 parent 24dc041 commit 997046d
File tree
97 files changed
+22686
-64974
lines changed- adapters/rollkit
- demo/rollkit
- api/gm/gm
- module
- app
- params
- cmd/gmd
- cmd
- docker
- docs/static
- proto
- gm/gm
- module
- testutil
- keeper
- network
- tools
- x/gm
- client/cli
- keeper
- module
- types
- docker
- ikura/shim
- common/rollkit
- src
- proto
- src
- cmd
- query
- dock
- ikura_rpc
- xtask/src
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
97 files changed
+22686
-64974
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | 22 | | |
24 | 23 | | |
25 | 24 | | |
| |||
167 | 166 | | |
168 | 167 | | |
169 | 168 | | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
170 | 174 | | |
171 | 175 | | |
172 | 176 | | |
173 | 177 | | |
174 | 178 | | |
175 | 179 | | |
176 | 180 | | |
177 | | - | |
178 | 181 | | |
179 | 182 | | |
180 | 183 | | |
| |||
This file was deleted.
0 commit comments