Skip to content
This repository has been archived by the owner on Dec 1, 2021. It is now read-only.

Upgraded ledger transactions to stargate format #544

Draft
wants to merge 24 commits into
base: master
Choose a base branch
from

Conversation

MonikaCat
Copy link
Contributor

@MonikaCat MonikaCat commented Jul 8, 2021

Description

Fixes #529

Checklist

  • Targeted PR against correct branch.
  • Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
  • Run meteor npm run lint
  • Added an entry to the CHANGELOG.md file.
  • Re-reviewed Files changed in the Github PR explorer.

@MonikaCat MonikaCat marked this pull request as ready for review July 8, 2021 10:18
@MonikaCat MonikaCat requested a review from kwunyeung July 12, 2021 04:09
// TODO: discuss TIMEOUT value
const INTERACTION_TIMEOUT = 10000
const REQUIRED_COSMOS_APP_VERSION = Meteor.settings.public.ledger.ledgerAppVersion || "2.16.0";
const DEFAULT_DENOM = Meteor.settings.public.bondDenom || 'uatom';
export const DEFAULT_GAS_PRICE = parseFloat(Meteor.settings.public.ledger.gasPrice) || 0.025;
export const DEFAULT_MEMO = 'Sent via Big Dipper'
const API = Meteor.settings.public.remote.api
const RPC = Meteor.settings.public.remote.rpc
Copy link
Member

Choose a reason for hiding this comment

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

@MonikaCat please add this change to default settings as well. Also should the backend read from the public values instead of the private values in the settings.json?

Copy link
Contributor Author

@MonikaCat MonikaCat Aug 6, 2021

Choose a reason for hiding this comment

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

Ok! I moved remote part under public section and updated the default_settings.json file. Also I have set RPC and API as global constants in main.js

@kwunyeung
Copy link
Member

kwunyeung commented Aug 5, 2021

I got this when I would like to sign a vote transaction.

Screenshot 2021-08-05 at 1 58 08 PM

@kwunyeung
Copy link
Member

Another error on MsgWithdrawRewards.

Screenshot 2021-08-05 at 2 41 57 PM

@MonikaCat MonikaCat marked this pull request as draft August 20, 2021 16:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[stargate] Migrate ledger txs to stargate format
2 participants