Skip to content

Commit

Permalink
missing hook
Browse files Browse the repository at this point in the history
  • Loading branch information
hedi-edelbloute committed Nov 6, 2023
1 parent 8497a02 commit 38ca5f2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libs/ledger-live-common/src/bot/portfolio/process-sync.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@ async function main(): Promise<Report> {

const device = await createSpeculosDevice(deviceParams);

if (spec.onSpeculosDeviceCreated) {
await spec.onSpeculosDeviceCreated(device);
}

try {
const audit = new Audit();

Expand Down

1 comment on commit 38ca5f2

@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 ($0.10) ⏲ 14.6s

❌ 1 specs have problems: VeChain VET

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

❌ 1 mutation errors
necessary accounts resynced in 0.42ms
▬ VeChain 1.1.1 on nanoSP 1.1.0
→ 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 ~50% VTHO'
→ TO Vechain 3: 0 VET (0ops) (0x6fc5998724338CDe55Bba798273FAdcDE79c5074 on 44'/818'/0'/0/2) vechain#2 js:2:vechain:0x6fc5998724338CDe55Bba798273FAdcDE79c5074:vechain
✔️ transaction SEND  27.18534496875 VET TO 0x6fc5998724338CDe55Bba798273FAdcDE79c5074
STATUS (2239ms)
  amount: 27.18534496875 VTHO
  estimated fees: 0.6671 VET
  total spent: 27.85244496875 VTHO
errors: 
errors: 
⚠️ VechainAppPleaseEnableContractDataAndMultiClause: Please enable contract data in Vechain app settings
(totally spent 2254ms – ends at 2023-11-06T13:48:52.089Z)
⚠️ 2 spec hints
  • Spec VeChain VET:
    • There are not enough accounts to cover all mutations. Please increase the account target to at least 5 accounts
    • mutations should define a testDestination(): move ~50% VTHO
Details of the 1 mutations

Spec VeChain VET (3)

Spec VeChain VET found 3 Vechain accounts. Will use VeChain 1.1.1 on nanoSP 1.1.0
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.42ms
▬ VeChain 1.1.1 on nanoSP 1.1.0
→ 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 ~50% VTHO'
→ TO Vechain 3: 0 VET (0ops) (0x6fc5998724338CDe55Bba798273FAdcDE79c5074 on 44'/818'/0'/0/2) vechain#2 js:2:vechain:0x6fc5998724338CDe55Bba798273FAdcDE79c5074:vechain
✔️ transaction SEND  27.18534496875 VET TO 0x6fc5998724338CDe55Bba798273FAdcDE79c5074
STATUS (2239ms)
  amount: 27.18534496875 VTHO
  estimated fees: 0.6671 VET
  total spent: 27.85244496875 VTHO
errors: 
errors: 
⚠️ VechainAppPleaseEnableContractDataAndMultiClause: Please enable contract data in Vechain app settings
(totally spent 2254ms – ends at 2023-11-06T13:48:52.092Z)

Details of the 3 uncovered mutations

Spec VeChain VET (3)

  • move ~50% VET: Vechain: VTHO balance is not enough (1), Vechain: VET balance is empty (1)
  • move all VET: Vechain: VTHO balance is not enough (1), Vechain: VET balance is empty (1)
  • move all VTHO: Vechain: VTHO balance is not enough (2)
Portfolio ($0.10) – Details of the 1 currencies
Spec (accounts) State Remaining Runs (est) funds?
VeChain VET (3) 7 ops , 5 VET ($0.10) ⚠️ 6 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
Performance ⏲ 14.6s

Time spent for each spec: (total across mutations)

Spec (accounts) preload scan re-sync tx status sign op broadcast test destination test
TOTAL 1.30ms 6.7s 0.83ms 2239ms N/A N/A N/A N/A
VeChain VET (2) 1.30ms 6.7s 0.83ms 2239ms 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.