Skip to content
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

feat: Update and gen proto for regen-ledger v4.0 upgrade #37

Merged
merged 2 commits into from
Jun 27, 2022

Conversation

blushi
Copy link
Member

@blushi blushi commented Jun 21, 2022

Closes: #36

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:

  • from packages/demo-app, use yarn link to use the local version of @regen-network/api instead of 0.2.2
  • In registry-server, you'll need to update LEDGER_TENDERMINT_RPC in server/.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).
  • Then from packages/demapp/src/App.tsx, use http://localhost:5000/ledger to set the default tmUrl.
  • Finally use some query/msg from @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>)

@blushi blushi changed the title Update and gen proto for regen-ledger v4.0 upgrade feat: Update and gen proto for regen-ledger v4.0 upgrade Jun 21, 2022
Copy link
Contributor

@flagrede flagrede left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM !

I managed to get a response from Projects query from local @regen-network/api/lib/generated/regen/ecocredit/v1/query, on your branch, following your instructions.

Projects query

@haveanicedavid
Copy link

tested locally - seems to work 👍

@blushi blushi merged commit 0d0abff into main Jun 27, 2022
@blushi blushi deleted the marie/36-ledger-v4 branch June 27, 2022 09:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Pull and generate protobuf from regen-ledger v4.0
3 participants