Skip to content
This repository has been archived by the owner on Jul 15, 2022. It is now read-only.

Commit

Permalink
Cosmos JS (#1897)
Browse files Browse the repository at this point in the history
* trigger bot

* trigger bot

* trigger bot

* trigger bot

* trigger bot

* trigger bot

* trigger bot

* trigger bot

* trigger bot

* trigger bot

* fix could not find optimisticOperation in redelegate transaction

* trigger bot

* trigger bot

* Cosmos JS (#1730)

* increase gas amplifier

* fix payload construction

handle payload atomic construction

* More accurate gas amplifier

* increase gas amplifier

* use same node for calculation and broadcast

* fix amount payload

* fix fees/gas calculation

* fix signature

fix public key when account is derivate

* fix fees regression

* More accurate pubkey selection

* don't use extra.tx_bytes

* fix pubkey selection

* simplify hex serialization

* update transaction: more strict types

* many things

restruct operation builder
simulate now return int
prepareTransaction use patch format

* accuracy

more accuracy int value
small refactor

* remove useless isPreValidation

* fix strange edge effect of ledger live desktop

* Update xpub during sync

* temporary enable log for bot

* LL-9159 cosmos node

* Update js-signOperation.ts

revert back test trace for bot

* fix signature

* fix redelegate payload

* fix payload send transaction when sendmax

* fix optimistic operation type

* fix typo

* bugfix

* fix regression

* update optimistic operation

fix regression
add operation type
more consistent fee

* fix prettier

* more deterministic transaction parsing

* clarify code readable

* adjust sender and recipient

* fix fees when is ibc transaction

* fix redelegations data mapping

* fix mixed styles

* fix array cast type

* fix more determinist operation data

* fix could not find optimisticOperation in redelegate transaction

Co-authored-by: Alexandre Alouit <[email protected]>

* restore getStargateRewardsState methode

* Cosmos JS (#1731)

* increase gas amplifier

* fix payload construction

handle payload atomic construction

* More accurate gas amplifier

* increase gas amplifier

* use same node for calculation and broadcast

* fix amount payload

* fix fees/gas calculation

* fix signature

fix public key when account is derivate

* fix fees regression

* More accurate pubkey selection

* don't use extra.tx_bytes

* fix pubkey selection

* simplify hex serialization

* update transaction: more strict types

* many things

restruct operation builder
simulate now return int
prepareTransaction use patch format

* accuracy

more accuracy int value
small refactor

* remove useless isPreValidation

* fix strange edge effect of ledger live desktop

* Update xpub during sync

* temporary enable log for bot

* LL-9159 cosmos node

* Update js-signOperation.ts

revert back test trace for bot

* fix signature

* fix redelegate payload

* fix payload send transaction when sendmax

* fix optimistic operation type

* fix typo

* bugfix

* fix regression

* update optimistic operation

fix regression
add operation type
more consistent fee

* fix prettier

* more deterministic transaction parsing

* clarify code readable

* adjust sender and recipient

* fix fees when is ibc transaction

* fix redelegations data mapping

* fix mixed styles

* fix array cast type

* fix more determinist operation data

* fix could not find optimisticOperation in redelegate transaction

* restore getStargateRewardsState methode

Co-authored-by: Alexandre Alouit <[email protected]>

* trigger bot

* trigger bot

* trigger bot

* trigger bot

* trigger bot

* trigger bot

* trigger bot

* trigger bot

* trigger bot

* trigger bot

* trigger bot

* trigger bot

* trigger bot

* trigger bot

* trigger bot

* trigger bot

* trigger bot

* trigger bot

* trigger bot

* trigger bot

* trigger bot

* trigger bot

* trigger bot

* trigger bot

* trigger bot

* try to limit even more the cost of delegation

* lint

* Add files via upload

* amount of the operation more close

* return transaction in prepareTransaction

* prevent cosmos-js bot to do invalid scenarios of amount=0

* keep immutable paradigm for prepareTransaction

* bot: do not limit a maxRun for 'send some'

* Cosmos JS (#1743)

* increase gas amplifier

* fix payload construction

handle payload atomic construction

* More accurate gas amplifier

* increase gas amplifier

* use same node for calculation and broadcast

* fix amount payload

* fix fees/gas calculation

* fix signature

fix public key when account is derivate

* fix fees regression

* More accurate pubkey selection

* don't use extra.tx_bytes

* fix pubkey selection

* simplify hex serialization

* update transaction: more strict types

* many things

restruct operation builder
simulate now return int
prepareTransaction use patch format

* accuracy

more accuracy int value
small refactor

* remove useless isPreValidation

* fix strange edge effect of ledger live desktop

* Update xpub during sync

* temporary enable log for bot

* LL-9159 cosmos node

* Update js-signOperation.ts

revert back test trace for bot

* fix signature

* fix redelegate payload

* fix payload send transaction when sendmax

* fix optimistic operation type

* fix typo

* bugfix

* fix regression

* update optimistic operation

fix regression
add operation type
more consistent fee

* fix prettier

* more deterministic transaction parsing

* clarify code readable

* adjust sender and recipient

* fix fees when is ibc transaction

* fix redelegations data mapping

* fix mixed styles

* fix array cast type

* fix more determinist operation data

* fix could not find optimisticOperation in redelegate transaction

* restore getStargateRewardsState methode

* amount of the operation more close

* return transaction in prepareTransaction

* keep immutable paradigm for prepareTransaction

Co-authored-by: Alexandre Alouit <[email protected]>

* add .github/workflows/bot7-meredenis.yml

* fix amount update in prepareTransaction

* fix amount control to be more specific

* fix BigNumber compare

* Cosmos JS (#1746)

* increase gas amplifier

* fix payload construction

handle payload atomic construction

* More accurate gas amplifier

* increase gas amplifier

* use same node for calculation and broadcast

* fix amount payload

* fix fees/gas calculation

* fix signature

fix public key when account is derivate

* fix fees regression

* More accurate pubkey selection

* don't use extra.tx_bytes

* fix pubkey selection

* simplify hex serialization

* update transaction: more strict types

* many things

restruct operation builder
simulate now return int
prepareTransaction use patch format

* accuracy

more accuracy int value
small refactor

* remove useless isPreValidation

* fix strange edge effect of ledger live desktop

* Update xpub during sync

* temporary enable log for bot

* LL-9159 cosmos node

* Update js-signOperation.ts

revert back test trace for bot

* fix signature

* fix redelegate payload

* fix payload send transaction when sendmax

* fix optimistic operation type

* fix typo

* bugfix

* fix regression

* update optimistic operation

fix regression
add operation type
more consistent fee

* fix prettier

* more deterministic transaction parsing

* clarify code readable

* adjust sender and recipient

* fix fees when is ibc transaction

* fix redelegations data mapping

* fix mixed styles

* fix array cast type

* fix more determinist operation data

* fix could not find optimisticOperation in redelegate transaction

* restore getStargateRewardsState methode

* amount of the operation more close

* return transaction in prepareTransaction

* keep immutable paradigm for prepareTransaction

* fix amount update in prepareTransaction

* fix amount control to be more specific

* fix BigNumber compare

Co-authored-by: Alexandre Alouit <[email protected]>

* fix spendableBalance

* Cosmos JS (#1749)

* increase gas amplifier

* fix payload construction

handle payload atomic construction

* More accurate gas amplifier

* increase gas amplifier

* use same node for calculation and broadcast

* fix amount payload

* fix fees/gas calculation

* fix signature

fix public key when account is derivate

* fix fees regression

* More accurate pubkey selection

* don't use extra.tx_bytes

* fix pubkey selection

* simplify hex serialization

* update transaction: more strict types

* many things

restruct operation builder
simulate now return int
prepareTransaction use patch format

* accuracy

more accuracy int value
small refactor

* remove useless isPreValidation

* fix strange edge effect of ledger live desktop

* Update xpub during sync

* temporary enable log for bot

* LL-9159 cosmos node

* Update js-signOperation.ts

revert back test trace for bot

* fix signature

* fix redelegate payload

* fix payload send transaction when sendmax

* fix optimistic operation type

* fix typo

* bugfix

* fix regression

* update optimistic operation

fix regression
add operation type
more consistent fee

* fix prettier

* more deterministic transaction parsing

* clarify code readable

* adjust sender and recipient

* fix fees when is ibc transaction

* fix redelegations data mapping

* fix mixed styles

* fix array cast type

* fix more determinist operation data

* fix could not find optimisticOperation in redelegate transaction

* restore getStargateRewardsState methode

* amount of the operation more close

* return transaction in prepareTransaction

* keep immutable paradigm for prepareTransaction

* fix amount update in prepareTransaction

* fix amount control to be more specific

* fix BigNumber compare

* fix spendableBalance

Co-authored-by: Alexandre Alouit <[email protected]>

* separate postBuildTransaction logic + fix use useAllAmount

* Cosmos JS (#1751)

* increase gas amplifier

* fix payload construction

handle payload atomic construction

* More accurate gas amplifier

* increase gas amplifier

* use same node for calculation and broadcast

* fix amount payload

* fix fees/gas calculation

* fix signature

fix public key when account is derivate

* fix fees regression

* More accurate pubkey selection

* don't use extra.tx_bytes

* fix pubkey selection

* simplify hex serialization

* update transaction: more strict types

* many things

restruct operation builder
simulate now return int
prepareTransaction use patch format

* accuracy

more accuracy int value
small refactor

* remove useless isPreValidation

* fix strange edge effect of ledger live desktop

* Update xpub during sync

* temporary enable log for bot

* LL-9159 cosmos node

* Update js-signOperation.ts

revert back test trace for bot

* fix signature

* fix redelegate payload

* fix payload send transaction when sendmax

* fix optimistic operation type

* fix typo

* bugfix

* fix regression

* update optimistic operation

fix regression
add operation type
more consistent fee

* fix prettier

* more deterministic transaction parsing

* clarify code readable

* adjust sender and recipient

* fix fees when is ibc transaction

* fix redelegations data mapping

* fix mixed styles

* fix array cast type

* fix more determinist operation data

* fix could not find optimisticOperation in redelegate transaction

* restore getStargateRewardsState methode

* amount of the operation more close

* return transaction in prepareTransaction

* keep immutable paradigm for prepareTransaction

* fix amount update in prepareTransaction

* fix amount control to be more specific

* fix BigNumber compare

* fix spendableBalance

* separate postBuildTransaction logic + fix use useAllAmount

Co-authored-by: Alexandre Alouit <[email protected]>

* bot: lower claim reward at 1000

* bot: lower the # of // delegations for cosmos

* trigger bot

* trigger bot

* trigger bot

* trigger bot

* trigger bot

* bot: fixes 0 atom undelegate

* trigger bot

* v21.33.1-cosmos.0

* trigger bot

* trigger bot

* update cosmos specs for claim rewards

* trigger bot

* trigger bot

* trigger bot

* trigger bot

* trigger bot

* fix rewards

* trigger bot

* Cosmos JS (#1761)

* increase gas amplifier

* fix payload construction

handle payload atomic construction

* More accurate gas amplifier

* increase gas amplifier

* use same node for calculation and broadcast

* fix amount payload

* fix fees/gas calculation

* fix signature

fix public key when account is derivate

* fix fees regression

* More accurate pubkey selection

* don't use extra.tx_bytes

* fix pubkey selection

* simplify hex serialization

* update transaction: more strict types

* many things

restruct operation builder
simulate now return int
prepareTransaction use patch format

* accuracy

more accuracy int value
small refactor

* remove useless isPreValidation

* fix strange edge effect of ledger live desktop

* Update xpub during sync

* temporary enable log for bot

* LL-9159 cosmos node

* Update js-signOperation.ts

revert back test trace for bot

* fix signature

* fix redelegate payload

* fix payload send transaction when sendmax

* fix optimistic operation type

* fix typo

* bugfix

* fix regression

* update optimistic operation

fix regression
add operation type
more consistent fee

* fix prettier

* more deterministic transaction parsing

* clarify code readable

* adjust sender and recipient

* fix fees when is ibc transaction

* fix redelegations data mapping

* fix mixed styles

* fix array cast type

* fix more determinist operation data

* fix could not find optimisticOperation in redelegate transaction

* restore getStargateRewardsState methode

* amount of the operation more close

* return transaction in prepareTransaction

* keep immutable paradigm for prepareTransaction

* fix amount update in prepareTransaction

* fix amount control to be more specific

* fix BigNumber compare

* fix spendableBalance

* separate postBuildTransaction logic + fix use useAllAmount

* fix rewards

Co-authored-by: Alexandre Alouit <[email protected]>

* trigger bot

* trigger bot

* trigger bot

* trigger bot

* trigger bot

* trigger bot

* fix unbondings

* fix fees calculation and add cache usage

* trigger bot

* v21.33.1-cosmos.1

* v21.33.1-cosmos.2

* trigger bot

* trigger bot

* trigger bot

* trigger bot

* cosmos bot: lower the amount for general tx & lower part alloc in delegate

* ensure for all cosmos mutation that only one op results of a tx

* be more conform between optimistic and final operation

* be more conform between optimistic and final operation (#1786)

Co-authored-by: Alexandre Alouit <[email protected]>

* Filecoin fixes (#1740)

* make use of useAllAmount flag

* make use of useAllAmount on signing tx process

* refactor signOperation process to use extra field better

* add deviceTransactionConfig for filecoin

* re org fields for confirm tx

* change fields order

* add extra field parsers

* move extra field parsers to the correct file

* fix lint issue

* Create dependencies.md

* Add env var to enable learn staging URL

* lint

* Bump urijs from 1.19.8 to 1.19.9 (#1774)

Bumps [urijs](https://github.com/medialize/URI.js) from 1.19.8 to 1.19.9.
- [Release notes](https://github.com/medialize/URI.js/releases)
- [Changelog](https://github.com/medialize/URI.js/blob/gh-pages/CHANGELOG.md)
- [Commits](medialize/URI.js@v1.19.8...v1.19.9)

---
updated-dependencies:
- dependency-name: urijs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump urijs from 1.19.8 to 1.19.9 in /tools (#1776)

Bumps [urijs](https://github.com/medialize/URI.js) from 1.19.8 to 1.19.9.
- [Release notes](https://github.com/medialize/URI.js/releases)
- [Changelog](https://github.com/medialize/URI.js/blob/gh-pages/CHANGELOG.md)
- [Commits](medialize/URI.js@v1.19.8...v1.19.9)

---
updated-dependencies:
- dependency-name: urijs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump urijs from 1.19.8 to 1.19.9 in /cli (#1775)

Bumps [urijs](https://github.com/medialize/URI.js) from 1.19.8 to 1.19.9.
- [Release notes](https://github.com/medialize/URI.js/releases)
- [Changelog](https://github.com/medialize/URI.js/blob/gh-pages/CHANGELOG.md)
- [Commits](medialize/URI.js@v1.19.8...v1.19.9)

---
updated-dependencies:
- dependency-name: urijs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump urijs from 1.19.8 to 1.19.9 in /mobile-test-app (#1773)

Bumps [urijs](https://github.com/medialize/URI.js) from 1.19.8 to 1.19.9.
- [Release notes](https://github.com/medialize/URI.js/releases)
- [Changelog](https://github.com/medialize/URI.js/blob/gh-pages/CHANGELOG.md)
- [Commits](medialize/URI.js@v1.19.8...v1.19.9)

---
updated-dependencies:
- dependency-name: urijs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump plist from 3.0.1 to 3.0.4 in /mobile-test-app (#1767)

Bumps [plist](https://github.com/TooTallNate/node-plist) from 3.0.1 to 3.0.4.
- [Release notes](https://github.com/TooTallNate/node-plist/releases)
- [Changelog](https://github.com/TooTallNate/plist.js/blob/master/History.md)
- [Commits](https://github.com/TooTallNate/node-plist/commits)

---
updated-dependencies:
- dependency-name: plist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* disable a failing test of countervalues (#1778)

temporarily disable a countervalues api test. team informed.

* re-enable countervalues test (#1779)

* fix device actions used by bot and add new test case (#1784)

* Fixes for XTZ JS (still under experimental, no impact)

* Update Ethereum related libraries (#1780)

* Update Ethereum related libraries

* axios update

* bitcoin bot to slack on ll-bitcoin-ci

* v21.34.0-cosmos.0

* use old code logic

* Cosmos JS (#1791)

* be more conform between optimistic and final operation

* use old code logic

Co-authored-by: Alexandre Alouit <[email protected]>

* fix senders/recipients regression

* Cosmos JS (#1793)

* be more conform between optimistic and final operation

* use old code logic

* fix senders/recipients regression

Co-authored-by: Alexandre Alouit <[email protected]>

* fix duplicate data

* Cosmos JS (#1794)

* be more conform between optimistic and final operation

* use old code logic

* fix senders/recipients regression

* fix duplicate data

Co-authored-by: Alexandre Alouit <[email protected]>

* fix duplicate data (again)

* Cosmos JS (#1795)

* be more conform between optimistic and final operation

* use old code logic

* fix senders/recipients regression

* fix duplicate data

* fix duplicate data (again)

Co-authored-by: Alexandre Alouit <[email protected]>

* append block height

* Cosmos JS (#1796)

* be more conform between optimistic and final operation

* use old code logic

* fix senders/recipients regression

* fix duplicate data

* fix duplicate data (again)

* append block height

Co-authored-by: Alexandre Alouit <[email protected]>

* trigger bot

* Cosmos-JS - Fix random balance changes (#1797)

* Cleanup Cosmos.api and remove default values

* forEach doesn't behave well with async/await

* Restore some necessary API default values

* Fix lint error

* trigger bot

* Fix setting of experimental JS currencies

* fix specific empty amount case in reward transaction

* Cosmos JS (#1799)

* be more conform between optimistic and final operation

* use old code logic

* fix senders/recipients regression

* fix duplicate data

* fix duplicate data (again)

* append block height

* fix specific empty amount case in reward transaction

Co-authored-by: Alexandre Alouit <[email protected]>

* temporary debug operation broadcasted

* use toOperationRaw method

* return  patchedOperation

* Cosmos JS (#1800)

* be more conform between optimistic and final operation

* use old code logic

* fix senders/recipients regression

* fix duplicate data

* fix duplicate data (again)

* append block height

* fix specific empty amount case in reward transaction

* temporary debug operation broadcasted

* use toOperationRaw method

* return  patchedOperation

Co-authored-by: Alexandre Alouit <[email protected]>

* restore broadcast operation

* Update js-synchronisation.ts

* remove block height support

* Cosmos JS (#1801)

* be more conform between optimistic and final operation

* use old code logic

* fix senders/recipients regression

* fix duplicate data

* fix duplicate data (again)

* append block height

* fix specific empty amount case in reward transaction

* temporary debug operation broadcasted

* use toOperationRaw method

* return  patchedOperation

* restore broadcast operation

* Update js-synchronisation.ts

* remove block height support

Co-authored-by: Alexandre Alouit <[email protected]>

* v21.34.1-cosmos.3

* Revert "remove block height support"

This reverts commit eb7198f.

* log allOperationsMatchingId

* lint

* augment the nb of cosmos accounts

* trigger bot

* trigger bot

* trigger bot

* trigger bot

* enable crypto_org to run tests

* More strict type

* reverse order of validators

* Cosmos JS (#1803)

* be more conform between optimistic and final operation

* use old code logic

* fix senders/recipients regression

* fix duplicate data

* fix duplicate data (again)

* append block height

* fix specific empty amount case in reward transaction

* temporary debug operation broadcasted

* use toOperationRaw method

* return  patchedOperation

* restore broadcast operation

* Update js-synchronisation.ts

* remove block height support

* Revert "remove block height support"

This reverts commit eb7198f.

* More strict type

* reverse order of validators

Co-authored-by: Alexandre Alouit <[email protected]>

* fix validators type in createTransmission

* add sequence to ops

* strict output getAccount type

* fix operations sequence

* Cosmos JS (#1804)

* be more conform between optimistic and final operation

* use old code logic

* fix senders/recipients regression

* fix duplicate data

* fix duplicate data (again)

* append block height

* fix specific empty amount case in reward transaction

* temporary debug operation broadcasted

* use toOperationRaw method

* return  patchedOperation

* restore broadcast operation

* Update js-synchronisation.ts

* remove block height support

* Revert "remove block height support"

This reverts commit eb7198f.

* More strict type

* reverse order of validators

* fix validators type in createTransmission

* add sequence to ops

* strict output getAccount type

* fix operations sequence

Co-authored-by: Alexandre Alouit <[email protected]>

* Add a workaround that prevent 2 last operations to be same id (#1807)

* Fixes deduplication logic of mergeOps

* Revert "Add a workaround that prevent 2 last operations to be same id (#1807)"

This reverts commit b0e55cd.

* fix multiple tx messages

* Remove all libcore codebase

* remove calculateFees libcore logic

* trigger some bot (commit to revert before merging this PR)

* lint

* remove useless cli test run

* fix type issue

* cli update

* Revert "trigger some bot (commit to revert before merging this PR)"

This reverts commit add2667.

* update cli/README

* don't use round ceil

* add comment note

* sync with upstream

* fix merge

* Cosmos js (#1832)

Document Nano app limitations + minor fix on reward amounts

* Modularize the all.libcore.tests (#1834)

* LL-1589 more robust bitcoin retry (#1835)

* fix bot

* fix sync error exception process

* Additional cleanup on bitcoin implem

* fix mixed transaction sync

fix edge case when we have delegate and reward like tx  DF458FE6A82C310837D7A33735FA5298BCF71B0BFF7A4134641AAE30F6F10501

* fix balance

incorrect balance when have unbonding data

* Set bot on family/cosmos branch

* fix bch address convert issue (#1847)

* Hotfix - v21.36.1 on Develop (#1860)

* bugfix/swap-operation-details-duplicates getCompleteSwapHistory modified to avoid returning the same swap operations multiple times (#1854)

* v21.36.1

Co-authored-by: Côme Grellard <[email protected]>

* Remove all libcore codebase (#1831)

* Remove all libcore codebase

* trigger some bot (commit to revert before merging this PR)

* lint

* remove useless cli test run

* fix type issue

* cli update

* Revert "trigger some bot (commit to revert before merging this PR)"

This reverts commit add2667.

* update cli/README

* fix merge

* Cosmos js (#1832)

Document Nano app limitations + minor fix on reward amounts

* Modularize the all.libcore.tests (#1834)

* Additional cleanup on bitcoin implem

* LIVE-1873

Co-authored-by: wa-aal <[email protected]>
Co-authored-by: haammar-ledger <[email protected]>

* Add ETH goerli (#1841)

* add ETH goerli

* add goerli test

* Cosmos fixes (#1846)

* Set bot on family/cosmos branch

* LIVE-1873

* trigger bot

* Family/crypto org (#1852)

* LIVE-1743 Fix crypto.com address derivation path (#1836)

* trigger bot

* Tentative to fix crypto.com use of address

Co-authored-by: Thomas Nguy <[email protected]>

* [LIVE-1174] - Feature: Upgrade NFT Architecture (#1805)

* Fix wrong NFTResource typing

* Update NFT types to ProtoNFT

* Update NFT Id to contain currency

* Update NFT Helpers for new model

* Update Eth API metadata call to include chainId

* Move nft metadata resolution to bridge

* Update NftMetadaProvider logic to use bridge

* Update prepare tx of ERC721/1155 w/ new model

* Update CLI for new NFT model

* Add getNftCapabilities to nft support

* Naming + fixing ERC1155 quantity potentially falsy

* Make CLI use the LLC branch hash

* Add type to nftMetadataResolver param + use of sync metadata

* Remove useless import

* Remove useless comment in CLI formatters

* Add comment to nftsByCollection helper

* Add comments + types to NFT metadata call batchers

* Fix sync metadata resolution for Eth family

* Add return type to nftMetadataResolver + decodeNftId

* Add polygon to NFT currencies (#1848)

* [LIVE-1909] - Bugfix: OpenSea Lazy mint quantity fix (#1862)

* Fix lazyminting issue for nfts quantity

* run ci

* Reset CLI LLC dep

* LIVE-1890 Replace all deprecated uses of open(deviceId) with withDevice (#1856)

* Fix nft operations wrong order to infer balance (#1865)

* Replace all deprecated uses of open(deviceId) with withDevice (#1864)

* [LIVE-1911][LIVE-1912] Feature - Add collection name resolver to eth familly (#1863)

* Change nfts resolvers from Bridge type

* Update eth nft resolvers & add collection resolver

* Add loadCollectionMetadata to nft context

* Change eth NFT prepareTransaction to use collection call instead of nft metadata call

* Bump plist from 3.0.4 to 3.0.5 in /mobile-test-app (#1849)

Bumps [plist](https://github.com/TooTallNate/node-plist) from 3.0.4 to 3.0.5.
- [Release notes](https://github.com/TooTallNate/node-plist/releases)
- [Changelog](https://github.com/TooTallNate/plist.js/blob/master/History.md)
- [Commits](https://github.com/TooTallNate/node-plist/commits)

---
updated-dependencies:
- dependency-name: plist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump cocoapods-downloader from 1.3.0 to 1.6.3 in /mobile-test-app (#1857)

Bumps [cocoapods-downloader](https://github.com/CocoaPods/cocoapods-downloader) from 1.3.0 to 1.6.3.
- [Release notes](https://github.com/CocoaPods/cocoapods-downloader/releases)
- [Changelog](https://github.com/CocoaPods/cocoapods-downloader/blob/master/CHANGELOG.md)
- [Commits](CocoaPods/cocoapods-downloader@1.3.0...1.6.3)

---
updated-dependencies:
- dependency-name: cocoapods-downloader
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump ansi-regex from 3.0.0 to 3.0.1 (#1850)

Bumps [ansi-regex](https://github.com/chalk/ansi-regex) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/chalk/ansi-regex/releases)
- [Commits](chalk/ansi-regex@v3.0.0...v3.0.1)

---
updated-dependencies:
- dependency-name: ansi-regex
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Solana staking (#1844)

* solana add initial staking support

* solana improve staking

* solana fix typos

* solana fix cli format for staking

* solana add device fields for stake create acc

* solana add stake delegate support

* solana fix lint

* solana add stake undelegate

* solana add stake withdraw

* solana add stake split

* solana add stakes loading

* solana improve staking

* solana introduce solana resources

* solana add preload data

* solana add hydrate to bridge

* solana add stake actions

* solana improve staking

* solana add meta to validators

* solana add validator name

* solana fix seed for stake accs

* solana add stake reward

* solana improve staking

* solana stake add withdrawable amount

* solana refactor framework

* solana fix tests

* solana make auto delegation mandatory

* solana sort stakes

* solana fix error key

* solana add delegation validator validation

* solana add staking create acc tests

* solana add staking delegate tests

* solana add stake undelegate tests

* solana remove redundant checks for stake delegation

* solana skip options validations on cli level

* solana skip undelegate options validations on cli level

* solana improve staking tests

* solana add delegatable check to staking

* solana fix estimate max spendable

* solana add delegation active test

* solana add stake state tests

* solana introduce validators app validators

* solana add validators for testnet & devnet

* solana refactor validators app validators

* solana update meta of stakes

* solana update sort order of stakes

* solana add delegated op type

* solana shuffle staking validators

* solana fix stake withdraw optimistic value

* solana clean comments

* solana update mock data

* solana add initial staking bot specs

* solana add staking bot specs

* solana move ledger vote acc to utils

* solana add swap util

* solana update device tx config

* solana fix lint

* Add bot for Solana

* Solana staking integration (#1825)

* solana add initial staking support

* solana improve staking

* solana fix typos

* solana fix cli format for staking

* solana add device fields for stake create acc

* solana add stake delegate support

* solana fix lint

* solana add stake undelegate

* solana add stake withdraw

* solana add stake split

* solana add stakes loading

* solana improve staking

* solana introduce solana resources

* solana add preload data

* solana add hydrate to bridge

* solana add stake actions

* solana improve staking

* solana add meta to validators

* solana add validator name

* solana fix seed for stake accs

* solana add stake reward

* solana improve staking

* solana stake add withdrawable amount

* solana refactor framework

* solana fix tests

* solana make auto delegation mandatory

* solana sort stakes

* solana fix error key

* solana add delegation validator validation

* solana add staking create acc tests

* solana add staking delegate tests

* solana add stake undelegate tests

* solana remove redundant checks for stake delegation

* solana skip options validations on cli level

* solana skip undelegate options validations on cli level

* solana improve staking tests

* solana add delegatable check to staking

* solana fix estimate max spendable

* solana add delegation active test

* solana add stake state tests

* solana introduce validators app validators

* solana add validators for testnet & devnet

* solana refactor validators app validators

* solana update meta of stakes

* solana update sort order of stakes

* solana add delegated op type

* solana shuffle staking validators

* solana fix stake withdraw optimistic value

* solana clean comments

* solana update mock data

* solana add initial staking bot specs

* solana add staking bot specs

* solana move ledger vote acc to utils

* solana add swap util

* solana update device tx config

* solana fix lint

* Change seed for Solana bot

* Change seed again for Solana bot

* trigger bot

* solana add stake percent calc fn

* solana update spec for new nano app

* solana set minimum required nano app version

* solana add validators app url env variable

* fix bad merge

* trigger bot

* trigger bot

* trigger bot

* trigger bot

* Solana bot - increase timeout and decrease minimum to delegate

* trigger bot

* trigger bot

* trigger bot

* trigger bot

* Setup the bot to not use the validators.app proxy (yet)

* Replace all deprecated uses of open(deviceId) with withDevice

* Solana - replace open(deviceId) with withDevice

* Remove custom data

* Update solana bot

Co-authored-by: konoart <[email protected]>
Co-authored-by: konoart <[email protected]>
Co-authored-by: lambertkevin <[email protected]>

* v22.0.0

* (Solana): fix missing superstruct dependency -> making app crashes

* v21.36.2

* Revert "Merge remote-tracking branch 'origin/release/v22.0.0'"

This reverts commit 1e72d95, reversing
changes made to 77dfa66.

* Revert "Merge pull request #1853 from LedgerHQ/release/v22.0.0"

This reverts commit 78650fe, reversing
changes made to 7ef865d.

* (Solana): fix missing superstruct dependency -> making app crashes

* v21.36.2

* Update Cosmos dataset snapshot to fix test (#1861)

* move from cosmjs/ledger-amino to ledgerhq/hw-app-cosmos

* fix message and signature

* fix derivation path

* remove cosmjs/ledger-amino package

Co-authored-by: Gaëtan Renaudeau <[email protected]>
Co-authored-by: wa-aal <[email protected]>
Co-authored-by: Emmanuel <[email protected]>
Co-authored-by: Olivier Freyssinet <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: haammar-ledger <[email protected]>
Co-authored-by: Hakim <[email protected]>
Co-authored-by: hzheng-ledger <[email protected]>
Co-authored-by: Valentin D. Pinkman <[email protected]>
Co-authored-by: Kévin Lambert <[email protected]>
Co-authored-by: Côme Grellard <[email protected]>
Co-authored-by: Thomas Nguy <[email protected]>
Co-authored-by: lambertkevin <[email protected]>
Co-authored-by: konoart <[email protected]>
Co-authored-by: konoart <[email protected]>
Co-authored-by: LFBarreto <[email protected]>
Co-authored-by: henrily-ledger <[email protected]>
  • Loading branch information
18 people committed Apr 26, 2022
1 parent acaea8c commit 69ec369
Show file tree
Hide file tree
Showing 5 changed files with 63 additions and 83 deletions.
30 changes: 2 additions & 28 deletions cli/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -329,19 +329,6 @@
axios "^0.21.1"
fast-deep-equal "^3.1.3"

"@cosmjs/ledger-amino@^0.26.5":
version "0.26.6"
resolved "https://registry.yarnpkg.com/@cosmjs/ledger-amino/-/ledger-amino-0.26.6.tgz#4fd342229f3de3059e193f8db3f88877074aabe0"
integrity sha512-L5KDfEq7EswV4ku2SbWlozfKVv9WJWtap4/7SMXKH0XrYWOIz0AYeBfM0OGtJQjuHAiD/1QJ8pam/kjUL3+quQ==
dependencies:
"@cosmjs/amino" "0.26.6"
"@cosmjs/crypto" "0.26.6"
"@cosmjs/encoding" "0.26.6"
"@cosmjs/math" "0.26.6"
"@cosmjs/utils" "0.26.6"
ledger-cosmos-js "^2.1.8"
semver "^7.3.2"

"@cosmjs/[email protected]":
version "0.23.1"
resolved "https://registry.yarnpkg.com/@cosmjs/math/-/math-0.23.1.tgz#706f38742a9a1f6561cf2c4510f8e5ab001fc5e6"
Expand Down Expand Up @@ -1062,7 +1049,7 @@
"@ledgerhq/errors" "^6.10.0"
events "^3.3.0"

"@ledgerhq/hw-transport@^5.11.0", "@ledgerhq/hw-transport@^5.19.1", "@ledgerhq/hw-transport@^5.25.0", "@ledgerhq/hw-transport@^5.51.1":
"@ledgerhq/hw-transport@^5.11.0", "@ledgerhq/hw-transport@^5.19.1", "@ledgerhq/hw-transport@^5.51.1":
version "5.51.1"
resolved "https://registry.yarnpkg.com/@ledgerhq/hw-transport/-/hw-transport-5.51.1.tgz#8dd14a8e58cbee4df0c29eaeef983a79f5f22578"
integrity sha512-6wDYdbWrw9VwHIcoDnqWBaDFyviyjZWv6H9vz9Vyhe4Qd7TIFmbTl/eWs6hZvtZBza9K8y7zD8ChHwRI4s9tSw==
Expand Down Expand Up @@ -1095,16 +1082,13 @@
bignumber.js "^9.0.1"
json-rpc-2.0 "^0.2.16"

"@ledgerhq/live-common@22.0.0":
"@ledgerhq/live-common@file:.yalc/@ledgerhq/live-common":
version "22.0.0"
resolved "https://registry.yarnpkg.com/@ledgerhq/live-common/-/live-common-22.0.0.tgz#2717701fc8ba63b4befdd3cb1400527c2922335f"
integrity sha512-BUMgPMWmavlFip0LwMVzr+TABG1o77nLZepGSmxZWIcyLUvsmRRDtCEasVJCW60g0Cd0BhvbtUOo8l0NdDZ+/A==
dependencies:
"@celo/contractkit" "^1.5.2"
"@celo/wallet-base" "^1.5.2"
"@celo/wallet-ledger" "^1.5.2"
"@cosmjs/crypto" "^0.26.5"
"@cosmjs/ledger-amino" "^0.26.5"
"@cosmjs/proto-signing" "^0.26.5"
"@cosmjs/stargate" "^0.26.5"
"@crypto-com/chain-jslib" "0.0.19"
Expand Down Expand Up @@ -4855,16 +4839,6 @@ leb128@^0.0.5:
bn.js "^5.0.0"
buffer-pipe "0.0.3"

ledger-cosmos-js@^2.1.8:
version "2.1.8"
resolved "https://registry.yarnpkg.com/ledger-cosmos-js/-/ledger-cosmos-js-2.1.8.tgz#b409ecd1e77f630e6fb212a9f602fe5c6e8f054b"
integrity sha512-Gl7SWMq+3R9OTkF1hLlg5+1geGOmcHX9OdS+INDsGNxSiKRWlsWCvQipGoDnRIQ6CPo2i/Ze58Dw0Mt/l3UYyA==
dependencies:
"@babel/runtime" "^7.11.2"
"@ledgerhq/hw-transport" "^5.25.0"
bech32 "^1.1.4"
ripemd160 "^2.0.2"

libsodium-wrappers@^0.7.6:
version "0.7.9"
resolved "https://registry.yarnpkg.com/libsodium-wrappers/-/libsodium-wrappers-0.7.9.tgz#4ffc2b69b8f7c7c7c5594a93a4803f80f6d0f346"
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@
"@celo/wallet-base": "^1.5.2",
"@celo/wallet-ledger": "^1.5.2",
"@cosmjs/crypto": "^0.26.5",
"@cosmjs/ledger-amino": "^0.26.5",
"@cosmjs/proto-signing": "^0.26.5",
"@cosmjs/stargate": "^0.26.5",
"@crypto-com/chain-jslib": "0.0.19",
Expand Down
12 changes: 7 additions & 5 deletions src/families/cosmos/js-prepareTransaction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { Account } from "../../types";
import { Transaction } from "./types";
import BigNumber from "bignumber.js";
import { simulate } from "./api/Cosmos";
import { encodePubkey } from "@cosmjs/proto-signing";
import { getEnv } from "../../env";
import { buildTransaction, postBuildTransaction } from "./js-buildTransaction";
import { getMaxEstimatedBalance } from "./logic";
Expand Down Expand Up @@ -50,10 +49,13 @@ const getEstimatedFees = async (

// be sure payload is complete
if (unsignedPayload) {
const pubkey = encodePubkey({
type: "tendermint/PubKeySecp256k1",
value: Buffer.from(account.seedIdentifier, "hex").toString("base64"),
});
const pubkey = {
typeUrl: "/cosmos.crypto.secp256k1.PubKey",
value: new Uint8Array([
...new Uint8Array([10, 33]),
...new Uint8Array(Buffer.from(account.seedIdentifier, "hex")),
]),
};

const tx_bytes = await postBuildTransaction(
account,
Expand Down
90 changes: 54 additions & 36 deletions src/families/cosmos/js-signOperation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,12 @@ import type { Transaction } from "./types";
import { getAccount, getChainId } from "./api/Cosmos";
import { Observable } from "rxjs";
import { withDevice } from "../../hw/deviceAccess";
import { encodePubkey } from "@cosmjs/proto-signing";
import { encodeOperationId } from "../../operation";
import { LedgerSigner } from "@cosmjs/ledger-amino";
import Cosmos from "@ledgerhq/hw-app-cosmos";
import { AminoTypes } from "@cosmjs/stargate";
import { stringToPath } from "@cosmjs/crypto";
import { buildTransaction, postBuildTransaction } from "./js-buildTransaction";
import BigNumber from "bignumber.js";
import { Secp256k1Signature } from "@cosmjs/crypto";

const aminoTypes = new AminoTypes({ prefix: "cosmos" });

Expand All @@ -32,52 +31,39 @@ const signOperation = ({
let cancelled;

async function main() {
const hwApp = new Cosmos(transport);

const { accountNumber, sequence } = await getAccount(
account.freshAddress
);

const chainId = await getChainId();

const hdPaths: any = stringToPath("m/" + account.freshAddressPath);

const ledgerSigner = new LedgerSigner(transport, {
hdPaths: [hdPaths],
});

o.next({ type: "device-signature-requested" });

const accounts = await ledgerSigner.getAccounts();

let pubkey;
const { publicKey } = await hwApp.getAddress(
account.freshAddressPath,
"cosmos",
false
);

accounts.forEach((a) => {
if (a.address == account.freshAddress) {
pubkey = encodePubkey({
type: "tendermint/PubKeySecp256k1",
value: Buffer.from(a.pubkey).toString("base64"),
});
}
});
const pubkey = {
typeUrl: "/cosmos.crypto.secp256k1.PubKey",
value: new Uint8Array([
...new Uint8Array([10, 33]),
...new Uint8Array(Buffer.from(publicKey, "hex")),
]),
};

const unsignedPayload = await buildTransaction(account, transaction);

const msgs = unsignedPayload.map((msg) => aminoTypes.toAmino(msg));

// Note:
// We don't use Cosmos App,
// Cosmos App support legacy StdTx and required to be ordered in a strict way,
// Cosmos API expects a different sorting, resulting in a separate signature.
// https://github.com/LedgerHQ/app-cosmos/blob/6c194daa28936e273f9548eabca9e72ba04bb632/app/src/tx_parser.c#L52

// Cosmos App sign data in Amino way only, not Protobuf.
// Cosmos Nano App sign data in Amino way only, not Protobuf.
// This is a legacy outdated standard and a long-term blocking point.

// @ledgerhq/hw-app-cosmos don't allow to push message to device message converted
// by the AminoConverter from @cosmjs/stargate. There's two things who don't work:
// 1st, the way who message is sorted.
// 2nd, cast of numeric value (integer/numeric versus string).

const signed = await ledgerSigner.signAmino(account.freshAddress, {
const message = {
chain_id: chainId,
account_number: accountNumber.toString(),
sequence: sequence.toString(),
Expand All @@ -92,17 +78,30 @@ const signOperation = ({
},
msgs: msgs,
memo: transaction.memo || "",
});
};

const { signature } = await hwApp.sign(
account.freshAddressPath,
JSON.stringify(sortedObject(message))
);

if (!signature) {
throw new Error("Cosmos: no Signature Found");
}

const secp256k1Signature = Secp256k1Signature.fromDer(
new Uint8Array(signature)
).toFixedLength();

const tx_bytes = await postBuildTransaction(
account,
transaction,
pubkey,
unsignedPayload,
new Uint8Array(Buffer.from(signed.signature.signature, "base64"))
secp256k1Signature
);

const signature = Buffer.from(tx_bytes).toString("hex");
const signed = Buffer.from(tx_bytes).toString("hex");

if (cancelled) {
return;
Expand Down Expand Up @@ -169,7 +168,7 @@ const signOperation = ({
type: "signed",
signedOperation: {
operation,
signature,
signature: signed,
expirationDate: null,
},
});
Expand All @@ -186,4 +185,23 @@ const signOperation = ({
})
);

const sortedObject = (obj) => {
if (typeof obj !== "object" || obj === null) {
return obj;
}

if (Array.isArray(obj)) {
return obj.map(sortedObject);
}

const sortedKeys = Object.keys(obj).sort();
const result = {};

sortedKeys.forEach((key) => {
result[key] = sortedObject(obj[key]);
});

return result;
};

export default signOperation;
13 changes: 0 additions & 13 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -614,19 +614,6 @@
axios "^0.21.1"
fast-deep-equal "^3.1.3"

"@cosmjs/ledger-amino@^0.26.5":
version "0.26.6"
resolved "https://registry.yarnpkg.com/@cosmjs/ledger-amino/-/ledger-amino-0.26.6.tgz#4fd342229f3de3059e193f8db3f88877074aabe0"
integrity sha512-L5KDfEq7EswV4ku2SbWlozfKVv9WJWtap4/7SMXKH0XrYWOIz0AYeBfM0OGtJQjuHAiD/1QJ8pam/kjUL3+quQ==
dependencies:
"@cosmjs/amino" "0.26.6"
"@cosmjs/crypto" "0.26.6"
"@cosmjs/encoding" "0.26.6"
"@cosmjs/math" "0.26.6"
"@cosmjs/utils" "0.26.6"
ledger-cosmos-js "^2.1.8"
semver "^7.3.2"

"@cosmjs/[email protected]":
version "0.23.1"
resolved "https://registry.yarnpkg.com/@cosmjs/math/-/math-0.23.1.tgz#706f38742a9a1f6561cf2c4510f8e5ab001fc5e6"
Expand Down

1 comment on commit 69ec369

@github-actions
Copy link

Choose a reason for hiding this comment

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

✅ 5 txs ($23.73) for Bot 'Cosmos JS'

⚠️ 2 mutations uncovered

Details of the 5 mutations

Spec Cosmos (33)

Spec Cosmos found 33 Cosmos accounts (preload: 1117ms). Will use Cosmos 2.18.0 on nanoS 2.0.0
(1241ms) Cosmos 1 cross: 0.019492 ATOM (122ops) (cosmos1zpvthe3pxvyje7vrcqv2m6qe2qgu0r8gkz64er on 44'/118'/0'/0/0) #0 js:2:cosmos:cosmos1zpvthe3pxvyje7vrcqv2m6qe2qgu0r8gkz64er:
(3.3s) Cosmos 2: 0.21033 ATOM (143ops) (cosmos1zd0e8j9g9wur8up7j5aqahz233r4jmvqhyffnv on 44'/118'/1'/0/0) #1 js:2:cosmos:cosmos1zd0e8j9g9wur8up7j5aqahz233r4jmvqhyffnv:
(1312ms) Cosmos 3: 0.23141 ATOM (129ops) (cosmos1uty5nf28emeahuhdg9runmzuluq9uj5uek4jk0 on 44'/118'/2'/0/0) #2 js:2:cosmos:cosmos1uty5nf28emeahuhdg9runmzuluq9uj5uek4jk0:
(1300ms) Cosmos 4: 0.04918 ATOM (122ops) (cosmos1ccemcd8p3r293e5rcv0awaj9hfnn6wmxkz520n on 44'/118'/3'/0/0) #3 js:2:cosmos:cosmos1ccemcd8p3r293e5rcv0awaj9hfnn6wmxkz520n:
(1171ms) Cosmos 5: 0.014474 ATOM (118ops) (cosmos1mvk3fwxgdfac4yjmgl9hdz0555q8gljydzvjtu on 44'/118'/4'/0/0) #4 js:2:cosmos:cosmos1mvk3fwxgdfac4yjmgl9hdz0555q8gljydzvjtu:
(1390ms) Cosmos 6: 0.021843 ATOM (119ops) (cosmos1draxuzz0aukggx63m852wm8mlxqpus2009cs97 on 44'/118'/5'/0/0) #5 js:2:cosmos:cosmos1draxuzz0aukggx63m852wm8mlxqpus2009cs97:
(2494ms) Cosmos 7: 0.017828 ATOM (124ops) (cosmos14k7faf4cvxlflta4hytxavx3p7vj6uw69lgf03 on 44'/118'/6'/0/0) #6 js:2:cosmos:cosmos14k7faf4cvxlflta4hytxavx3p7vj6uw69lgf03:
(1747ms) Cosmos 8: 0.09552 ATOM (151ops) (cosmos12uwsw42ec4lh75202zcp0r5ggj9vlwp4c05ydz on 44'/118'/7'/0/0) #7 js:2:cosmos:cosmos12uwsw42ec4lh75202zcp0r5ggj9vlwp4c05ydz:
(1316ms) Cosmos 9: 0.021475 ATOM (104ops) (cosmos1pggp9ffssaf8hdev9aekcafarxnuxmz4er44hm on 44'/118'/8'/0/0) #8 js:2:cosmos:cosmos1pggp9ffssaf8hdev9aekcafarxnuxmz4er44hm:
(1119ms) Cosmos 10: 0.0526 ATOM (118ops) (cosmos1cnr3madhjge7s3lpz52qdcay69llm6uwx3s8y3 on 44'/118'/9'/0/0) #9 js:2:cosmos:cosmos1cnr3madhjge7s3lpz52qdcay69llm6uwx3s8y3:
(1243ms) Cosmos 11 cross: 0.017644 ATOM (105ops) (cosmos1gyqj09h2yc0hs4ggwy74qca8t4hl6ns35w92l5 on 44'/118'/10'/0/0) #10 js:2:cosmos:cosmos1gyqj09h2yc0hs4ggwy74qca8t4hl6ns35w92l5:
(1179ms) Cosmos 12: 0.03936 ATOM (121ops) (cosmos1zkx8vmvzfz6ah8les5y62rxmvdrk4egvcfzfcu on 44'/118'/11'/0/0) #11 js:2:cosmos:cosmos1zkx8vmvzfz6ah8les5y62rxmvdrk4egvcfzfcu:
(950ms) Cosmos 13: 0.016469 ATOM (92ops) (cosmos19y63dxgjvuj46hcgrt0w0rpct85d3sfxgmlgpa on 44'/118'/12'/0/0) #12 js:2:cosmos:cosmos19y63dxgjvuj46hcgrt0w0rpct85d3sfxgmlgpa:
(1436ms) Cosmos 14: 0.014908 ATOM (116ops) (cosmos19fm3nalhxtswpn78ng2rl4vs7p04vljgfeq2qs on 44'/118'/13'/0/0) #13 js:2:cosmos:cosmos19fm3nalhxtswpn78ng2rl4vs7p04vljgfeq2qs:
(1724ms) Cosmos 15: 0.003301 ATOM (117ops) (cosmos14ps228paxvqngcz6adj0d98f4qftkl68atrvjw on 44'/118'/14'/0/0) #14 js:2:cosmos:cosmos14ps228paxvqngcz6adj0d98f4qftkl68atrvjw:
(1048ms) Cosmos 16: 0.018833 ATOM (89ops) (cosmos17wd40x799cjhh84zsz38tlqw4nefpcfwahp87t on 44'/118'/15'/0/0) #15 js:2:cosmos:cosmos17wd40x799cjhh84zsz38tlqw4nefpcfwahp87t:
(1044ms) Cosmos 17: 0.014428 ATOM (89ops) (cosmos19u92aw048hh6ggw0jxrhl8npy9dk8mchas5lqk on 44'/118'/16'/0/0) #16 js:2:cosmos:cosmos19u92aw048hh6ggw0jxrhl8npy9dk8mchas5lqk:
(1127ms) Cosmos 18: 0.03569 ATOM (108ops) (cosmos19xyjhr494jvemvh2jhq3ws4kpc3c9h6r2zlnmr on 44'/118'/17'/0/0) #17 js:2:cosmos:cosmos19xyjhr494jvemvh2jhq3ws4kpc3c9h6r2zlnmr:
(1041ms) Cosmos 19: 0.019925 ATOM (94ops) (cosmos1r0ra6y8vveagmrrs5d8zzkgydhjvyfe6728vq2 on 44'/118'/18'/0/0) #18 js:2:cosmos:cosmos1r0ra6y8vveagmrrs5d8zzkgydhjvyfe6728vq2:
(667ms) Cosmos 20: 0.009531 ATOM (36ops) (cosmos1zqv0kyf5muqsk2z50j3msxaul00ldunvvp9aym on 44'/118'/19'/0/0) #19 js:2:cosmos:cosmos1zqv0kyf5muqsk2z50j3msxaul00ldunvvp9aym:
(855ms) Cosmos 21 cross: 0.023325 ATOM (52ops) (cosmos1z9wqphvxau4dx70se5ewlq290hms56g89ptada on 44'/118'/20'/0/0) #20 js:2:cosmos:cosmos1z9wqphvxau4dx70se5ewlq290hms56g89ptada:
(667ms) Cosmos 22: 0.018498 ATOM (32ops) (cosmos19tx2hwqy484sy3axhtm3xugt0tedcvvwf37x7k on 44'/118'/21'/0/0) #21 js:2:cosmos:cosmos19tx2hwqy484sy3axhtm3xugt0tedcvvwf37x7k:
(612ms) Cosmos 23: 0.022555 ATOM (32ops) (cosmos13c09trrwtjjd7a3zyvujamk3cq88u8xrr4h3f4 on 44'/118'/22'/0/0) #22 js:2:cosmos:cosmos13c09trrwtjjd7a3zyvujamk3cq88u8xrr4h3f4:
(677ms) Cosmos 24: 0.012908 ATOM (46ops) (cosmos1t50je48yvm9vy7ffd4e6v09jfce8sjhyw3gstm on 44'/118'/23'/0/0) #23 js:2:cosmos:cosmos1t50je48yvm9vy7ffd4e6v09jfce8sjhyw3gstm:
(581ms) Cosmos 25: 0.013892 ATOM (32ops) (cosmos1r9dktuvf3jd752tzt7x5d2njy67lkwq3x4a5ac on 44'/118'/24'/0/0) #24 js:2:cosmos:cosmos1r9dktuvf3jd752tzt7x5d2njy67lkwq3x4a5ac:
(543ms) Cosmos 26: 0.01645 ATOM (35ops) (cosmos1zkwu2q4l7g6wx7ll533yu788pgyaqjp45ufr2s on 44'/118'/25'/0/0) #25 js:2:cosmos:cosmos1zkwu2q4l7g6wx7ll533yu788pgyaqjp45ufr2s:
(1772ms) Cosmos 27: 0 ATOM (23ops) (cosmos1tfjmda5v02mqycl0j4nk0l79c5fe4rxknta6md on 44'/118'/26'/0/0) #26 js:2:cosmos:cosmos1tfjmda5v02mqycl0j4nk0l79c5fe4rxknta6md:
(485ms) Cosmos 28: 0.013145 ATOM (16ops) (cosmos16eugmwpnhla7r5upug7fz2t2uhqulkph7gd30x on 44'/118'/27'/0/0) #27 js:2:cosmos:cosmos16eugmwpnhla7r5upug7fz2t2uhqulkph7gd30x:
(470ms) Cosmos 29: 0.023001 ATOM (11ops) (cosmos197kvpfxdmrt0zap2rqpavvnmve04rgrdn55lwh on 44'/118'/28'/0/0) #28 js:2:cosmos:cosmos197kvpfxdmrt0zap2rqpavvnmve04rgrdn55lwh:
(1958ms) Cosmos 30: 0.023883 ATOM (13ops) (cosmos156krqzkwqsdz63zqszts5w5jnuxzv5shu6ae93 on 44'/118'/29'/0/0) #29 js:2:cosmos:cosmos156krqzkwqsdz63zqszts5w5jnuxzv5shu6ae93:
(431ms) Cosmos 31 cross: 0.011376 ATOM (5ops) (cosmos1vttvda4ezxl2lpvsfenr4a6sep0m35gpa3l40u on 44'/118'/30'/0/0) #30 js:2:cosmos:cosmos1vttvda4ezxl2lpvsfenr4a6sep0m35gpa3l40u:
(402ms) Cosmos 32: 0.013271 ATOM (3ops) (cosmos175xtqwrj0wnvfk5pnwduzzq2qp6hudgt0uem70 on 44'/118'/31'/0/0) #31 js:2:cosmos:cosmos175xtqwrj0wnvfk5pnwduzzq2qp6hudgt0uem70:
(1181ms) Cosmos 33: 0 ATOM (0ops) (cosmos1f9qk4x9j5gcth9x48dy5s46xjne73atph05qel on 44'/118'/32'/0/0) #32 js:2:cosmos:cosmos1f9qk4x9j5gcth9x48dy5s46xjne73atph05qel:
all accounts sync in 8.4s
▬ Cosmos 2.18.0 on nanoS 2.0.0
→ FROM Cosmos 3: 0.23141 ATOM (129ops) (cosmos1uty5nf28emeahuhdg9runmzuluq9uj5uek4jk0 on 44'/118'/2'/0/0) #2 js:2:cosmos:cosmos1uty5nf28emeahuhdg9runmzuluq9uj5uek4jk0: (! sum of ops 0.243622 ATOM) 0.04056 ATOM spendable. 0.184446 ATOM delegated. 0.00641 ATOM unbonding. 
DELEGATIONS
  to cosmosvaloper1d0aup392g3enru7eash83sedqclaxvp7fzh6gk 0 ATOM 
  to cosmosvaloper1n3mhyp9fvcmuu8l0q8qvjy07x0rql8q46fe2xk 0.181417 ATOM  (claimable 0.181417)
  to cosmosvaloper157v7tczs40axfgejp2m43kwuzqe0wsy0rv8puv 0.003029 ATOM  (claimable 0.003029)
  to cosmosvaloper1ey69r37gfxvxg62sh4r0ktpuc46pzjrm873ae8 0 ATOM 
UNDELEGATIONS
  from cosmosvaloper157v7tczs40axfgejp2m43kwuzqe0wsy0rv8puv 0.000772 ATOM
  from cosmosvaloper1d0aup392g3enru7eash83sedqclaxvp7fzh6gk 0.005638 ATOM

max spendable ~0.03541
★ using mutation 'send some'
→ TO Cosmos 12: 0.03936 ATOM (121ops) (cosmos1zkx8vmvzfz6ah8les5y62rxmvdrk4egvcfzfcu on 44'/118'/11'/0/0) #11 js:2:cosmos:cosmos1zkx8vmvzfz6ah8les5y62rxmvdrk4egvcfzfcu:
✔️ transaction 
SEND  0.024433 ATOM
TO cosmos1zkx8vmvzfz6ah8les5y62rxmvdrk4egvcfzfcu

with fees=0.004685
  memo=LedgerLiveBot
STATUS (1599ms)
  amount: 0.024433 ATOM
  estimated fees: 0.004685 ATOM
  total spent: 0.029118 ATOM
✔️ has been signed! (2752ms) 
✔️ broadcasted! (188ms) optimistic operation: 
  -0.029118 ATOM     OUT        7943E424786CEB7549380A5B8F6E072ABCC5C5647961688E2BD94724C0E607F7 2022-04-26T07:51
✔️ operation confirmed (6.2s): 
  -0.029118 ATOM     OUT        7943E424786CEB7549380A5B8F6E072ABCC5C5647961688E2BD94724C0E607F7 2022-04-26T07:51
✔️ Cosmos 3: 0.20229 ATOM (130ops) (cosmos1uty5nf28emeahuhdg9runmzuluq9uj5uek4jk0 on 44'/118'/2'/0/0) #2 js:2:cosmos:cosmos1uty5nf28emeahuhdg9runmzuluq9uj5uek4jk0: (! sum of ops 0.214504 ATOM) 0.011442 ATOM spendable. 0.184446 ATOM delegated. 0.00641 ATOM unbonding. 
DELEGATIONS
  to cosmosvaloper1d0aup392g3enru7eash83sedqclaxvp7fzh6gk 0 ATOM 
  to cosmosvaloper1n3mhyp9fvcmuu8l0q8qvjy07x0rql8q46fe2xk 0.181417 ATOM  (claimable 0.181417)
  to cosmosvaloper157v7tczs40axfgejp2m43kwuzqe0wsy0rv8puv 0.003029 ATOM  (claimable 0.003029)
  to cosmosvaloper1ey69r37gfxvxg62sh4r0ktpuc46pzjrm873ae8 0 ATOM 
UNDELEGATIONS
  from cosmosvaloper157v7tczs40axfgejp2m43kwuzqe0wsy0rv8puv 0.000772 ATOM
  from cosmosvaloper1d0aup392g3enru7eash83sedqclaxvp7fzh6gk 0.005638 ATOM

(final state reached in 6.2s)

all accounts sync in 9.3s
▬ Cosmos 2.18.0 on nanoS 2.0.0
→ FROM Cosmos 4: 0.04918 ATOM (122ops) (cosmos1ccemcd8p3r293e5rcv0awaj9hfnn6wmxkz520n on 44'/118'/3'/0/0) #3 js:2:cosmos:cosmos1ccemcd8p3r293e5rcv0awaj9hfnn6wmxkz520n: (! sum of ops 0.041831 ATOM) 0.036465 ATOM spendable. 0.012723 ATOM delegated. 
DELEGATIONS
  to cosmosvaloper1rpgtz9pskr5geavkjz02caqmeep7cwwpv73axj 0 ATOM 
  to cosmosvaloper156gqf9837u7d4c4678yt3rl4ls9c5vuursrrzf 0.004175 ATOM  (claimable 0.004175)
  to cosmosvaloper1hjct6q7npsspsg3dgvzk3sdf89spmlpfdn6m9d 0.008548 ATOM  (claimable 0.008548)

max spendable ~0.031319
★ using mutation 'send some'
→ TO Cosmos 17: 0.014428 ATOM (89ops) (cosmos19u92aw048hh6ggw0jxrhl8npy9dk8mchas5lqk on 44'/118'/16'/0/0) #16 js:2:cosmos:cosmos19u92aw048hh6ggw0jxrhl8npy9dk8mchas5lqk:
✔️ transaction 
SEND  0.02107 ATOM
TO cosmos19u92aw048hh6ggw0jxrhl8npy9dk8mchas5lqk

with fees=0.004673
STATUS (1038ms)
  amount: 0.02107 ATOM
  estimated fees: 0.004673 ATOM
  total spent: 0.025743 ATOM
✔️ has been signed! (2491ms) 
✔️ broadcasted! (122ms) optimistic operation: 
  -0.025743 ATOM     OUT        76A239DBE14DD689CBB4948680CFCE89FE3B397302EC569B66F65ACC1DD151EA 2022-04-26T07:51
✔️ operation confirmed (6.6s): 
  -0.025743 ATOM     OUT        76A239DBE14DD689CBB4948680CFCE89FE3B397302EC569B66F65ACC1DD151EA 2022-04-26T07:51
✔️ Cosmos 4: 0.023445 ATOM (123ops) (cosmos1ccemcd8p3r293e5rcv0awaj9hfnn6wmxkz520n on 44'/118'/3'/0/0) #3 js:2:cosmos:cosmos1ccemcd8p3r293e5rcv0awaj9hfnn6wmxkz520n: (! sum of ops 0.016088 ATOM) 0.010722 ATOM spendable. 0.012723 ATOM delegated. 
DELEGATIONS
  to cosmosvaloper1rpgtz9pskr5geavkjz02caqmeep7cwwpv73axj 0 ATOM 
  to cosmosvaloper156gqf9837u7d4c4678yt3rl4ls9c5vuursrrzf 0.004175 ATOM  (claimable 0.004175)
  to cosmosvaloper1hjct6q7npsspsg3dgvzk3sdf89spmlpfdn6m9d 0.008548 ATOM  (claimable 0.008548)

(final state reached in 6.5s)

all accounts sync in 7.9s
▬ Cosmos 2.18.0 on nanoS 2.0.0
→ FROM Cosmos 12: 0.06379 ATOM (122ops) (cosmos1zkx8vmvzfz6ah8les5y62rxmvdrk4egvcfzfcu on 44'/118'/11'/0/0) #11 js:2:cosmos:cosmos1zkx8vmvzfz6ah8les5y62rxmvdrk4egvcfzfcu: (! sum of ops 0.063752 ATOM) 0.042462 ATOM spendable. 0.021337 ATOM delegated. 
DELEGATIONS
  to cosmosvaloper13sduv92y3xdhy3rpmhakrc3v7t37e7ps9l0kpv 0 ATOM 
  to cosmosvaloper1kg99k8wd67r0ffxwavgnxup7yk46rvttxc53j7 0.014834 ATOM  (claimable 0.014834)
  to cosmosvaloper1keltez56g3zm9w8wr8gcmmulze48g2q3usuw8c 0.006503 ATOM  (claimable 0.006503)

max spendable ~0.03731
★ using mutation 'undelegate'
✔️ transaction 
UNDELEGATE 
TO 
  0.006503 -> cosmosvaloper1keltez56g3zm9w8wr8gcmmulze48g2q3usuw8c
with fees=0.011889
  memo=LedgerLiveBot
STATUS (847ms)
  amount: 0 ATOM
  estimated fees: 0.011889 ATOM
  total spent: 0.011889 ATOM
✔️ has been signed! (2370ms) 
✔️ broadcasted! (141ms) optimistic operation: 
  -0.011889 ATOM     UNDELEGATE 68BBB5378AE1C2031D25524483606D446D20C35AAC556151C4FC88C874B026CF 2022-04-26T07:52
    to cosmosvaloper1keltez56g3zm9w8wr8gcmmulze48g2q3usuw8c 0.006503 ATOM   
✔️ operation confirmed (13.4s): 
  -0.011889 ATOM     UNDELEGATE 68BBB5378AE1C2031D25524483606D446D20C35AAC556151C4FC88C874B026CF 2022-04-26T07:52
    to cosmosvaloper1keltez56g3zm9w8wr8gcmmulze48g2q3usuw8c 0.006503 ATOM   
✔️ Cosmos 12: 0.06379 ATOM (123ops) (cosmos1zkx8vmvzfz6ah8les5y62rxmvdrk4egvcfzfcu on 44'/118'/11'/0/0) #11 js:2:cosmos:cosmos1zkx8vmvzfz6ah8les5y62rxmvdrk4egvcfzfcu: (! sum of ops 0.051863 ATOM) 0.042462 ATOM spendable. 0.014834 ATOM delegated. 0.006503 ATOM unbonding. 
DELEGATIONS
  to cosmosvaloper13sduv92y3xdhy3rpmhakrc3v7t37e7ps9l0kpv 0 ATOM 
  to cosmosvaloper1kg99k8wd67r0ffxwavgnxup7yk46rvttxc53j7 0.014834 ATOM  (claimable 0.014834)
UNDELEGATIONS
  from cosmosvaloper1keltez56g3zm9w8wr8gcmmulze48g2q3usuw8c 0.006503 ATOM

(final state reached in 13.4s)

all accounts sync in 8s
▬ Cosmos 2.18.0 on nanoS 2.0.0
→ FROM Cosmos 17: 0.03549 ATOM (90ops) (cosmos19u92aw048hh6ggw0jxrhl8npy9dk8mchas5lqk on 44'/118'/16'/0/0) #16 js:2:cosmos:cosmos19u92aw048hh6ggw0jxrhl8npy9dk8mchas5lqk: 0.035498 ATOM spendable. 

max spendable ~0.030352
★ using mutation 'send max'
→ TO Cosmos 18: 0.03569 ATOM (108ops) (cosmos19xyjhr494jvemvh2jhq3ws4kpc3c9h6r2zlnmr on 44'/118'/17'/0/0) #17 js:2:cosmos:cosmos19xyjhr494jvemvh2jhq3ws4kpc3c9h6r2zlnmr:
✔️ transaction 
SEND MAX
TO cosmos19xyjhr494jvemvh2jhq3ws4kpc3c9h6r2zlnmr

with fees=0.00625
STATUS (1114ms)
  amount: 0.029248 ATOM
  estimated fees: 0.00625 ATOM
  total spent: 0.035498 ATOM
✔️ has been signed! (2372ms) 
✔️ broadcasted! (110ms) optimistic operation: 
  -0.035498 ATOM     OUT        293170E2947B4CC81B4B02B5F1809E6BF34B204B35CB85CEEBBF4305C333370E 2022-04-26T07:53
✔️ operation confirmed (5.7s): 
  -0.035498 ATOM     OUT        293170E2947B4CC81B4B02B5F1809E6BF34B204B35CB85CEEBBF4305C333370E 2022-04-26T07:53
✔️ Cosmos 17: 0 ATOM (91ops) (cosmos19u92aw048hh6ggw0jxrhl8npy9dk8mchas5lqk on 44'/118'/16'/0/0) #16 js:2:cosmos:cosmos19u92aw048hh6ggw0jxrhl8npy9dk8mchas5lqk: 0 ATOM spendable. 

(final state reached in 5.7s)

all accounts sync in 7.7s
▬ Cosmos 2.18.0 on nanoS 2.0.0
→ FROM Cosmos 18: 0.06494 ATOM (109ops) (cosmos19xyjhr494jvemvh2jhq3ws4kpc3c9h6r2zlnmr on 44'/118'/17'/0/0) #17 js:2:cosmos:cosmos19xyjhr494jvemvh2jhq3ws4kpc3c9h6r2zlnmr: (! sum of ops 0.064821 ATOM) 0.054249 ATOM spendable. 0.010691 ATOM delegated. 
DELEGATIONS
  to cosmosvaloper125umsz3fws7gepn5ccsh0sv4gre9r6a3tccz4r 0.005256 ATOM  (claimable 0.005256)
  to cosmosvaloper16fnz0v4cnv5dpnj0p3gaft2q2kzx8z5hfrx6v5 0.005435 ATOM  (claimable 0.005435)

max spendable ~0.0491
★ using mutation 'redelegate'
✔️ transaction 
REDELEGATE 
TO 
  0.002665 -> cosmosvaloper125umsz3fws7gepn5ccsh0sv4gre9r6a3tccz4r
  source validator=cosmosvaloper16fnz0v4cnv5dpnj0p3gaft2q2kzx8z5hfrx6v5
with fees=0.01974
  memo=LedgerLiveBot
STATUS (492ms)
  amount: 0 ATOM
  estimated fees: 0.01974 ATOM
  total spent: 0.01974 ATOM
✔️ has been signed! (2677ms) 
✔️ broadcasted! (112ms) optimistic operation: 
  -0.01974 ATOM      REDELEGATE 4B503AD9F601FD14C5473181606A93725742B1C8051F2EFFBCF55D61CE1893E3 2022-04-26T07:54
    to cosmosvaloper125umsz3fws7gepn5ccsh0sv4gre9r6a3tccz4r 0.002665 ATOM   
✔️ operation confirmed (12.6s): 
  -0.019815 ATOM     REDELEGATE 4B503AD9F601FD14C5473181606A93725742B1C8051F2EFFBCF55D61CE1893E3 2022-04-26T07:54
    to cosmosvaloper125umsz3fws7gepn5ccsh0sv4gre9r6a3tccz4r 0.002665 ATOM   
✔️ Cosmos 18: 0.04535 ATOM (110ops) (cosmos19xyjhr494jvemvh2jhq3ws4kpc3c9h6r2zlnmr on 44'/118'/17'/0/0) #17 js:2:cosmos:cosmos19xyjhr494jvemvh2jhq3ws4kpc3c9h6r2zlnmr: (! sum of ops 0.045006 ATOM) 0.034661 ATOM spendable. 0.010691 ATOM delegated. 
DELEGATIONS
  to cosmosvaloper125umsz3fws7gepn5ccsh0sv4gre9r6a3tccz4r 0.007921 ATOM 
  to cosmosvaloper16fnz0v4cnv5dpnj0p3gaft2q2kzx8z5hfrx6v5 0.00277 ATOM 
REDELEGATIONS
  from cosmosvaloper16fnz0v4cnv5dpnj0p3gaft2q2kzx8z5hfrx6v5 to cosmosvaloper125umsz3fws7gepn5ccsh0sv4gre9r6a3tccz4r 0.002665 ATOM

(final state reached in 12.6s)


Details of the 2 uncovered mutations

Spec Cosmos (2)

  • delegate new validators: balance is too low (28)
  • claim rewards: balance is too low (28)

Portfolio ($23.73)

Details of the 1 currencies
Spec (accounts) Operations Balance funds?
Cosmos (28) 2525 (+8) 0.4931 ATOM (- 0.04693) ($23.73) ⚠️ cosmos1zpvthe3pxvyje7vrcqv2m6qe2qgu0r8gkz64er

Please sign in to comment.