Skip to content
This repository has been archived by the owner on Jul 15, 2022. It is now read-only.

Commit

Permalink
Tentative to fix crypto.com use of address
Browse files Browse the repository at this point in the history
  • Loading branch information
hakim-adamik committed Mar 30, 2022
1 parent 1345ad6 commit d9beed3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/families/crypto_org/js-buildTransaction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export const buildTransaction = async (
publicKey: string
) => {
const croSdk = getCroSdk(a.currency.id);
const address = a.freshAddresses[0].address;
const address = a.freshAddress;
const { accountNumber, sequence } = await getAccountParams(
address,
a.currency.id
Expand Down

1 comment on commit d9beed3

@github-actions
Copy link

Choose a reason for hiding this comment

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

✅ 2 txs ($2.38) for Bot 'crypto.org on Mooncake'

⚠️ 1 mutations uncovered

Details of the 2 mutations

Spec Crypto.org Testnet (failed)

Spec Crypto.org Testnet found 1 Crypto.org Croeseid accounts. Will use Crypto.orgChain 2.16.7 on nanoS 2.0.0-3
(3.9s) Crypto.org Croeseid 1 cross: 0 tcro (0ops) (tcro13u8utn84f2w453l5wvq6p2s7pp5ytht3u35y7s on 44'/394'/0'/0/0) #0 js:2:crypto_org_croeseid:tcro13u8utn84f2w453l5wvq6p2s7pp5ytht3u35y7s:

This SEED does not have Crypto.org Croeseid. Please send funds to tcro13u8utn84f2w453l5wvq6p2s7pp5ytht3u35y7s

Spec Crypto.org (6)

Spec Crypto.org found 6 Crypto.org accounts. Will use Crypto.orgChain 2.16.7 on nanoS 2.1.0
(3.7s) Crypto.org 1 cross: 1.2499 CRO (6ops) (cro13u8utn84f2w453l5wvq6p2s7pp5ytht3jyaq7p on 44'/394'/0'/0/0) #0 js:2:crypto_org:cro13u8utn84f2w453l5wvq6p2s7pp5ytht3jyaq7p:
(3s) Crypto.org 2: 0.009666 CRO (9ops) (cro1ssrr3ha0d04s37dlf4d37qq0fazpypd04rsdka on 44'/394'/1'/0/0) #1 js:2:crypto_org:cro1ssrr3ha0d04s37dlf4d37qq0fazpypd04rsdka:
(3.7s) Crypto.org 3: 1.8601 CRO (8ops) (cro1tcng235387dgklyqa2jwyc2kuptn83cxslrwdd on 44'/394'/2'/0/0) #2 js:2:crypto_org:cro1tcng235387dgklyqa2jwyc2kuptn83cxslrwdd:
(2627ms) Crypto.org 4: 0.019482 CRO (1ops) (cro1gwfycg8tn94f3mar5hz4ncewpprldu2u2md2zh on 44'/394'/3'/0/0) #3 js:2:crypto_org:cro1gwfycg8tn94f3mar5hz4ncewpprldu2u2md2zh:
(2585ms) Crypto.org 5: 1.8602 CRO (1ops) (cro1pmulzzjlhldnjyftvey94upd9wyfyr76k98wkp on 44'/394'/4'/0/0) #4 js:2:crypto_org:cro1pmulzzjlhldnjyftvey94upd9wyfyr76k98wkp:
(6.1s) Crypto.org 6: 0 CRO (0ops) (cro1khhgxmt7h36e8clzlrzxadjk0kgqke4ejzlyt6 on 44'/394'/5'/0/0) #5 js:2:crypto_org:cro1khhgxmt7h36e8clzlrzxadjk0kgqke4ejzlyt6:
all accounts sync in 7.3s
▬ Crypto.orgChain 2.16.7 on nanoS 2.1.0
→ FROM Crypto.org 1 cross: 1.2499 CRO (6ops) (cro13u8utn84f2w453l5wvq6p2s7pp5ytht3jyaq7p on 44'/394'/0'/0/0) #0 js:2:crypto_org:cro13u8utn84f2w453l5wvq6p2s7pp5ytht3jyaq7p: (! sum of ops 1.25005 CRO) 1.2499 CRO spendable. 

max spendable ~1.2498
★ using mutation 'move 50%'
→ TO Crypto.org 3: 1.8601 CRO (8ops) (cro1tcng235387dgklyqa2jwyc2kuptn83cxslrwdd on 44'/394'/2'/0/0) #2 js:2:crypto_org:cro1tcng235387dgklyqa2jwyc2kuptn83cxslrwdd:
✔️ transaction 
SEND  0.62495 CRO
TO cro1tcng235387dgklyqa2jwyc2kuptn83cxslrwdd
STATUS (21ms)
  amount: 0.62495 CRO
  estimated fees: 0.00005 CRO
  total spent: 0.625 CRO
✔️ has been signed! (2834ms) 
✔️ broadcasted! (5.1s) optimistic operation: 
  -0.625 CRO         OUT        70DC1D094A123D94F66F9D12BB1A5E26F9DC01AA13D96725B48962FBB0C23A4D 2022-03-30T11:56
✔️ operation confirmed (7.5s): 
  -0.62495 CRO       OUT        70DC1D094A123D94F66F9D12BB1A5E26F9DC01AA13D96725B48962FBB0C23A4D 2022-03-30T11:56
✔️ Crypto.org 1 cross: 0.6249 CRO (7ops) (cro13u8utn84f2w453l5wvq6p2s7pp5ytht3jyaq7p on 44'/394'/0'/0/0) #0 js:2:crypto_org:cro13u8utn84f2w453l5wvq6p2s7pp5ytht3jyaq7p: (! sum of ops 0.6251 CRO) 0.6249 CRO spendable. 

(final state reached in 7.5s)

all accounts sync in 7.3s
▬ Crypto.orgChain 2.16.7 on nanoS 2.1.0
→ FROM Crypto.org 3: 2.4851 CRO (9ops) (cro1tcng235387dgklyqa2jwyc2kuptn83cxslrwdd on 44'/394'/2'/0/0) #2 js:2:crypto_org:cro1tcng235387dgklyqa2jwyc2kuptn83cxslrwdd: (! sum of ops 2.48515098 CRO) 2.48510098 CRO spendable. 

max spendable ~2.485
★ using mutation 'move 50%'
→ TO Crypto.org 5: 1.8602 CRO (1ops) (cro1pmulzzjlhldnjyftvey94upd9wyfyr76k98wkp on 44'/394'/4'/0/0) #4 js:2:crypto_org:cro1pmulzzjlhldnjyftvey94upd9wyfyr76k98wkp:
✔️ transaction 
SEND  1.24255049 CRO
TO cro1pmulzzjlhldnjyftvey94upd9wyfyr76k98wkp
STATUS (1.86ms)
  amount: 1.24255049 CRO
  estimated fees: 0.00005 CRO
  total spent: 1.24260049 CRO
✔️ has been signed! (2700ms) 
✔️ broadcasted! (9.3s) optimistic operation: 
  -1.24260049 CRO    OUT        48C5A0E2459A06AF679A5FEE579107A4579CFA415A47E142971E76072DC68018 2022-03-30T11:56
✔️ operation confirmed (7.7s): 
  -1.24255049 CRO    OUT        48C5A0E2459A06AF679A5FEE579107A4579CFA415A47E142971E76072DC68018 2022-03-30T11:56
✔️ Crypto.org 3: 1.2425 CRO (10ops) (cro1tcng235387dgklyqa2jwyc2kuptn83cxslrwdd on 44'/394'/2'/0/0) #2 js:2:crypto_org:cro1tcng235387dgklyqa2jwyc2kuptn83cxslrwdd: (! sum of ops 1.24260049 CRO) 1.24250049 CRO spendable. 

(final state reached in 7.7s)


Details of the 1 uncovered mutations

Spec Crypto.org Testnet (1)

  • move 50%:

Portfolio ($2.38)

⚠️ 1 specs don't have enough funds! (Crypto.org Testnet)

Details of the 2 currencies
Spec (accounts) Operations Balance funds?
Crypto.org Testnet (0) 0 0 tcro ($0.00) ??? tcro13u8utn84f2w453l5wvq6p2s7pp5ytht3u35y7s
Crypto.org (4) 29 (+4) 4.999 CRO (- 0.0001) ($2.38) 💪 cro13u8utn84f2w453l5wvq6p2s7pp5ytht3jyaq7p

Please sign in to comment.