Skip to content

Commit

Permalink
chore: update bot device to NanoSP
Browse files Browse the repository at this point in the history
Signed-off-by: Stéphane Prohaszka <[email protected]>
  • Loading branch information
sprohaszka-ledger committed Aug 9, 2024
1 parent a68c632 commit 287ffa0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/coin-modules/coin-stellar/src/test/bot-specs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const stellar: AppSpec<Transaction> = {
name: "Stellar",
currency,
appQuery: {
model: DeviceModelId.nanoS,
model: DeviceModelId.nanoSP,
appName: "Stellar",
},
genericDeviceAction: acceptTransaction,
Expand Down

1 comment on commit 287ffa0

@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' ✅ 4 txs ($6.66) ⏲ 2min 56s

✅ 1 specs are successful: Stellar

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

⚠️ 1 spec hints
  • Spec Stellar:
    • mutations should define a testDestination(): move ~50% XLM, Send max XLM
Details of the 4 mutations

Spec Stellar (6)

Spec Stellar found 6 Stellar accounts. Will use Stellar 5.0.3 on nanoSP 1.1.1
undefined: 1.5005 XLM (580ops) (GDJPZPOWITPCBX3TIHB6N7E4WCHS6JBZKSNWGU34QYCJXKWBTUZY5RYC on 44'/148'/0') sep5#0 js:2:stellar:GDJPZPOWITPCBX3TIHB6N7E4WCHS6JBZKSNWGU34QYCJXKWBTUZY5RYC:sep5
undefined: 16.161 XLM (576ops) (GC25SBJ3F2XGWRTS3DGPCNFAGQLNDBFUKUJREJMHVV2JIUBZSVY2GAHZ on 44'/148'/1') sep5#1 js:2:stellar:GC25SBJ3F2XGWRTS3DGPCNFAGQLNDBFUKUJREJMHVV2JIUBZSVY2GAHZ:sep5
undefined: 15.1933 XLM (577ops) (GA4A2FH4YYI2RXPUC3NPGZQP7XX4CEJNREB27XVX7B7D5RIA3KOLSKTI on 44'/148'/2') sep5#2 js:2:stellar:GA4A2FH4YYI2RXPUC3NPGZQP7XX4CEJNREB27XVX7B7D5RIA3KOLSKTI:sep5
undefined: 1.73943 XLM (554ops) (GDTKZ5E53DELQO33QAYYR6TS4JX44MP2PGCRGKY3RE42IT7PUNLU2SHM on 44'/148'/3') sep5#3 js:2:stellar:GDTKZ5E53DELQO33QAYYR6TS4JX44MP2PGCRGKY3RE42IT7PUNLU2SHM:sep5
undefined: 31.884 XLM (514ops) (GBV2ROL25KKDSFCZC2TQPMUEN567YQHRWTRBYHCO5AKYWVIV4JKJ56AF on 44'/148'/4') sep5#4 js:2:stellar:GBV2ROL25KKDSFCZC2TQPMUEN567YQHRWTRBYHCO5AKYWVIV4JKJ56AF:sep5
undefined: 0 XLM (0ops) (GCMN2KYJPPHB4TMXXF2OZPMWVM5EQSDD76IMFOMET7YMN64VJDVHVNCM on 44'/148'/5') sep5#5 js:2:stellar:GCMN2KYJPPHB4TMXXF2OZPMWVM5EQSDD76IMFOMET7YMN64VJDVHVNCM:sep5
necessary accounts resynced in 0.17ms
▬ Stellar 5.0.3 on nanoSP 1.1.1
→ FROM undefined: 16.161 XLM (576ops) (GC25SBJ3F2XGWRTS3DGPCNFAGQLNDBFUKUJREJMHVV2JIUBZSVY2GAHZ on 44'/148'/1') sep5#1 js:2:stellar:GC25SBJ3F2XGWRTS3DGPCNFAGQLNDBFUKUJREJMHVV2JIUBZSVY2GAHZ:sep5 (! sum of ops 16.1747557 XLM)  TokenAccount USDC: 0 usdc (0 ops)
max spendable ~14.6608
★ using mutation 'move ~50% XLM'
→ TO undefined: 1.5005 XLM (580ops) (GDJPZPOWITPCBX3TIHB6N7E4WCHS6JBZKSNWGU34QYCJXKWBTUZY5RYC on 44'/148'/0') sep5#0 js:2:stellar:GDJPZPOWITPCBX3TIHB6N7E4WCHS6JBZKSNWGU34QYCJXKWBTUZY5RYC:sep5
✔️ transaction 
    SEND 7.6686134 XLM
    TO GDJPZPOWITPCBX3TIHB6N7E4WCHS6JBZKSNWGU34QYCJXKWBTUZY5RYC
    with fees=0.0005 XLM
  memo=Ledger Live
STATUS (1308ms)
  amount: 7.6686134 XLM
  estimated fees: 0.0005 XLM
  total spent: 7.6691134 XLM
errors: 
warnings: 
✔️ has been signed! (3.2s) 
✔️ broadcasted! (5.4s) optimistic operation: 
  -7.6686134 XLM     OUT        72622984904b62c8e74ae0928503183bf5dcb6d9281e93e4df0070357fcddf60 2024-08-09T10:04
✔️ operation confirmed (10.9s): 
  -7.6686134 XLM     OUT        72622984904b62c8e74ae0928503183bf5dcb6d9281e93e4df0070357fcddf60 2024-08-09T10:04
✔️ undefined: 8.49224 XLM (577ops) (GC25SBJ3F2XGWRTS3DGPCNFAGQLNDBFUKUJREJMHVV2JIUBZSVY2GAHZ on 44'/148'/1') sep5#1 js:2:stellar:GC25SBJ3F2XGWRTS3DGPCNFAGQLNDBFUKUJREJMHVV2JIUBZSVY2GAHZ:sep5 (! sum of ops 8.5061423 XLM)  TokenAccount USDC: 0 usdc (0 ops)(in 10.9s)

necessary accounts resynced in 604ms
▬ Stellar 5.0.3 on nanoSP 1.1.1
→ FROM undefined: 15.1933 XLM (577ops) (GA4A2FH4YYI2RXPUC3NPGZQP7XX4CEJNREB27XVX7B7D5RIA3KOLSKTI on 44'/148'/2') sep5#2 js:2:stellar:GA4A2FH4YYI2RXPUC3NPGZQP7XX4CEJNREB27XVX7B7D5RIA3KOLSKTI:sep5 (! sum of ops 15.2054652 XLM)  TokenAccount USDC: 0 usdc (0 ops)
max spendable ~13.6931
★ using mutation 'move ~50% XLM'
→ TO undefined: 1.73943 XLM (554ops) (GDTKZ5E53DELQO33QAYYR6TS4JX44MP2PGCRGKY3RE42IT7PUNLU2SHM on 44'/148'/3') sep5#3 js:2:stellar:GDTKZ5E53DELQO33QAYYR6TS4JX44MP2PGCRGKY3RE42IT7PUNLU2SHM:sep5
✔️ transaction 
    SEND 6.5388406 XLM
    TO GDTKZ5E53DELQO33QAYYR6TS4JX44MP2PGCRGKY3RE42IT7PUNLU2SHM
    with fees=0.0005 XLM
  memo=Ledger Live
STATUS (1270ms)
  amount: 6.5388406 XLM
  estimated fees: 0.0005 XLM
  total spent: 6.5393406 XLM
errors: 
warnings: 
✔️ has been signed! (4.2s) 
✔️ broadcasted! (5.4s) optimistic operation: 
  -6.5388406 XLM     OUT        a6818a0d9b7e60c9c8052298721f061256d54e76e45f14cffc611d9efaf0f1e1 2024-08-09T10:04
✔️ operation confirmed (10.7s): 
  -6.5388406 XLM     OUT        a6818a0d9b7e60c9c8052298721f061256d54e76e45f14cffc611d9efaf0f1e1 2024-08-09T10:04
✔️ undefined: 8.65445 XLM (578ops) (GA4A2FH4YYI2RXPUC3NPGZQP7XX4CEJNREB27XVX7B7D5RIA3KOLSKTI on 44'/148'/2') sep5#2 js:2:stellar:GA4A2FH4YYI2RXPUC3NPGZQP7XX4CEJNREB27XVX7B7D5RIA3KOLSKTI:sep5 (! sum of ops 8.6666246 XLM)  TokenAccount USDC: 0 usdc (0 ops)(in 10.7s)

necessary accounts resynced in 762ms
▬ Stellar 5.0.3 on nanoSP 1.1.1
→ FROM undefined: 8.27827 XLM (555ops) (GDTKZ5E53DELQO33QAYYR6TS4JX44MP2PGCRGKY3RE42IT7PUNLU2SHM on 44'/148'/3') sep5#3 js:2:stellar:GDTKZ5E53DELQO33QAYYR6TS4JX44MP2PGCRGKY3RE42IT7PUNLU2SHM:sep5 (! sum of ops 8.2919919 XLM)  TokenAccount USDC: 0 usdc (0 ops)
max spendable ~6.77825
★ using mutation 'Send max XLM'
→ TO undefined: 9.16911 XLM (581ops) (GDJPZPOWITPCBX3TIHB6N7E4WCHS6JBZKSNWGU34QYCJXKWBTUZY5RYC on 44'/148'/0') sep5#0 js:2:stellar:GDJPZPOWITPCBX3TIHB6N7E4WCHS6JBZKSNWGU34QYCJXKWBTUZY5RYC:sep5
✔️ transaction 
    SEND MAX
    TO GDJPZPOWITPCBX3TIHB6N7E4WCHS6JBZKSNWGU34QYCJXKWBTUZY5RYC
    with fees=0.0005 XLM
  memo=Ledger Live
STATUS (1254ms)
  amount: 6.7777618 XLM
  estimated fees: 0.0005 XLM
  total spent: 6.7777618 XLM
errors: 
warnings: 
✔️ has been signed! (3.3s) 
✔️ broadcasted! (6.3s) optimistic operation: 
  -6.7777618 XLM     OUT        42852a57648310756c64cce7a40d76561c5a623740867edbdaa9da76a1396072 2024-08-09T10:04
✔️ operation confirmed (10.7s): 
  -6.7777618 XLM     OUT        42852a57648310756c64cce7a40d76561c5a623740867edbdaa9da76a1396072 2024-08-09T10:04
✔️ undefined: 1.5005 XLM (556ops) (GDTKZ5E53DELQO33QAYYR6TS4JX44MP2PGCRGKY3RE42IT7PUNLU2SHM on 44'/148'/3') sep5#3 js:2:stellar:GDTKZ5E53DELQO33QAYYR6TS4JX44MP2PGCRGKY3RE42IT7PUNLU2SHM:sep5 (! sum of ops 1.5142301 XLM)  TokenAccount USDC: 0 usdc (0 ops)(in 10.7s)

necessary accounts resynced in 600ms
▬ Stellar 5.0.3 on nanoSP 1.1.1
→ FROM undefined: 31.884 XLM (514ops) (GBV2ROL25KKDSFCZC2TQPMUEN567YQHRWTRBYHCO5AKYWVIV4JKJ56AF on 44'/148'/4') sep5#4 js:2:stellar:GBV2ROL25KKDSFCZC2TQPMUEN567YQHRWTRBYHCO5AKYWVIV4JKJ56AF:sep5 (! sum of ops 31.8921926 XLM)  TokenAccount USDC: 0 usdc (0 ops)
max spendable ~30.384
★ using mutation 'Send max XLM'
→ TO undefined: 15.9468 XLM (582ops) (GDJPZPOWITPCBX3TIHB6N7E4WCHS6JBZKSNWGU34QYCJXKWBTUZY5RYC on 44'/148'/0') sep5#0 js:2:stellar:GDJPZPOWITPCBX3TIHB6N7E4WCHS6JBZKSNWGU34QYCJXKWBTUZY5RYC:sep5
✔️ transaction 
    SEND MAX
    TO GDJPZPOWITPCBX3TIHB6N7E4WCHS6JBZKSNWGU34QYCJXKWBTUZY5RYC
    with fees=0.0005 XLM
STATUS (1078ms)
  amount: 30.3835411 XLM
  estimated fees: 0.0005 XLM
  total spent: 30.3835411 XLM
errors: 
warnings: 
✔️ has been signed! (2898ms) 
✔️ broadcasted! (6s) optimistic operation: 
  -30.3835411 XLM    OUT        c10e2fb4946a030aa0fb8c0ea3604789fee1b3d7ad1b3a6bf514c7f28c370c58 2024-08-09T10:05
✔️ operation confirmed (10.8s): 
  -30.3835411 XLM    OUT        c10e2fb4946a030aa0fb8c0ea3604789fee1b3d7ad1b3a6bf514c7f28c370c58 2024-08-09T10:05
✔️ undefined: 1.5005 XLM (515ops) (GBV2ROL25KKDSFCZC2TQPMUEN567YQHRWTRBYHCO5AKYWVIV4JKJ56AF on 44'/148'/4') sep5#4 js:2:stellar:GBV2ROL25KKDSFCZC2TQPMUEN567YQHRWTRBYHCO5AKYWVIV4JKJ56AF:sep5 (! sum of ops 1.5086515 XLM)  TokenAccount USDC: 0 usdc (0 ops)(in 10.8s)


Details of the 2 uncovered mutations

Spec Stellar (2)

  • add USDC asset: XLM balance is too low 1 (2)
  • move ~50% USDC asset: XLM balance is too low (2)
Portfolio ($6.66) – Details of the 1 currencies
Spec (accounts) State Remaining Runs (est) funds?
Stellar (6) 2809 ops (+8), 58.9779 XLM ($6.66) 💪 999+ GDJPZPOWITPCBX3TIHB6N7E4WCHS6JBZKSNWGU34QYCJXKWBTUZY5RYC
undefined: 46.3304 XLM (583ops) (GDJPZPOWITPCBX3TIHB6N7E4WCHS6JBZKSNWGU34QYCJXKWBTUZY5RYC on 44'/148'/0') sep5#0 js:2:stellar:GDJPZPOWITPCBX3TIHB6N7E4WCHS6JBZKSNWGU34QYCJXKWBTUZY5RYC:sep5
undefined: 8.49224 XLM (577ops) (GC25SBJ3F2XGWRTS3DGPCNFAGQLNDBFUKUJREJMHVV2JIUBZSVY2GAHZ on 44'/148'/1') sep5#1 js:2:stellar:GC25SBJ3F2XGWRTS3DGPCNFAGQLNDBFUKUJREJMHVV2JIUBZSVY2GAHZ:sep5
undefined: 8.65445 XLM (578ops) (GA4A2FH4YYI2RXPUC3NPGZQP7XX4CEJNREB27XVX7B7D5RIA3KOLSKTI on 44'/148'/2') sep5#2 js:2:stellar:GA4A2FH4YYI2RXPUC3NPGZQP7XX4CEJNREB27XVX7B7D5RIA3KOLSKTI:sep5
undefined: 1.5005 XLM (556ops) (GDTKZ5E53DELQO33QAYYR6TS4JX44MP2PGCRGKY3RE42IT7PUNLU2SHM on 44'/148'/3') sep5#3 js:2:stellar:GDTKZ5E53DELQO33QAYYR6TS4JX44MP2PGCRGKY3RE42IT7PUNLU2SHM:sep5
undefined: 1.5005 XLM (515ops) (GBV2ROL25KKDSFCZC2TQPMUEN567YQHRWTRBYHCO5AKYWVIV4JKJ56AF on 44'/148'/4') sep5#4 js:2:stellar:GBV2ROL25KKDSFCZC2TQPMUEN567YQHRWTRBYHCO5AKYWVIV4JKJ56AF:sep5
undefined: 0 XLM (0ops) (GCMN2KYJPPHB4TMXXF2OZPMWVM5EQSDD76IMFOMET7YMN64VJDVHVNCM on 44'/148'/5') sep5#5 js:2:stellar:GCMN2KYJPPHB4TMXXF2OZPMWVM5EQSDD76IMFOMET7YMN64VJDVHVNCM:sep5
Performance ⏲ 2min 56s

Time spent for each spec: (total across mutations)

Spec (accounts) preload scan re-sync tx status sign op broadcast test destination test
TOTAL 1.06ms 82.5s 2698ms 4.9s 13.6s 23s 43.1s N/A
Stellar (5) 1.06ms 82.5s 2698ms 4.9s 13.6s 23s 43.1s N/A

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

Please sign in to comment.