Skip to content

Commit

Permalink
remove logs
Browse files Browse the repository at this point in the history
  • Loading branch information
hedi-edelbloute committed Nov 8, 2023
1 parent 3f29b35 commit f056330
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions libs/ledger-live-common/src/families/vechain/specs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@ const vechainTest = {
testTimeout: 60 * 1000, // 1 minute
genericDeviceAction: deviceAction.acceptTransaction,
onSpeculosDeviceCreated: async ({ transport }) => {
// enter app vechain
// await transport.button(SpeculosButton.BOTH);
console.log("onSpeculosDeviceCreated");
// enable contract data
await transport.button(SpeculosButton.RIGHT);
await transport.button(SpeculosButton.BOTH);
Expand All @@ -44,7 +41,6 @@ const vechainTest = {
await transport.button(SpeculosButton.BOTH);
await transport.button(SpeculosButton.RIGHT);
await transport.button(SpeculosButton.BOTH);
console.log("EndonSpeculosDeviceCreated");
},
};

Expand Down

1 comment on commit f056330

@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' ❌ 1 txs 💰 1 miss funds ($0.22) ⏲ 18s

❌ 1 specs have problems: VeChain VTHO
💰 1 specs may miss funds: VeChain VET

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

❌ 1 mutation errors
necessary accounts resynced in 0.33ms
▬ VeChain 1.1.1 on nanoX 2.2.2
→ FROM Vechain 1 cross: 0 VET (4ops) (0xc4B17901FECf86932c3bb296BB00E7c6816Fd416 on 44'/818'/0'/0/0) vechain#0 js:2:vechain:0xc4B17901FECf86932c3bb296BB00E7c6816Fd416:vechain 0 VET spendable. 
  TokenAccount Vethor: 54.3706899375 VTHO (2 ops) (! sum of ops 55 VTHO)
max spendable ~0
★ using mutation 'move all VTHO'
→ TO Vechain 3: 0 VET (0ops) (0x6fc5998724338CDe55Bba798273FAdcDE79c5074 on 44'/818'/0'/0/2) vechain#2 js:2:vechain:0x6fc5998724338CDe55Bba798273FAdcDE79c5074:vechain
✔️ transaction SEND MAX TO 0x6fc5998724338CDe55Bba798273FAdcDE79c5074
STATUS (1816ms)
  amount: 53.7042299375 VTHO
  estimated fees: 0.66646 VET
  total spent: 54.3706899375 VTHO
errors: 
errors: 
⚠️ VechainAppPleaseEnableContractDataAndMultiClause: Please enable contract data in Vechain app settings
(totally spent 1832ms – ends at 2023-11-08T15:07:42.988Z)
⚠️ 2 spec hints
  • Spec VeChain VTHO:
    • mutations should define a testDestination(): move all VTHO
  • Spec VeChain VET:
    • No mutation were found possible. Yet there are funds in the accounts, please investigate.
Details of the 1 mutations

Spec VeChain VTHO (3)

Spec VeChain VTHO found 3 Vechain accounts. Will use VeChain 1.1.1 on nanoX 2.2.2
Vechain 1 cross: 0 VET (4ops) (0xc4B17901FECf86932c3bb296BB00E7c6816Fd416 on 44'/818'/0'/0/0) vechain#0 js:2:vechain:0xc4B17901FECf86932c3bb296BB00E7c6816Fd416:vechain
Vechain 2: 5 VET (3ops) (0x7850ddc6a26AF0C078b9f1569Ca16746B2ACd3bD on 44'/818'/0'/0/1) vechain#1 js:2:vechain:0x7850ddc6a26AF0C078b9f1569Ca16746B2ACd3bD:vechain
Vechain 3: 0 VET (0ops) (0x6fc5998724338CDe55Bba798273FAdcDE79c5074 on 44'/818'/0'/0/2) vechain#2 js:2:vechain:0x6fc5998724338CDe55Bba798273FAdcDE79c5074:vechain
necessary accounts resynced in 0.33ms
▬ VeChain 1.1.1 on nanoX 2.2.2
→ FROM Vechain 1 cross: 0 VET (4ops) (0xc4B17901FECf86932c3bb296BB00E7c6816Fd416 on 44'/818'/0'/0/0) vechain#0 js:2:vechain:0xc4B17901FECf86932c3bb296BB00E7c6816Fd416:vechain 0 VET spendable. 
  TokenAccount Vethor: 54.3706899375 VTHO (2 ops) (! sum of ops 55 VTHO)
max spendable ~0
★ using mutation 'move all VTHO'
→ TO Vechain 3: 0 VET (0ops) (0x6fc5998724338CDe55Bba798273FAdcDE79c5074 on 44'/818'/0'/0/2) vechain#2 js:2:vechain:0x6fc5998724338CDe55Bba798273FAdcDE79c5074:vechain
✔️ transaction SEND MAX TO 0x6fc5998724338CDe55Bba798273FAdcDE79c5074
STATUS (1816ms)
  amount: 53.7042299375 VTHO
  estimated fees: 0.66646 VET
  total spent: 54.3706899375 VTHO
errors: 
errors: 
⚠️ VechainAppPleaseEnableContractDataAndMultiClause: Please enable contract data in Vechain app settings
(totally spent 1832ms – ends at 2023-11-08T15:07:42.991Z)

Spec VeChain VET (3)

Spec VeChain VET found 3 Vechain accounts. Will use VeChain 1.1.1 on nanoX 2.2.2
Vechain 1 cross: 0 VET (4ops) (0xc4B17901FECf86932c3bb296BB00E7c6816Fd416 on 44'/818'/0'/0/0) vechain#0 js:2:vechain:0xc4B17901FECf86932c3bb296BB00E7c6816Fd416:vechain
Vechain 2: 5 VET (3ops) (0x7850ddc6a26AF0C078b9f1569Ca16746B2ACd3bD on 44'/818'/0'/0/1) vechain#1 js:2:vechain:0x7850ddc6a26AF0C078b9f1569Ca16746B2ACd3bD:vechain
Vechain 3: 0 VET (0ops) (0x6fc5998724338CDe55Bba798273FAdcDE79c5074 on 44'/818'/0'/0/2) vechain#2 js:2:vechain:0x6fc5998724338CDe55Bba798273FAdcDE79c5074:vechain

Details of the 3 uncovered mutations

Spec VeChain VTHO (1)

  • move ~50% VTHO: Vechain: VTHO balance is not enough (2)

Spec VeChain VET (2)

  • move ~50% VET: Vechain: VET balance is empty (2), Vechain: VTHO balance is not enough (1)
  • move all VET: Vechain: VET balance is empty (2), Vechain: VTHO balance is not enough (1)
Portfolio ($0.22) – Details of the 2 currencies
Spec (accounts) State Remaining Runs (est) funds?
VeChain VTHO (3) 7 ops , 5 VET ($0.11) ⚠️ 12 0xc4B17901FECf86932c3bb296BB00E7c6816Fd416
VeChain VET (3) 7 ops , 5 VET ($0.11) ⚠️ 12 0xc4B17901FECf86932c3bb296BB00E7c6816Fd416
Vechain 1 cross: 0 VET (4ops) (0xc4B17901FECf86932c3bb296BB00E7c6816Fd416 on 44'/818'/0'/0/0) vechain#0 js:2:vechain:0xc4B17901FECf86932c3bb296BB00E7c6816Fd416:vechain
Vechain 2: 5 VET (3ops) (0x7850ddc6a26AF0C078b9f1569Ca16746B2ACd3bD on 44'/818'/0'/0/1) vechain#1 js:2:vechain:0x7850ddc6a26AF0C078b9f1569Ca16746B2ACd3bD:vechain
Vechain 3: 0 VET (0ops) (0x6fc5998724338CDe55Bba798273FAdcDE79c5074 on 44'/818'/0'/0/2) vechain#2 js:2:vechain:0x6fc5998724338CDe55Bba798273FAdcDE79c5074:vechain
Vechain 1 cross: 0 VET (4ops) (0xc4B17901FECf86932c3bb296BB00E7c6816Fd416 on 44'/818'/0'/0/0) vechain#0 js:2:vechain:0xc4B17901FECf86932c3bb296BB00E7c6816Fd416:vechain
Vechain 2: 5 VET (3ops) (0x7850ddc6a26AF0C078b9f1569Ca16746B2ACd3bD on 44'/818'/0'/0/1) vechain#1 js:2:vechain:0x7850ddc6a26AF0C078b9f1569Ca16746B2ACd3bD:vechain
Vechain 3: 0 VET (0ops) (0x6fc5998724338CDe55Bba798273FAdcDE79c5074 on 44'/818'/0'/0/2) vechain#2 js:2:vechain:0x6fc5998724338CDe55Bba798273FAdcDE79c5074:vechain
Performance ⏲ 18s

Time spent for each spec: (total across mutations)

Spec (accounts) preload scan re-sync tx status sign op broadcast test destination test
TOTAL 1.59ms 17.4s 2.66ms 1816ms N/A N/A N/A N/A
VeChain VTHO (2) 1.34ms 8.7s 0.72ms 1816ms N/A N/A N/A N/A
VeChain VET (2) 0.25ms 8.7s 1.93ms N/A N/A N/A N/A N/A

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

Please sign in to comment.