-
Notifications
You must be signed in to change notification settings - Fork 98
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
Fix bonding/unbonding ui #218
Conversation
todo: @mappum
We already have it one step better, the real rest API is in gaia :) |
@@ -8,7 +8,7 @@ menu.app-menu | |||
part(title='Governance' v-if="config.devMode") | |||
list-item(to="/proposals" exact @click.native="close" title="Proposals") | |||
part(title='Stake' v-if="config.devMode") | |||
list-item(to="/staking" exact @click.native="close" title="Delegates") | |||
list-item(to="/staking" exact @click.native="close" title="Delegate") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hahaha. we keep switching this back and forth. the reason i changed it to Delegates
with an 's' is for a couple reasons.
-
Transactions, Proposals, Validators,
Delegates
(nouns) ... but i guess i see howDelegate
fits with send (verbs) -
when you click the link
Delegates
what you see is a list of delegates (noun), not a screen for delegating (verb).
this highlights a bigger issue that you brought up in #128 and that i've been thinking about — ideally, our sidebar would use consistent language. actions (verbs) should take place within the context of important nouns (Balances, Transactions, Proposals, Delegates, Validators). your idea to include send as a modal on balances makes a ton of sense to me for this reason. also, why Delegate
, the action, makes sense as a feature modal of the Delegates
page. bonding ATOMs is a type of transaction and should have a similar UX to sending.
see also #223
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Read your reasoning -- let's change it to Delegates.
@@ -44,7 +44,7 @@ export default { | |||
computed: { | |||
...mapGetters(['candidates', 'filters', 'shoppingCart']), | |||
pageTitle () { | |||
return `Delegates (${this.candidatesNum} Candidates Selected)` | |||
return `Delegate (${this.candidatesNum} Candidates Selected)` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think "Candidates Selected" belongs in the page title.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's put it in the label for the Bond button instead.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, let's keep this here until we design a new component to put this in.
@@ -91,15 +91,15 @@ export default { | |||
this.sending = false | |||
this.$v.$reset() | |||
}, | |||
onSubmit () { | |||
async onSubmit () { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what does this have to do with bonding/unbonding?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was me improving some tests while fixing the tests. Should have maybe gone into another PR.
@@ -13,7 +13,7 @@ export default ({ commit, node }) => { | |||
} | |||
|
|||
const emptyUser = { | |||
atoms: 0, | |||
atoms: 2097152, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can't we use real data here yet?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not yet. We can put it in mockServer.js though, @mappum ?
@@ -1,37 +1,33 @@ | |||
<template lang="pug"> | |||
page(:title="pageTitle") | |||
page.page-delegate(title="Delegate Atoms") | |||
div(slot="menu"): tool-bar | |||
router-link(to='/staking') | |||
i.material-icons arrow_back | |||
.label Change Candidates |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i think back arrows should always say "back"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed.
…m/cosmos/cosmos-ui into peng/133-fix-bonding-unbonding-ui
…ng -> Bonding (closes #223)
I did some renaming as suggested on #223 for improved UX & clarity. There are improvements that can be made. Primarily with real atoms. But PR is ready to be merged.
|
@jolesbi does this PR still need changes? |
* fixed a bug where a single proposal would not load (#125) * trigger ci * fixed missing terra data source (#128) * Fabo/fix missing terra db query (#130) * fixed missing terra data source * fixed missing query * Fabo/fix failing staking query for terra (#132) * fixed missing terra data source * fixed missing query * fix bech32 prefix in selfStake resolver * linted * Fabo/hide proposals on terra (#134) * fixed missing terra data source * fixed missing query * fix bech32 prefix in selfStake resolver * linted * don't show proposals on terra * Fabo/switch to yarn (#122) * switch to yarn * Update Readme * Ana/111 regen testnet production (#118) * regen is home * fix websocket link * eslint fix * delete console logs * fixed regen source (using cosmosV0) * add feature flags for regen * fix txs in regen * fix transactions per address * fix eslint errors * disable sign in * colw/Transaction Service (#120) * Obtain transaction payload, mirror back to client * Respond with request, or error if none present * Load node friendly versions of cosmos-api for dev * Send response as JSON * Successfully retrieve a gas estimate - Use node-fetch for cosmosAPIs - * Add two sub routes: /estimate and /broadcast * Add account number and sequence to overview query * Disable cors options * Add support to broadcast messages * Ignore fetch undefined * Delete package-lock.json * Fabo/simplify queries (#108) * simplified db queries Conflicts: lib/luniedb-source.js lib/queries.js * switched to yarn * clean up * clean up * Copy cosmos libraries into container (#143) * Aleksei/terra url change (#144) * terra url changed * change soju-0010 to soju-0012 * fixed db queries (#147) * Update networks.json (#149) * Fabo/events (#123) * first steps * working notification endpoint * remove push mentions * linted * fixes * updated schema * use enum for eventtype * working subscription * linted * added push to express routes * remove newer code * linted * Update lib/routes/push.js Co-Authored-By: Col <[email protected]> * disable session for regen (#155) * Aleksei/terra url change (#146) * terra url changed * change soju-0010 to soju-0012 * cors added to caddyfiles * cors added to caddyfiles * fix missing path * Fabo/fix vote count (#157) * fixed vote count calculation * linted * Ana/handle with message proposal id error (#159) * handle undefined proposal error * fix lint errors * Ana/add endtime to undelegation tx (#150) * add liquiddate as field for tx * fix eslint errors * change name liquidDate to undelegationEndTime * fix enddelegationtime for gaia * improve reducer my way * fix lint error * move undelegationendtime to reducer * fix lint errors * no abbreviations * implement undelegation endtime reducer in both * reenable session for gaia 13006 (#165) * Ana/fix terra undelegationendtime reducer (#162) * change reducers to cosmosV2 * prevent result undefined error * add own gettransaction and txreducer for terra * fix terra undelegationendtime reducer * fix lint errors * avoid hardcoded indexes * small fix to prevent total server error * no redundancy: add reducers to transactionreducer * fix lint * trigger CI * Don't return delegations with dust amounts (#171) * Add filter to delegations * Fix filter * Simplify * add undelegations to total stake (#174) * Terra chain_id switched to soju-0013 (#176) * terra chaind_id switched to soju-0013 * changed terra node * fix issues with undelegatio end time (#175) * Fabo/fix undelegationendtime (#177) * fix issues with undelegatio end time * catch undelegation attribute not found * Fabo/fix undelegationendtime for regen (#178) * fix issues with undelegatio end time * catch undelegation attribute not found * fix regen transaction reducers * Display Deposit Period End Date correctly for proposals in deposit period (#181) * Return proposal.voting_end_time in deposit period * Return deposit_end_time instead * update to new reducers and chain-id (#182) * merge back (#186) * release (#179) * fixed a bug where a single proposal would not load (#125) * trigger ci * fixed missing terra data source (#128) * Fabo/fix missing terra db query (#130) * fixed missing terra data source * fixed missing query * Fabo/fix failing staking query for terra (#132) * fixed missing terra data source * fixed missing query * fix bech32 prefix in selfStake resolver * linted * Fabo/hide proposals on terra (#134) * fixed missing terra data source * fixed missing query * fix bech32 prefix in selfStake resolver * linted * don't show proposals on terra * Fabo/switch to yarn (#122) * switch to yarn * Update Readme * Ana/111 regen testnet production (#118) * regen is home * fix websocket link * eslint fix * delete console logs * fixed regen source (using cosmosV0) * add feature flags for regen * fix txs in regen * fix transactions per address * fix eslint errors * disable sign in * colw/Transaction Service (#120) * Obtain transaction payload, mirror back to client * Respond with request, or error if none present * Load node friendly versions of cosmos-api for dev * Send response as JSON * Successfully retrieve a gas estimate - Use node-fetch for cosmosAPIs - * Add two sub routes: /estimate and /broadcast * Add account number and sequence to overview query * Disable cors options * Add support to broadcast messages * Ignore fetch undefined * Delete package-lock.json * Fabo/simplify queries (#108) * simplified db queries Conflicts: lib/luniedb-source.js lib/queries.js * switched to yarn * clean up * clean up * Copy cosmos libraries into container (#143) * Aleksei/terra url change (#144) * terra url changed * change soju-0010 to soju-0012 * fixed db queries (#147) * Update networks.json (#149) * Fabo/events (#123) * first steps * working notification endpoint * remove push mentions * linted * fixes * updated schema * use enum for eventtype * working subscription * linted * added push to express routes * remove newer code * linted * Update lib/routes/push.js Co-Authored-By: Col <[email protected]> * disable session for regen (#155) * Aleksei/terra url change (#146) * terra url changed * change soju-0010 to soju-0012 * cors added to caddyfiles * cors added to caddyfiles * fix missing path * Fabo/fix vote count (#157) * fixed vote count calculation * linted * Ana/handle with message proposal id error (#159) * handle undefined proposal error * fix lint errors * Ana/add endtime to undelegation tx (#150) * add liquiddate as field for tx * fix eslint errors * change name liquidDate to undelegationEndTime * fix enddelegationtime for gaia * improve reducer my way * fix lint error * move undelegationendtime to reducer * fix lint errors * no abbreviations * implement undelegation endtime reducer in both * reenable session for gaia 13006 (#165) * Ana/fix terra undelegationendtime reducer (#162) * change reducers to cosmosV2 * prevent result undefined error * add own gettransaction and txreducer for terra * fix terra undelegationendtime reducer * fix lint errors * avoid hardcoded indexes * small fix to prevent total server error * no redundancy: add reducers to transactionreducer * fix lint * trigger CI * Don't return delegations with dust amounts (#171) * Add filter to delegations * Fix filter * Simplify * add undelegations to total stake (#174) * Terra chain_id switched to soju-0013 (#176) * terra chaind_id switched to soju-0013 * changed terra node * fix issues with undelegatio end time (#175) * Fabo/fix undelegationendtime (#177) * fix issues with undelegatio end time * catch undelegation attribute not found * Fabo/fix undelegationendtime for regen (#178) * fix issues with undelegatio end time * catch undelegation attribute not found * fix regen transaction reducers * Display Deposit Period End Date correctly for proposals in deposit period (#181) * Return proposal.voting_end_time in deposit period * Return deposit_end_time instead * release (#183) * fixed a bug where a single proposal would not load (#125) * trigger ci * fixed missing terra data source (#128) * Fabo/fix missing terra db query (#130) * fixed missing terra data source * fixed missing query * Fabo/fix failing staking query for terra (#132) * fixed missing terra data source * fixed missing query * fix bech32 prefix in selfStake resolver * linted * Fabo/hide proposals on terra (#134) * fixed missing terra data source * fixed missing query * fix bech32 prefix in selfStake resolver * linted * don't show proposals on terra * Fabo/switch to yarn (#122) * switch to yarn * Update Readme * Ana/111 regen testnet production (#118) * regen is home * fix websocket link * eslint fix * delete console logs * fixed regen source (using cosmosV0) * add feature flags for regen * fix txs in regen * fix transactions per address * fix eslint errors * disable sign in * colw/Transaction Service (#120) * Obtain transaction payload, mirror back to client * Respond with request, or error if none present * Load node friendly versions of cosmos-api for dev * Send response as JSON * Successfully retrieve a gas estimate - Use node-fetch for cosmosAPIs - * Add two sub routes: /estimate and /broadcast * Add account number and sequence to overview query * Disable cors options * Add support to broadcast messages * Ignore fetch undefined * Delete package-lock.json * Fabo/simplify queries (#108) * simplified db queries Conflicts: lib/luniedb-source.js lib/queries.js * switched to yarn * clean up * clean up * Copy cosmos libraries into container (#143) * Aleksei/terra url change (#144) * terra url changed * change soju-0010 to soju-0012 * fixed db queries (#147) * Update networks.json (#149) * Fabo/events (#123) * first steps * working notification endpoint * remove push mentions * linted * fixes * updated schema * use enum for eventtype * working subscription * linted * added push to express routes * remove newer code * linted * Update lib/routes/push.js Co-Authored-By: Col <[email protected]> * disable session for regen (#155) * Aleksei/terra url change (#146) * terra url changed * change soju-0010 to soju-0012 * cors added to caddyfiles * cors added to caddyfiles * fix missing path * Fabo/fix vote count (#157) * fixed vote count calculation * linted * Ana/handle with message proposal id error (#159) * handle undefined proposal error * fix lint errors * Ana/add endtime to undelegation tx (#150) * add liquiddate as field for tx * fix eslint errors * change name liquidDate to undelegationEndTime * fix enddelegationtime for gaia * improve reducer my way * fix lint error * move undelegationendtime to reducer * fix lint errors * no abbreviations * implement undelegation endtime reducer in both * reenable session for gaia 13006 (#165) * Ana/fix terra undelegationendtime reducer (#162) * change reducers to cosmosV2 * prevent result undefined error * add own gettransaction and txreducer for terra * fix terra undelegationendtime reducer * fix lint errors * avoid hardcoded indexes * small fix to prevent total server error * no redundancy: add reducers to transactionreducer * fix lint * trigger CI * Don't return delegations with dust amounts (#171) * Add filter to delegations * Fix filter * Simplify * add undelegations to total stake (#174) * Terra chain_id switched to soju-0013 (#176) * terra chaind_id switched to soju-0013 * changed terra node * fix issues with undelegatio end time (#175) * Fabo/fix undelegationendtime (#177) * fix issues with undelegatio end time * catch undelegation attribute not found * Fabo/fix undelegationendtime for regen (#178) * fix issues with undelegatio end time * catch undelegation attribute not found * fix regen transaction reducers * Display Deposit Period End Date correctly for proposals in deposit period (#181) * Return proposal.voting_end_time in deposit period * Return deposit_end_time instead * update to new reducers and chain-id (#182) * Fabo/fix rewards (#185) * fixed a bug where a single proposal would not load (#125) * trigger ci * fixed missing terra data source (#128) * Fabo/fix missing terra db query (#130) * fixed missing terra data source * fixed missing query * Fabo/fix failing staking query for terra (#132) * fixed missing terra data source * fixed missing query * fix bech32 prefix in selfStake resolver * linted * Fabo/hide proposals on terra (#134) * fixed missing terra data source * fixed missing query * fix bech32 prefix in selfStake resolver * linted * don't show proposals on terra * Fabo/switch to yarn (#122) * switch to yarn * Update Readme * Ana/111 regen testnet production (#118) * regen is home * fix websocket link * eslint fix * delete console logs * fixed regen source (using cosmosV0) * add feature flags for regen * fix txs in regen * fix transactions per address * fix eslint errors * disable sign in * colw/Transaction Service (#120) * Obtain transaction payload, mirror back to client * Respond with request, or error if none present * Load node friendly versions of cosmos-api for dev * Send response as JSON * Successfully retrieve a gas estimate - Use node-fetch for cosmosAPIs - * Add two sub routes: /estimate and /broadcast * Add account number and sequence to overview query * Disable cors options * Add support to broadcast messages * Ignore fetch undefined * Delete package-lock.json * Fabo/simplify queries (#108) * simplified db queries Conflicts: lib/luniedb-source.js lib/queries.js * switched to yarn * clean up * clean up * Copy cosmos libraries into container (#143) * Aleksei/terra url change (#144) * terra url changed * change soju-0010 to soju-0012 * fixed db queries (#147) * Update networks.json (#149) * Fabo/events (#123) * first steps * working notification endpoint * remove push mentions * linted * fixes * updated schema * use enum for eventtype * working subscription * linted * added push to express routes * remove newer code * linted * Update lib/routes/push.js Co-Authored-By: Col <[email protected]> * disable session for regen (#155) * Aleksei/terra url change (#146) * terra url changed * change soju-0010 to soju-0012 * cors added to caddyfiles * cors added to caddyfiles * fix missing path * Fabo/fix vote count (#157) * fixed vote count calculation * linted * Ana/handle with message proposal id error (#159) * handle undefined proposal error * fix lint errors * Ana/add endtime to undelegation tx (#150) * add liquiddate as field for tx * fix eslint errors * change name liquidDate to undelegationEndTime * fix enddelegationtime for gaia * improve reducer my way * fix lint error * move undelegationendtime to reducer * fix lint errors * no abbreviations * implement undelegation endtime reducer in both * reenable session for gaia 13006 (#165) * Ana/fix terra undelegationendtime reducer (#162) * change reducers to cosmosV2 * prevent result undefined error * add own gettransaction and txreducer for terra * fix terra undelegationendtime reducer * fix lint errors * avoid hardcoded indexes * small fix to prevent total server error * no redundancy: add reducers to transactionreducer * fix lint * trigger CI * Don't return delegations with dust amounts (#171) * Add filter to delegations * Fix filter * Simplify * add undelegations to total stake (#174) * Terra chain_id switched to soju-0013 (#176) * terra chaind_id switched to soju-0013 * changed terra node * fix issues with undelegatio end time (#175) * Fabo/fix undelegationendtime (#177) * fix issues with undelegatio end time * catch undelegation attribute not found * Fabo/fix undelegationendtime for regen (#178) * fix issues with undelegatio end time * catch undelegation attribute not found * fix regen transaction reducers * Display Deposit Period End Date correctly for proposals in deposit period (#181) * Return proposal.voting_end_time in deposit period * Return deposit_end_time instead * update to new reducers and chain-id (#182) * fix rewards not being extracted correctly * linted * trigger deploy * Ana/105 livepeer into production (#114) * add livepeer first files * first tentative. add transcoder type and queries * progress * progress + trying * eslint fix * working * recover missing config enabletestnet * delete livepeer from resolver and schema * try getallvalidators in livepeerv0-source * todos: own subscription and own reducers * eslint fix * refactored into graphql data source * add livepeer to networks json * little hack (temporary) * fix silly eslint error * start playing * fetch works. add to apollo * fix lint * get last round id/height * fix lint * set all feature flags to false * forward. add livepeer reducer. 400 bad request * fix lint * kind of working * fix networkId * colin/ make node subscription great * use transcoders no orchestrators. getValidator * connecting to block height and validators display * minor lint * add validator name * provisory getselfstake * improve validator reducer * use bignumber lib. add getdelegatorsstake * fix lint * fix gettotal stake delegators * fix lint * clean up * get self stake * delete livepeer-queries * handle url with node url class * delete extra back ticks * invisible lint fix * better prevent than regret * delete getlastrounid function * fix total stake and self stake * remove console log * use getblockheight to find last block * get validators from db * get more names * get ALL validators * use validator query string * use bignumber instead of parseint * minor lint * fix validators names * improve condition * get all validators for real * fix search filter for operator address * fix search filter * finishing fixes (formatbech32 and bignumber) * try implementing votingpower. no api support * refactoring and renaming * enable votingpower * livepeer is mainnet * fix voting power filter (#188) * disable livepeer for now (#191) * double the gas estimate for txs (#193) * wait for txs to be included in a block (#194) * Move expected returns to separate resolver (#172) * Move expected returns to separate resolver * Scale result by 1/1000000 * increase gas again (#200) * Fabo/track failing txs (#201) * track failing txs * remove dead code * linted * trigger CI * Fabo/track failing txs (#202) * track failing txs * remove dead code * linted * track failures in broadcasting * better error * Fabo/sync again (#204) * switch back to sync mode * use transactions in block for events * linted * switch to own node (#205) * fix getexpected returns for terra (#208) * Aleksei/redis added (#214) * redis added * redis added * WIP: Fabo/use redis pubsub (#209) * use redis pubsub * refactor * Fix redis import * validator picture fixed (#217) * Revert "validator picture fixed (#217)" (#218) This reverts commit f9250db. * Revert "Revert "validator picture fixed (#217)" (#218)" (#219) This reverts commit c785b0f. * Fabo/refactor enrich validator (#220) * refactor enriche validator * use validator info for name * Fabo+Jordan/livepeer improvements (#210) * add livepeer first files * first tentative. add transcoder type and queries * progress * progress + trying * eslint fix * working * recover missing config enabletestnet * delete livepeer from resolver and schema * try getallvalidators in livepeerv0-source * todos: own subscription and own reducers * eslint fix * refactored into graphql data source * add livepeer to networks json * little hack (temporary) * fix silly eslint error * start playing * fetch works. add to apollo * fix lint * get last round id/height * fix lint * set all feature flags to false * forward. add livepeer reducer. 400 bad request * fix lint * kind of working * fix networkId * colin/ make node subscription great * use transcoders no orchestrators. getValidator * connecting to block height and validators display * minor lint * add validator name * provisory getselfstake * improve validator reducer * use bignumber lib. add getdelegatorsstake * fix lint * fix gettotal stake delegators * fix lint * clean up * get self stake * delete livepeer-queries * handle url with node url class * delete extra back ticks * invisible lint fix * better prevent than regret * delete getlastrounid function * fix total stake and self stake * remove console log * use getblockheight to find last block * get validators from db * get more names * get ALL validators * use validator query string * use bignumber instead of parseint * minor lint * fix validators names * improve condition * get all validators for real * fix search filter for operator address * fix search filter * finishing fixes (formatbech32 and bignumber) * try implementing votingpower. no api support * refactoring and renaming * enable votingpower * livepeer is mainnet * fixed values to be correct * comments * cleanup * refactored * removed file * fix getexpectedreturns * fix validator name logic * add todos * lint * Fabo/refactor enrich validator (#222) * refactor enriche validator * use validator info for name * use same logic for single and multiple validator queries * filter improper picutre values * return picture from db * fix asynchrony for enrichvalidator * Fabo/async check for tx failure (#221) * refactor * Update lib/controller/transaction/index.js Co-Authored-By: Jordan Bibla <[email protected]> * fix subscription for failing txs * fix polling * bunch of fixes * comments * linted * avoid double body read error * linted
* release (#223) * fixed a bug where a single proposal would not load (#125) * trigger ci * fixed missing terra data source (#128) * Fabo/fix missing terra db query (#130) * fixed missing terra data source * fixed missing query * Fabo/fix failing staking query for terra (#132) * fixed missing terra data source * fixed missing query * fix bech32 prefix in selfStake resolver * linted * Fabo/hide proposals on terra (#134) * fixed missing terra data source * fixed missing query * fix bech32 prefix in selfStake resolver * linted * don't show proposals on terra * Fabo/switch to yarn (#122) * switch to yarn * Update Readme * Ana/111 regen testnet production (#118) * regen is home * fix websocket link * eslint fix * delete console logs * fixed regen source (using cosmosV0) * add feature flags for regen * fix txs in regen * fix transactions per address * fix eslint errors * disable sign in * colw/Transaction Service (#120) * Obtain transaction payload, mirror back to client * Respond with request, or error if none present * Load node friendly versions of cosmos-api for dev * Send response as JSON * Successfully retrieve a gas estimate - Use node-fetch for cosmosAPIs - * Add two sub routes: /estimate and /broadcast * Add account number and sequence to overview query * Disable cors options * Add support to broadcast messages * Ignore fetch undefined * Delete package-lock.json * Fabo/simplify queries (#108) * simplified db queries Conflicts: lib/luniedb-source.js lib/queries.js * switched to yarn * clean up * clean up * Copy cosmos libraries into container (#143) * Aleksei/terra url change (#144) * terra url changed * change soju-0010 to soju-0012 * fixed db queries (#147) * Update networks.json (#149) * Fabo/events (#123) * first steps * working notification endpoint * remove push mentions * linted * fixes * updated schema * use enum for eventtype * working subscription * linted * added push to express routes * remove newer code * linted * Update lib/routes/push.js Co-Authored-By: Col <[email protected]> * disable session for regen (#155) * Aleksei/terra url change (#146) * terra url changed * change soju-0010 to soju-0012 * cors added to caddyfiles * cors added to caddyfiles * fix missing path * Fabo/fix vote count (#157) * fixed vote count calculation * linted * Ana/handle with message proposal id error (#159) * handle undefined proposal error * fix lint errors * Ana/add endtime to undelegation tx (#150) * add liquiddate as field for tx * fix eslint errors * change name liquidDate to undelegationEndTime * fix enddelegationtime for gaia * improve reducer my way * fix lint error * move undelegationendtime to reducer * fix lint errors * no abbreviations * implement undelegation endtime reducer in both * reenable session for gaia 13006 (#165) * Ana/fix terra undelegationendtime reducer (#162) * change reducers to cosmosV2 * prevent result undefined error * add own gettransaction and txreducer for terra * fix terra undelegationendtime reducer * fix lint errors * avoid hardcoded indexes * small fix to prevent total server error * no redundancy: add reducers to transactionreducer * fix lint * trigger CI * Don't return delegations with dust amounts (#171) * Add filter to delegations * Fix filter * Simplify * add undelegations to total stake (#174) * Terra chain_id switched to soju-0013 (#176) * terra chaind_id switched to soju-0013 * changed terra node * fix issues with undelegatio end time (#175) * Fabo/fix undelegationendtime (#177) * fix issues with undelegatio end time * catch undelegation attribute not found * Fabo/fix undelegationendtime for regen (#178) * fix issues with undelegatio end time * catch undelegation attribute not found * fix regen transaction reducers * Display Deposit Period End Date correctly for proposals in deposit period (#181) * Return proposal.voting_end_time in deposit period * Return deposit_end_time instead * update to new reducers and chain-id (#182) * merge back (#186) * release (#179) * fixed a bug where a single proposal would not load (#125) * trigger ci * fixed missing terra data source (#128) * Fabo/fix missing terra db query (#130) * fixed missing terra data source * fixed missing query * Fabo/fix failing staking query for terra (#132) * fixed missing terra data source * fixed missing query * fix bech32 prefix in selfStake resolver * linted * Fabo/hide proposals on terra (#134) * fixed missing terra data source * fixed missing query * fix bech32 prefix in selfStake resolver * linted * don't show proposals on terra * Fabo/switch to yarn (#122) * switch to yarn * Update Readme * Ana/111 regen testnet production (#118) * regen is home * fix websocket link * eslint fix * delete console logs * fixed regen source (using cosmosV0) * add feature flags for regen * fix txs in regen * fix transactions per address * fix eslint errors * disable sign in * colw/Transaction Service (#120) * Obtain transaction payload, mirror back to client * Respond with request, or error if none present * Load node friendly versions of cosmos-api for dev * Send response as JSON * Successfully retrieve a gas estimate - Use node-fetch for cosmosAPIs - * Add two sub routes: /estimate and /broadcast * Add account number and sequence to overview query * Disable cors options * Add support to broadcast messages * Ignore fetch undefined * Delete package-lock.json * Fabo/simplify queries (#108) * simplified db queries Conflicts: lib/luniedb-source.js lib/queries.js * switched to yarn * clean up * clean up * Copy cosmos libraries into container (#143) * Aleksei/terra url change (#144) * terra url changed * change soju-0010 to soju-0012 * fixed db queries (#147) * Update networks.json (#149) * Fabo/events (#123) * first steps * working notification endpoint * remove push mentions * linted * fixes * updated schema * use enum for eventtype * working subscription * linted * added push to express routes * remove newer code * linted * Update lib/routes/push.js Co-Authored-By: Col <[email protected]> * disable session for regen (#155) * Aleksei/terra url change (#146) * terra url changed * change soju-0010 to soju-0012 * cors added to caddyfiles * cors added to caddyfiles * fix missing path * Fabo/fix vote count (#157) * fixed vote count calculation * linted * Ana/handle with message proposal id error (#159) * handle undefined proposal error * fix lint errors * Ana/add endtime to undelegation tx (#150) * add liquiddate as field for tx * fix eslint errors * change name liquidDate to undelegationEndTime * fix enddelegationtime for gaia * improve reducer my way * fix lint error * move undelegationendtime to reducer * fix lint errors * no abbreviations * implement undelegation endtime reducer in both * reenable session for gaia 13006 (#165) * Ana/fix terra undelegationendtime reducer (#162) * change reducers to cosmosV2 * prevent result undefined error * add own gettransaction and txreducer for terra * fix terra undelegationendtime reducer * fix lint errors * avoid hardcoded indexes * small fix to prevent total server error * no redundancy: add reducers to transactionreducer * fix lint * trigger CI * Don't return delegations with dust amounts (#171) * Add filter to delegations * Fix filter * Simplify * add undelegations to total stake (#174) * Terra chain_id switched to soju-0013 (#176) * terra chaind_id switched to soju-0013 * changed terra node * fix issues with undelegatio end time (#175) * Fabo/fix undelegationendtime (#177) * fix issues with undelegatio end time * catch undelegation attribute not found * Fabo/fix undelegationendtime for regen (#178) * fix issues with undelegatio end time * catch undelegation attribute not found * fix regen transaction reducers * Display Deposit Period End Date correctly for proposals in deposit period (#181) * Return proposal.voting_end_time in deposit period * Return deposit_end_time instead * release (#183) * fixed a bug where a single proposal would not load (#125) * trigger ci * fixed missing terra data source (#128) * Fabo/fix missing terra db query (#130) * fixed missing terra data source * fixed missing query * Fabo/fix failing staking query for terra (#132) * fixed missing terra data source * fixed missing query * fix bech32 prefix in selfStake resolver * linted * Fabo/hide proposals on terra (#134) * fixed missing terra data source * fixed missing query * fix bech32 prefix in selfStake resolver * linted * don't show proposals on terra * Fabo/switch to yarn (#122) * switch to yarn * Update Readme * Ana/111 regen testnet production (#118) * regen is home * fix websocket link * eslint fix * delete console logs * fixed regen source (using cosmosV0) * add feature flags for regen * fix txs in regen * fix transactions per address * fix eslint errors * disable sign in * colw/Transaction Service (#120) * Obtain transaction payload, mirror back to client * Respond with request, or error if none present * Load node friendly versions of cosmos-api for dev * Send response as JSON * Successfully retrieve a gas estimate - Use node-fetch for cosmosAPIs - * Add two sub routes: /estimate and /broadcast * Add account number and sequence to overview query * Disable cors options * Add support to broadcast messages * Ignore fetch undefined * Delete package-lock.json * Fabo/simplify queries (#108) * simplified db queries Conflicts: lib/luniedb-source.js lib/queries.js * switched to yarn * clean up * clean up * Copy cosmos libraries into container (#143) * Aleksei/terra url change (#144) * terra url changed * change soju-0010 to soju-0012 * fixed db queries (#147) * Update networks.json (#149) * Fabo/events (#123) * first steps * working notification endpoint * remove push mentions * linted * fixes * updated schema * use enum for eventtype * working subscription * linted * added push to express routes * remove newer code * linted * Update lib/routes/push.js Co-Authored-By: Col <[email protected]> * disable session for regen (#155) * Aleksei/terra url change (#146) * terra url changed * change soju-0010 to soju-0012 * cors added to caddyfiles * cors added to caddyfiles * fix missing path * Fabo/fix vote count (#157) * fixed vote count calculation * linted * Ana/handle with message proposal id error (#159) * handle undefined proposal error * fix lint errors * Ana/add endtime to undelegation tx (#150) * add liquiddate as field for tx * fix eslint errors * change name liquidDate to undelegationEndTime * fix enddelegationtime for gaia * improve reducer my way * fix lint error * move undelegationendtime to reducer * fix lint errors * no abbreviations * implement undelegation endtime reducer in both * reenable session for gaia 13006 (#165) * Ana/fix terra undelegationendtime reducer (#162) * change reducers to cosmosV2 * prevent result undefined error * add own gettransaction and txreducer for terra * fix terra undelegationendtime reducer * fix lint errors * avoid hardcoded indexes * small fix to prevent total server error * no redundancy: add reducers to transactionreducer * fix lint * trigger CI * Don't return delegations with dust amounts (#171) * Add filter to delegations * Fix filter * Simplify * add undelegations to total stake (#174) * Terra chain_id switched to soju-0013 (#176) * terra chaind_id switched to soju-0013 * changed terra node * fix issues with undelegatio end time (#175) * Fabo/fix undelegationendtime (#177) * fix issues with undelegatio end time * catch undelegation attribute not found * Fabo/fix undelegationendtime for regen (#178) * fix issues with undelegatio end time * catch undelegation attribute not found * fix regen transaction reducers * Display Deposit Period End Date correctly for proposals in deposit period (#181) * Return proposal.voting_end_time in deposit period * Return deposit_end_time instead * update to new reducers and chain-id (#182) * Fabo/fix rewards (#185) * fixed a bug where a single proposal would not load (#125) * trigger ci * fixed missing terra data source (#128) * Fabo/fix missing terra db query (#130) * fixed missing terra data source * fixed missing query * Fabo/fix failing staking query for terra (#132) * fixed missing terra data source * fixed missing query * fix bech32 prefix in selfStake resolver * linted * Fabo/hide proposals on terra (#134) * fixed missing terra data source * fixed missing query * fix bech32 prefix in selfStake resolver * linted * don't show proposals on terra * Fabo/switch to yarn (#122) * switch to yarn * Update Readme * Ana/111 regen testnet production (#118) * regen is home * fix websocket link * eslint fix * delete console logs * fixed regen source (using cosmosV0) * add feature flags for regen * fix txs in regen * fix transactions per address * fix eslint errors * disable sign in * colw/Transaction Service (#120) * Obtain transaction payload, mirror back to client * Respond with request, or error if none present * Load node friendly versions of cosmos-api for dev * Send response as JSON * Successfully retrieve a gas estimate - Use node-fetch for cosmosAPIs - * Add two sub routes: /estimate and /broadcast * Add account number and sequence to overview query * Disable cors options * Add support to broadcast messages * Ignore fetch undefined * Delete package-lock.json * Fabo/simplify queries (#108) * simplified db queries Conflicts: lib/luniedb-source.js lib/queries.js * switched to yarn * clean up * clean up * Copy cosmos libraries into container (#143) * Aleksei/terra url change (#144) * terra url changed * change soju-0010 to soju-0012 * fixed db queries (#147) * Update networks.json (#149) * Fabo/events (#123) * first steps * working notification endpoint * remove push mentions * linted * fixes * updated schema * use enum for eventtype * working subscription * linted * added push to express routes * remove newer code * linted * Update lib/routes/push.js Co-Authored-By: Col <[email protected]> * disable session for regen (#155) * Aleksei/terra url change (#146) * terra url changed * change soju-0010 to soju-0012 * cors added to caddyfiles * cors added to caddyfiles * fix missing path * Fabo/fix vote count (#157) * fixed vote count calculation * linted * Ana/handle with message proposal id error (#159) * handle undefined proposal error * fix lint errors * Ana/add endtime to undelegation tx (#150) * add liquiddate as field for tx * fix eslint errors * change name liquidDate to undelegationEndTime * fix enddelegationtime for gaia * improve reducer my way * fix lint error * move undelegationendtime to reducer * fix lint errors * no abbreviations * implement undelegation endtime reducer in both * reenable session for gaia 13006 (#165) * Ana/fix terra undelegationendtime reducer (#162) * change reducers to cosmosV2 * prevent result undefined error * add own gettransaction and txreducer for terra * fix terra undelegationendtime reducer * fix lint errors * avoid hardcoded indexes * small fix to prevent total server error * no redundancy: add reducers to transactionreducer * fix lint * trigger CI * Don't return delegations with dust amounts (#171) * Add filter to delegations * Fix filter * Simplify * add undelegations to total stake (#174) * Terra chain_id switched to soju-0013 (#176) * terra chaind_id switched to soju-0013 * changed terra node * fix issues with undelegatio end time (#175) * Fabo/fix undelegationendtime (#177) * fix issues with undelegatio end time * catch undelegation attribute not found * Fabo/fix undelegationendtime for regen (#178) * fix issues with undelegatio end time * catch undelegation attribute not found * fix regen transaction reducers * Display Deposit Period End Date correctly for proposals in deposit period (#181) * Return proposal.voting_end_time in deposit period * Return deposit_end_time instead * update to new reducers and chain-id (#182) * fix rewards not being extracted correctly * linted * trigger deploy * Ana/105 livepeer into production (#114) * add livepeer first files * first tentative. add transcoder type and queries * progress * progress + trying * eslint fix * working * recover missing config enabletestnet * delete livepeer from resolver and schema * try getallvalidators in livepeerv0-source * todos: own subscription and own reducers * eslint fix * refactored into graphql data source * add livepeer to networks json * little hack (temporary) * fix silly eslint error * start playing * fetch works. add to apollo * fix lint * get last round id/height * fix lint * set all feature flags to false * forward. add livepeer reducer. 400 bad request * fix lint * kind of working * fix networkId * colin/ make node subscription great * use transcoders no orchestrators. getValidator * connecting to block height and validators display * minor lint * add validator name * provisory getselfstake * improve validator reducer * use bignumber lib. add getdelegatorsstake * fix lint * fix gettotal stake delegators * fix lint * clean up * get self stake * delete livepeer-queries * handle url with node url class * delete extra back ticks * invisible lint fix * better prevent than regret * delete getlastrounid function * fix total stake and self stake * remove console log * use getblockheight to find last block * get validators from db * get more names * get ALL validators * use validator query string * use bignumber instead of parseint * minor lint * fix validators names * improve condition * get all validators for real * fix search filter for operator address * fix search filter * finishing fixes (formatbech32 and bignumber) * try implementing votingpower. no api support * refactoring and renaming * enable votingpower * livepeer is mainnet * fix voting power filter (#188) * disable livepeer for now (#191) * double the gas estimate for txs (#193) * wait for txs to be included in a block (#194) * Move expected returns to separate resolver (#172) * Move expected returns to separate resolver * Scale result by 1/1000000 * increase gas again (#200) * Fabo/track failing txs (#201) * track failing txs * remove dead code * linted * trigger CI * Fabo/track failing txs (#202) * track failing txs * remove dead code * linted * track failures in broadcasting * better error * Fabo/sync again (#204) * switch back to sync mode * use transactions in block for events * linted * switch to own node (#205) * fix getexpected returns for terra (#208) * Aleksei/redis added (#214) * redis added * redis added * WIP: Fabo/use redis pubsub (#209) * use redis pubsub * refactor * Fix redis import * validator picture fixed (#217) * Revert "validator picture fixed (#217)" (#218) This reverts commit f9250db. * Revert "Revert "validator picture fixed (#217)" (#218)" (#219) This reverts commit c785b0f. * Fabo/refactor enrich validator (#220) * refactor enriche validator * use validator info for name * Fabo+Jordan/livepeer improvements (#210) * add livepeer first files * first tentative. add transcoder type and queries * progress * progress + trying * eslint fix * working * recover missing config enabletestnet * delete livepeer from resolver and schema * try getallvalidators in livepeerv0-source * todos: own subscription and own reducers * eslint fix * refactored into graphql data source * add livepeer to networks json * little hack (temporary) * fix silly eslint error * start playing * fetch works. add to apollo * fix lint * get last round id/height * fix lint * set all feature flags to false * forward. add livepeer reducer. 400 bad request * fix lint * kind of working * fix networkId * colin/ make node subscription great * use transcoders no orchestrators. getValidator * connecting to block height and validators display * minor lint * add validator name * provisory getselfstake * improve validator reducer * use bignumber lib. add getdelegatorsstake * fix lint * fix gettotal stake delegators * fix lint * clean up * get self stake * delete livepeer-queries * handle url with node url class * delete extra back ticks * invisible lint fix * better prevent than regret * delete getlastrounid function * fix total stake and self stake * remove console log * use getblockheight to find last block * get validators from db * get more names * get ALL validators * use validator query string * use bignumber instead of parseint * minor lint * fix validators names * improve condition * get all validators for real * fix search filter for operator address * fix search filter * finishing fixes (formatbech32 and bignumber) * try implementing votingpower. no api support * refactoring and renaming * enable votingpower * livepeer is mainnet * fixed values to be correct * comments * cleanup * refactored * removed file * fix getexpectedreturns * fix validator name logic * add todos * lint * Fabo/refactor enrich validator (#222) * refactor enriche validator * use validator info for name * use same logic for single and multiple validator queries * filter improper picutre values * return picture from db * fix asynchrony for enrichvalidator * Fabo/async check for tx failure (#221) * refactor * Update lib/controller/transaction/index.js Co-Authored-By: Jordan Bibla <[email protected]> * fix subscription for failing txs * fix polling * bunch of fixes * comments * linted * avoid double body read error * linted * fix wrong usage of validator enriching * comment
* fixed a bug where a single proposal would not load (#125) * trigger ci * fixed missing terra data source (#128) * Fabo/fix missing terra db query (#130) * fixed missing terra data source * fixed missing query * Fabo/fix failing staking query for terra (#132) * fixed missing terra data source * fixed missing query * fix bech32 prefix in selfStake resolver * linted * Fabo/hide proposals on terra (#134) * fixed missing terra data source * fixed missing query * fix bech32 prefix in selfStake resolver * linted * don't show proposals on terra * Fabo/switch to yarn (#122) * switch to yarn * Update Readme * Ana/111 regen testnet production (#118) * regen is home * fix websocket link * eslint fix * delete console logs * fixed regen source (using cosmosV0) * add feature flags for regen * fix txs in regen * fix transactions per address * fix eslint errors * disable sign in * colw/Transaction Service (#120) * Obtain transaction payload, mirror back to client * Respond with request, or error if none present * Load node friendly versions of cosmos-api for dev * Send response as JSON * Successfully retrieve a gas estimate - Use node-fetch for cosmosAPIs - * Add two sub routes: /estimate and /broadcast * Add account number and sequence to overview query * Disable cors options * Add support to broadcast messages * Ignore fetch undefined * Delete package-lock.json * Fabo/simplify queries (#108) * simplified db queries Conflicts: lib/luniedb-source.js lib/queries.js * switched to yarn * clean up * clean up * Copy cosmos libraries into container (#143) * Aleksei/terra url change (#144) * terra url changed * change soju-0010 to soju-0012 * fixed db queries (#147) * Update networks.json (#149) * Fabo/events (#123) * first steps * working notification endpoint * remove push mentions * linted * fixes * updated schema * use enum for eventtype * working subscription * linted * added push to express routes * remove newer code * linted * Update lib/routes/push.js Co-Authored-By: Col <[email protected]> * disable session for regen (#155) * Aleksei/terra url change (#146) * terra url changed * change soju-0010 to soju-0012 * cors added to caddyfiles * cors added to caddyfiles * fix missing path * Fabo/fix vote count (#157) * fixed vote count calculation * linted * Ana/handle with message proposal id error (#159) * handle undefined proposal error * fix lint errors * Ana/add endtime to undelegation tx (#150) * add liquiddate as field for tx * fix eslint errors * change name liquidDate to undelegationEndTime * fix enddelegationtime for gaia * improve reducer my way * fix lint error * move undelegationendtime to reducer * fix lint errors * no abbreviations * implement undelegation endtime reducer in both * reenable session for gaia 13006 (#165) * Ana/fix terra undelegationendtime reducer (#162) * change reducers to cosmosV2 * prevent result undefined error * add own gettransaction and txreducer for terra * fix terra undelegationendtime reducer * fix lint errors * avoid hardcoded indexes * small fix to prevent total server error * no redundancy: add reducers to transactionreducer * fix lint * trigger CI * Don't return delegations with dust amounts (#171) * Add filter to delegations * Fix filter * Simplify * add undelegations to total stake (#174) * Terra chain_id switched to soju-0013 (#176) * terra chaind_id switched to soju-0013 * changed terra node * fix issues with undelegatio end time (#175) * Fabo/fix undelegationendtime (#177) * fix issues with undelegatio end time * catch undelegation attribute not found * Fabo/fix undelegationendtime for regen (#178) * fix issues with undelegatio end time * catch undelegation attribute not found * fix regen transaction reducers * Display Deposit Period End Date correctly for proposals in deposit period (#181) * Return proposal.voting_end_time in deposit period * Return deposit_end_time instead * update to new reducers and chain-id (#182) * merge back (#186) * release (#179) * fixed a bug where a single proposal would not load (#125) * trigger ci * fixed missing terra data source (#128) * Fabo/fix missing terra db query (#130) * fixed missing terra data source * fixed missing query * Fabo/fix failing staking query for terra (#132) * fixed missing terra data source * fixed missing query * fix bech32 prefix in selfStake resolver * linted * Fabo/hide proposals on terra (#134) * fixed missing terra data source * fixed missing query * fix bech32 prefix in selfStake resolver * linted * don't show proposals on terra * Fabo/switch to yarn (#122) * switch to yarn * Update Readme * Ana/111 regen testnet production (#118) * regen is home * fix websocket link * eslint fix * delete console logs * fixed regen source (using cosmosV0) * add feature flags for regen * fix txs in regen * fix transactions per address * fix eslint errors * disable sign in * colw/Transaction Service (#120) * Obtain transaction payload, mirror back to client * Respond with request, or error if none present * Load node friendly versions of cosmos-api for dev * Send response as JSON * Successfully retrieve a gas estimate - Use node-fetch for cosmosAPIs - * Add two sub routes: /estimate and /broadcast * Add account number and sequence to overview query * Disable cors options * Add support to broadcast messages * Ignore fetch undefined * Delete package-lock.json * Fabo/simplify queries (#108) * simplified db queries Conflicts: lib/luniedb-source.js lib/queries.js * switched to yarn * clean up * clean up * Copy cosmos libraries into container (#143) * Aleksei/terra url change (#144) * terra url changed * change soju-0010 to soju-0012 * fixed db queries (#147) * Update networks.json (#149) * Fabo/events (#123) * first steps * working notification endpoint * remove push mentions * linted * fixes * updated schema * use enum for eventtype * working subscription * linted * added push to express routes * remove newer code * linted * Update lib/routes/push.js Co-Authored-By: Col <[email protected]> * disable session for regen (#155) * Aleksei/terra url change (#146) * terra url changed * change soju-0010 to soju-0012 * cors added to caddyfiles * cors added to caddyfiles * fix missing path * Fabo/fix vote count (#157) * fixed vote count calculation * linted * Ana/handle with message proposal id error (#159) * handle undefined proposal error * fix lint errors * Ana/add endtime to undelegation tx (#150) * add liquiddate as field for tx * fix eslint errors * change name liquidDate to undelegationEndTime * fix enddelegationtime for gaia * improve reducer my way * fix lint error * move undelegationendtime to reducer * fix lint errors * no abbreviations * implement undelegation endtime reducer in both * reenable session for gaia 13006 (#165) * Ana/fix terra undelegationendtime reducer (#162) * change reducers to cosmosV2 * prevent result undefined error * add own gettransaction and txreducer for terra * fix terra undelegationendtime reducer * fix lint errors * avoid hardcoded indexes * small fix to prevent total server error * no redundancy: add reducers to transactionreducer * fix lint * trigger CI * Don't return delegations with dust amounts (#171) * Add filter to delegations * Fix filter * Simplify * add undelegations to total stake (#174) * Terra chain_id switched to soju-0013 (#176) * terra chaind_id switched to soju-0013 * changed terra node * fix issues with undelegatio end time (#175) * Fabo/fix undelegationendtime (#177) * fix issues with undelegatio end time * catch undelegation attribute not found * Fabo/fix undelegationendtime for regen (#178) * fix issues with undelegatio end time * catch undelegation attribute not found * fix regen transaction reducers * Display Deposit Period End Date correctly for proposals in deposit period (#181) * Return proposal.voting_end_time in deposit period * Return deposit_end_time instead * release (#183) * fixed a bug where a single proposal would not load (#125) * trigger ci * fixed missing terra data source (#128) * Fabo/fix missing terra db query (#130) * fixed missing terra data source * fixed missing query * Fabo/fix failing staking query for terra (#132) * fixed missing terra data source * fixed missing query * fix bech32 prefix in selfStake resolver * linted * Fabo/hide proposals on terra (#134) * fixed missing terra data source * fixed missing query * fix bech32 prefix in selfStake resolver * linted * don't show proposals on terra * Fabo/switch to yarn (#122) * switch to yarn * Update Readme * Ana/111 regen testnet production (#118) * regen is home * fix websocket link * eslint fix * delete console logs * fixed regen source (using cosmosV0) * add feature flags for regen * fix txs in regen * fix transactions per address * fix eslint errors * disable sign in * colw/Transaction Service (#120) * Obtain transaction payload, mirror back to client * Respond with request, or error if none present * Load node friendly versions of cosmos-api for dev * Send response as JSON * Successfully retrieve a gas estimate - Use node-fetch for cosmosAPIs - * Add two sub routes: /estimate and /broadcast * Add account number and sequence to overview query * Disable cors options * Add support to broadcast messages * Ignore fetch undefined * Delete package-lock.json * Fabo/simplify queries (#108) * simplified db queries Conflicts: lib/luniedb-source.js lib/queries.js * switched to yarn * clean up * clean up * Copy cosmos libraries into container (#143) * Aleksei/terra url change (#144) * terra url changed * change soju-0010 to soju-0012 * fixed db queries (#147) * Update networks.json (#149) * Fabo/events (#123) * first steps * working notification endpoint * remove push mentions * linted * fixes * updated schema * use enum for eventtype * working subscription * linted * added push to express routes * remove newer code * linted * Update lib/routes/push.js Co-Authored-By: Col <[email protected]> * disable session for regen (#155) * Aleksei/terra url change (#146) * terra url changed * change soju-0010 to soju-0012 * cors added to caddyfiles * cors added to caddyfiles * fix missing path * Fabo/fix vote count (#157) * fixed vote count calculation * linted * Ana/handle with message proposal id error (#159) * handle undefined proposal error * fix lint errors * Ana/add endtime to undelegation tx (#150) * add liquiddate as field for tx * fix eslint errors * change name liquidDate to undelegationEndTime * fix enddelegationtime for gaia * improve reducer my way * fix lint error * move undelegationendtime to reducer * fix lint errors * no abbreviations * implement undelegation endtime reducer in both * reenable session for gaia 13006 (#165) * Ana/fix terra undelegationendtime reducer (#162) * change reducers to cosmosV2 * prevent result undefined error * add own gettransaction and txreducer for terra * fix terra undelegationendtime reducer * fix lint errors * avoid hardcoded indexes * small fix to prevent total server error * no redundancy: add reducers to transactionreducer * fix lint * trigger CI * Don't return delegations with dust amounts (#171) * Add filter to delegations * Fix filter * Simplify * add undelegations to total stake (#174) * Terra chain_id switched to soju-0013 (#176) * terra chaind_id switched to soju-0013 * changed terra node * fix issues with undelegatio end time (#175) * Fabo/fix undelegationendtime (#177) * fix issues with undelegatio end time * catch undelegation attribute not found * Fabo/fix undelegationendtime for regen (#178) * fix issues with undelegatio end time * catch undelegation attribute not found * fix regen transaction reducers * Display Deposit Period End Date correctly for proposals in deposit period (#181) * Return proposal.voting_end_time in deposit period * Return deposit_end_time instead * update to new reducers and chain-id (#182) * Fabo/fix rewards (#185) * fixed a bug where a single proposal would not load (#125) * trigger ci * fixed missing terra data source (#128) * Fabo/fix missing terra db query (#130) * fixed missing terra data source * fixed missing query * Fabo/fix failing staking query for terra (#132) * fixed missing terra data source * fixed missing query * fix bech32 prefix in selfStake resolver * linted * Fabo/hide proposals on terra (#134) * fixed missing terra data source * fixed missing query * fix bech32 prefix in selfStake resolver * linted * don't show proposals on terra * Fabo/switch to yarn (#122) * switch to yarn * Update Readme * Ana/111 regen testnet production (#118) * regen is home * fix websocket link * eslint fix * delete console logs * fixed regen source (using cosmosV0) * add feature flags for regen * fix txs in regen * fix transactions per address * fix eslint errors * disable sign in * colw/Transaction Service (#120) * Obtain transaction payload, mirror back to client * Respond with request, or error if none present * Load node friendly versions of cosmos-api for dev * Send response as JSON * Successfully retrieve a gas estimate - Use node-fetch for cosmosAPIs - * Add two sub routes: /estimate and /broadcast * Add account number and sequence to overview query * Disable cors options * Add support to broadcast messages * Ignore fetch undefined * Delete package-lock.json * Fabo/simplify queries (#108) * simplified db queries Conflicts: lib/luniedb-source.js lib/queries.js * switched to yarn * clean up * clean up * Copy cosmos libraries into container (#143) * Aleksei/terra url change (#144) * terra url changed * change soju-0010 to soju-0012 * fixed db queries (#147) * Update networks.json (#149) * Fabo/events (#123) * first steps * working notification endpoint * remove push mentions * linted * fixes * updated schema * use enum for eventtype * working subscription * linted * added push to express routes * remove newer code * linted * Update lib/routes/push.js Co-Authored-By: Col <[email protected]> * disable session for regen (#155) * Aleksei/terra url change (#146) * terra url changed * change soju-0010 to soju-0012 * cors added to caddyfiles * cors added to caddyfiles * fix missing path * Fabo/fix vote count (#157) * fixed vote count calculation * linted * Ana/handle with message proposal id error (#159) * handle undefined proposal error * fix lint errors * Ana/add endtime to undelegation tx (#150) * add liquiddate as field for tx * fix eslint errors * change name liquidDate to undelegationEndTime * fix enddelegationtime for gaia * improve reducer my way * fix lint error * move undelegationendtime to reducer * fix lint errors * no abbreviations * implement undelegation endtime reducer in both * reenable session for gaia 13006 (#165) * Ana/fix terra undelegationendtime reducer (#162) * change reducers to cosmosV2 * prevent result undefined error * add own gettransaction and txreducer for terra * fix terra undelegationendtime reducer * fix lint errors * avoid hardcoded indexes * small fix to prevent total server error * no redundancy: add reducers to transactionreducer * fix lint * trigger CI * Don't return delegations with dust amounts (#171) * Add filter to delegations * Fix filter * Simplify * add undelegations to total stake (#174) * Terra chain_id switched to soju-0013 (#176) * terra chaind_id switched to soju-0013 * changed terra node * fix issues with undelegatio end time (#175) * Fabo/fix undelegationendtime (#177) * fix issues with undelegatio end time * catch undelegation attribute not found * Fabo/fix undelegationendtime for regen (#178) * fix issues with undelegatio end time * catch undelegation attribute not found * fix regen transaction reducers * Display Deposit Period End Date correctly for proposals in deposit period (#181) * Return proposal.voting_end_time in deposit period * Return deposit_end_time instead * update to new reducers and chain-id (#182) * fix rewards not being extracted correctly * linted * trigger deploy * Ana/105 livepeer into production (#114) * add livepeer first files * first tentative. add transcoder type and queries * progress * progress + trying * eslint fix * working * recover missing config enabletestnet * delete livepeer from resolver and schema * try getallvalidators in livepeerv0-source * todos: own subscription and own reducers * eslint fix * refactored into graphql data source * add livepeer to networks json * little hack (temporary) * fix silly eslint error * start playing * fetch works. add to apollo * fix lint * get last round id/height * fix lint * set all feature flags to false * forward. add livepeer reducer. 400 bad request * fix lint * kind of working * fix networkId * colin/ make node subscription great * use transcoders no orchestrators. getValidator * connecting to block height and validators display * minor lint * add validator name * provisory getselfstake * improve validator reducer * use bignumber lib. add getdelegatorsstake * fix lint * fix gettotal stake delegators * fix lint * clean up * get self stake * delete livepeer-queries * handle url with node url class * delete extra back ticks * invisible lint fix * better prevent than regret * delete getlastrounid function * fix total stake and self stake * remove console log * use getblockheight to find last block * get validators from db * get more names * get ALL validators * use validator query string * use bignumber instead of parseint * minor lint * fix validators names * improve condition * get all validators for real * fix search filter for operator address * fix search filter * finishing fixes (formatbech32 and bignumber) * try implementing votingpower. no api support * refactoring and renaming * enable votingpower * livepeer is mainnet * fix voting power filter (#188) * disable livepeer for now (#191) * double the gas estimate for txs (#193) * wait for txs to be included in a block (#194) * Move expected returns to separate resolver (#172) * Move expected returns to separate resolver * Scale result by 1/1000000 * increase gas again (#200) * Fabo/track failing txs (#201) * track failing txs * remove dead code * linted * trigger CI * Fabo/track failing txs (#202) * track failing txs * remove dead code * linted * track failures in broadcasting * better error * Fabo/sync again (#204) * switch back to sync mode * use transactions in block for events * linted * switch to own node (#205) * fix getexpected returns for terra (#208) * Aleksei/redis added (#214) * redis added * redis added * WIP: Fabo/use redis pubsub (#209) * use redis pubsub * refactor * Fix redis import * validator picture fixed (#217) * Revert "validator picture fixed (#217)" (#218) This reverts commit f9250db. * Revert "Revert "validator picture fixed (#217)" (#218)" (#219) This reverts commit c785b0f. * Fabo/refactor enrich validator (#220) * refactor enriche validator * use validator info for name * Fabo+Jordan/livepeer improvements (#210) * add livepeer first files * first tentative. add transcoder type and queries * progress * progress + trying * eslint fix * working * recover missing config enabletestnet * delete livepeer from resolver and schema * try getallvalidators in livepeerv0-source * todos: own subscription and own reducers * eslint fix * refactored into graphql data source * add livepeer to networks json * little hack (temporary) * fix silly eslint error * start playing * fetch works. add to apollo * fix lint * get last round id/height * fix lint * set all feature flags to false * forward. add livepeer reducer. 400 bad request * fix lint * kind of working * fix networkId * colin/ make node subscription great * use transcoders no orchestrators. getValidator * connecting to block height and validators display * minor lint * add validator name * provisory getselfstake * improve validator reducer * use bignumber lib. add getdelegatorsstake * fix lint * fix gettotal stake delegators * fix lint * clean up * get self stake * delete livepeer-queries * handle url with node url class * delete extra back ticks * invisible lint fix * better prevent than regret * delete getlastrounid function * fix total stake and self stake * remove console log * use getblockheight to find last block * get validators from db * get more names * get ALL validators * use validator query string * use bignumber instead of parseint * minor lint * fix validators names * improve condition * get all validators for real * fix search filter for operator address * fix search filter * finishing fixes (formatbech32 and bignumber) * try implementing votingpower. no api support * refactoring and renaming * enable votingpower * livepeer is mainnet * fixed values to be correct * comments * cleanup * refactored * removed file * fix getexpectedreturns * fix validator name logic * add todos * lint * Fabo/refactor enrich validator (#222) * refactor enriche validator * use validator info for name * use same logic for single and multiple validator queries * filter improper picutre values * return picture from db * fix asynchrony for enrichvalidator * Fabo/async check for tx failure (#221) * refactor * Update lib/controller/transaction/index.js Co-Authored-By: Jordan Bibla <[email protected]> * fix subscription for failing txs * fix polling * bunch of fixes * comments * linted * avoid double body read error * linted * Fabo/fix enrich validator (#225) * release (#223) * fixed a bug where a single proposal would not load (#125) * trigger ci * fixed missing terra data source (#128) * Fabo/fix missing terra db query (#130) * fixed missing terra data source * fixed missing query * Fabo/fix failing staking query for terra (#132) * fixed missing terra data source * fixed missing query * fix bech32 prefix in selfStake resolver * linted * Fabo/hide proposals on terra (#134) * fixed missing terra data source * fixed missing query * fix bech32 prefix in selfStake resolver * linted * don't show proposals on terra * Fabo/switch to yarn (#122) * switch to yarn * Update Readme * Ana/111 regen testnet production (#118) * regen is home * fix websocket link * eslint fix * delete console logs * fixed regen source (using cosmosV0) * add feature flags for regen * fix txs in regen * fix transactions per address * fix eslint errors * disable sign in * colw/Transaction Service (#120) * Obtain transaction payload, mirror back to client * Respond with request, or error if none present * Load node friendly versions of cosmos-api for dev * Send response as JSON * Successfully retrieve a gas estimate - Use node-fetch for cosmosAPIs - * Add two sub routes: /estimate and /broadcast * Add account number and sequence to overview query * Disable cors options * Add support to broadcast messages * Ignore fetch undefined * Delete package-lock.json * Fabo/simplify queries (#108) * simplified db queries Conflicts: lib/luniedb-source.js lib/queries.js * switched to yarn * clean up * clean up * Copy cosmos libraries into container (#143) * Aleksei/terra url change (#144) * terra url changed * change soju-0010 to soju-0012 * fixed db queries (#147) * Update networks.json (#149) * Fabo/events (#123) * first steps * working notification endpoint * remove push mentions * linted * fixes * updated schema * use enum for eventtype * working subscription * linted * added push to express routes * remove newer code * linted * Update lib/routes/push.js Co-Authored-By: Col <[email protected]> * disable session for regen (#155) * Aleksei/terra url change (#146) * terra url changed * change soju-0010 to soju-0012 * cors added to caddyfiles * cors added to caddyfiles * fix missing path * Fabo/fix vote count (#157) * fixed vote count calculation * linted * Ana/handle with message proposal id error (#159) * handle undefined proposal error * fix lint errors * Ana/add endtime to undelegation tx (#150) * add liquiddate as field for tx * fix eslint errors * change name liquidDate to undelegationEndTime * fix enddelegationtime for gaia * improve reducer my way * fix lint error * move undelegationendtime to reducer * fix lint errors * no abbreviations * implement undelegation endtime reducer in both * reenable session for gaia 13006 (#165) * Ana/fix terra undelegationendtime reducer (#162) * change reducers to cosmosV2 * prevent result undefined error * add own gettransaction and txreducer for terra * fix terra undelegationendtime reducer * fix lint errors * avoid hardcoded indexes * small fix to prevent total server error * no redundancy: add reducers to transactionreducer * fix lint * trigger CI * Don't return delegations with dust amounts (#171) * Add filter to delegations * Fix filter * Simplify * add undelegations to total stake (#174) * Terra chain_id switched to soju-0013 (#176) * terra chaind_id switched to soju-0013 * changed terra node * fix issues with undelegatio end time (#175) * Fabo/fix undelegationendtime (#177) * fix issues with undelegatio end time * catch undelegation attribute not found * Fabo/fix undelegationendtime for regen (#178) * fix issues with undelegatio end time * catch undelegation attribute not found * fix regen transaction reducers * Display Deposit Period End Date correctly for proposals in deposit period (#181) * Return proposal.voting_end_time in deposit period * Return deposit_end_time instead * update to new reducers and chain-id (#182) * merge back (#186) * release (#179) * fixed a bug where a single proposal would not load (#125) * trigger ci * fixed missing terra data source (#128) * Fabo/fix missing terra db query (#130) * fixed missing terra data source * fixed missing query * Fabo/fix failing staking query for terra (#132) * fixed missing terra data source * fixed missing query * fix bech32 prefix in selfStake resolver * linted * Fabo/hide proposals on terra (#134) * fixed missing terra data source * fixed missing query * fix bech32 prefix in selfStake resolver * linted * don't show proposals on terra * Fabo/switch to yarn (#122) * switch to yarn * Update Readme * Ana/111 regen testnet production (#118) * regen is home * fix websocket link * eslint fix * delete console logs * fixed regen source (using cosmosV0) * add feature flags for regen * fix txs in regen * fix transactions per address * fix eslint errors * disable sign in * colw/Transaction Service (#120) * Obtain transaction payload, mirror back to client * Respond with request, or error if none present * Load node friendly versions of cosmos-api for dev * Send response as JSON * Successfully retrieve a gas estimate - Use node-fetch for cosmosAPIs - * Add two sub routes: /estimate and /broadcast * Add account number and sequence to overview query * Disable cors options * Add support to broadcast messages * Ignore fetch undefined * Delete package-lock.json * Fabo/simplify queries (#108) * simplified db queries Conflicts: lib/luniedb-source.js lib/queries.js * switched to yarn * clean up * clean up * Copy cosmos libraries into container (#143) * Aleksei/terra url change (#144) * terra url changed * change soju-0010 to soju-0012 * fixed db queries (#147) * Update networks.json (#149) * Fabo/events (#123) * first steps * working notification endpoint * remove push mentions * linted * fixes * updated schema * use enum for eventtype * working subscription * linted * added push to express routes * remove newer code * linted * Update lib/routes/push.js Co-Authored-By: Col <[email protected]> * disable session for regen (#155) * Aleksei/terra url change (#146) * terra url changed * change soju-0010 to soju-0012 * cors added to caddyfiles * cors added to caddyfiles * fix missing path * Fabo/fix vote count (#157) * fixed vote count calculation * linted * Ana/handle with message proposal id error (#159) * handle undefined proposal error * fix lint errors * Ana/add endtime to undelegation tx (#150) * add liquiddate as field for tx * fix eslint errors * change name liquidDate to undelegationEndTime * fix enddelegationtime for gaia * improve reducer my way * fix lint error * move undelegationendtime to reducer * fix lint errors * no abbreviations * implement undelegation endtime reducer in both * reenable session for gaia 13006 (#165) * Ana/fix terra undelegationendtime reducer (#162) * change reducers to cosmosV2 * prevent result undefined error * add own gettransaction and txreducer for terra * fix terra undelegationendtime reducer * fix lint errors * avoid hardcoded indexes * small fix to prevent total server error * no redundancy: add reducers to transactionreducer * fix lint * trigger CI * Don't return delegations with dust amounts (#171) * Add filter to delegations * Fix filter * Simplify * add undelegations to total stake (#174) * Terra chain_id switched to soju-0013 (#176) * terra chaind_id switched to soju-0013 * changed terra node * fix issues with undelegatio end time (#175) * Fabo/fix undelegationendtime (#177) * fix issues with undelegatio end time * catch undelegation attribute not found * Fabo/fix undelegationendtime for regen (#178) * fix issues with undelegatio end time * catch undelegation attribute not found * fix regen transaction reducers * Display Deposit Period End Date correctly for proposals in deposit period (#181) * Return proposal.voting_end_time in deposit period * Return deposit_end_time instead * release (#183) * fixed a bug where a single proposal would not load (#125) * trigger ci * fixed missing terra data source (#128) * Fabo/fix missing terra db query (#130) * fixed missing terra data source * fixed missing query * Fabo/fix failing staking query for terra (#132) * fixed missing terra data source * fixed missing query * fix bech32 prefix in selfStake resolver * linted * Fabo/hide proposals on terra (#134) * fixed missing terra data source * fixed missing query * fix bech32 prefix in selfStake resolver * linted * don't show proposals on terra * Fabo/switch to yarn (#122) * switch to yarn * Update Readme * Ana/111 regen testnet production (#118) * regen is home * fix websocket link * eslint fix * delete console logs * fixed regen source (using cosmosV0) * add feature flags for regen * fix txs in regen * fix transactions per address * fix eslint errors * disable sign in * colw/Transaction Service (#120) * Obtain transaction payload, mirror back to client * Respond with request, or error if none present * Load node friendly versions of cosmos-api for dev * Send response as JSON * Successfully retrieve a gas estimate - Use node-fetch for cosmosAPIs - * Add two sub routes: /estimate and /broadcast * Add account number and sequence to overview query * Disable cors options * Add support to broadcast messages * Ignore fetch undefined * Delete package-lock.json * Fabo/simplify queries (#108) * simplified db queries Conflicts: lib/luniedb-source.js lib/queries.js * switched to yarn * clean up * clean up * Copy cosmos libraries into container (#143) * Aleksei/terra url change (#144) * terra url changed * change soju-0010 to soju-0012 * fixed db queries (#147) * Update networks.json (#149) * Fabo/events (#123) * first steps * working notification endpoint * remove push mentions * linted * fixes * updated schema * use enum for eventtype * working subscription * linted * added push to express routes * remove newer code * linted * Update lib/routes/push.js Co-Authored-By: Col <[email protected]> * disable session for regen (#155) * Aleksei/terra url change (#146) * terra url changed * change soju-0010 to soju-0012 * cors added to caddyfiles * cors added to caddyfiles * fix missing path * Fabo/fix vote count (#157) * fixed vote count calculation * linted * Ana/handle with message proposal id error (#159) * handle undefined proposal error * fix lint errors * Ana/add endtime to undelegation tx (#150) * add liquiddate as field for tx * fix eslint errors * change name liquidDate to undelegationEndTime * fix enddelegationtime for gaia * improve reducer my way * fix lint error * move undelegationendtime to reducer * fix lint errors * no abbreviations * implement undelegation endtime reducer in both * reenable session for gaia 13006 (#165) * Ana/fix terra undelegationendtime reducer (#162) * change reducers to cosmosV2 * prevent result undefined error * add own gettransaction and txreducer for terra * fix terra undelegationendtime reducer * fix lint errors * avoid hardcoded indexes * small fix to prevent total server error * no redundancy: add reducers to transactionreducer * fix lint * trigger CI * Don't return delegations with dust amounts (#171) * Add filter to delegations * Fix filter * Simplify * add undelegations to total stake (#174) * Terra chain_id switched to soju-0013 (#176) * terra chaind_id switched to soju-0013 * changed terra node * fix issues with undelegatio end time (#175) * Fabo/fix undelegationendtime (#177) * fix issues with undelegatio end time * catch undelegation attribute not found * Fabo/fix undelegationendtime for regen (#178) * fix issues with undelegatio end time * catch undelegation attribute not found * fix regen transaction reducers * Display Deposit Period End Date correctly for proposals in deposit period (#181) * Return proposal.voting_end_time in deposit period * Return deposit_end_time instead * update to new reducers and chain-id (#182) * Fabo/fix rewards (#185) * fixed a bug where a single proposal would not load (#125) * trigger ci * fixed missing terra data source (#128) * Fabo/fix missing terra db query (#130) * fixed missing terra data source * fixed missing query * Fabo/fix failing staking query for terra (#132) * fixed missing terra data source * fixed missing query * fix bech32 prefix in selfStake resolver * linted * Fabo/hide proposals on terra (#134) * fixed missing terra data source * fixed missing query * fix bech32 prefix in selfStake resolver * linted * don't show proposals on terra * Fabo/switch to yarn (#122) * switch to yarn * Update Readme * Ana/111 regen testnet production (#118) * regen is home * fix websocket link * eslint fix * delete console logs * fixed regen source (using cosmosV0) * add feature flags for regen * fix txs in regen * fix transactions per address * fix eslint errors * disable sign in * colw/Transaction Service (#120) * Obtain transaction payload, mirror back to client * Respond with request, or error if none present * Load node friendly versions of cosmos-api for dev * Send response as JSON * Successfully retrieve a gas estimate - Use node-fetch for cosmosAPIs - * Add two sub routes: /estimate and /broadcast * Add account number and sequence to overview query * Disable cors options * Add support to broadcast messages * Ignore fetch undefined * Delete package-lock.json * Fabo/simplify queries (#108) * simplified db queries Conflicts: lib/luniedb-source.js lib/queries.js * switched to yarn * clean up * clean up * Copy cosmos libraries into container (#143) * Aleksei/terra url change (#144) * terra url changed * change soju-0010 to soju-0012 * fixed db queries (#147) * Update networks.json (#149) * Fabo/events (#123) * first steps * working notification endpoint * remove push mentions * linted * fixes * updated schema * use enum for eventtype * working subscription * linted * added push to express routes * remove newer code * linted * Update lib/routes/push.js Co-Authored-By: Col <[email protected]> * disable session for regen (#155) * Aleksei/terra url change (#146) * terra url changed * change soju-0010 to soju-0012 * cors added to caddyfiles * cors added to caddyfiles * fix missing path * Fabo/fix vote count (#157) * fixed vote count calculation * linted * Ana/handle with message proposal id error (#159) * handle undefined proposal error * fix lint errors * Ana/add endtime to undelegation tx (#150) * add liquiddate as field for tx * fix eslint errors * change name liquidDate to undelegationEndTime * fix enddelegationtime for gaia * improve reducer my way * fix lint error * move undelegationendtime to reducer * fix lint errors * no abbreviations * implement undelegation endtime reducer in both * reenable session for gaia 13006 (#165) * Ana/fix terra undelegationendtime reducer (#162) * change reducers to cosmosV2 * prevent result undefined error * add own gettransaction and txreducer for terra * fix terra undelegationendtime reducer * fix lint errors * avoid hardcoded indexes * small fix to prevent total server error * no redundancy: add reducers to transactionreducer * fix lint * trigger CI * Don't return delegations with dust amounts (#171) * Add filter to delegations * Fix filter * Simplify * add undelegations to total stake (#174) * Terra chain_id switched to soju-0013 (#176) * terra chaind_id switched to soju-0013 * changed terra node * fix issues with undelegatio end time (#175) * Fabo/fix undelegationendtime (#177) * fix issues with undelegatio end time * catch undelegation attribute not found * Fabo/fix undelegationendtime for regen (#178) * fix issues with undelegatio end time * catch undelegation attribute not found * fix regen transaction reducers * Display Deposit Period End Date correctly for proposals in deposit period (#181) * Return proposal.voting_end_time in deposit period * Return deposit_end_time instead * update to new reducers and chain-id (#182) * fix rewards not being extracted correctly * linted * trigger deploy * Ana/105 livepeer into production (#114) * add livepeer first files * first tentative. add transcoder type and queries * progress * progress + trying * eslint fix * working * recover missing config enabletestnet * delete livepeer from resolver and schema * try getallvalidators in livepeerv0-source * todos: own subscription and own reducers * eslint fix * refactored into graphql data source * add livepeer to networks json * little hack (temporary) * fix silly eslint error * start playing * fetch works. add to apollo * fix lint * get last round id/height * fix lint * set all feature flags to false * forward. add livepeer reducer. 400 bad request * fix lint * kind of working * fix networkId * colin/ make node subscription great * use transcoders no orchestrators. getValidator * connecting to block height and validators display * minor lint * add validator name * provisory getselfstake * improve validator reducer * use bignumber lib. add getdelegatorsstake * fix lint * fix gettotal stake delegators * fix lint * clean up * get self stake * delete livepeer-queries * handle url with node url class * delete extra back ticks * invisible lint fix * better prevent than regret * delete getlastrounid function * fix total stake and self stake * remove console log * use getblockheight to find last block * get validators from db * get more names * get ALL validators * use validator query string * use bignumber instead of parseint * minor lint * fix validators names * improve condition * get all validators for real * fix search filter for operator address * fix search filter * finishing fixes (formatbech32 and bignumber) * try implementing votingpower. no api support * refactoring and renaming * enable votingpower * livepeer is mainnet * fix voting power filter (#188) * disable livepeer for now (#191) * double the gas estimate for txs (#193) * wait for txs to be included in a block (#194) * Move expected returns to separate resolver (#172) * Move expected returns to separate resolver * Scale result by 1/1000000 * increase gas again (#200) * Fabo/track failing txs (#201) * track failing txs * remove dead code * linted * trigger CI * Fabo/track failing txs (#202) * track failing txs * remove dead code * linted * track failures in broadcasting * better error * Fabo/sync again (#204) * switch back to sync mode * use transactions in block for events * linted * switch to own node (#205) * fix getexpected returns for terra (#208) * Aleksei/redis added (#214) * redis added * redis added * WIP: Fabo/use redis pubsub (#209) * use redis pubsub * refactor * Fix redis import * validator picture fixed (#217) * Revert "validator picture fixed (#217)" (#218) This reverts commit f9250db. * Revert "Revert "validator picture fixed (#217)" (#218)" (#219) This reverts commit c785b0f. * Fabo/refactor enrich validator (#220) * refactor enriche validator * use validator info for name * Fabo+Jordan/livepeer improvements (#210) * add livepeer first files * first tentative. add transcoder type and queries * progress * progress + trying * eslint fix * working * recover missing config enabletestnet * delete livepeer from resolver and schema * try getallvalidators in livepeerv0-source * todos: own subscription and own reducers * eslint fix * refactored into graphql data source * add livepeer to networks json * little hack (temporary) * fix silly eslint error * start playing * fetch works. add to apollo * fix lint * get last round id/height * fix lint * set all feature flags to false * forward. add livepeer reducer. 400 bad request * fix lint * kind of working * fix networkId * colin/ make node subscription great * use transcoders no orchestrators. getValidator * connecting to block height and validators display * minor lint * add validator name * provisory getselfstake * improve validator reducer * use bignumber lib. add getdelegatorsstake * fix lint * fix gettotal stake delegators * fix lint * clean up * get self stake * delete livepeer-queries * handle url with node url class * delete extra back ticks * invisible lint fix * better prevent than regret * delete getlastrounid function * fix total stake and self stake * remove console log * use getblockheight to find last block * get validators from db * get more names * get ALL validators * use validator query string * use bignumber instead of parseint * minor lint * fix validators names * improve condition * get all validators for real * fix search filter for operator address * fix search filter * finishing fixes (formatbech32 and bignumber) * try implementing votingpower. no api support * refactoring and renaming * enable votingpower * livepeer is mainnet * fixed values to be correct * comments * cleanup * refactored * removed file * fix getexpectedreturns * fix validator name logic * add todos * lint * Fabo/refactor enrich validator (#222) * refactor enriche validator * use validator info for name * use same logic for single and multiple validator queries * filter improper picutre values * return picture from db * fix asynchrony for enrichvalidator * Fabo/async check for tx failure (#221) * refactor * Update lib/controller/transaction/index.js Co-Authored-By: Jordan Bibla <[email protected]> * fix subscription for failing txs * fix polling * bunch of fixes * comments * linted * avoid double body read error * linted * fix wrong usage of validator enriching * comment * Fabo/handle no self delegation (#229) * handle the case where a validator has no self delegation * linted * allow explore mode for some networks (#227) * Update issue templates * Ana/livepeer integrate new api (#224) * integrate new api * delete selfstake. add warning for active field * speed up. query getglobal only once * rename back to lpt conversion * delete second globals Co-authored-by: Ana G. <[email protected]> Co-authored-by: Col <[email protected]> Co-authored-by: iambeone <[email protected]> Co-authored-by: Mario Pino <[email protected]> Co-authored-by: Jordan Bibla <[email protected]>
* fixed a bug where a single proposal would not load (#125) * trigger ci * fixed missing terra data source (#128) * Fabo/fix missing terra db query (#130) * fixed missing terra data source * fixed missing query * Fabo/fix failing staking query for terra (#132) * fixed missing terra data source * fixed missing query * fix bech32 prefix in selfStake resolver * linted * Fabo/hide proposals on terra (#134) * fixed missing terra data source * fixed missing query * fix bech32 prefix in selfStake resolver * linted * don't show proposals on terra * Fabo/switch to yarn (#122) * switch to yarn * Update Readme * Ana/111 regen testnet production (#118) * regen is home * fix websocket link * eslint fix * delete console logs * fixed regen source (using cosmosV0) * add feature flags for regen * fix txs in regen * fix transactions per address * fix eslint errors * disable sign in * colw/Transaction Service (#120) * Obtain transaction payload, mirror back to client * Respond with request, or error if none present * Load node friendly versions of cosmos-api for dev * Send response as JSON * Successfully retrieve a gas estimate - Use node-fetch for cosmosAPIs - * Add two sub routes: /estimate and /broadcast * Add account number and sequence to overview query * Disable cors options * Add support to broadcast messages * Ignore fetch undefined * Delete package-lock.json * Fabo/simplify queries (#108) * simplified db queries Conflicts: lib/luniedb-source.js lib/queries.js * switched to yarn * clean up * clean up * Copy cosmos libraries into container (#143) * Aleksei/terra url change (#144) * terra url changed * change soju-0010 to soju-0012 * fixed db queries (#147) * Update networks.json (#149) * Fabo/events (#123) * first steps * working notification endpoint * remove push mentions * linted * fixes * updated schema * use enum for eventtype * working subscription * linted * added push to express routes * remove newer code * linted * Update lib/routes/push.js Co-Authored-By: Col <[email protected]> * disable session for regen (#155) * Aleksei/terra url change (#146) * terra url changed * change soju-0010 to soju-0012 * cors added to caddyfiles * cors added to caddyfiles * fix missing path * Fabo/fix vote count (#157) * fixed vote count calculation * linted * Ana/handle with message proposal id error (#159) * handle undefined proposal error * fix lint errors * Ana/add endtime to undelegation tx (#150) * add liquiddate as field for tx * fix eslint errors * change name liquidDate to undelegationEndTime * fix enddelegationtime for gaia * improve reducer my way * fix lint error * move undelegationendtime to reducer * fix lint errors * no abbreviations * implement undelegation endtime reducer in both * reenable session for gaia 13006 (#165) * Ana/fix terra undelegationendtime reducer (#162) * change reducers to cosmosV2 * prevent result undefined error * add own gettransaction and txreducer for terra * fix terra undelegationendtime reducer * fix lint errors * avoid hardcoded indexes * small fix to prevent total server error * no redundancy: add reducers to transactionreducer * fix lint * trigger CI * Don't return delegations with dust amounts (#171) * Add filter to delegations * Fix filter * Simplify * add undelegations to total stake (#174) * Terra chain_id switched to soju-0013 (#176) * terra chaind_id switched to soju-0013 * changed terra node * fix issues with undelegatio end time (#175) * Fabo/fix undelegationendtime (#177) * fix issues with undelegatio end time * catch undelegation attribute not found * Fabo/fix undelegationendtime for regen (#178) * fix issues with undelegatio end time * catch undelegation attribute not found * fix regen transaction reducers * Display Deposit Period End Date correctly for proposals in deposit period (#181) * Return proposal.voting_end_time in deposit period * Return deposit_end_time instead * update to new reducers and chain-id (#182) * merge back (#186) * release (#179) * fixed a bug where a single proposal would not load (#125) * trigger ci * fixed missing terra data source (#128) * Fabo/fix missing terra db query (#130) * fixed missing terra data source * fixed missing query * Fabo/fix failing staking query for terra (#132) * fixed missing terra data source * fixed missing query * fix bech32 prefix in selfStake resolver * linted * Fabo/hide proposals on terra (#134) * fixed missing terra data source * fixed missing query * fix bech32 prefix in selfStake resolver * linted * don't show proposals on terra * Fabo/switch to yarn (#122) * switch to yarn * Update Readme * Ana/111 regen testnet production (#118) * regen is home * fix websocket link * eslint fix * delete console logs * fixed regen source (using cosmosV0) * add feature flags for regen * fix txs in regen * fix transactions per address * fix eslint errors * disable sign in * colw/Transaction Service (#120) * Obtain transaction payload, mirror back to client * Respond with request, or error if none present * Load node friendly versions of cosmos-api for dev * Send response as JSON * Successfully retrieve a gas estimate - Use node-fetch for cosmosAPIs - * Add two sub routes: /estimate and /broadcast * Add account number and sequence to overview query * Disable cors options * Add support to broadcast messages * Ignore fetch undefined * Delete package-lock.json * Fabo/simplify queries (#108) * simplified db queries Conflicts: lib/luniedb-source.js lib/queries.js * switched to yarn * clean up * clean up * Copy cosmos libraries into container (#143) * Aleksei/terra url change (#144) * terra url changed * change soju-0010 to soju-0012 * fixed db queries (#147) * Update networks.json (#149) * Fabo/events (#123) * first steps * working notification endpoint * remove push mentions * linted * fixes * updated schema * use enum for eventtype * working subscription * linted * added push to express routes * remove newer code * linted * Update lib/routes/push.js Co-Authored-By: Col <[email protected]> * disable session for regen (#155) * Aleksei/terra url change (#146) * terra url changed * change soju-0010 to soju-0012 * cors added to caddyfiles * cors added to caddyfiles * fix missing path * Fabo/fix vote count (#157) * fixed vote count calculation * linted * Ana/handle with message proposal id error (#159) * handle undefined proposal error * fix lint errors * Ana/add endtime to undelegation tx (#150) * add liquiddate as field for tx * fix eslint errors * change name liquidDate to undelegationEndTime * fix enddelegationtime for gaia * improve reducer my way * fix lint error * move undelegationendtime to reducer * fix lint errors * no abbreviations * implement undelegation endtime reducer in both * reenable session for gaia 13006 (#165) * Ana/fix terra undelegationendtime reducer (#162) * change reducers to cosmosV2 * prevent result undefined error * add own gettransaction and txreducer for terra * fix terra undelegationendtime reducer * fix lint errors * avoid hardcoded indexes * small fix to prevent total server error * no redundancy: add reducers to transactionreducer * fix lint * trigger CI * Don't return delegations with dust amounts (#171) * Add filter to delegations * Fix filter * Simplify * add undelegations to total stake (#174) * Terra chain_id switched to soju-0013 (#176) * terra chaind_id switched to soju-0013 * changed terra node * fix issues with undelegatio end time (#175) * Fabo/fix undelegationendtime (#177) * fix issues with undelegatio end time * catch undelegation attribute not found * Fabo/fix undelegationendtime for regen (#178) * fix issues with undelegatio end time * catch undelegation attribute not found * fix regen transaction reducers * Display Deposit Period End Date correctly for proposals in deposit period (#181) * Return proposal.voting_end_time in deposit period * Return deposit_end_time instead * release (#183) * fixed a bug where a single proposal would not load (#125) * trigger ci * fixed missing terra data source (#128) * Fabo/fix missing terra db query (#130) * fixed missing terra data source * fixed missing query * Fabo/fix failing staking query for terra (#132) * fixed missing terra data source * fixed missing query * fix bech32 prefix in selfStake resolver * linted * Fabo/hide proposals on terra (#134) * fixed missing terra data source * fixed missing query * fix bech32 prefix in selfStake resolver * linted * don't show proposals on terra * Fabo/switch to yarn (#122) * switch to yarn * Update Readme * Ana/111 regen testnet production (#118) * regen is home * fix websocket link * eslint fix * delete console logs * fixed regen source (using cosmosV0) * add feature flags for regen * fix txs in regen * fix transactions per address * fix eslint errors * disable sign in * colw/Transaction Service (#120) * Obtain transaction payload, mirror back to client * Respond with request, or error if none present * Load node friendly versions of cosmos-api for dev * Send response as JSON * Successfully retrieve a gas estimate - Use node-fetch for cosmosAPIs - * Add two sub routes: /estimate and /broadcast * Add account number and sequence to overview query * Disable cors options * Add support to broadcast messages * Ignore fetch undefined * Delete package-lock.json * Fabo/simplify queries (#108) * simplified db queries Conflicts: lib/luniedb-source.js lib/queries.js * switched to yarn * clean up * clean up * Copy cosmos libraries into container (#143) * Aleksei/terra url change (#144) * terra url changed * change soju-0010 to soju-0012 * fixed db queries (#147) * Update networks.json (#149) * Fabo/events (#123) * first steps * working notification endpoint * remove push mentions * linted * fixes * updated schema * use enum for eventtype * working subscription * linted * added push to express routes * remove newer code * linted * Update lib/routes/push.js Co-Authored-By: Col <[email protected]> * disable session for regen (#155) * Aleksei/terra url change (#146) * terra url changed * change soju-0010 to soju-0012 * cors added to caddyfiles * cors added to caddyfiles * fix missing path * Fabo/fix vote count (#157) * fixed vote count calculation * linted * Ana/handle with message proposal id error (#159) * handle undefined proposal error * fix lint errors * Ana/add endtime to undelegation tx (#150) * add liquiddate as field for tx * fix eslint errors * change name liquidDate to undelegationEndTime * fix enddelegationtime for gaia * improve reducer my way * fix lint error * move undelegationendtime to reducer * fix lint errors * no abbreviations * implement undelegation endtime reducer in both * reenable session for gaia 13006 (#165) * Ana/fix terra undelegationendtime reducer (#162) * change reducers to cosmosV2 * prevent result undefined error * add own gettransaction and txreducer for terra * fix terra undelegationendtime reducer * fix lint errors * avoid hardcoded indexes * small fix to prevent total server error * no redundancy: add reducers to transactionreducer * fix lint * trigger CI * Don't return delegations with dust amounts (#171) * Add filter to delegations * Fix filter * Simplify * add undelegations to total stake (#174) * Terra chain_id switched to soju-0013 (#176) * terra chaind_id switched to soju-0013 * changed terra node * fix issues with undelegatio end time (#175) * Fabo/fix undelegationendtime (#177) * fix issues with undelegatio end time * catch undelegation attribute not found * Fabo/fix undelegationendtime for regen (#178) * fix issues with undelegatio end time * catch undelegation attribute not found * fix regen transaction reducers * Display Deposit Period End Date correctly for proposals in deposit period (#181) * Return proposal.voting_end_time in deposit period * Return deposit_end_time instead * update to new reducers and chain-id (#182) * Fabo/fix rewards (#185) * fixed a bug where a single proposal would not load (#125) * trigger ci * fixed missing terra data source (#128) * Fabo/fix missing terra db query (#130) * fixed missing terra data source * fixed missing query * Fabo/fix failing staking query for terra (#132) * fixed missing terra data source * fixed missing query * fix bech32 prefix in selfStake resolver * linted * Fabo/hide proposals on terra (#134) * fixed missing terra data source * fixed missing query * fix bech32 prefix in selfStake resolver * linted * don't show proposals on terra * Fabo/switch to yarn (#122) * switch to yarn * Update Readme * Ana/111 regen testnet production (#118) * regen is home * fix websocket link * eslint fix * delete console logs * fixed regen source (using cosmosV0) * add feature flags for regen * fix txs in regen * fix transactions per address * fix eslint errors * disable sign in * colw/Transaction Service (#120) * Obtain transaction payload, mirror back to client * Respond with request, or error if none present * Load node friendly versions of cosmos-api for dev * Send response as JSON * Successfully retrieve a gas estimate - Use node-fetch for cosmosAPIs - * Add two sub routes: /estimate and /broadcast * Add account number and sequence to overview query * Disable cors options * Add support to broadcast messages * Ignore fetch undefined * Delete package-lock.json * Fabo/simplify queries (#108) * simplified db queries Conflicts: lib/luniedb-source.js lib/queries.js * switched to yarn * clean up * clean up * Copy cosmos libraries into container (#143) * Aleksei/terra url change (#144) * terra url changed * change soju-0010 to soju-0012 * fixed db queries (#147) * Update networks.json (#149) * Fabo/events (#123) * first steps * working notification endpoint * remove push mentions * linted * fixes * updated schema * use enum for eventtype * working subscription * linted * added push to express routes * remove newer code * linted * Update lib/routes/push.js Co-Authored-By: Col <[email protected]> * disable session for regen (#155) * Aleksei/terra url change (#146) * terra url changed * change soju-0010 to soju-0012 * cors added to caddyfiles * cors added to caddyfiles * fix missing path * Fabo/fix vote count (#157) * fixed vote count calculation * linted * Ana/handle with message proposal id error (#159) * handle undefined proposal error * fix lint errors * Ana/add endtime to undelegation tx (#150) * add liquiddate as field for tx * fix eslint errors * change name liquidDate to undelegationEndTime * fix enddelegationtime for gaia * improve reducer my way * fix lint error * move undelegationendtime to reducer * fix lint errors * no abbreviations * implement undelegation endtime reducer in both * reenable session for gaia 13006 (#165) * Ana/fix terra undelegationendtime reducer (#162) * change reducers to cosmosV2 * prevent result undefined error * add own gettransaction and txreducer for terra * fix terra undelegationendtime reducer * fix lint errors * avoid hardcoded indexes * small fix to prevent total server error * no redundancy: add reducers to transactionreducer * fix lint * trigger CI * Don't return delegations with dust amounts (#171) * Add filter to delegations * Fix filter * Simplify * add undelegations to total stake (#174) * Terra chain_id switched to soju-0013 (#176) * terra chaind_id switched to soju-0013 * changed terra node * fix issues with undelegatio end time (#175) * Fabo/fix undelegationendtime (#177) * fix issues with undelegatio end time * catch undelegation attribute not found * Fabo/fix undelegationendtime for regen (#178) * fix issues with undelegatio end time * catch undelegation attribute not found * fix regen transaction reducers * Display Deposit Period End Date correctly for proposals in deposit period (#181) * Return proposal.voting_end_time in deposit period * Return deposit_end_time instead * update to new reducers and chain-id (#182) * fix rewards not being extracted correctly * linted * trigger deploy * Ana/105 livepeer into production (#114) * add livepeer first files * first tentative. add transcoder type and queries * progress * progress + trying * eslint fix * working * recover missing config enabletestnet * delete livepeer from resolver and schema * try getallvalidators in livepeerv0-source * todos: own subscription and own reducers * eslint fix * refactored into graphql data source * add livepeer to networks json * little hack (temporary) * fix silly eslint error * start playing * fetch works. add to apollo * fix lint * get last round id/height * fix lint * set all feature flags to false * forward. add livepeer reducer. 400 bad request * fix lint * kind of working * fix networkId * colin/ make node subscription great * use transcoders no orchestrators. getValidator * connecting to block height and validators display * minor lint * add validator name * provisory getselfstake * improve validator reducer * use bignumber lib. add getdelegatorsstake * fix lint * fix gettotal stake delegators * fix lint * clean up * get self stake * delete livepeer-queries * handle url with node url class * delete extra back ticks * invisible lint fix * better prevent than regret * delete getlastrounid function * fix total stake and self stake * remove console log * use getblockheight to find last block * get validators from db * get more names * get ALL validators * use validator query string * use bignumber instead of parseint * minor lint * fix validators names * improve condition * get all validators for real * fix search filter for operator address * fix search filter * finishing fixes (formatbech32 and bignumber) * try implementing votingpower. no api support * refactoring and renaming * enable votingpower * livepeer is mainnet * fix voting power filter (#188) * disable livepeer for now (#191) * double the gas estimate for txs (#193) * wait for txs to be included in a block (#194) * Move expected returns to separate resolver (#172) * Move expected returns to separate resolver * Scale result by 1/1000000 * increase gas again (#200) * Fabo/track failing txs (#201) * track failing txs * remove dead code * linted * trigger CI * Fabo/track failing txs (#202) * track failing txs * remove dead code * linted * track failures in broadcasting * better error * Fabo/sync again (#204) * switch back to sync mode * use transactions in block for events * linted * switch to own node (#205) * fix getexpected returns for terra (#208) * Aleksei/redis added (#214) * redis added * redis added * WIP: Fabo/use redis pubsub (#209) * use redis pubsub * refactor * Fix redis import * validator picture fixed (#217) * Revert "validator picture fixed (#217)" (#218) This reverts commit f9250db. * Revert "Revert "validator picture fixed (#217)" (#218)" (#219) This reverts commit c785b0f. * Fabo/refactor enrich validator (#220) * refactor enriche validator * use validator info for name * Fabo+Jordan/livepeer improvements (#210) * add livepeer first files * first tentative. add transcoder type and queries * progress * progress + trying * eslint fix * working * recover missing config enabletestnet * delete livepeer from resolver and schema * try getallvalidators in livepeerv0-source * todos: own subscription and own reducers * eslint fix * refactored into graphql data source * add livepeer to networks json * little hack (temporary) * fix silly eslint error * start playing * fetch works. add to apollo * fix lint * get last round id/height * fix lint * set all feature flags to false * forward. add livepeer reducer. 400 bad request * fix lint * kind of working * fix networkId * colin/ make node subscription great * use transcoders no orchestrators. getValidator * connecting to block height and validators display * minor lint * add validator name * provisory getselfstake * improve validator reducer * use bignumber lib. add getdelegatorsstake * fix lint * fix gettotal stake delegators * fix lint * clean up * get self stake * delete livepeer-queries * handle url with node url class * delete extra back ticks * invisible lint fix * better prevent than regret * delete getlastrounid function * fix total stake and self stake * remove console log * use getblockheight to find last block * get validators from db * get more names * get ALL validators * use validator query string * use bignumber instead of parseint * minor lint * fix validators names * improve condition * get all validators for real * fix search filter for operator address * fix search filter * finishing fixes (formatbech32 and bignumber) * try implementing votingpower. no api support * refactoring and renaming * enable votingpower * livepeer is mainnet * fixed values to be correct * comments * cleanup * refactored * removed file * fix getexpectedreturns * fix validator name logic * add todos * lint * Fabo/refactor enrich validator (#222) * refactor enriche validator * use validator info for name * use same logic for single and multiple validator queries * filter improper picutre values * return picture from db * fix asynchrony for enrichvalidator * Fabo/async check for tx failure (#221) * refactor * Update lib/controller/transaction/index.js Co-Authored-By: Jordan Bibla <[email protected]> * fix subscription for failing txs * fix polling * bunch of fixes * comments * linted * avoid double body read error * linted * Fabo/fix enrich validator (#225) * release (#223) * fixed a bug where a single proposal would not load (#125) * trigger ci * fixed missing terra data source (#128) * Fabo/fix missing terra db query (#130) * fixed missing terra data source * fixed missing query * Fabo/fix failing staking query for terra (#132) * fixed missing terra data source * fixed missing query * fix bech32 prefix in selfStake resolver * linted * Fabo/hide proposals on terra (#134) * fixed missing terra data source * fixed missing query * fix bech32 prefix in selfStake resolver * linted * don't show proposals on terra * Fabo/switch to yarn (#122) * switch to yarn * Update Readme * Ana/111 regen testnet production (#118) * regen is home * fix websocket link * eslint fix * delete console logs * fixed regen source (using cosmosV0) * add feature flags for regen * fix txs in regen * fix transactions per address * fix eslint errors * disable sign in * colw/Transaction Service (#120) * Obtain transaction payload, mirror back to client * Respond with request, or error if none present * Load node friendly versions of cosmos-api for dev * Send response as JSON * Successfully retrieve a gas estimate - Use node-fetch for cosmosAPIs - * Add two sub routes: /estimate and /broadcast * Add account number and sequence to overview query * Disable cors options * Add support to broadcast messages * Ignore fetch undefined * Delete package-lock.json * Fabo/simplify queries (#108) * simplified db queries Conflicts: lib/luniedb-source.js lib/queries.js * switched to yarn * clean up * clean up * Copy cosmos libraries into container (#143) * Aleksei/terra url change (#144) * terra url changed * change soju-0010 to soju-0012 * fixed db queries (#147) * Update networks.json (#149) * Fabo/events (#123) * first steps * working notification endpoint * remove push mentions * linted * fixes * updated schema * use enum for eventtype * working subscription * linted * added push to express routes * remove newer code * linted * Update lib/routes/push.js Co-Authored-By: Col <[email protected]> * disable session for regen (#155) * Aleksei/terra url change (#146) * terra url changed * change soju-0010 to soju-0012 * cors added to caddyfiles * cors added to caddyfiles * fix missing path * Fabo/fix vote count (#157) * fixed vote count calculation * linted * Ana/handle with message proposal id error (#159) * handle undefined proposal error * fix lint errors * Ana/add endtime to undelegation tx (#150) * add liquiddate as field for tx * fix eslint errors * change name liquidDate to undelegationEndTime * fix enddelegationtime for gaia * improve reducer my way * fix lint error * move undelegationendtime to reducer * fix lint errors * no abbreviations * implement undelegation endtime reducer in both * reenable session for gaia 13006 (#165) * Ana/fix terra undelegationendtime reducer (#162) * change reducers to cosmosV2 * prevent result undefined error * add own gettransaction and txreducer for terra * fix terra undelegationendtime reducer * fix lint errors * avoid hardcoded indexes * small fix to prevent total server error * no redundancy: add reducers to transactionreducer * fix lint * trigger CI * Don't return delegations with dust amounts (#171) * Add filter to delegations * Fix filter * Simplify * add undelegations to total stake (#174) * Terra chain_id switched to soju-0013 (#176) * terra chaind_id switched to soju-0013 * changed terra node * fix issues with undelegatio end time (#175) * Fabo/fix undelegationendtime (#177) * fix issues with undelegatio end time * catch undelegation attribute not found * Fabo/fix undelegationendtime for regen (#178) * fix issues with undelegatio end time * catch undelegation attribute not found * fix regen transaction reducers * Display Deposit Period End Date correctly for proposals in deposit period (#181) * Return proposal.voting_end_time in deposit period * Return deposit_end_time instead * update to new reducers and chain-id (#182) * merge back (#186) * release (#179) * fixed a bug where a single proposal would not load (#125) * trigger ci * fixed missing terra data source (#128) * Fabo/fix missing terra db query (#130) * fixed missing terra data source * fixed missing query * Fabo/fix failing staking query for terra (#132) * fixed missing terra data source * fixed missing query * fix bech32 prefix in selfStake resolver * linted * Fabo/hide proposals on terra (#134) * fixed missing terra data source * fixed missing query * fix bech32 prefix in selfStake resolver * linted * don't show proposals on terra * Fabo/switch to yarn (#122) * switch to yarn * Update Readme * Ana/111 regen testnet production (#118) * regen is home * fix websocket link * eslint fix * delete console logs * fixed regen source (using cosmosV0) * add feature flags for regen * fix txs in regen * fix transactions per address * fix eslint errors * disable sign in * colw/Transaction Service (#120) * Obtain transaction payload, mirror back to client * Respond with request, or error if none present * Load node friendly versions of cosmos-api for dev * Send response as JSON * Successfully retrieve a gas estimate - Use node-fetch for cosmosAPIs - * Add two sub routes: /estimate and /broadcast * Add account number and sequence to overview query * Disable cors options * Add support to broadcast messages * Ignore fetch undefined * Delete package-lock.json * Fabo/simplify queries (#108) * simplified db queries Conflicts: lib/luniedb-source.js lib/queries.js * switched to yarn * clean up * clean up * Copy cosmos libraries into container (#143) * Aleksei/terra url change (#144) * terra url changed * change soju-0010 to soju-0012 * fixed db queries (#147) * Update networks.json (#149) * Fabo/events (#123) * first steps * working notification endpoint * remove push mentions * linted * fixes * updated schema * use enum for eventtype * working subscription * linted * added push to express routes * remove newer code * linted * Update lib/routes/push.js Co-Authored-By: Col <[email protected]> * disable session for regen (#155) * Aleksei/terra url change (#146) * terra url changed * change soju-0010 to soju-0012 * cors added to caddyfiles * cors added to caddyfiles * fix missing path * Fabo/fix vote count (#157) * fixed vote count calculation * linted * Ana/handle with message proposal id error (#159) * handle undefined proposal error * fix lint errors * Ana/add endtime to undelegation tx (#150) * add liquiddate as field for tx * fix eslint errors * change name liquidDate to undelegationEndTime * fix enddelegationtime for gaia * improve reducer my way * fix lint error * move undelegationendtime to reducer * fix lint errors * no abbreviations * implement undelegation endtime reducer in both * reenable session for gaia 13006 (#165) * Ana/fix terra undelegationendtime reducer (#162) * change reducers to cosmosV2 * prevent result undefined error * add own gettransaction and txreducer for terra * fix terra undelegationendtime reducer * fix lint errors * avoid hardcoded indexes * small fix to prevent total server error * no redundancy: add reducers to transactionreducer * fix lint * trigger CI * Don't return delegations with dust amounts (#171) * Add filter to delegations * Fix filter * Simplify * add undelegations to total stake (#174) * Terra chain_id switched to soju-0013 (#176) * terra chaind_id switched to soju-0013 * changed terra node * fix issues with undelegatio end time (#175) * Fabo/fix undelegationendtime (#177) * fix issues with undelegatio end time * catch undelegation attribute not found * Fabo/fix undelegationendtime for regen (#178) * fix issues with undelegatio end time * catch undelegation attribute not found * fix regen transaction reducers * Display Deposit Period End Date correctly for proposals in deposit period (#181) * Return proposal.voting_end_time in deposit period * Return deposit_end_time instead * release (#183) * fixed a bug where a single proposal would not load (#125) * trigger ci * fixed missing terra data source (#128) * Fabo/fix missing terra db query (#130) * fixed missing terra data source * fixed missing query * Fabo/fix failing staking query for terra (#132) * fixed missing terra data source * fixed missing query * fix bech32 prefix in selfStake resolver * linted * Fabo/hide proposals on terra (#134) * fixed missing terra data source * fixed missing query * fix bech32 prefix in selfStake resolver * linted * don't show proposals on terra * Fabo/switch to yarn (#122) * switch to yarn * Update Readme * Ana/111 regen testnet production (#118) * regen is home * fix websocket link * eslint fix * delete console logs * fixed regen source (using cosmosV0) * add feature flags for regen * fix txs in regen * fix transactions per address * fix eslint errors * disable sign in * colw/Transaction Service (#120) * Obtain transaction payload, mirror back to client * Respond with request, or error if none present * Load node friendly versions of cosmos-api for dev * Send response as JSON * Successfully retrieve a gas estimate - Use node-fetch for cosmosAPIs - * Add two sub routes: /estimate and /broadcast * Add account number and sequence to overview query * Disable cors options * Add support to broadcast messages * Ignore fetch undefined * Delete package-lock.json * Fabo/simplify queries (#108) * simplified db queries Conflicts: lib/luniedb-source.js lib/queries.js * switched to yarn * clean up * clean up * Copy cosmos libraries into container (#143) * Aleksei/terra url change (#144) * terra url changed * change soju-0010 to soju-0012 * fixed db queries (#147) * Update networks.json (#149) * Fabo/events (#123) * first steps * working notification endpoint * remove push mentions * linted * fixes * updated schema * use enum for eventtype * working subscription * linted * added push to express routes * remove newer code * linted * Update lib/routes/push.js Co-Authored-By: Col <[email protected]> * disable session for regen (#155) * Aleksei/terra url change (#146) * terra url changed * change soju-0010 to soju-0012 * cors added to caddyfiles * cors added to caddyfiles * fix missing path * Fabo/fix vote count (#157) * fixed vote count calculation * linted * Ana/handle with message proposal id error (#159) * handle undefined proposal error * fix lint errors * Ana/add endtime to undelegation tx (#150) * add liquiddate as field for tx * fix eslint errors * change name liquidDate to undelegationEndTime * fix enddelegationtime for gaia * improve reducer my way * fix lint error * move undelegationendtime to reducer * fix lint errors * no abbreviations * implement undelegation endtime reducer in both * reenable session for gaia 13006 (#165) * Ana/fix terra undelegationendtime reducer (#162) * change reducers to cosmosV2 * prevent result undefined error * add own gettransaction and txreducer for terra * fix terra undelegationendtime reducer * fix lint errors * avoid hardcoded indexes * small fix to prevent total server error * no redundancy: add reducers to transactionreducer * fix lint * trigger CI * Don't return delegations with dust amounts (#171) * Add filter to delegations * Fix filter * Simplify * add undelegations to total stake (#174) * Terra chain_id switched to soju-0013 (#176) * terra chaind_id switched to soju-0013 * changed terra node * fix issues with undelegatio end time (#175) * Fabo/fix undelegationendtime (#177) * fix issues with undelegatio end time * catch undelegation attribute not found * Fabo/fix undelegationendtime for regen (#178) * fix issues with undelegatio end time * catch undelegation attribute not found * fix regen transaction reducers * Display Deposit Period End Date correctly for proposals in deposit period (#181) * Return proposal.voting_end_time in deposit period * Return deposit_end_time instead * update to new reducers and chain-id (#182) * Fabo/fix rewards (#185) * fixed a bug where a single proposal would not load (#125) * trigger ci * fixed missing terra data source (#128) * Fabo/fix missing terra db query (#130) * fixed missing terra data source * fixed missing query * Fabo/fix failing staking query for terra (#132) * fixed missing terra data source * fixed missing query * fix bech32 prefix in selfStake resolver * linted * Fabo/hide proposals on terra (#134) * fixed missing terra data source * fixed missing query * fix bech32 prefix in selfStake resolver * linted * don't show proposals on terra * Fabo/switch to yarn (#122) * switch to yarn * Update Readme * Ana/111 regen testnet production (#118) * regen is home * fix websocket link * eslint fix * delete console logs * fixed regen source (using cosmosV0) * add feature flags for regen * fix txs in regen * fix transactions per address * fix eslint errors * disable sign in * colw/Transaction Service (#120) * Obtain transaction payload, mirror back to client * Respond with request, or error if none present * Load node friendly versions of cosmos-api for dev * Send response as JSON * Successfully retrieve a gas estimate - Use node-fetch for cosmosAPIs - * Add two sub routes: /estimate and /broadcast * Add account number and sequence to overview query * Disable cors options * Add support to broadcast messages * Ignore fetch undefined * Delete package-lock.json * Fabo/simplify queries (#108) * simplified db queries Conflicts: lib/luniedb-source.js lib/queries.js * switched to yarn * clean up * clean up * Copy cosmos libraries into container (#143) * Aleksei/terra url change (#144) * terra url changed * change soju-0010 to soju-0012 * fixed db queries (#147) * Update networks.json (#149) * Fabo/events (#123) * first steps * working notification endpoint * remove push mentions * linted * fixes * updated schema * use enum for eventtype * working subscription * linted * added push to express routes * remove newer code * linted * Update lib/routes/push.js Co-Authored-By: Col <[email protected]> * disable session for regen (#155) * Aleksei/terra url change (#146) * terra url changed * change soju-0010 to soju-0012 * cors added to caddyfiles * cors added to caddyfiles * fix missing path * Fabo/fix vote count (#157) * fixed vote count calculation * linted * Ana/handle with message proposal id error (#159) * handle undefined proposal error * fix lint errors * Ana/add endtime to undelegation tx (#150) * add liquiddate as field for tx * fix eslint errors * change name liquidDate to undelegationEndTime * fix enddelegationtime for gaia * improve reducer my way * fix lint error * move undelegationendtime to reducer * fix lint errors * no abbreviations * implement undelegation endtime reducer in both * reenable session for gaia 13006 (#165) * Ana/fix terra undelegationendtime reducer (#162) * change reducers to cosmosV2 * prevent result undefined error * add own gettransaction and txreducer for terra * fix terra undelegationendtime reducer * fix lint errors * avoid hardcoded indexes * small fix to prevent total server error * no redundancy: add reducers to transactionreducer * fix lint * trigger CI * Don't return delegations with dust amounts (#171) * Add filter to delegations * Fix filter * Simplify * add undelegations to total stake (#174) * Terra chain_id switched to soju-0013 (#176) * terra chaind_id switched to soju-0013 * changed terra node * fix issues with undelegatio end time (#175) * Fabo/fix undelegationendtime (#177) * fix issues with undelegatio end time * catch undelegation attribute not found * Fabo/fix undelegationendtime for regen (#178) * fix issues with undelegatio end time * catch undelegation attribute not found * fix regen transaction reducers * Display Deposit Period End Date correctly for proposals in deposit period (#181) * Return proposal.voting_end_time in deposit period * Return deposit_end_time instead * update to new reducers and chain-id (#182) * fix rewards not being extracted correctly * linted * trigger deploy * Ana/105 livepeer into production (#114) * add livepeer first files * first tentative. add transcoder type and queries * progress * progress + trying * eslint fix * working * recover missing config enabletestnet * delete livepeer from resolver and schema * try getallvalidators in livepeerv0-source * todos: own subscription and own reducers * eslint fix * refactored into graphql data source * add livepeer to networks json * little hack (temporary) * fix silly eslint error * start playing * fetch works. add to apollo * fix lint * get last round id/height * fix lint * set all feature flags to false * forward. add livepeer reducer. 400 bad request * fix lint * kind of working * fix networkId * colin/ make node subscription great * use transcoders no orchestrators. getValidator * connecting to block height and validators display * minor lint * add validator name * provisory getselfstake * improve validator reducer * use bignumber lib. add getdelegatorsstake * fix lint * fix gettotal stake delegators * fix lint * clean up * get self stake * delete livepeer-queries * handle url with node url class * delete extra back ticks * invisible lint fix * better prevent than regret * delete getlastrounid function * fix total stake and self stake * remove console log * use getblockheight to find last block * get validators from db * get more names * get ALL validators * use validator query string * use bignumber instead of parseint * minor lint * fix validators names * improve condition * get all validators for real * fix search filter for operator address * fix search filter * finishing fixes (formatbech32 and bignumber) * try implementing votingpower. no api support * refactoring and renaming * enable votingpower * livepeer is mainnet * fix voting power filter (#188) * disable livepeer for now (#191) * double the gas estimate for txs (#193) * wait for txs to be included in a block (#194) * Move expected returns to separate resolver (#172) * Move expected returns to separate resolver * Scale result by 1/1000000 * increase gas again (#200) * Fabo/track failing txs (#201) * track failing txs * remove dead code * linted * trigger CI * Fabo/track failing txs (#202) * track failing txs * remove dead code * linted * track failures in broadcasting * better error * Fabo/sync again (#204) * switch back to sync mode * use transactions in block for events * linted * switch to own node (#205) * fix getexpected returns for terra (#208) * Aleksei/redis added (#214) * redis added * redis added * WIP: Fabo/use redis pubsub (#209) * use redis pubsub * refactor * Fix redis import * validator picture fixed (#217) * Revert "validator picture fixed (#217)" (#218) This reverts commit f9250db. * Revert "Revert "validator picture fixed (#217)" (#218)" (#219) This reverts commit c785b0f. * Fabo/refactor enrich validator (#220) * refactor enriche validator * use validator info for name * Fabo+Jordan/livepeer improvements (#210) * add livepeer first files * first tentative. add transcoder type and queries * progress * progress + trying * eslint fix * working * recover missing config enabletestnet * delete livepeer from resolver and schema * try getallvalidators in livepeerv0-source * todos: own subscription and own reducers * eslint fix * refactored into graphql data source * add livepeer to networks json * little hack (temporary) * fix silly eslint error * start playing * fetch works. add to apollo * fix lint * get last round id/height * fix lint * set all feature flags to false * forward. add livepeer reducer. 400 bad request * fix lint * kind of working * fix networkId * colin/ make node subscription great * use transcoders no orchestrators. getValidator * connecting to block height and validators display * minor lint * add validator name * provisory getselfstake * improve validator reducer * use bignumber lib. add getdelegatorsstake * fix lint * fix gettotal stake delegators * fix lint * clean up * get self stake * delete livepeer-queries * handle url with node url class * delete extra back ticks * invisible lint fix * better prevent than regret * delete getlastrounid function * fix total stake and self stake * remove console log * use getblockheight to find last block * get validators from db * get more names * get ALL validators * use validator query string * use bignumber instead of parseint * minor lint * fix validators names * improve condition * get all validators for real * fix search filter for operator address * fix search filter * finishing fixes (formatbech32 and bignumber) * try implementing votingpower. no api support * refactoring and renaming * enable votingpower * livepeer is mainnet * fixed values to be correct * comments * cleanup * refactored * removed file * fix getexpectedreturns * fix validator name logic * add todos * lint * Fabo/refactor enrich validator (#222) * refactor enriche validator * use validator info for name * use same logic for single and multiple validator queries * filter improper picutre values * return picture from db * fix asynchrony for enrichvalidator * Fabo/async check for tx failure (#221) * refactor * Update lib/controller/transaction/index.js Co-Authored-By: Jordan Bibla <[email protected]> * fix subscription for failing txs * fix polling * bunch of fixes * comments * linted * avoid double body read error * linted * fix wrong usage of validator enriching * comment * Fabo/handle no self delegation (#229) * handle the case where a validator has no self delegation * linted * allow explore mode for some networks (#227) * Update issue templates * Ana/livepeer integrate new api (#224) * integrate new api * delete selfstake. add warning for active field * speed up. query getglobal only once * rename back to lpt conversion * delete second globals * upgrade to gaia-13007 (#235) * Fabo/handle tx timeouts correctly (#234) * handle tx timeouts correctly * add broadcastResponse to timeout error tracking * correctly handle timeout issues in schema Co-authored-by: Ana G. <[email protected]> Co-authored-by: Col <[email protected]> Co-authored-by: iambeone <[email protected]> Co-authored-by: Mario Pino <[email protected]> Co-authored-by: Jordan Bibla <[email protected]>
* fixed a bug where a single proposal would not load (#125) * trigger ci * fixed missing terra data source (#128) * Fabo/fix missing terra db query (#130) * fixed missing terra data source * fixed missing query * Fabo/fix failing staking query for terra (#132) * fixed missing terra data source * fixed missing query * fix bech32 prefix in selfStake resolver * linted * Fabo/hide proposals on terra (#134) * fixed missing terra data source * fixed missing query * fix bech32 prefix in selfStake resolver * linted * don't show proposals on terra * Fabo/switch to yarn (#122) * switch to yarn * Update Readme * Ana/111 regen testnet production (#118) * regen is home * fix websocket link * eslint fix * delete console logs * fixed regen source (using cosmosV0) * add feature flags for regen * fix txs in regen * fix transactions per address * fix eslint errors * disable sign in * colw/Transaction Service (#120) * Obtain transaction payload, mirror back to client * Respond with request, or error if none present * Load node friendly versions of cosmos-api for dev * Send response as JSON * Successfully retrieve a gas estimate - Use node-fetch for cosmosAPIs - * Add two sub routes: /estimate and /broadcast * Add account number and sequence to overview query * Disable cors options * Add support to broadcast messages * Ignore fetch undefined * Delete package-lock.json * Fabo/simplify queries (#108) * simplified db queries Conflicts: lib/luniedb-source.js lib/queries.js * switched to yarn * clean up * clean up * Copy cosmos libraries into container (#143) * Aleksei/terra url change (#144) * terra url changed * change soju-0010 to soju-0012 * fixed db queries (#147) * Update networks.json (#149) * Fabo/events (#123) * first steps * working notification endpoint * remove push mentions * linted * fixes * updated schema * use enum for eventtype * working subscription * linted * added push to express routes * remove newer code * linted * Update lib/routes/push.js Co-Authored-By: Col <[email protected]> * disable session for regen (#155) * Aleksei/terra url change (#146) * terra url changed * change soju-0010 to soju-0012 * cors added to caddyfiles * cors added to caddyfiles * fix missing path * Fabo/fix vote count (#157) * fixed vote count calculation * linted * Ana/handle with message proposal id error (#159) * handle undefined proposal error * fix lint errors * Ana/add endtime to undelegation tx (#150) * add liquiddate as field for tx * fix eslint errors * change name liquidDate to undelegationEndTime * fix enddelegationtime for gaia * improve reducer my way * fix lint error * move undelegationendtime to reducer * fix lint errors * no abbreviations * implement undelegation endtime reducer in both * reenable session for gaia 13006 (#165) * Ana/fix terra undelegationendtime reducer (#162) * change reducers to cosmosV2 * prevent result undefined error * add own gettransaction and txreducer for terra * fix terra undelegationendtime reducer * fix lint errors * avoid hardcoded indexes * small fix to prevent total server error * no redundancy: add reducers to transactionreducer * fix lint * trigger CI * Don't return delegations with dust amounts (#171) * Add filter to delegations * Fix filter * Simplify * add undelegations to total stake (#174) * Terra chain_id switched to soju-0013 (#176) * terra chaind_id switched to soju-0013 * changed terra node * fix issues with undelegatio end time (#175) * Fabo/fix undelegationendtime (#177) * fix issues with undelegatio end time * catch undelegation attribute not found * Fabo/fix undelegationendtime for regen (#178) * fix issues with undelegatio end time * catch undelegation attribute not found * fix regen transaction reducers * Display Deposit Period End Date correctly for proposals in deposit period (#181) * Return proposal.voting_end_time in deposit period * Return deposit_end_time instead * update to new reducers and chain-id (#182) * merge back (#186) * release (#179) * fixed a bug where a single proposal would not load (#125) * trigger ci * fixed missing terra data source (#128) * Fabo/fix missing terra db query (#130) * fixed missing terra data source * fixed missing query * Fabo/fix failing staking query for terra (#132) * fixed missing terra data source * fixed missing query * fix bech32 prefix in selfStake resolver * linted * Fabo/hide proposals on terra (#134) * fixed missing terra data source * fixed missing query * fix bech32 prefix in selfStake resolver * linted * don't show proposals on terra * Fabo/switch to yarn (#122) * switch to yarn * Update Readme * Ana/111 regen testnet production (#118) * regen is home * fix websocket link * eslint fix * delete console logs * fixed regen source (using cosmosV0) * add feature flags for regen * fix txs in regen * fix transactions per address * fix eslint errors * disable sign in * colw/Transaction Service (#120) * Obtain transaction payload, mirror back to client * Respond with request, or error if none present * Load node friendly versions of cosmos-api for dev * Send response as JSON * Successfully retrieve a gas estimate - Use node-fetch for cosmosAPIs - * Add two sub routes: /estimate and /broadcast * Add account number and sequence to overview query * Disable cors options * Add support to broadcast messages * Ignore fetch undefined * Delete package-lock.json * Fabo/simplify queries (#108) * simplified db queries Conflicts: lib/luniedb-source.js lib/queries.js * switched to yarn * clean up * clean up * Copy cosmos libraries into container (#143) * Aleksei/terra url change (#144) * terra url changed * change soju-0010 to soju-0012 * fixed db queries (#147) * Update networks.json (#149) * Fabo/events (#123) * first steps * working notification endpoint * remove push mentions * linted * fixes * updated schema * use enum for eventtype * working subscription * linted * added push to express routes * remove newer code * linted * Update lib/routes/push.js Co-Authored-By: Col <[email protected]> * disable session for regen (#155) * Aleksei/terra url change (#146) * terra url changed * change soju-0010 to soju-0012 * cors added to caddyfiles * cors added to caddyfiles * fix missing path * Fabo/fix vote count (#157) * fixed vote count calculation * linted * Ana/handle with message proposal id error (#159) * handle undefined proposal error * fix lint errors * Ana/add endtime to undelegation tx (#150) * add liquiddate as field for tx * fix eslint errors * change name liquidDate to undelegationEndTime * fix enddelegationtime for gaia * improve reducer my way * fix lint error * move undelegationendtime to reducer * fix lint errors * no abbreviations * implement undelegation endtime reducer in both * reenable session for gaia 13006 (#165) * Ana/fix terra undelegationendtime reducer (#162) * change reducers to cosmosV2 * prevent result undefined error * add own gettransaction and txreducer for terra * fix terra undelegationendtime reducer * fix lint errors * avoid hardcoded indexes * small fix to prevent total server error * no redundancy: add reducers to transactionreducer * fix lint * trigger CI * Don't return delegations with dust amounts (#171) * Add filter to delegations * Fix filter * Simplify * add undelegations to total stake (#174) * Terra chain_id switched to soju-0013 (#176) * terra chaind_id switched to soju-0013 * changed terra node * fix issues with undelegatio end time (#175) * Fabo/fix undelegationendtime (#177) * fix issues with undelegatio end time * catch undelegation attribute not found * Fabo/fix undelegationendtime for regen (#178) * fix issues with undelegatio end time * catch undelegation attribute not found * fix regen transaction reducers * Display Deposit Period End Date correctly for proposals in deposit period (#181) * Return proposal.voting_end_time in deposit period * Return deposit_end_time instead * release (#183) * fixed a bug where a single proposal would not load (#125) * trigger ci * fixed missing terra data source (#128) * Fabo/fix missing terra db query (#130) * fixed missing terra data source * fixed missing query * Fabo/fix failing staking query for terra (#132) * fixed missing terra data source * fixed missing query * fix bech32 prefix in selfStake resolver * linted * Fabo/hide proposals on terra (#134) * fixed missing terra data source * fixed missing query * fix bech32 prefix in selfStake resolver * linted * don't show proposals on terra * Fabo/switch to yarn (#122) * switch to yarn * Update Readme * Ana/111 regen testnet production (#118) * regen is home * fix websocket link * eslint fix * delete console logs * fixed regen source (using cosmosV0) * add feature flags for regen * fix txs in regen * fix transactions per address * fix eslint errors * disable sign in * colw/Transaction Service (#120) * Obtain transaction payload, mirror back to client * Respond with request, or error if none present * Load node friendly versions of cosmos-api for dev * Send response as JSON * Successfully retrieve a gas estimate - Use node-fetch for cosmosAPIs - * Add two sub routes: /estimate and /broadcast * Add account number and sequence to overview query * Disable cors options * Add support to broadcast messages * Ignore fetch undefined * Delete package-lock.json * Fabo/simplify queries (#108) * simplified db queries Conflicts: lib/luniedb-source.js lib/queries.js * switched to yarn * clean up * clean up * Copy cosmos libraries into container (#143) * Aleksei/terra url change (#144) * terra url changed * change soju-0010 to soju-0012 * fixed db queries (#147) * Update networks.json (#149) * Fabo/events (#123) * first steps * working notification endpoint * remove push mentions * linted * fixes * updated schema * use enum for eventtype * working subscription * linted * added push to express routes * remove newer code * linted * Update lib/routes/push.js Co-Authored-By: Col <[email protected]> * disable session for regen (#155) * Aleksei/terra url change (#146) * terra url changed * change soju-0010 to soju-0012 * cors added to caddyfiles * cors added to caddyfiles * fix missing path * Fabo/fix vote count (#157) * fixed vote count calculation * linted * Ana/handle with message proposal id error (#159) * handle undefined proposal error * fix lint errors * Ana/add endtime to undelegation tx (#150) * add liquiddate as field for tx * fix eslint errors * change name liquidDate to undelegationEndTime * fix enddelegationtime for gaia * improve reducer my way * fix lint error * move undelegationendtime to reducer * fix lint errors * no abbreviations * implement undelegation endtime reducer in both * reenable session for gaia 13006 (#165) * Ana/fix terra undelegationendtime reducer (#162) * change reducers to cosmosV2 * prevent result undefined error * add own gettransaction and txreducer for terra * fix terra undelegationendtime reducer * fix lint errors * avoid hardcoded indexes * small fix to prevent total server error * no redundancy: add reducers to transactionreducer * fix lint * trigger CI * Don't return delegations with dust amounts (#171) * Add filter to delegations * Fix filter * Simplify * add undelegations to total stake (#174) * Terra chain_id switched to soju-0013 (#176) * terra chaind_id switched to soju-0013 * changed terra node * fix issues with undelegatio end time (#175) * Fabo/fix undelegationendtime (#177) * fix issues with undelegatio end time * catch undelegation attribute not found * Fabo/fix undelegationendtime for regen (#178) * fix issues with undelegatio end time * catch undelegation attribute not found * fix regen transaction reducers * Display Deposit Period End Date correctly for proposals in deposit period (#181) * Return proposal.voting_end_time in deposit period * Return deposit_end_time instead * update to new reducers and chain-id (#182) * Fabo/fix rewards (#185) * fixed a bug where a single proposal would not load (#125) * trigger ci * fixed missing terra data source (#128) * Fabo/fix missing terra db query (#130) * fixed missing terra data source * fixed missing query * Fabo/fix failing staking query for terra (#132) * fixed missing terra data source * fixed missing query * fix bech32 prefix in selfStake resolver * linted * Fabo/hide proposals on terra (#134) * fixed missing terra data source * fixed missing query * fix bech32 prefix in selfStake resolver * linted * don't show proposals on terra * Fabo/switch to yarn (#122) * switch to yarn * Update Readme * Ana/111 regen testnet production (#118) * regen is home * fix websocket link * eslint fix * delete console logs * fixed regen source (using cosmosV0) * add feature flags for regen * fix txs in regen * fix transactions per address * fix eslint errors * disable sign in * colw/Transaction Service (#120) * Obtain transaction payload, mirror back to client * Respond with request, or error if none present * Load node friendly versions of cosmos-api for dev * Send response as JSON * Successfully retrieve a gas estimate - Use node-fetch for cosmosAPIs - * Add two sub routes: /estimate and /broadcast * Add account number and sequence to overview query * Disable cors options * Add support to broadcast messages * Ignore fetch undefined * Delete package-lock.json * Fabo/simplify queries (#108) * simplified db queries Conflicts: lib/luniedb-source.js lib/queries.js * switched to yarn * clean up * clean up * Copy cosmos libraries into container (#143) * Aleksei/terra url change (#144) * terra url changed * change soju-0010 to soju-0012 * fixed db queries (#147) * Update networks.json (#149) * Fabo/events (#123) * first steps * working notification endpoint * remove push mentions * linted * fixes * updated schema * use enum for eventtype * working subscription * linted * added push to express routes * remove newer code * linted * Update lib/routes/push.js Co-Authored-By: Col <[email protected]> * disable session for regen (#155) * Aleksei/terra url change (#146) * terra url changed * change soju-0010 to soju-0012 * cors added to caddyfiles * cors added to caddyfiles * fix missing path * Fabo/fix vote count (#157) * fixed vote count calculation * linted * Ana/handle with message proposal id error (#159) * handle undefined proposal error * fix lint errors * Ana/add endtime to undelegation tx (#150) * add liquiddate as field for tx * fix eslint errors * change name liquidDate to undelegationEndTime * fix enddelegationtime for gaia * improve reducer my way * fix lint error * move undelegationendtime to reducer * fix lint errors * no abbreviations * implement undelegation endtime reducer in both * reenable session for gaia 13006 (#165) * Ana/fix terra undelegationendtime reducer (#162) * change reducers to cosmosV2 * prevent result undefined error * add own gettransaction and txreducer for terra * fix terra undelegationendtime reducer * fix lint errors * avoid hardcoded indexes * small fix to prevent total server error * no redundancy: add reducers to transactionreducer * fix lint * trigger CI * Don't return delegations with dust amounts (#171) * Add filter to delegations * Fix filter * Simplify * add undelegations to total stake (#174) * Terra chain_id switched to soju-0013 (#176) * terra chaind_id switched to soju-0013 * changed terra node * fix issues with undelegatio end time (#175) * Fabo/fix undelegationendtime (#177) * fix issues with undelegatio end time * catch undelegation attribute not found * Fabo/fix undelegationendtime for regen (#178) * fix issues with undelegatio end time * catch undelegation attribute not found * fix regen transaction reducers * Display Deposit Period End Date correctly for proposals in deposit period (#181) * Return proposal.voting_end_time in deposit period * Return deposit_end_time instead * update to new reducers and chain-id (#182) * fix rewards not being extracted correctly * linted * trigger deploy * Ana/105 livepeer into production (#114) * add livepeer first files * first tentative. add transcoder type and queries * progress * progress + trying * eslint fix * working * recover missing config enabletestnet * delete livepeer from resolver and schema * try getallvalidators in livepeerv0-source * todos: own subscription and own reducers * eslint fix * refactored into graphql data source * add livepeer to networks json * little hack (temporary) * fix silly eslint error * start playing * fetch works. add to apollo * fix lint * get last round id/height * fix lint * set all feature flags to false * forward. add livepeer reducer. 400 bad request * fix lint * kind of working * fix networkId * colin/ make node subscription great * use transcoders no orchestrators. getValidator * connecting to block height and validators display * minor lint * add validator name * provisory getselfstake * improve validator reducer * use bignumber lib. add getdelegatorsstake * fix lint * fix gettotal stake delegators * fix lint * clean up * get self stake * delete livepeer-queries * handle url with node url class * delete extra back ticks * invisible lint fix * better prevent than regret * delete getlastrounid function * fix total stake and self stake * remove console log * use getblockheight to find last block * get validators from db * get more names * get ALL validators * use validator query string * use bignumber instead of parseint * minor lint * fix validators names * improve condition * get all validators for real * fix search filter for operator address * fix search filter * finishing fixes (formatbech32 and bignumber) * try implementing votingpower. no api support * refactoring and renaming * enable votingpower * livepeer is mainnet * fix voting power filter (#188) * disable livepeer for now (#191) * double the gas estimate for txs (#193) * wait for txs to be included in a block (#194) * Move expected returns to separate resolver (#172) * Move expected returns to separate resolver * Scale result by 1/1000000 * increase gas again (#200) * Fabo/track failing txs (#201) * track failing txs * remove dead code * linted * trigger CI * Fabo/track failing txs (#202) * track failing txs * remove dead code * linted * track failures in broadcasting * better error * Fabo/sync again (#204) * switch back to sync mode * use transactions in block for events * linted * switch to own node (#205) * fix getexpected returns for terra (#208) * Aleksei/redis added (#214) * redis added * redis added * WIP: Fabo/use redis pubsub (#209) * use redis pubsub * refactor * Fix redis import * validator picture fixed (#217) * Revert "validator picture fixed (#217)" (#218) This reverts commit f9250dbc85a9a6afdd640b0d26417a15e53a37c9. * Revert "Revert "validator picture fixed (#217)" (#218)" (#219) This reverts commit c785b0f80ef93aab5cae7bb4c20c7c566e77a9f5. * Fabo/refactor enrich validator (#220) * refactor enriche validator * use validator info for name * Fabo+Jordan/livepeer improvements (#210) * add livepeer first files * first tentative. add transcoder type and queries * progress * progress + trying * eslint fix * working * recover missing config enabletestnet * delete livepeer from resolver and schema * try getallvalidators in livepeerv0-source * todos: own subscription and own reducers * eslint fix * refactored into graphql data source * add livepeer to networks json * little hack (temporary) * fix silly eslint error * start playing * fetch works. add to apollo * fix lint * get last round id/height * fix lint * set all feature flags to false * forward. add livepeer reducer. 400 bad request * fix lint * kind of working * fix networkId * colin/ make node subscription great * use transcoders no orchestrators. getValidator * connecting to block height and validators display * minor lint * add validator name * provisory getselfstake * improve validator reducer * use bignumber lib. add getdelegatorsstake * fix lint * fix gettotal stake delegators * fix lint * clean up * get self stake * delete livepeer-queries * handle url with node url class * delete extra back ticks * invisible lint fix * better prevent than regret * delete getlastrounid function * fix total stake and self stake * remove console log * use getblockheight to find last block * get validators from db * get more names * get ALL validators * use validator query string * use bignumber instead of parseint * minor lint * fix validators names * improve condition * get all validators for real * fix search filter for operator address * fix search filter * finishing fixes (formatbech32 and bignumber) * try implementing votingpower. no api support * refactoring and renaming * enable votingpower * livepeer is mainnet * fixed values to be correct * comments * cleanup * refactored * removed file * fix getexpectedreturns * fix validator name logic * add todos * lint * Fabo/refactor enrich validator (#222) * refactor enriche validator * use validator info for name * use same logic for single and multiple validator queries * filter improper picutre values * return picture from db * fix asynchrony for enrichvalidator * Fabo/async check for tx failure (#221) * refactor * Update lib/controller/transaction/index.js Co-Authored-By: Jordan Bibla <[email protected]> * fix subscription for failing txs * fix polling * bunch of fixes * comments * linted * avoid double body read error * linted * Fabo/fix enrich validator (#225) * release (#223) * fixed a bug where a single proposal would not load (#125) * trigger ci * fixed missing terra data source (#128) * Fabo/fix missing terra db query (#130) * fixed missing terra data source * fixed missing query * Fabo/fix failing staking query for terra (#132) * fixed missing terra data source * fixed missing query * fix bech32 prefix in selfStake resolver * linted * Fabo/hide proposals on terra (#134) * fixed missing terra data source * fixed missing query * fix bech32 prefix in selfStake resolver * linted * don't show proposals on terra * Fabo/switch to yarn (#122) * switch to yarn * Update Readme * Ana/111 regen testnet production (#118) * regen is home * fix websocket link * eslint fix * delete console logs * fixed regen source (using cosmosV0) * add feature flags for regen * fix txs in regen * fix transactions per address * fix eslint errors * disable sign in * colw/Transaction Service (#120) * Obtain transaction payload, mirror back to client * Respond with request, or error if none present * Load node friendly versions of cosmos-api for dev * Send response as JSON * Successfully retrieve a gas estimate - Use node-fetch for cosmosAPIs - * Add two sub routes: /estimate and /broadcast * Add account number and sequence to overview query * Disable cors options * Add support to broadcast messages * Ignore fetch undefined * Delete package-lock.json * Fabo/simplify queries (#108) * simplified db queries Conflicts: lib/luniedb-source.js lib/queries.js * switched to yarn * clean up * clean up * Copy cosmos libraries into container (#143) * Aleksei/terra url change (#144) * terra url changed * change soju-0010 to soju-0012 * fixed db queries (#147) * Update networks.json (#149) * Fabo/events (#123) * first steps * working notification endpoint * remove push mentions * linted * fixes * updated schema * use enum for eventtype * working subscription * linted * added push to express routes * remove newer code * linted * Update lib/routes/push.js Co-Authored-By: Col <[email protected]> * disable session for regen (#155) * Aleksei/terra url change (#146) * terra url changed * change soju-0010 to soju-0012 * cors added to caddyfiles * cors added to caddyfiles * fix missing path * Fabo/fix vote count (#157) * fixed vote count calculation * linted * Ana/handle with message proposal id error (#159) * handle undefined proposal error * fix lint errors * Ana/add endtime to undelegation tx (#150) * add liquiddate as field for tx * fix eslint errors * change name liquidDate to undelegationEndTime * fix enddelegationtime for gaia * improve reducer my way * fix lint error * move undelegationendtime to reducer * fix lint errors * no abbreviations * implement undelegation endtime reducer in both * reenable session for gaia 13006 (#165) * Ana/fix terra undelegationendtime reducer (#162) * change reducers to cosmosV2 * prevent result undefined error * add own gettransaction and txreducer for terra * fix terra undelegationendtime reducer * fix lint errors * avoid hardcoded indexes * small fix to prevent total server error * no redundancy: add reducers to transactionreducer * fix lint * trigger CI * Don't return delegations with dust amounts (#171) * Add filter to delegations * Fix filter * Simplify * add undelegations to total stake (#174) * Terra chain_id switched to soju-0013 (#176) * terra chaind_id switched to soju-0013 * changed terra node * fix issues with undelegatio end time (#175) * Fabo/fix undelegationendtime (#177) * fix issues with undelegatio end time * catch undelegation attribute not found * Fabo/fix undelegationendtime for regen (#178) * fix issues with undelegatio end time * catch undelegation attribute not found * fix regen transaction reducers * Display Deposit Period End Date correctly for proposals in deposit period (#181) * Return proposal.voting_end_time in deposit period * Return deposit_end_time instead * update to new reducers and chain-id (#182) * merge back (#186) * release (#179) * fixed a bug where a single proposal would not load (#125) * trigger ci * fixed missing terra data source (#128) * Fabo/fix missing terra db query (#130) * fixed missing terra data source * fixed missing query * Fabo/fix failing staking query for terra (#132) * fixed missing terra data source * fixed missing query * fix bech32 prefix in selfStake resolver * linted * Fabo/hide proposals on terra (#134) * fixed missing terra data source * fixed missing query * fix bech32 prefix in selfStake resolver * linted * don't show proposals on terra * Fabo/switch to yarn (#122) * switch to yarn * Update Readme * Ana/111 regen testnet production (#118) * regen is home * fix websocket link * eslint fix * delete console logs * fixed regen source (using cosmosV0) * add feature flags for regen * fix txs in regen * fix transactions per address * fix eslint errors * disable sign in * colw/Transaction Service (#120) * Obtain transaction payload, mirror back to client * Respond with request, or error if none present * Load node friendly versions of cosmos-api for dev * Send response as JSON * Successfully retrieve a gas estimate - Use node-fetch for cosmosAPIs - * Add two sub routes: /estimate and /broadcast * Add account number and sequence to overview query * Disable cors options * Add support to broadcast messages * Ignore fetch undefined * Delete package-lock.json * Fabo/simplify queries (#108) * simplified db queries Conflicts: lib/luniedb-source.js lib/queries.js * switched to yarn * clean up * clean up * Copy cosmos libraries into container (#143) * Aleksei/terra url change (#144) * terra url changed * change soju-0010 to soju-0012 * fixed db queries (#147) * Update networks.json (#149) * Fabo/events (#123) * first steps * working notification endpoint * remove push mentions * linted * fixes * updated schema * use enum for eventtype * working subscription * linted * added push to express routes * remove newer code * linted * Update lib/routes/push.js Co-Authored-By: Col <[email protected]> * disable session for regen (#155) * Aleksei/terra url change (#146) * terra url changed * change soju-0010 to soju-0012 * cors added to caddyfiles * cors added to caddyfiles * fix missing path * Fabo/fix vote count (#157) * fixed vote count calculation * linted * Ana/handle with message proposal id error (#159) * handle undefined proposal error * fix lint errors * Ana/add endtime to undelegation tx (#150) * add liquiddate as field for tx * fix eslint errors * change name liquidDate to undelegationEndTime * fix enddelegationtime for gaia * improve reducer my way * fix lint error * move undelegationendtime to reducer * fix lint errors * no abbreviations * implement undelegation endtime reducer in both * reenable session for gaia 13006 (#165) * Ana/fix terra undelegationendtime reducer (#162) * change reducers to cosmosV2 * prevent result undefined error * add own gettransaction and txreducer for terra * fix terra undelegationendtime reducer * fix lint errors * avoid hardcoded indexes * small fix to prevent total server error * no redundancy: add reducers to transactionreducer * fix lint * trigger CI * Don't return delegations with dust amounts (#171) * Add filter to delegations * Fix filter * Simplify * add undelegations to total stake (#174) * Terra chain_id switched to soju-0013 (#176) * terra chaind_id switched to soju-0013 * changed terra node * fix issues with undelegatio end time (#175) * Fabo/fix undelegationendtime (#177) * fix issues with undelegatio end time * catch undelegation attribute not found * Fabo/fix undelegationendtime for regen (#178) * fix issues with undelegatio end time * catch undelegation attribute not found * fix regen transaction reducers * Display Deposit Period End Date correctly for proposals in deposit period (#181) * Return proposal.voting_end_time in deposit period * Return deposit_end_time instead * release (#183) * fixed a bug where a single proposal would not load (#125) * trigger ci * fixed missing terra data source (#128) * Fabo/fix missing terra db query (#130) * fixed missing terra data source * fixed missing query * Fabo/fix failing staking query for terra (#132) * fixed missing terra data source * fixed missing query * fix bech32 prefix in selfStake resolver * linted * Fabo/hide proposals on terra (#134) * fixed missing terra data source * fixed missing query * fix bech32 prefix in selfStake resolver * linted * don't show proposals on terra * Fabo/switch to yarn (#122) * switch to yarn * Update Readme * Ana/111 regen testnet production (#118) * regen is home * fix websocket link * eslint fix * delete console logs * fixed regen source (using cosmosV0) * add feature flags for regen * fix txs in regen * fix transactions per address * fix eslint errors * disable sign in * colw/Transaction Service (#120) * Obtain transaction payload, mirror back to client * Respond with request, or error if none present * Load node friendly versions of cosmos-api for dev * Send response as JSON * Successfully retrieve a gas estimate - Use node-fetch for cosmosAPIs - * Add two sub routes: /estimate and /broadcast * Add account number and sequence to overview query * Disable cors options * Add support to broadcast messages * Ignore fetch undefined * Delete package-lock.json * Fabo/simplify queries (#108) * simplified db queries Conflicts: lib/luniedb-source.js lib/queries.js * switched to yarn * clean up * clean up * Copy cosmos libraries into container (#143) * Aleksei/terra url change (#144) * terra url changed * change soju-0010 to soju-0012 * fixed db queries (#147) * Update networks.json (#149) * Fabo/events (#123) * first steps * working notification endpoint * remove push mentions * linted * fixes * updated schema * use enum for eventtype * working subscription * linted * added push to express routes * remove newer code * linted * Update lib/routes/push.js Co-Authored-By: Col <[email protected]> * disable session for regen (#155) * Aleksei/terra url change (#146) * terra url changed * change soju-0010 to soju-0012 * cors added to caddyfiles * cors added to caddyfiles * fix missing path * Fabo/fix vote count (#157) * fixed vote count calculation * linted * Ana/handle with message proposal id error (#159) * handle undefined proposal error * fix lint errors * Ana/add endtime to undelegation tx (#150) * add liquiddate as field for tx * fix eslint errors * change name liquidDate to undelegationEndTime * fix enddelegationtime for gaia * improve reducer my way * fix lint error * move undelegationendtime to reducer * fix lint errors * no abbreviations * implement undelegation endtime reducer in both * reenable session for gaia 13006 (#165) * Ana/fix terra undelegationendtime reducer (#162) * change reducers to cosmosV2 * prevent result undefined error * add own gettransaction and txreducer for terra * fix terra undelegationendtime reducer * fix lint errors * avoid hardcoded indexes * small fix to prevent total server error * no redundancy: add reducers to transactionreducer * fix lint * trigger CI * Don't return delegations with dust amounts (#171) * Add filter to delegations * Fix filter * Simplify * add undelegations to total stake (#174) * Terra chain_id switched to soju-0013 (#176) * terra chaind_id switched to soju-0013 * changed terra node * fix issues with undelegatio end time (#175) * Fabo/fix undelegationendtime (#177) * fix issues with undelegatio end time * catch undelegation attribute not found * Fabo/fix undelegationendtime for regen (#178) * fix issues with undelegatio end time * catch undelegation attribute not found * fix regen transaction reducers * Display Deposit Period End Date correctly for proposals in deposit period (#181) * Return proposal.voting_end_time in deposit period * Return deposit_end_time instead * update to new reducers and chain-id (#182) * Fabo/fix rewards (#185) * fixed a bug where a single proposal would not load (#125) * trigger ci * fixed missing terra data source (#128) * Fabo/fix missing terra db query (#130) * fixed missing terra data source * fixed missing query * Fabo/fix failing staking query for terra (#132) * fixed missing terra data source * fixed missing query * fix bech32 prefix in selfStake resolver * linted * Fabo/hide proposals on terra (#134) * fixed missing terra data source * fixed missing query * fix bech32 prefix in selfStake resolver * linted * don't show proposals on terra * Fabo/switch to yarn (#122) * switch to yarn * Update Readme * Ana/111 regen testnet production (#118) * regen is home * fix websocket link * eslint fix * delete console logs * fixed regen source (using cosmosV0) * add feature flags for regen * fix txs in regen * fix transactions per address * fix eslint errors * disable sign in * colw/Transaction Service (#120) * Obtain transaction payload, mirror back to client * Respond with request, or error if none present * Load node friendly versions of cosmos-api for dev * Send response as JSON * Successfully retrieve a gas estimate - Use node-fetch for cosmosAPIs - * Add two sub routes: /estimate and /broadcast * Add account number and sequence to overview query * Disable cors options * Add support to broadcast messages * Ignore fetch undefined * Delete package-lock.json * Fabo/simplify queries (#108) * simplified db queries Conflicts: lib/luniedb-source.js lib/queries.js * switched to yarn * clean up * clean up * Copy cosmos libraries into container (#143) * Aleksei/terra url change (#144) * terra url changed * change soju-0010 to soju-0012 * fixed db queries (#147) * Update networks.json (#149) * Fabo/events (#123) * first steps * working notification endpoint * remove push mentions * linted * fixes * updated schema * use enum for eventtype * working subscription * linted * added push to express routes * remove newer code * linted * Update lib/routes/push.js Co-Authored-By: Col <[email protected]> * disable session for regen (#155) * Aleksei/terra url change (#146) * terra url changed * change soju-0010 to soju-0012 * cors added to caddyfiles * cors added to caddyfiles * fix missing path * Fabo/fix vote count (#157) * fixed vote count calculation * linted * Ana/handle with message proposal id error (#159) * handle undefined proposal error * fix lint errors * Ana/add endtime to undelegation tx (#150) * add liquiddate as field for tx * fix eslint errors * change name liquidDate to undelegationEndTime * fix enddelegationtime for gaia * improve reducer my way * fix lint error * move undelegationendtime to reducer * fix lint errors * no abbreviations * implement undelegation endtime reducer in both * reenable session for gaia 13006 (#165) * Ana/fix terra undelegationendtime reducer (#162) * change reducers to cosmosV2 * prevent result undefined error * add own gettransaction and txreducer for terra * fix terra undelegationendtime reducer * fix lint errors * avoid hardcoded indexes * small fix to prevent total server error * no redundancy: add reducers to transactionreducer * fix lint * trigger CI * Don't return delegations with dust amounts (#171) * Add filter to delegations * Fix filter * Simplify * add undelegations to total stake (#174) * Terra chain_id switched to soju-0013 (#176) * terra chaind_id switched to soju-0013 * changed terra node * fix issues with undelegatio end time (#175) * Fabo/fix undelegationendtime (#177) * fix issues with undelegatio end time * catch undelegation attribute not found * Fabo/fix undelegationendtime for regen (#178) * fix issues with undelegatio end time * catch undelegation attribute not found * fix regen transaction reducers * Display Deposit Period End Date correctly for proposals in deposit period (#181) * Return proposal.voting_end_time in deposit period * Return deposit_end_time instead * update to new reducers and chain-id (#182) * fix rewards not being extracted correctly * linted * trigger deploy * Ana/105 livepeer into production (#114) * add livepeer first files * first tentative. add transcoder type and queries * progress * progress + trying * eslint fix * working * recover missing config enabletestnet * delete livepeer from resolver and schema * try getallvalidators in livepeerv0-source * todos: own subscription and own reducers * eslint fix * refactored into graphql data source * add livepeer to networks json * little hack (temporary) * fix silly eslint error * start playing * fetch works. add to apollo * fix lint * get last round id/height * fix lint * set all feature flags to false * forward. add livepeer reducer. 400 bad request * fix lint * kind of working * fix networkId * colin/ make node subscription great * use transcoders no orchestrators. getValidator * connecting to block height and validators display * minor lint * add validator name * provisory getselfstake * improve validator reducer * use bignumber lib. add getdelegatorsstake * fix lint * fix gettotal stake delegators * fix lint * clean up * get self stake * delete livepeer-queries * handle url with node url class * delete extra back ticks * invisible lint fix * better prevent than regret * delete getlastrounid function * fix total stake and self stake * remove console log * use getblockheight to find last block * get validators from db * get more names * get ALL validators * use validator query string * use bignumber instead of parseint * minor lint * fix validators names * improve condition * get all validators for real * fix search filter for operator address * fix search filter * finishing fixes (formatbech32 and bignumber) * try implementing votingpower. no api support * refactoring and renaming * enable votingpower * livepeer is mainnet * fix voting power filter (#188) * disable livepeer for now (#191) * double the gas estimate for txs (#193) * wait for txs to be included in a block (#194) * Move expected returns to separate resolver (#172) * Move expected returns to separate resolver * Scale result by 1/1000000 * increase gas again (#200) * Fabo/track failing txs (#201) * track failing txs * remove dead code * linted * trigger CI * Fabo/track failing txs (#202) * track failing txs * remove dead code * linted * track failures in broadcasting * better error * Fabo/sync again (#204) * switch back to sync mode * use transactions in block for events * linted * switch to own node (#205) * fix getexpected returns for terra (#208) * Aleksei/redis added (#214) * redis added * redis added * WIP: Fabo/use redis pubsub (#209) * use redis pubsub * refactor * Fix redis import * validator picture fixed (#217) * Revert "validator picture fixed (#217)" (#218) This reverts commit f9250dbc85a9a6afdd640b0d26417a15e53a37c9. * Revert "Revert "validator picture fixed (#217)" (#218)" (#219) This reverts commit c785b0f80ef93aab5cae7bb4c20c7c566e77a9f5. * Fabo/refactor enrich validator (#220) * refactor enriche validator * use validator info for name * Fabo+Jordan/livepeer improvements (#210) * add livepeer first files * first tentative. add transcoder type and queries * progress * progress + trying * eslint fix * working * recover missing config enabletestnet * delete livepeer from resolver and schema * try getallvalidators in livepeerv0-source * todos: own subscription and own reducers * eslint fix * refactored into graphql data source * add livepeer to networks json * little hack (temporary) * fix silly eslint error * start playing * fetch works. add to apollo * fix lint * get last round id/height * fix lint * set all feature flags to false * forward. add livepeer reducer. 400 bad request * fix lint * kind of working * fix networkId * colin/ make node subscription great * use transcoders no orchestrators. getValidator * connecting to block height and validators display * minor lint * add validator name * provisory getselfstake * improve validator reducer * use bignumber lib. add getdelegatorsstake * fix lint * fix gettotal stake delegators * fix lint * clean up * get self stake * delete livepeer-queries * handle url with node url class * delete extra back ticks * invisible lint fix * better prevent than regret * delete getlastrounid function * fix total stake and self stake * remove console log * use getblockheight to find last block * get validators from db * get more names * get ALL validators * use validator query string * use bignumber instead of parseint * minor lint * fix validators names * improve condition * get all validators for real * fix search filter for operator address * fix search filter * finishing fixes (formatbech32 and bignumber) * try implementing votingpower. no api support * refactoring and renaming * enable votingpower * livepeer is mainnet * fixed values to be correct * comments * cleanup * refactored * removed file * fix getexpectedreturns * fix validator name logic * add todos * lint * Fabo/refactor enrich validator (#222) * refactor enriche validator * use validator info for name * use same logic for single and multiple validator queries * filter improper picutre values * return picture from db * fix asynchrony for enrichvalidator * Fabo/async check for tx failure (#221) * refactor * Update lib/controller/transaction/index.js Co-Authored-By: Jordan Bibla <[email protected]> * fix subscription for failing txs * fix polling * bunch of fixes * comments * linted * avoid double body read error * linted * fix wrong usage of validator enriching * comment * Fabo/handle no self delegation (#229) * handle the case where a validator has no self delegation * linted * allow explore mode for some networks (#227) * Update issue templates * Ana/livepeer integrate new api (#224) * integrate new api * delete selfstake. add warning for active field * speed up. query getglobal only once * rename back to lpt conversion * delete second globals * upgrade to gaia-13007 (#235) * Fabo/handle tx timeouts correctly (#234) * handle tx timeouts correctly * add broadcastResponse to timeout error tracking * correctly handle timeout issues in schema * pr alert icon changed (#237) * colw/refactor networks (#197) * Rename index as server.js * Add supertest and nock dependencies * Add basic test for empty transaction request * Disable apollo temporarily * Test workflow * Use yarn * Revert "Use yarn" b8a5ca5ee0d265ff2d94eea50637112db4bf4d7f * Test with npm * Test done * No server log * Clean test * Add bogus code to end jest See: https://github.com/visionmedia/supertest/issues/520 * Force test exit * Add start/stop methods for server * Lint * Remove args to npm test * Use yarn * Close server at end * Lint * Do not execute app server in test environment * Mock testnet replies * Lint tests folder * Add testnet urls * Update circle environment vars * Enable testnet * WIP * Lint * Add graphql tests * Comment for now * One test for now to pass * Create Network classs to manage connections * Keep index.js for now * Aggregate routes * Enable test net * Refactor network list - Export array or map of networks collection - Enable test net if in test or enviro enables. * Don't start Apollo server for test mode * Remove for now * Updated network configs * Validate network configs * Refactor folder structure * Add id to network container * Remove promise for store creation * Get data sources * Check for callback when store updates first time * Modify resolvers - Remove selectFrom - Add localStore and remoteFetch * Test all networks * Change name for clarity * Update test since doubling amount now * Test helper * update name for clarity * Readme * Add sentry for missed blocks * Test only with latest node * Comment on NetworkContainer class * Invert import * Account for a validator with no self stake * Remove test conditions for main server * Add feature_explore * Fabo/switch again to gaia-13007 (#242) * Rename index as server.js * Add supertest and nock dependencies * Add basic test for empty transaction request * Disable apollo temporarily * Test workflow * Use yarn * Revert "Use yarn" b8a5ca5ee0d265ff2d94eea50637112db4bf4d7f * Test with npm * Test done * No server log * Clean test * Add bogus code to end jest See: https://github.com/visionmedia/supertest/issues/520 * Force test exit * Add start/stop methods for server * Lint * Remove args to npm test * Use yarn * Close server at end * Lint * Do not execute app server in test environment * Mock testnet replies * Lint tests folder * Add testnet urls * Update circle environment vars * Enable testnet * WIP * Lint * Add graphql tests * Comment for now * One test for now to pass * Create Network classs to manage connections * Keep index.js for now * Aggregate routes * Enable test net * Refactor network list - Export array or map of networks collection - Enable test net if in test or enviro enables. * Don't start Apollo server for test mode * Remove for now * Updated network configs * Validate network configs * Refactor folder structure * Add id to network container * Remove promise for store creation * Get data sources * Check for callback when store updates first time * Modify resolvers - Remove selectFrom - Add localStore and remoteFetch * Test all networks * Change name for clarity * Update test since doubling amount now * Test helper * update name for clarity * Readme * Add sentry for missed blocks * Test only with latest node * Comment on NetworkContainer class * Invert import * Account for a validator with no self stake * Remove test conditions for main server * Add feature_explore * switch to new gaia Co-authored-by: Col <[email protected]> * Ana/emoney integration validators (#241) * first commit for emoney. validators * lint * add getexpectedreturns for emoney * fix getexpectedreturns * lint * move emoney source. update import * make own expected returns reducer * fix expected returns reducer math * Ana/fix sequence for vesting accounts (#245) * support delayed vesting accounts getaccountinfo * try to make it applicable to all vesting accounts * lint Co-authored-by: Ana G. <[email protected]> * redeploy staging * Fabo/fix gas (#250) * fix gas estimate * linted * fixed test * do not keep data sources (#251) * track failing transactions in Sentry (#249) * correctly set the tx schema for a failing tx (#248) * Fabo/remove per block caching as not working (#247) * remove per block caching as not working * fix memoized results Co-authored-by: Ana G. <[email protected]> * delete perblockcachedatasource (#253) Co-authored-by: Ana G. <[email protected]> Co-authored-by: iambeone <[email protected]> Co-authored-by: Mario Pino <[email protected]> Co-authored-by: Jordan Bibla <[email protected]>
Co-authored-by: Lunie Bot <[email protected]>
PageDelegate.spec.js
is failing? I think it's related to vuex and shoppingCart.jsasync submitDelegation ()
Start State
User starts delegating
Delegating more than exists
Success state