Skip to content

Commit

Permalink
Merge pull request #7430 from LedgerHQ/support/update_device_label
Browse files Browse the repository at this point in the history
fix: Updating labels for ETH, ETC, ETH sep and ETH Hol
  • Loading branch information
VicAlbr authored Jul 25, 2024
2 parents efe88bf + 0809ef2 commit d5943f0
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 8 deletions.
8 changes: 4 additions & 4 deletions apps/ledger-live-desktop/tests/enum/Currency.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,28 +38,28 @@ export class Currency {
"Ethereum",
"ETH",
"Ethereum",
[DeviceLabels.AMOUT, DeviceLabels.ADDRESS, DeviceLabels.ACCEPT, DeviceLabels.REJECT],
[DeviceLabels.AMOUT, DeviceLabels.TO, DeviceLabels.ACCEPT, DeviceLabels.REJECT],
[DeviceLabels.ADDRESS, DeviceLabels.APPROVE, DeviceLabels.REJECT],
);
static readonly tETH = new Currency(
"Ethereum Holesky",
"𝚝ETH",
"Ethereum Holesky",
[DeviceLabels.AMOUT, DeviceLabels.ADDRESS, DeviceLabels.ACCEPT, DeviceLabels.REJECT],
[DeviceLabels.AMOUT, DeviceLabels.TO, DeviceLabels.ACCEPT, DeviceLabels.REJECT],
[DeviceLabels.ADDRESS, DeviceLabels.APPROVE, DeviceLabels.REJECT],
);
static readonly sepETH = new Currency(
"Ethereum Sepolia",
"𝚝ETH",
"Ethereum Sepolia",
[DeviceLabels.AMOUT, DeviceLabels.ADDRESS, DeviceLabels.ACCEPT, DeviceLabels.REJECT],
[DeviceLabels.AMOUT, DeviceLabels.TO, DeviceLabels.ACCEPT, DeviceLabels.REJECT],
[DeviceLabels.ADDRESS, DeviceLabels.APPROVE, DeviceLabels.REJECT],
);
static readonly ETC = new Currency(
"Ethereum Classic",
"ETC",
"Ethereum Classic",
[DeviceLabels.AMOUT, DeviceLabels.ADDRESS, DeviceLabels.ACCEPT, DeviceLabels.REJECT],
[DeviceLabels.AMOUT, DeviceLabels.TO, DeviceLabels.ACCEPT, DeviceLabels.REJECT],
[DeviceLabels.ADDRESS, DeviceLabels.APPROVE, DeviceLabels.REJECT],
);
static readonly SOL = new Currency(
Expand Down
4 changes: 2 additions & 2 deletions apps/ledger-live-desktop/tests/page/speculos.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ export class SpeculosPage extends AppPage {

@step("Verify transaction info on device")
async expectValidTxInfo(tx: Transaction) {
const amountScreen = await pressRightUntil(DeviceLabels.AMOUT);
const amountScreen = await pressRightUntil(tx.accountToDebit.currency.sendPattern[0]);
expect(verifyAmount(tx.amount, amountScreen)).toBe(true);
const addressScreen = await pressRightUntil(DeviceLabels.ADDRESS);
const addressScreen = await pressRightUntil(tx.accountToDebit.currency.sendPattern[1]);
expect(assertAddressesEquality(tx.recipient, addressScreen)).toBe(true);
await pressRightUntil(tx.accountToDebit.currency.sendPattern[2]);
await pressBoth();
Expand Down
4 changes: 2 additions & 2 deletions apps/ledger-live-desktop/tests/utils/speculos.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
listAppCandidates,
createSpeculosDevice,
releaseSpeculosDevice,
findAppCandidate,
findLatestAppCandidate,
SpeculosTransport,
} from "@ledgerhq/live-common/load/speculos";
import { SpeculosDevice } from "@ledgerhq/speculos-transport";
Expand Down Expand Up @@ -202,7 +202,7 @@ export async function startSpeculos(
}

const { appQuery, dependency, onSpeculosDeviceCreated } = spec;
const appCandidate = findAppCandidate(appCandidates, appQuery);
const appCandidate = findLatestAppCandidate(appCandidates, appQuery);
if (!appCandidate) {
console.warn("no app found for " + testName);
console.warn(appQuery);
Expand Down
14 changes: 14 additions & 0 deletions libs/ledger-live-common/src/load/speculos.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,20 @@ export function appCandidatesMatches(appCandidate: AppCandidate, search: AppSear
(search.appVersion && semver.satisfies(appCandidate.appVersion, search.appVersion)))
);
}

export const findLatestAppCandidate = (
appCandidates: AppCandidate[],
search: AppSearch,
): AppCandidate | null => {
let apps = appCandidates.filter(c => appCandidatesMatches(c, search));
if (apps.length === 0) {
return null;
}

apps = apps.sort((a, b) => semver.rcompare(a.appVersion, b.appVersion));
return apps[0];
};

export const findAppCandidate = (
appCandidates: AppCandidate[],
search: AppSearch,
Expand Down

1 comment on commit d5943f0

@github-actions
Copy link

Choose a reason for hiding this comment

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

[Bot] Testing with 'Nitrogen' ✅ 3 txs ❌ 1 txs ($3.21) ⏲ 1min 49s

❌ 1 specs have problems: Algorand

What is the bot and how does it work? Everything is documented here!

❌ 1 mutation errors
necessary accounts resynced in 0.25ms
▬ Algorand 2.1.11 on nanoS 2.1.0
→ FROM undefined: 7.92059 ALGO (532ops) (WNBXHLRE6IL5W5S3UO2FUWW7DJ6NUBVIVCYV2K66MFE3ABLAPDVEJX5ILA on 44'/283'/3'/0/0) #3 js:2:algorand:WNBXHLRE6IL5W5S3UO2FUWW7DJ6NUBVIVCYV2K66MFE3ABLAPDVEJX5ILA: 5.020591 ALGO spendable. 
  TokenAccount Asia Reserve Currency Coin: 0 ARCC (0 ops)
  TokenAccount MESE USD Exchange Token: 0 USD-MESE (0 ops)
  TokenAccount MESE Index Fund: 0 MESX (0 ops)
  TokenAccount Micro-Microsoft: 0 M-MSFT (0 ops)
  TokenAccount Micro-Amazon: 0 M-AMZN (0 ops)
  TokenAccount Micro-Twitter: 0 M-TWTR (0 ops)
  TokenAccount Micro-Netflix: 0 M-NFLX (0 ops)
  TokenAccount Micro-Google: 0 M-GOOGL (0 ops)
  TokenAccount Micro-Apple: 0 M-AAPL (0 ops)
  TokenAccount Micro-Tesla: 0 M-TSLA (0 ops)
  TokenAccount Realio Token: 0 RIO (0 ops)
  TokenAccount realioUSD: 0 RUSD (0 ops)
  TokenAccount Liquid Mining Fund I: 0 RHO 1 (0 ops)
  TokenAccount Credit Opportunities Fund I: 0 VAL 1 (0 ops)
  TokenAccount Meld Gold: 0 MCAU (0 ops)
  TokenAccount Meld Silver: 0 MCAG (0 ops)
  TokenAccount PLANET: 0 PLANETS (0 ops)
  TokenAccount USDC: 0 USDC (0 ops)
  TokenAccount HEADLINE: 0 HDL (0 ops)
  TokenAccount Yieldly: 0 YLDY (0 ops)
  TokenAccount AlgoGems: 0 GEMS (0 ops)
  TokenAccount Choice Coin: 0 CHOICE (0 ops)
  TokenAccount Smile Coin: 0 SMILE (0 ops)
  TokenAccount goBTC: 0 goBTC (0 ops)
  TokenAccount goETH: 0 goETH (0 ops)
  TokenAccount goMINT: 0 goMINT (0 ops)
  TokenAccount Nimble: 0 NIMBLE (0 ops)
  TokenAccount CollecteursX: 0 CLTR (0 ops)
max spendable ~5.01959
★ using mutation 'opt-In ASA available'
→ TO undefined: 7.92059 ALGO (532ops) (WNBXHLRE6IL5W5S3UO2FUWW7DJ6NUBVIVCYV2K66MFE3ABLAPDVEJX5ILA on 44'/283'/3'/0/0) #3 js:2:algorand:WNBXHLRE6IL5W5S3UO2FUWW7DJ6NUBVIVCYV2K66MFE3ABLAPDVEJX5ILA:
✔️ transaction 
    OPT_IN 0 ALGO
    TO WNBXHLRE6IL5W5S3UO2FUWW7DJ6NUBVIVCYV2K66MFE3ABLAPDVEJX5ILA
    with fees=0.001 ALGO
STATUS (196ms)
  amount: 0 ALGO
  estimated fees: 0.001 ALGO
  total spent: 0.001 ALGO
errors: 
warnings: 
⚠️ TEST deviceAction confirm step 'Asset ID'
Error: expect(received).toMatchObject(expected)

- Expected  - 1
+ Received  + 1

  Object {
-   "Asset ID": "Loot Box (#408898501)",
+   "Asset ID": "Loot Box ASA (#408898501)",
  }
(totally spent 2189ms – ends at 2024-07-26T07:05:58.674Z)
⚠️ 1 spec hints
  • Spec Algorand:
    • mutations should define a testDestination(): opt-In ASA available
Details of the 4 mutations

Spec Algorand (6)

Spec Algorand found 6 Algorand accounts. Will use Algorand 2.1.11 on nanoS 2.1.0
undefined: 4.99358 ALGO (477ops) (TM4WJOS4MZ2TD775W7GSXZMBUF74YT6SKSBXCZY3N7OUIAPXE54MZ5FCD4 on 44'/283'/0'/0/0) #0 js:2:algorand:TM4WJOS4MZ2TD775W7GSXZMBUF74YT6SKSBXCZY3N7OUIAPXE54MZ5FCD4:
undefined: 4.95619 ALGO (464ops) (RWYWVHL3QJSTOLJTM6TIQ65LZX5IUJMHRMSEISS5FGJ7CRLTJSH3S5UAQQ on 44'/283'/1'/0/0) #1 js:2:algorand:RWYWVHL3QJSTOLJTM6TIQ65LZX5IUJMHRMSEISS5FGJ7CRLTJSH3S5UAQQ:
undefined: 2.8 ALGO (482ops) (YHPWECPNX7OU2AS5NGEC6JUFZRUZWKXKO5RK267DEMQZ2R7IBCE2MAAYNE on 44'/283'/2'/0/0) #2 js:2:algorand:YHPWECPNX7OU2AS5NGEC6JUFZRUZWKXKO5RK267DEMQZ2R7IBCE2MAAYNE:
undefined: 6.00173 ALGO (531ops) (WNBXHLRE6IL5W5S3UO2FUWW7DJ6NUBVIVCYV2K66MFE3ABLAPDVEJX5ILA on 44'/283'/3'/0/0) #3 js:2:algorand:WNBXHLRE6IL5W5S3UO2FUWW7DJ6NUBVIVCYV2K66MFE3ABLAPDVEJX5ILA:
undefined: 4.14709 ALGO (430ops) (GEPEPFCOO7TRQ3HKU5IKQPARS7DDXDHH6Y2VNMUJWH7TMLLOZ3Z6JKRQAI on 44'/283'/4'/0/0) #4 js:2:algorand:GEPEPFCOO7TRQ3HKU5IKQPARS7DDXDHH6Y2VNMUJWH7TMLLOZ3Z6JKRQAI:
undefined: 0 ALGO (0ops) (X3TNYJCHUW6UBWVEN5K2ULWMLRWRGBEUWZLR4V2XR3UDN4TWNZP3Q6EAQU on 44'/283'/5'/0/0) #5 js:2:algorand:X3TNYJCHUW6UBWVEN5K2ULWMLRWRGBEUWZLR4V2XR3UDN4TWNZP3Q6EAQU:
necessary accounts resynced in 0.27ms
▬ Algorand 2.1.11 on nanoS 2.1.0
→ FROM undefined: 4.99358 ALGO (477ops) (TM4WJOS4MZ2TD775W7GSXZMBUF74YT6SKSBXCZY3N7OUIAPXE54MZ5FCD4 on 44'/283'/0'/0/0) #0 js:2:algorand:TM4WJOS4MZ2TD775W7GSXZMBUF74YT6SKSBXCZY3N7OUIAPXE54MZ5FCD4: 1.993586 ALGO spendable. 
  TokenAccount Asia Reserve Currency Coin: 0 ARCC (0 ops)
  TokenAccount MESE USD Exchange Token: 0 USD-MESE (0 ops)
  TokenAccount MESE Index Fund: 0 MESX (0 ops)
  TokenAccount Micro-Microsoft: 0 M-MSFT (0 ops)
  TokenAccount Micro-Amazon: 0 M-AMZN (0 ops)
  TokenAccount Micro-Twitter: 0 M-TWTR (0 ops)
  TokenAccount Micro-Netflix: 0 M-NFLX (0 ops)
  TokenAccount Micro-Google: 0 M-GOOGL (0 ops)
  TokenAccount Micro-Apple: 0 M-AAPL (0 ops)
  TokenAccount Micro-Tesla: 0 M-TSLA (0 ops)
  TokenAccount Realio Token: 0 RIO (0 ops)
  TokenAccount realioUSD: 0 RUSD (0 ops)
  TokenAccount Liquid Mining Fund I: 0 RHO 1 (0 ops)
  TokenAccount Credit Opportunities Fund I: 0 VAL 1 (0 ops)
  TokenAccount Meld Gold: 0 MCAU (0 ops)
  TokenAccount Meld Silver: 0 MCAG (0 ops)
  TokenAccount PLANET: 0 PLANETS (0 ops)
  TokenAccount USDC: 0 USDC (0 ops)
  TokenAccount HEADLINE: 0 HDL (0 ops)
  TokenAccount Exodus: 0 EXIT (0 ops)
  TokenAccount Yieldly: 0 YLDY (0 ops)
  TokenAccount AlgoGems: 0 GEMS (0 ops)
  TokenAccount Choice Coin: 0 CHOICE (0 ops)
  TokenAccount Smile Coin: 0 SMILE (0 ops)
  TokenAccount goBTC: 0 goBTC (0 ops)
  TokenAccount goETH: 0 goETH (0 ops)
  TokenAccount goMINT: 0 goMINT (0 ops)
  TokenAccount Nimble: 0 NIMBLE (0 ops)
  TokenAccount CollecteursX: 0 CLTR (0 ops)
max spendable ~1.99258
★ using mutation 'move ~50%'
→ TO undefined: 2.8 ALGO (482ops) (YHPWECPNX7OU2AS5NGEC6JUFZRUZWKXKO5RK267DEMQZ2R7IBCE2MAAYNE on 44'/283'/2'/0/0) #2 js:2:algorand:YHPWECPNX7OU2AS5NGEC6JUFZRUZWKXKO5RK267DEMQZ2R7IBCE2MAAYNE:
✔️ transaction 
    SEND 1.0268 ALGO
    TO YHPWECPNX7OU2AS5NGEC6JUFZRUZWKXKO5RK267DEMQZ2R7IBCE2MAAYNE
    with fees=0.001 ALGO
STATUS (333ms)
  amount: 1.026804 ALGO
  estimated fees: 0.001 ALGO
  total spent: 1.027804 ALGO
errors: 
warnings: 
✔️ has been signed! (4.8s) 
✔️ broadcasted! (61ms) optimistic operation: 
  -1.027804 ALGO     OUT        LWL55MC4KDUDAS5AUTJORSL5D6WBXQDKMNF4RKR7RJB6QTAJ4TFQ 2024-07-26T07:04
✔️ operation confirmed (10.2s): 
  -1.027804 ALGO     OUT        LWL55MC4KDUDAS5AUTJORSL5D6WBXQDKMNF4RKR7RJB6QTAJ4TFQ 2024-07-26T07:04 REWARDS : 0 ALGO          
✔️ undefined: 3.96578 ALGO (478ops) (TM4WJOS4MZ2TD775W7GSXZMBUF74YT6SKSBXCZY3N7OUIAPXE54MZ5FCD4 on 44'/283'/0'/0/0) #0 js:2:algorand:TM4WJOS4MZ2TD775W7GSXZMBUF74YT6SKSBXCZY3N7OUIAPXE54MZ5FCD4: 0.965782 ALGO spendable. 
  TokenAccount Asia Reserve Currency Coin: 0 ARCC (0 ops)
  TokenAccount MESE USD Exchange Token: 0 USD-MESE (0 ops)
  TokenAccount MESE Index Fund: 0 MESX (0 ops)
  TokenAccount Micro-Microsoft: 0 M-MSFT (0 ops)
  TokenAccount Micro-Amazon: 0 M-AMZN (0 ops)
  TokenAccount Micro-Twitter: 0 M-TWTR (0 ops)
  TokenAccount Micro-Netflix: 0 M-NFLX (0 ops)
  TokenAccount Micro-Google: 0 M-GOOGL (0 ops)
  TokenAccount Micro-Apple: 0 M-AAPL (0 ops)
  TokenAccount Micro-Tesla: 0 M-TSLA (0 ops)
  TokenAccount Realio Token: 0 RIO (0 ops)
  TokenAccount realioUSD: 0 RUSD (0 ops)
  TokenAccount Liquid Mining Fund I: 0 RHO 1 (0 ops)
  TokenAccount Credit Opportunities Fund I: 0 VAL 1 (0 ops)
  TokenAccount Meld Gold: 0 MCAU (0 ops)
  TokenAccount Meld Silver: 0 MCAG (0 ops)
  TokenAccount PLANET: 0 PLANETS (0 ops)
  TokenAccount USDC: 0 USDC (0 ops)
  TokenAccount HEADLINE: 0 HDL (0 ops)
  TokenAccount Exodus: 0 EXIT (0 ops)
  TokenAccount Yieldly: 0 YLDY (0 ops)
  TokenAccount AlgoGems: 0 GEMS (0 ops)
  TokenAccount Choice Coin: 0 CHOICE (0 ops)
  TokenAccount Smile Coin: 0 SMILE (0 ops)
  TokenAccount goBTC: 0 goBTC (0 ops)
  TokenAccount goETH: 0 goETH (0 ops)
  TokenAccount goMINT: 0 goMINT (0 ops)
  TokenAccount Nimble: 0 NIMBLE (0 ops)
  TokenAccount CollecteursX: 0 CLTR (0 ops)(in 10.2s)
✔️ destination operation 
  +1.026804 ALGO     IN         LWL55MC4KDUDAS5AUTJORSL5D6WBXQDKMNF4RKR7RJB6QTAJ4TFQ 2024-07-26T07:04 REWARDS : 0 ALGO          
(in 10.2s)

necessary accounts resynced in 0.22ms
▬ Algorand 2.1.11 on nanoS 2.1.0
→ FROM undefined: 4.95619 ALGO (464ops) (RWYWVHL3QJSTOLJTM6TIQ65LZX5IUJMHRMSEISS5FGJ7CRLTJSH3S5UAQQ on 44'/283'/1'/0/0) #1 js:2:algorand:RWYWVHL3QJSTOLJTM6TIQ65LZX5IUJMHRMSEISS5FGJ7CRLTJSH3S5UAQQ: 1.85619 ALGO spendable. 
  TokenAccount Asia Reserve Currency Coin: 0 ARCC (0 ops)
  TokenAccount MESE USD Exchange Token: 0 USD-MESE (0 ops)
  TokenAccount MESE Index Fund: 0 MESX (0 ops)
  TokenAccount Micro-Microsoft: 0 M-MSFT (0 ops)
  TokenAccount Micro-Amazon: 0 M-AMZN (0 ops)
  TokenAccount Micro-Twitter: 0 M-TWTR (0 ops)
  TokenAccount Micro-Netflix: 0 M-NFLX (0 ops)
  TokenAccount Micro-Google: 0 M-GOOGL (0 ops)
  TokenAccount Micro-Apple: 0 M-AAPL (0 ops)
  TokenAccount Micro-Tesla: 0 M-TSLA (0 ops)
  TokenAccount Realio Token: 0 RIO (0 ops)
  TokenAccount realioUSD: 0 RUSD (0 ops)
  TokenAccount Liquid Mining Fund I: 0 RHO 1 (0 ops)
  TokenAccount Credit Opportunities Fund I: 0 VAL 1 (0 ops)
  TokenAccount Meld Gold: 0 MCAU (0 ops)
  TokenAccount Meld Silver: 0 MCAG (0 ops)
  TokenAccount PLANET: 0 PLANETS (0 ops)
  TokenAccount USDC: 0 USDC (0 ops)
  TokenAccount HEADLINE: 0 HDL (0 ops)
  TokenAccount Exodus: 0 EXIT (0 ops)
  TokenAccount Yieldly: 0 YLDY (0 ops)
  TokenAccount AlgoGems: 0 GEMS (0 ops)
  TokenAccount Opulous: 0 OPUL (0 ops)
  TokenAccount Choice Coin: 0 CHOICE (0 ops)
  TokenAccount Smile Coin: 0 SMILE (0 ops)
  TokenAccount goBTC: 0 goBTC (0 ops)
  TokenAccount goETH: 0 goETH (0 ops)
  TokenAccount goMINT: 0 goMINT (0 ops)
  TokenAccount Nimble: 0 NIMBLE (0 ops)
  TokenAccount CollecteursX: 0 CLTR (0 ops)
max spendable ~1.85519
★ using mutation 'move ~50%'
→ TO undefined: 3.8268 ALGO (483ops) (YHPWECPNX7OU2AS5NGEC6JUFZRUZWKXKO5RK267DEMQZ2R7IBCE2MAAYNE on 44'/283'/2'/0/0) #2 js:2:algorand:YHPWECPNX7OU2AS5NGEC6JUFZRUZWKXKO5RK267DEMQZ2R7IBCE2MAAYNE:
✔️ transaction 
    SEND 0.893051 ALGO
    TO YHPWECPNX7OU2AS5NGEC6JUFZRUZWKXKO5RK267DEMQZ2R7IBCE2MAAYNE
    with fees=0.001 ALGO
STATUS (367ms)
  amount: 0.893051 ALGO
  estimated fees: 0.001 ALGO
  total spent: 0.894051 ALGO
errors: 
warnings: 
✔️ has been signed! (4.7s) 
✔️ broadcasted! (86ms) optimistic operation: 
  -0.894051 ALGO     OUT        PB33DFGJBXBM6TB4TDNPTNZAKTQMQFX5FRUBUQZHNIXLPWMZAGVA 2024-07-26T07:04
✔️ operation confirmed (10.2s): 
  -0.894051 ALGO     OUT        PB33DFGJBXBM6TB4TDNPTNZAKTQMQFX5FRUBUQZHNIXLPWMZAGVA 2024-07-26T07:05 REWARDS : 0 ALGO          
✔️ undefined: 4.06213 ALGO (465ops) (RWYWVHL3QJSTOLJTM6TIQ65LZX5IUJMHRMSEISS5FGJ7CRLTJSH3S5UAQQ on 44'/283'/1'/0/0) #1 js:2:algorand:RWYWVHL3QJSTOLJTM6TIQ65LZX5IUJMHRMSEISS5FGJ7CRLTJSH3S5UAQQ: 0.962139 ALGO spendable. 
  TokenAccount Asia Reserve Currency Coin: 0 ARCC (0 ops)
  TokenAccount MESE USD Exchange Token: 0 USD-MESE (0 ops)
  TokenAccount MESE Index Fund: 0 MESX (0 ops)
  TokenAccount Micro-Microsoft: 0 M-MSFT (0 ops)
  TokenAccount Micro-Amazon: 0 M-AMZN (0 ops)
  TokenAccount Micro-Twitter: 0 M-TWTR (0 ops)
  TokenAccount Micro-Netflix: 0 M-NFLX (0 ops)
  TokenAccount Micro-Google: 0 M-GOOGL (0 ops)
  TokenAccount Micro-Apple: 0 M-AAPL (0 ops)
  TokenAccount Micro-Tesla: 0 M-TSLA (0 ops)
  TokenAccount Realio Token: 0 RIO (0 ops)
  TokenAccount realioUSD: 0 RUSD (0 ops)
  TokenAccount Liquid Mining Fund I: 0 RHO 1 (0 ops)
  TokenAccount Credit Opportunities Fund I: 0 VAL 1 (0 ops)
  TokenAccount Meld Gold: 0 MCAU (0 ops)
  TokenAccount Meld Silver: 0 MCAG (0 ops)
  TokenAccount PLANET: 0 PLANETS (0 ops)
  TokenAccount USDC: 0 USDC (0 ops)
  TokenAccount HEADLINE: 0 HDL (0 ops)
  TokenAccount Exodus: 0 EXIT (0 ops)
  TokenAccount Yieldly: 0 YLDY (0 ops)
  TokenAccount AlgoGems: 0 GEMS (0 ops)
  TokenAccount Opulous: 0 OPUL (0 ops)
  TokenAccount Choice Coin: 0 CHOICE (0 ops)
  TokenAccount Smile Coin: 0 SMILE (0 ops)
  TokenAccount goBTC: 0 goBTC (0 ops)
  TokenAccount goETH: 0 goETH (0 ops)
  TokenAccount goMINT: 0 goMINT (0 ops)
  TokenAccount Nimble: 0 NIMBLE (0 ops)
  TokenAccount CollecteursX: 0 CLTR (0 ops)(in 10.2s)
✔️ destination operation 
  +0.893051 ALGO     IN         PB33DFGJBXBM6TB4TDNPTNZAKTQMQFX5FRUBUQZHNIXLPWMZAGVA 2024-07-26T07:05 REWARDS : 0 ALGO          
(in 10.2s)

necessary accounts resynced in 0.20ms
▬ Algorand 2.1.11 on nanoS 2.1.0
→ FROM undefined: 4.71985 ALGO (484ops) (YHPWECPNX7OU2AS5NGEC6JUFZRUZWKXKO5RK267DEMQZ2R7IBCE2MAAYNE on 44'/283'/2'/0/0) #2 js:2:algorand:YHPWECPNX7OU2AS5NGEC6JUFZRUZWKXKO5RK267DEMQZ2R7IBCE2MAAYNE: 1.919855 ALGO spendable. 
  TokenAccount Asia Reserve Currency Coin: 0 ARCC (0 ops)
  TokenAccount MESE USD Exchange Token: 0 USD-MESE (0 ops)
  TokenAccount MESE Index Fund: 0 MESX (0 ops)
  TokenAccount Micro-Microsoft: 0 M-MSFT (0 ops)
  TokenAccount Micro-Amazon: 0 M-AMZN (0 ops)
  TokenAccount Micro-Twitter: 0 M-TWTR (0 ops)
  TokenAccount Micro-Netflix: 0 M-NFLX (0 ops)
  TokenAccount Micro-Google: 0 M-GOOGL (0 ops)
  TokenAccount Micro-Apple: 0 M-AAPL (0 ops)
  TokenAccount Micro-Tesla: 0 M-TSLA (0 ops)
  TokenAccount Realio Token: 0 RIO (0 ops)
  TokenAccount realioUSD: 0 RUSD (0 ops)
  TokenAccount Liquid Mining Fund I: 0 RHO 1 (0 ops)
  TokenAccount Credit Opportunities Fund I: 0 VAL 1 (0 ops)
  TokenAccount Meld Gold: 0 MCAU (0 ops)
  TokenAccount Meld Silver: 0 MCAG (0 ops)
  TokenAccount PLANET: 0 PLANETS (0 ops)
  TokenAccount USDC: 0 USDC (0 ops)
  TokenAccount HEADLINE: 0 HDL (0 ops)
  TokenAccount Exodus: 0 EXIT (0 ops)
  TokenAccount Yieldly: 0 YLDY (0 ops)
  TokenAccount AlgoGems: 0 GEMS (0 ops)
  TokenAccount goBTC: 0 goBTC (0 ops)
  TokenAccount goETH: 0 goETH (0 ops)
  TokenAccount goMINT: 0 goMINT (0 ops)
  TokenAccount Nimble: 0 NIMBLE (0 ops)
  TokenAccount CollecteursX: 0 CLTR (0 ops)
max spendable ~1.91885
★ using mutation 'send max'
→ TO undefined: 6.00173 ALGO (531ops) (WNBXHLRE6IL5W5S3UO2FUWW7DJ6NUBVIVCYV2K66MFE3ABLAPDVEJX5ILA on 44'/283'/3'/0/0) #3 js:2:algorand:WNBXHLRE6IL5W5S3UO2FUWW7DJ6NUBVIVCYV2K66MFE3ABLAPDVEJX5ILA:
✔️ transaction 
    SEND MAX
    TO WNBXHLRE6IL5W5S3UO2FUWW7DJ6NUBVIVCYV2K66MFE3ABLAPDVEJX5ILA
    with fees=0.001 ALGO
STATUS (528ms)
  amount: 1.918855 ALGO
  estimated fees: 0.001 ALGO
  total spent: 1.919855 ALGO
errors: 
warnings: 
✔️ has been signed! (4.7s) 
✔️ broadcasted! (93ms) optimistic operation: 
  -1.919855 ALGO     OUT        P4DVD7KX5VXTHYEMPHL3WSH3STAILNHVVU6B5FVC6SEITCZLYUFA 2024-07-26T07:05
✔️ operation confirmed (20.2s): 
  -1.919855 ALGO     OUT        P4DVD7KX5VXTHYEMPHL3WSH3STAILNHVVU6B5FVC6SEITCZLYUFA 2024-07-26T07:05 REWARDS : 0 ALGO          
✔️ undefined: 2.8 ALGO (485ops) (YHPWECPNX7OU2AS5NGEC6JUFZRUZWKXKO5RK267DEMQZ2R7IBCE2MAAYNE on 44'/283'/2'/0/0) #2 js:2:algorand:YHPWECPNX7OU2AS5NGEC6JUFZRUZWKXKO5RK267DEMQZ2R7IBCE2MAAYNE: 0 ALGO spendable. 
  TokenAccount Asia Reserve Currency Coin: 0 ARCC (0 ops)
  TokenAccount MESE USD Exchange Token: 0 USD-MESE (0 ops)
  TokenAccount MESE Index Fund: 0 MESX (0 ops)
  TokenAccount Micro-Microsoft: 0 M-MSFT (0 ops)
  TokenAccount Micro-Amazon: 0 M-AMZN (0 ops)
  TokenAccount Micro-Twitter: 0 M-TWTR (0 ops)
  TokenAccount Micro-Netflix: 0 M-NFLX (0 ops)
  TokenAccount Micro-Google: 0 M-GOOGL (0 ops)
  TokenAccount Micro-Apple: 0 M-AAPL (0 ops)
  TokenAccount Micro-Tesla: 0 M-TSLA (0 ops)
  TokenAccount Realio Token: 0 RIO (0 ops)
  TokenAccount realioUSD: 0 RUSD (0 ops)
  TokenAccount Liquid Mining Fund I: 0 RHO 1 (0 ops)
  TokenAccount Credit Opportunities Fund I: 0 VAL 1 (0 ops)
  TokenAccount Meld Gold: 0 MCAU (0 ops)
  TokenAccount Meld Silver: 0 MCAG (0 ops)
  TokenAccount PLANET: 0 PLANETS (0 ops)
  TokenAccount USDC: 0 USDC (0 ops)
  TokenAccount HEADLINE: 0 HDL (0 ops)
  TokenAccount Exodus: 0 EXIT (0 ops)
  TokenAccount Yieldly: 0 YLDY (0 ops)
  TokenAccount AlgoGems: 0 GEMS (0 ops)
  TokenAccount goBTC: 0 goBTC (0 ops)
  TokenAccount goETH: 0 goETH (0 ops)
  TokenAccount goMINT: 0 goMINT (0 ops)
  TokenAccount Nimble: 0 NIMBLE (0 ops)
  TokenAccount CollecteursX: 0 CLTR (0 ops)(in 20.2s)
✔️ destination operation 
  +1.918855 ALGO     IN         P4DVD7KX5VXTHYEMPHL3WSH3STAILNHVVU6B5FVC6SEITCZLYUFA 2024-07-26T07:05 REWARDS : 0 ALGO          
(in 10.2s)

necessary accounts resynced in 0.25ms
▬ Algorand 2.1.11 on nanoS 2.1.0
→ FROM undefined: 7.92059 ALGO (532ops) (WNBXHLRE6IL5W5S3UO2FUWW7DJ6NUBVIVCYV2K66MFE3ABLAPDVEJX5ILA on 44'/283'/3'/0/0) #3 js:2:algorand:WNBXHLRE6IL5W5S3UO2FUWW7DJ6NUBVIVCYV2K66MFE3ABLAPDVEJX5ILA: 5.020591 ALGO spendable. 
  TokenAccount Asia Reserve Currency Coin: 0 ARCC (0 ops)
  TokenAccount MESE USD Exchange Token: 0 USD-MESE (0 ops)
  TokenAccount MESE Index Fund: 0 MESX (0 ops)
  TokenAccount Micro-Microsoft: 0 M-MSFT (0 ops)
  TokenAccount Micro-Amazon: 0 M-AMZN (0 ops)
  TokenAccount Micro-Twitter: 0 M-TWTR (0 ops)
  TokenAccount Micro-Netflix: 0 M-NFLX (0 ops)
  TokenAccount Micro-Google: 0 M-GOOGL (0 ops)
  TokenAccount Micro-Apple: 0 M-AAPL (0 ops)
  TokenAccount Micro-Tesla: 0 M-TSLA (0 ops)
  TokenAccount Realio Token: 0 RIO (0 ops)
  TokenAccount realioUSD: 0 RUSD (0 ops)
  TokenAccount Liquid Mining Fund I: 0 RHO 1 (0 ops)
  TokenAccount Credit Opportunities Fund I: 0 VAL 1 (0 ops)
  TokenAccount Meld Gold: 0 MCAU (0 ops)
  TokenAccount Meld Silver: 0 MCAG (0 ops)
  TokenAccount PLANET: 0 PLANETS (0 ops)
  TokenAccount USDC: 0 USDC (0 ops)
  TokenAccount HEADLINE: 0 HDL (0 ops)
  TokenAccount Yieldly: 0 YLDY (0 ops)
  TokenAccount AlgoGems: 0 GEMS (0 ops)
  TokenAccount Choice Coin: 0 CHOICE (0 ops)
  TokenAccount Smile Coin: 0 SMILE (0 ops)
  TokenAccount goBTC: 0 goBTC (0 ops)
  TokenAccount goETH: 0 goETH (0 ops)
  TokenAccount goMINT: 0 goMINT (0 ops)
  TokenAccount Nimble: 0 NIMBLE (0 ops)
  TokenAccount CollecteursX: 0 CLTR (0 ops)
max spendable ~5.01959
★ using mutation 'opt-In ASA available'
→ TO undefined: 7.92059 ALGO (532ops) (WNBXHLRE6IL5W5S3UO2FUWW7DJ6NUBVIVCYV2K66MFE3ABLAPDVEJX5ILA on 44'/283'/3'/0/0) #3 js:2:algorand:WNBXHLRE6IL5W5S3UO2FUWW7DJ6NUBVIVCYV2K66MFE3ABLAPDVEJX5ILA:
✔️ transaction 
    OPT_IN 0 ALGO
    TO WNBXHLRE6IL5W5S3UO2FUWW7DJ6NUBVIVCYV2K66MFE3ABLAPDVEJX5ILA
    with fees=0.001 ALGO
STATUS (196ms)
  amount: 0 ALGO
  estimated fees: 0.001 ALGO
  total spent: 0.001 ALGO
errors: 
warnings: 
⚠️ TEST deviceAction confirm step 'Asset ID'
Error: expect(received).toMatchObject(expected)

- Expected  - 1
+ Received  + 1

  Object {
-   "Asset ID": "Loot Box (#408898501)",
+   "Asset ID": "Loot Box ASA (#408898501)",
  }
(totally spent 2189ms – ends at 2024-07-26T07:05:58.719Z)

Details of the 2 uncovered mutations

Spec Algorand (2)

  • send ASA ~50%: no subAccount with ASA (1), Spendable balance is too low (1)
  • claim rewards: No pending rewards (2)
Portfolio ($3.21) – Details of the 1 currencies
Spec (accounts) State Remaining Runs (est) funds?
Algorand (6) 2390 ops (+6), 8.79861 ALGO ($3.21) 💪 999+ TM4WJOS4MZ2TD775W7GSXZMBUF74YT6SKSBXCZY3N7OUIAPXE54MZ5FCD4
undefined: 3.96578 ALGO (478ops) (TM4WJOS4MZ2TD775W7GSXZMBUF74YT6SKSBXCZY3N7OUIAPXE54MZ5FCD4 on 44'/283'/0'/0/0) #0 js:2:algorand:TM4WJOS4MZ2TD775W7GSXZMBUF74YT6SKSBXCZY3N7OUIAPXE54MZ5FCD4:
undefined: 4.06213 ALGO (465ops) (RWYWVHL3QJSTOLJTM6TIQ65LZX5IUJMHRMSEISS5FGJ7CRLTJSH3S5UAQQ on 44'/283'/1'/0/0) #1 js:2:algorand:RWYWVHL3QJSTOLJTM6TIQ65LZX5IUJMHRMSEISS5FGJ7CRLTJSH3S5UAQQ:
undefined: 2.8 ALGO (485ops) (YHPWECPNX7OU2AS5NGEC6JUFZRUZWKXKO5RK267DEMQZ2R7IBCE2MAAYNE on 44'/283'/2'/0/0) #2 js:2:algorand:YHPWECPNX7OU2AS5NGEC6JUFZRUZWKXKO5RK267DEMQZ2R7IBCE2MAAYNE:
undefined: 7.92059 ALGO (532ops) (WNBXHLRE6IL5W5S3UO2FUWW7DJ6NUBVIVCYV2K66MFE3ABLAPDVEJX5ILA on 44'/283'/3'/0/0) #3 js:2:algorand:WNBXHLRE6IL5W5S3UO2FUWW7DJ6NUBVIVCYV2K66MFE3ABLAPDVEJX5ILA:
undefined: 4.14709 ALGO (430ops) (GEPEPFCOO7TRQ3HKU5IKQPARS7DDXDHH6Y2VNMUJWH7TMLLOZ3Z6JKRQAI on 44'/283'/4'/0/0) #4 js:2:algorand:GEPEPFCOO7TRQ3HKU5IKQPARS7DDXDHH6Y2VNMUJWH7TMLLOZ3Z6JKRQAI:
undefined: 0 ALGO (0ops) (X3TNYJCHUW6UBWVEN5K2ULWMLRWRGBEUWZLR4V2XR3UDN4TWNZP3Q6EAQU on 44'/283'/5'/0/0) #5 js:2:algorand:X3TNYJCHUW6UBWVEN5K2ULWMLRWRGBEUWZLR4V2XR3UDN4TWNZP3Q6EAQU:
Performance ⏲ 1min 49s

Time spent for each spec: (total across mutations)

Spec (accounts) preload scan re-sync tx status sign op broadcast test destination test
TOTAL 1.11ms 15.5s 1.33ms 1424ms 14.2s 240ms 40.6s 30.6s
Algorand (5) 1.11ms 15.5s 1.33ms 1424ms 14.2s 240ms 40.6s 30.6s

What is the bot and how does it work? Everything is documented here!

Please sign in to comment.