-
Notifications
You must be signed in to change notification settings - Fork 16
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
Swap cosmos support (#3) #244
Open
chcmedeiros
wants to merge
2
commits into
LedgerHQ:develop
Choose a base branch
from
Zondax:develop
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -115,6 +115,15 @@ on: | |||||
default: 'LedgerHQ/app-cardano' | ||||||
type: string | ||||||
|
||||||
branch_for_cosmos: | ||||||
required: false | ||||||
default: 'main' | ||||||
type: string | ||||||
repo_for_cosmos: | ||||||
required: false | ||||||
default: 'cosmos/ledger-cosmos' | ||||||
type: string | ||||||
|
||||||
test_filter: | ||||||
required: false | ||||||
default: '""' | ||||||
|
@@ -177,6 +186,9 @@ jobs: | |||||
- name: cardano | ||||||
repo: ${{ inputs.repo_for_cardano }} | ||||||
branch: ${{ inputs.branch_for_cardano }} | ||||||
- name: cosmos | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this will be used as
Suggested change
|
||||||
repo: ${{ inputs.repo_for_cosmos }} | ||||||
branch: ${{ inputs.branch_for_cosmos }} | ||||||
|
||||||
uses: LedgerHQ/ledger-app-workflows/.github/workflows/reusable_build.yml@v1 | ||||||
with: | ||||||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
import traceback | ||
import requests | ||
import json | ||
from enum import IntEnum | ||
|
||
from nacl.encoding import HexEncoder | ||
from nacl.signing import VerifyKey,SigningKey | ||
from nacl.exceptions import BadSignatureError | ||
|
||
from ragger.utils import create_currency_config | ||
from ragger.bip import pack_derivation_path, bitcoin_pack_derivation_path, BtcDerivationPathFormat | ||
from ragger.error import ExceptionRAPDU | ||
from scalecodec.base import RuntimeConfiguration | ||
from scalecodec.type_registry import load_type_registry_preset | ||
from scalecodec.utils.ss58 import ss58_decode | ||
|
||
from ecdsa import VerifyingKey, SECP256k1 | ||
from ecdsa.util import string_to_number | ||
|
||
COSMOS_CONF = create_currency_config("ATOM", "Cosmos") | ||
COSMOS_PACKED_DERIVATION_PATH = bitcoin_pack_derivation_path(BtcDerivationPathFormat.LEGACY, "m/44'/118'/5'/0'/3") | ||
COSMOS_PACKED_DERIVATION_PATH_SIGN_INIT = bytes([0x2c, 0x00, 0x00, 0x80, | ||
0x76, 0x00, 0x00, 0x80, | ||
0x05, 0x00, 0x00, 0x80, | ||
0x00, 0x00, 0x00, 0x00, | ||
0x03, 0x00, 0x00, 0x00]) | ||
MAX_CHUNK_SIZE = 250 | ||
|
||
class Errors: | ||
ERR_SWAP_CHECK_WRONG_METHOD = 0x6984 | ||
ERR_SWAP_CHECK_WRONG_METHOD_ARGS_CNT = 0x6984 | ||
ERR_SWAP_CHECK_WRONG_DEST_ADDR = 0x6984 | ||
ERR_SWAP_CHECK_WRONG_AMOUNT = 0x6984 | ||
ERR_SWAP_CHECK_WRONG_FEES = 0x6984 | ||
ERR_SWAP_CHECK_WRONG_MEMO = 0x6984 | ||
|
||
class Ins(): | ||
GET_PUBLIC_KEY = 0x04 | ||
SIGN = 0x02 | ||
|
||
class GetAddrP1: | ||
NO_CONFIRM = 0x00 | ||
CONFIRM = 0x01 | ||
|
||
class SignP1: | ||
INIT = 0x00 | ||
ADD = 0x01 | ||
LAST = 0x02 | ||
|
||
class SignP2: | ||
JSON_MODE = 0x00 | ||
TEXTUAL_MODE = 0x01 | ||
|
||
class CosmosClient: | ||
CLA = 0x55 | ||
def __init__(self, client): | ||
self._client = client | ||
|
||
@property | ||
def client(self): | ||
return self._client | ||
|
||
def get_pubkey(self): | ||
# sizeof(cosmos) + cosmos | ||
data = bytes([0x06,0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73]) + COSMOS_PACKED_DERIVATION_PATH_SIGN_INIT | ||
msg = self.client.exchange(self.CLA, ins=Ins.GET_PUBLIC_KEY, p1=GetAddrP1.NO_CONFIRM, data=data) | ||
return msg.data[:32].hex().encode() | ||
|
||
|
||
def perform_cosmos_transaction(self, destination, send_amount, fees, memo) -> bytes: | ||
# Get public key. | ||
key = self.get_pubkey() | ||
|
||
#Amounts are in uatom for the app aprser to return ATOM ticker and format | ||
tx = f'''{{"account_number":"0","chain_id":"cosmoshub-4","fee":{{"amount":[{{"amount":"{fees}","denom":"uatom"}}],"gas":"10000"}},"memo":"{memo}","msgs":[{{"inputs":[{{"address":"{destination}","coins":[{{"amount":"{send_amount}","denom":"uatom"}}]}}],"outputs":[{{"address":"{destination}","coins":[{{"amount":"{send_amount}","denom":"uatom"}}]}}]}}],"sequence":"1"}}''' | ||
|
||
# Convert the JSON to bytes | ||
tx_blob = tx.encode('utf-8') | ||
|
||
# Send the first chunk of the transaction path + cosmos hrp | ||
chunk_0 = COSMOS_PACKED_DERIVATION_PATH_SIGN_INIT + bytes([0x06,0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73]) | ||
self.client.exchange(self.CLA, ins=Ins.SIGN, p1=SignP1.INIT, data=chunk_0) | ||
|
||
message_splited = [tx_blob[x:x + MAX_CHUNK_SIZE] for x in range(0, len(tx_blob), MAX_CHUNK_SIZE)] | ||
for index, chunk in enumerate(message_splited): | ||
payload_type = SignP1.ADD | ||
if index == len(message_splited) - 1: | ||
payload_type = SignP1.LAST | ||
|
||
response = self.client.exchange(self.CLA, ins=Ins.SIGN, p1=payload_type, p2=SignP2.JSON_MODE, data=chunk) | ||
|
||
#TODO: Verify signature | ||
return True |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -24,6 +24,7 @@ | |||||
"DOT": "Polkadot", | ||||||
"tron": "Tron", | ||||||
"ton": "TON", | ||||||
"cosmos": "Cosmos", | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Needs to be aligned with the value in the CI
Suggested change
|
||||||
"cardano": "Cardano ADA", | ||||||
} | ||||||
|
||||||
|
Binary file added
BIN
+6.21 KB
test/python/snapshots/flex/test_cosmos_fund_valid_1/post_sign/00000.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+12.3 KB
test/python/snapshots/flex/test_cosmos_fund_valid_1/post_sign/00001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+6.21 KB
test/python/snapshots/flex/test_cosmos_fund_valid_2/post_sign/00000.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+12.3 KB
test/python/snapshots/flex/test_cosmos_fund_valid_2/post_sign/00001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+9.46 KB
test/python/snapshots/flex/test_cosmos_fund_wrong_amount/post_sign/00000.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+12.3 KB
test/python/snapshots/flex/test_cosmos_fund_wrong_amount/post_sign/00001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+13.1 KB
test/python/snapshots/flex/test_cosmos_fund_wrong_amount/review/00000.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+13.8 KB
test/python/snapshots/flex/test_cosmos_fund_wrong_amount/review/00001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+8.57 KB
test/python/snapshots/flex/test_cosmos_fund_wrong_amount/review/00002.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+13.7 KB
test/python/snapshots/flex/test_cosmos_fund_wrong_amount/review/00003.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+9.46 KB
test/python/snapshots/flex/test_cosmos_fund_wrong_destination/post_sign/00000.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+12.3 KB
test/python/snapshots/flex/test_cosmos_fund_wrong_destination/post_sign/00001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+13.1 KB
test/python/snapshots/flex/test_cosmos_fund_wrong_destination/review/00000.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+13.8 KB
test/python/snapshots/flex/test_cosmos_fund_wrong_destination/review/00001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+8.57 KB
test/python/snapshots/flex/test_cosmos_fund_wrong_destination/review/00002.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+13.7 KB
test/python/snapshots/flex/test_cosmos_fund_wrong_destination/review/00003.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+9.46 KB
test/python/snapshots/flex/test_cosmos_fund_wrong_fees/post_sign/00000.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+12.3 KB
test/python/snapshots/flex/test_cosmos_fund_wrong_fees/post_sign/00001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+13.1 KB
test/python/snapshots/flex/test_cosmos_fund_wrong_fees/review/00000.png
Oops, something went wrong.
Binary file added
BIN
+13.8 KB
test/python/snapshots/flex/test_cosmos_fund_wrong_fees/review/00001.png
Oops, something went wrong.
Binary file added
BIN
+8.57 KB
test/python/snapshots/flex/test_cosmos_fund_wrong_fees/review/00002.png
Oops, something went wrong.
Binary file added
BIN
+13.7 KB
test/python/snapshots/flex/test_cosmos_fund_wrong_fees/review/00003.png
Oops, something went wrong.
Binary file added
BIN
+9.46 KB
test/python/snapshots/flex/test_cosmos_fund_wrong_memo/post_sign/00000.png
Oops, something went wrong.
Binary file added
BIN
+12.3 KB
test/python/snapshots/flex/test_cosmos_fund_wrong_memo/post_sign/00001.png
Oops, something went wrong.
Binary file added
BIN
+13.1 KB
test/python/snapshots/flex/test_cosmos_fund_wrong_memo/review/00000.png
Oops, something went wrong.
Binary file added
BIN
+13.8 KB
test/python/snapshots/flex/test_cosmos_fund_wrong_memo/review/00001.png
Oops, something went wrong.
Binary file added
BIN
+8.57 KB
test/python/snapshots/flex/test_cosmos_fund_wrong_memo/review/00002.png
Oops, something went wrong.
Binary file added
BIN
+13.7 KB
test/python/snapshots/flex/test_cosmos_fund_wrong_memo/review/00003.png
Oops, something went wrong.
Binary file added
BIN
+6.21 KB
test/python/snapshots/flex/test_cosmos_sell_valid_1/post_sign/00000.png
Oops, something went wrong.
Binary file added
BIN
+12.3 KB
test/python/snapshots/flex/test_cosmos_sell_valid_1/post_sign/00001.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file added
BIN
+6.21 KB
test/python/snapshots/flex/test_cosmos_sell_valid_2/post_sign/00000.png
Oops, something went wrong.
Binary file added
BIN
+12.3 KB
test/python/snapshots/flex/test_cosmos_sell_valid_2/post_sign/00001.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file added
BIN
+9.46 KB
test/python/snapshots/flex/test_cosmos_sell_wrong_amount/post_sign/00000.png
Oops, something went wrong.
Binary file added
BIN
+12.3 KB
test/python/snapshots/flex/test_cosmos_sell_wrong_amount/post_sign/00001.png
Oops, something went wrong.
Binary file added
BIN
+12.7 KB
test/python/snapshots/flex/test_cosmos_sell_wrong_amount/review/00000.png
Oops, something went wrong.
Binary file added
BIN
+16.2 KB
test/python/snapshots/flex/test_cosmos_sell_wrong_amount/review/00001.png
Oops, something went wrong.
Binary file added
BIN
+8.57 KB
test/python/snapshots/flex/test_cosmos_sell_wrong_amount/review/00002.png
Oops, something went wrong.
Binary file added
BIN
+13.3 KB
test/python/snapshots/flex/test_cosmos_sell_wrong_amount/review/00003.png
Oops, something went wrong.
Binary file added
BIN
+9.46 KB
test/python/snapshots/flex/test_cosmos_sell_wrong_destination/post_sign/00000.png
Oops, something went wrong.
Binary file added
BIN
+12.3 KB
test/python/snapshots/flex/test_cosmos_sell_wrong_destination/post_sign/00001.png
Oops, something went wrong.
Binary file added
BIN
+12.7 KB
test/python/snapshots/flex/test_cosmos_sell_wrong_destination/review/00000.png
Oops, something went wrong.
Binary file added
BIN
+16.2 KB
test/python/snapshots/flex/test_cosmos_sell_wrong_destination/review/00001.png
Oops, something went wrong.
Binary file added
BIN
+8.57 KB
test/python/snapshots/flex/test_cosmos_sell_wrong_destination/review/00002.png
Oops, something went wrong.
Binary file added
BIN
+13.3 KB
test/python/snapshots/flex/test_cosmos_sell_wrong_destination/review/00003.png
Oops, something went wrong.
Binary file added
BIN
+9.46 KB
test/python/snapshots/flex/test_cosmos_sell_wrong_fees/post_sign/00000.png
Oops, something went wrong.
Binary file added
BIN
+12.3 KB
test/python/snapshots/flex/test_cosmos_sell_wrong_fees/post_sign/00001.png
Oops, something went wrong.
Binary file added
BIN
+12.7 KB
test/python/snapshots/flex/test_cosmos_sell_wrong_fees/review/00000.png
Oops, something went wrong.
Binary file added
BIN
+16.2 KB
test/python/snapshots/flex/test_cosmos_sell_wrong_fees/review/00001.png
Oops, something went wrong.
Binary file added
BIN
+8.57 KB
test/python/snapshots/flex/test_cosmos_sell_wrong_fees/review/00002.png
Oops, something went wrong.
Binary file added
BIN
+13.3 KB
test/python/snapshots/flex/test_cosmos_sell_wrong_fees/review/00003.png
Oops, something went wrong.
Binary file added
BIN
+9.46 KB
test/python/snapshots/flex/test_cosmos_sell_wrong_memo/post_sign/00000.png
Oops, something went wrong.
Binary file added
BIN
+12.3 KB
test/python/snapshots/flex/test_cosmos_sell_wrong_memo/post_sign/00001.png
Oops, something went wrong.
Binary file added
BIN
+12.7 KB
test/python/snapshots/flex/test_cosmos_sell_wrong_memo/review/00000.png
Oops, something went wrong.
Binary file added
BIN
+16.2 KB
test/python/snapshots/flex/test_cosmos_sell_wrong_memo/review/00001.png
Oops, something went wrong.
Binary file added
BIN
+8.57 KB
test/python/snapshots/flex/test_cosmos_sell_wrong_memo/review/00002.png
Oops, something went wrong.
Binary file added
BIN
+13.3 KB
test/python/snapshots/flex/test_cosmos_sell_wrong_memo/review/00003.png
Oops, something went wrong.
Binary file added
BIN
+6.21 KB
test/python/snapshots/flex/test_cosmos_swap_valid_1/post_sign/00000.png
Oops, something went wrong.
Binary file added
BIN
+12.3 KB
test/python/snapshots/flex/test_cosmos_swap_valid_1/post_sign/00001.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file added
BIN
+6.21 KB
test/python/snapshots/flex/test_cosmos_swap_valid_2/post_sign/00000.png
Oops, something went wrong.
Binary file added
BIN
+12.3 KB
test/python/snapshots/flex/test_cosmos_swap_valid_2/post_sign/00001.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file added
BIN
+9.46 KB
test/python/snapshots/flex/test_cosmos_swap_wrong_amount/post_sign/00000.png
Oops, something went wrong.
Binary file added
BIN
+12.3 KB
test/python/snapshots/flex/test_cosmos_swap_wrong_amount/post_sign/00001.png
Oops, something went wrong.
Binary file added
BIN
+12.6 KB
test/python/snapshots/flex/test_cosmos_swap_wrong_amount/review/00000.png
Oops, something went wrong.
Binary file added
BIN
+14 KB
test/python/snapshots/flex/test_cosmos_swap_wrong_amount/review/00001.png
Oops, something went wrong.
Binary file added
BIN
+8.57 KB
test/python/snapshots/flex/test_cosmos_swap_wrong_amount/review/00002.png
Oops, something went wrong.
Binary file added
BIN
+13.2 KB
test/python/snapshots/flex/test_cosmos_swap_wrong_amount/review/00003.png
Oops, something went wrong.
Binary file added
BIN
+9.46 KB
test/python/snapshots/flex/test_cosmos_swap_wrong_destination/post_sign/00000.png
Oops, something went wrong.
Binary file added
BIN
+12.3 KB
test/python/snapshots/flex/test_cosmos_swap_wrong_destination/post_sign/00001.png
Oops, something went wrong.
Binary file added
BIN
+12.6 KB
test/python/snapshots/flex/test_cosmos_swap_wrong_destination/review/00000.png
Oops, something went wrong.
Binary file added
BIN
+14 KB
test/python/snapshots/flex/test_cosmos_swap_wrong_destination/review/00001.png
Oops, something went wrong.
Binary file added
BIN
+8.57 KB
test/python/snapshots/flex/test_cosmos_swap_wrong_destination/review/00002.png
Oops, something went wrong.
Binary file added
BIN
+13.2 KB
test/python/snapshots/flex/test_cosmos_swap_wrong_destination/review/00003.png
Oops, something went wrong.
Binary file added
BIN
+9.46 KB
test/python/snapshots/flex/test_cosmos_swap_wrong_fees/post_sign/00000.png
Oops, something went wrong.
Binary file added
BIN
+12.3 KB
test/python/snapshots/flex/test_cosmos_swap_wrong_fees/post_sign/00001.png
Oops, something went wrong.
Binary file added
BIN
+12.6 KB
test/python/snapshots/flex/test_cosmos_swap_wrong_fees/review/00000.png
Oops, something went wrong.
Binary file added
BIN
+14 KB
test/python/snapshots/flex/test_cosmos_swap_wrong_fees/review/00001.png
Oops, something went wrong.
Binary file added
BIN
+8.57 KB
test/python/snapshots/flex/test_cosmos_swap_wrong_fees/review/00002.png
Oops, something went wrong.
Binary file added
BIN
+13.2 KB
test/python/snapshots/flex/test_cosmos_swap_wrong_fees/review/00003.png
Oops, something went wrong.
Binary file added
BIN
+9.46 KB
test/python/snapshots/flex/test_cosmos_swap_wrong_memo/post_sign/00000.png
Oops, something went wrong.
Binary file added
BIN
+12.3 KB
test/python/snapshots/flex/test_cosmos_swap_wrong_memo/post_sign/00001.png
Oops, something went wrong.
Binary file added
BIN
+12.6 KB
test/python/snapshots/flex/test_cosmos_swap_wrong_memo/review/00000.png
Oops, something went wrong.
Binary file added
BIN
+14 KB
test/python/snapshots/flex/test_cosmos_swap_wrong_memo/review/00001.png
Oops, something went wrong.
Binary file added
BIN
+8.57 KB
test/python/snapshots/flex/test_cosmos_swap_wrong_memo/review/00002.png
Oops, something went wrong.
Binary file added
BIN
+13.2 KB
test/python/snapshots/flex/test_cosmos_swap_wrong_memo/review/00003.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file added
BIN
+414 Bytes
test/python/snapshots/nanosp/test_cosmos_fund_wrong_amount/00000.png
Oops, something went wrong.
Binary file added
BIN
+351 Bytes
test/python/snapshots/nanosp/test_cosmos_fund_wrong_amount/00001.png
Oops, something went wrong.
Binary file added
BIN
+483 Bytes
test/python/snapshots/nanosp/test_cosmos_fund_wrong_amount/00002.png
Oops, something went wrong.
Binary file added
BIN
+470 Bytes
test/python/snapshots/nanosp/test_cosmos_fund_wrong_amount/00003.png
Oops, something went wrong.
Binary file added
BIN
+524 Bytes
test/python/snapshots/nanosp/test_cosmos_fund_wrong_amount/00004.png
Oops, something went wrong.
Binary file added
BIN
+472 Bytes
test/python/snapshots/nanosp/test_cosmos_fund_wrong_amount/00005.png
Oops, something went wrong.
Binary file added
BIN
+393 Bytes
test/python/snapshots/nanosp/test_cosmos_fund_wrong_amount/00006.png
Oops, something went wrong.
Binary file added
BIN
+414 Bytes
test/python/snapshots/nanosp/test_cosmos_fund_wrong_destination/00000.png
Oops, something went wrong.
Binary file added
BIN
+351 Bytes
test/python/snapshots/nanosp/test_cosmos_fund_wrong_destination/00001.png
Oops, something went wrong.
Binary file added
BIN
+483 Bytes
test/python/snapshots/nanosp/test_cosmos_fund_wrong_destination/00002.png
Oops, something went wrong.
Binary file added
BIN
+470 Bytes
test/python/snapshots/nanosp/test_cosmos_fund_wrong_destination/00003.png
Oops, something went wrong.
Binary file added
BIN
+524 Bytes
test/python/snapshots/nanosp/test_cosmos_fund_wrong_destination/00004.png
Oops, something went wrong.
Binary file added
BIN
+472 Bytes
test/python/snapshots/nanosp/test_cosmos_fund_wrong_destination/00005.png
Oops, something went wrong.
Binary file added
BIN
+393 Bytes
test/python/snapshots/nanosp/test_cosmos_fund_wrong_destination/00006.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file added
BIN
+414 Bytes
test/python/snapshots/nanosp/test_cosmos_sell_wrong_amount/00000.png
Oops, something went wrong.
Binary file added
BIN
+494 Bytes
test/python/snapshots/nanosp/test_cosmos_sell_wrong_amount/00001.png
Oops, something went wrong.
Binary file added
BIN
+410 Bytes
test/python/snapshots/nanosp/test_cosmos_sell_wrong_amount/00002.png
Oops, something went wrong.
Binary file added
BIN
+483 Bytes
test/python/snapshots/nanosp/test_cosmos_sell_wrong_amount/00003.png
Oops, something went wrong.
Binary file added
BIN
+334 Bytes
test/python/snapshots/nanosp/test_cosmos_sell_wrong_amount/00004.png
Oops, something went wrong.
Binary file added
BIN
+524 Bytes
test/python/snapshots/nanosp/test_cosmos_sell_wrong_amount/00005.png
Oops, something went wrong.
Binary file added
BIN
+472 Bytes
test/python/snapshots/nanosp/test_cosmos_sell_wrong_amount/00006.png
Oops, something went wrong.
Binary file added
BIN
+393 Bytes
test/python/snapshots/nanosp/test_cosmos_sell_wrong_amount/00007.png
Oops, something went wrong.
Binary file added
BIN
+414 Bytes
test/python/snapshots/nanosp/test_cosmos_sell_wrong_destination/00000.png
Oops, something went wrong.
Binary file added
BIN
+494 Bytes
test/python/snapshots/nanosp/test_cosmos_sell_wrong_destination/00001.png
Oops, something went wrong.
Binary file added
BIN
+410 Bytes
test/python/snapshots/nanosp/test_cosmos_sell_wrong_destination/00002.png
Oops, something went wrong.
Binary file added
BIN
+483 Bytes
test/python/snapshots/nanosp/test_cosmos_sell_wrong_destination/00003.png
Oops, something went wrong.
Binary file added
BIN
+334 Bytes
test/python/snapshots/nanosp/test_cosmos_sell_wrong_destination/00004.png
Oops, something went wrong.
Binary file added
BIN
+524 Bytes
test/python/snapshots/nanosp/test_cosmos_sell_wrong_destination/00005.png
Oops, something went wrong.
Binary file added
BIN
+472 Bytes
test/python/snapshots/nanosp/test_cosmos_sell_wrong_destination/00006.png
Oops, something went wrong.
Binary file added
BIN
+393 Bytes
test/python/snapshots/nanosp/test_cosmos_sell_wrong_destination/00007.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file added
BIN
+414 Bytes
test/python/snapshots/nanosp/test_cosmos_swap_wrong_amount/00000.png
Oops, something went wrong.
Binary file added
BIN
+494 Bytes
test/python/snapshots/nanosp/test_cosmos_swap_wrong_amount/00001.png
Oops, something went wrong.
Binary file added
BIN
+483 Bytes
test/python/snapshots/nanosp/test_cosmos_swap_wrong_amount/00002.png
Oops, something went wrong.
Binary file added
BIN
+402 Bytes
test/python/snapshots/nanosp/test_cosmos_swap_wrong_amount/00003.png
Oops, something went wrong.
Binary file added
BIN
+524 Bytes
test/python/snapshots/nanosp/test_cosmos_swap_wrong_amount/00004.png
Oops, something went wrong.
Binary file added
BIN
+472 Bytes
test/python/snapshots/nanosp/test_cosmos_swap_wrong_amount/00005.png
Oops, something went wrong.
Binary file added
BIN
+393 Bytes
test/python/snapshots/nanosp/test_cosmos_swap_wrong_amount/00006.png
Oops, something went wrong.
Binary file added
BIN
+414 Bytes
test/python/snapshots/nanosp/test_cosmos_swap_wrong_destination/00000.png
Oops, something went wrong.
Binary file added
BIN
+494 Bytes
test/python/snapshots/nanosp/test_cosmos_swap_wrong_destination/00001.png
Oops, something went wrong.
Binary file added
BIN
+483 Bytes
test/python/snapshots/nanosp/test_cosmos_swap_wrong_destination/00002.png
Oops, something went wrong.
Binary file added
BIN
+402 Bytes
test/python/snapshots/nanosp/test_cosmos_swap_wrong_destination/00003.png
Oops, something went wrong.
Binary file added
BIN
+524 Bytes
test/python/snapshots/nanosp/test_cosmos_swap_wrong_destination/00004.png
Oops, something went wrong.
Binary file added
BIN
+472 Bytes
test/python/snapshots/nanosp/test_cosmos_swap_wrong_destination/00005.png
Oops, something went wrong.
Binary file added
BIN
+393 Bytes
test/python/snapshots/nanosp/test_cosmos_swap_wrong_destination/00006.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file added
BIN
+414 Bytes
test/python/snapshots/nanox/test_cosmos_fund_wrong_amount/00000.png
Oops, something went wrong.
Binary file added
BIN
+351 Bytes
test/python/snapshots/nanox/test_cosmos_fund_wrong_amount/00001.png
Oops, something went wrong.
Binary file added
BIN
+483 Bytes
test/python/snapshots/nanox/test_cosmos_fund_wrong_amount/00002.png
Oops, something went wrong.
Binary file added
BIN
+470 Bytes
test/python/snapshots/nanox/test_cosmos_fund_wrong_amount/00003.png
Oops, something went wrong.
Binary file added
BIN
+524 Bytes
test/python/snapshots/nanox/test_cosmos_fund_wrong_amount/00004.png
Oops, something went wrong.
Binary file added
BIN
+472 Bytes
test/python/snapshots/nanox/test_cosmos_fund_wrong_amount/00005.png
Oops, something went wrong.
Binary file added
BIN
+393 Bytes
test/python/snapshots/nanox/test_cosmos_fund_wrong_amount/00006.png
Oops, something went wrong.
Binary file added
BIN
+414 Bytes
test/python/snapshots/nanox/test_cosmos_fund_wrong_destination/00000.png
Oops, something went wrong.
Binary file added
BIN
+351 Bytes
test/python/snapshots/nanox/test_cosmos_fund_wrong_destination/00001.png
Oops, something went wrong.
Binary file added
BIN
+483 Bytes
test/python/snapshots/nanox/test_cosmos_fund_wrong_destination/00002.png
Oops, something went wrong.
Binary file added
BIN
+470 Bytes
test/python/snapshots/nanox/test_cosmos_fund_wrong_destination/00003.png
Oops, something went wrong.
Binary file added
BIN
+524 Bytes
test/python/snapshots/nanox/test_cosmos_fund_wrong_destination/00004.png
Oops, something went wrong.
Binary file added
BIN
+472 Bytes
test/python/snapshots/nanox/test_cosmos_fund_wrong_destination/00005.png
Oops, something went wrong.
Binary file added
BIN
+393 Bytes
test/python/snapshots/nanox/test_cosmos_fund_wrong_destination/00006.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Fine for now, I'll change it to our fork once it's merged