feat: Update and gen proto for regen-ledger v4.0 upgrade #37
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes: #36
regen
proto files from regen-ledger master (regen-network/regen-ledger@cb4993b).cosmos/app
andcosmos/orm
proto files using https://github.com/cosmos/cosmos-sdk/releases/tag/api%2Fv0.1.0-alpha5 since it's the dependency that is being used in regen-ledger:https://github.com/regen-network/regen-ledger/blob/cb4993b31ec0da80b9f4142162f5197d193b803f/x/data/go.mod#L8
https://github.com/regen-network/regen-ledger/blob/cb4993b31ec0da80b9f4142162f5197d193b803f/x/ecocredit/go.mod#L7
https://github.com/regen-network/regen-ledger/blob/cb4993b31ec0da80b9f4142162f5197d193b803f/proto/buf.gen.gogo.yaml#L5
Will tag v0.2.3 once that's merged and publish it to npm.
Note for reviewers:
No need to review the full files diff but you can test this from the demo app in this repo:
packages/demo-app
, useyarn link
to use the local version of @regen-network/api instead of 0.2.2LEDGER_TENDERMINT_RPC
inserver/.env
to use http://194.37.81.19:26657/ instead (RPC endpoint for a temporary testnet with regen-ledger v4) and restart the server (CORS blocks the use of this endpoint directly without going through a proxy).packages/demapp/src/App.tsx
, usehttp://localhost:5000/ledger
to set the defaulttmUrl
.@regen-network/api/lib/generated/regen/ecocredit/v1
for instance within the demo app (Faucet on this testnet:curl http://185.227.109.187:8000/faucet/<addr>
)