mirror of
https://github.com/colinear-labs/chain.git
synced 2026-03-04 20:24:25 -08:00
CLI tests, updates, fixes (reflect hw options)
This commit is contained in:
@@ -10,16 +10,19 @@ colineard tx colinearcore unlock-all-funds -y --from alice \
|
||||
| swallow "Unlock all funds before proceeding"
|
||||
|
||||
colineard tx colinearcore new-auction asdf asdf 2000 uusdc $(now + 3500) \
|
||||
'[]' '["gtx-1050-ti"]' 4 0 1000 50 \
|
||||
-y --from bob \
|
||||
| expect_fail "Can't create auction below min lease period"
|
||||
|
||||
colineard tx colinearcore new-auction asdf asdf 2000 uusdc $(now + 8200000) \
|
||||
'[]' '["gtx-1050-ti"]' 4 0 1000 50 \
|
||||
-y --from bob \
|
||||
| expect_fail "Can't create auction above max lease period"
|
||||
|
||||
before=$(get_balance $BOB uusdc)
|
||||
|
||||
colineard tx colinearcore new-auction asdf asdf 2000 uusdc $(now + 3700) \
|
||||
'[]' '["gtx-1050-ti"]' 4 0 1000 50 \
|
||||
-y --from bob \
|
||||
| expect_success "New auction is created"
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ colineard tx colinearcore lock-funds 550000000 -y --from bob \
|
||||
| expect_success "Re-lock funds (Bob)"
|
||||
|
||||
colineard tx colinearcore new-auction asdf asdf 200 uusdc $(now + 3700) \
|
||||
$ALICE \
|
||||
'["'$ALICE'"]' '["gtx-1050-ti"]' 4 0 1000 50 \
|
||||
-y --from bob \
|
||||
| expect_success "New auction is created"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user