Skip to content

Commit 851be6c

Browse files
committed
renaming clyos => infra-cli
1 parent cf7aef4 commit 851be6c

File tree

15 files changed

+76
-76
lines changed

15 files changed

+76
-76
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ else()
4545
set(VERSION_FULL "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}")
4646
endif()
4747

48-
set( CLI_CLIENT_EXECUTABLE_NAME clyos )
48+
set( CLI_CLIENT_EXECUTABLE_NAME infra-cli )
4949
set( NODE_EXECUTABLE_NAME yosemite )
5050
set( KEY_STORE_EXECUTABLE_NAME keyos )
5151
set( LAUNCHER_EXECUTABLE_NAME yoslauncher )

Docker/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,16 +66,16 @@ docker volume create --name=keyos-data-volume
6666
docker-compose up -d
6767
```
6868

69-
After `docker-compose up -d`, two services named `yosemited` and `keyos` will be started. The yosemited service would expose ports 8888 and 9876 to the host. The keyos service does not expose any port to the host, it is only accessible to clyos when running cleos is running inside the keyos container as described in "Execute clyos commands" section.
69+
After `docker-compose up -d`, two services named `yosemited` and `keyos` will be started. The yosemited service would expose ports 8888 and 9876 to the host. The keyos service does not expose any port to the host, it is only accessible to infra-cli when running cleos is running inside the keyos container as described in "Execute infra-cli commands" section.
7070

71-
### Execute clyos commands
71+
### Execute infra-cli commands
7272

73-
You can run the `clyos` commands via a bash alias.
73+
You can run the `infra-cli` commands via a bash alias.
7474

7575
```bash
76-
alias clyos='docker-compose exec keyos /opt/yosemite/bin/clyos -u http://yosemited:8888 --wallet-url http://localhost:8900'
77-
cleos get info
78-
cleos get account inita
76+
alias infra-cli='docker-compose exec keyos /opt/yosemite/bin/infra-cli -u http://yosemited:8888 --wallet-url http://localhost:8900'
77+
infra-cli get info
78+
infra-cli get account inita
7979
```
8080

8181
If you don't need keyos afterwards, you can stop the keyos service using

Docker/clyos.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
#!/bin/bash
22

33
# Usage:
4-
# Go into cmd loop: sudo ./clyos.sh
5-
# Run single cmd: sudo ./clyos.sh <clyos paramers>
4+
# Go into cmd loop: sudo ./infra-cli.sh
5+
# Run single cmd: sudo ./infra-cli.sh <infra-cli paramers>
66

7-
PREFIX="docker-compose exec yosemited clyos"
7+
PREFIX="docker-compose exec yosemited infra-cli"
88
if [ -z $1 ] ; then
99
while :
1010
do
11-
read -e -p "clyos " cmd
11+
read -e -p "infra-cli " cmd
1212
history -s "$cmd"
1313
$PREFIX $cmd
1414
done

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,11 +103,11 @@ YOSEMITE is based on [EOSIO software](https://github.com/EOSIO/eos). So instruct
103103
But the names of programs and scripts are changed.
104104
```
105105
nodeos -> yosemite
106-
cleos -> clyos ('cl'ient + 'yos'emite)
106+
cleos -> infra-cli
107107
keosd -> keyos (key + 'yos'emite)
108108
```
109109
### Client Tool
110-
clyos : https://developers.eos.io/eosio-nodeos/docs/cleos-overview
110+
infra-cli : https://developers.eos.io/eosio-nodeos/docs/cleos-overview
111111

112112
### Key Store Daemon
113113
keyos : https://developers.eos.io/eosio-nodeos/docs/keosd-overview

contracts/yx.token/README.md

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,17 @@ You must consider the decision points carefully because it cannot be changed onc
2424
## setting fee for operations
2525
* Transaction fee for operations is set by [yx.txfee](../../contracts/yx.txfee/)::settxfee operation.
2626
```
27-
clyos push action yx.txfee settxfee '{"operation":"tf.tcreate", "fee":"10000.00 DKRW"}}' -p yosemite
28-
clyos push action yx.txfee settxfee '{"operation":"tf.tissue", "fee":"100.00 DKRW"}}' -p yosemite
29-
clyos push action yx.txfee settxfee '{"operation":"tf.tredeem", "fee":"100.00 DKRW"}}' -p yosemite
30-
clyos push action yx.txfee settxfee '{"operation":"tf.ttransfer", "fee":"10.00 DKRW"}}' -p yosemite
31-
clyos push action yx.txfee settxfee '{"operation":"tf.tsetkyc", "fee":"5.00 DKRW"}}' -p yosemite
32-
clyos push action yx.txfee settxfee '{"operation":"tf.tsetopts", "fee":"5.00 DKRW"}}' -p yosemite
33-
clyos push action yx.txfee settxfee '{"operation":"tf.tfreezeac", "fee":"5.00 DKRW"}}' -p yosemite
34-
clyos push action yx.txfee settxfee '{"operation":"tf.tsetuilim", "fee":"10.00 DKRW"}}' -p yosemite
35-
clyos push action yx.txfee settxfee '{"operation":"tf.tissuebyu", "fee":"10.00 DKRW"}}' -p yosemite
36-
clyos push action yx.txfee settxfee '{"operation":"tf.ttrustui", "fee":"10.00 DKRW"}}' -p yosemite
37-
clyos push action yx.txfee settxfee '{"operation":"tf.tchangeis", "fee":"10.00 DKRW"}}' -p yosemite
27+
infra-cli push action yx.txfee settxfee '{"operation":"tf.tcreate", "fee":"10000.00 DKRW"}}' -p yosemite
28+
infra-cli push action yx.txfee settxfee '{"operation":"tf.tissue", "fee":"100.00 DKRW"}}' -p yosemite
29+
infra-cli push action yx.txfee settxfee '{"operation":"tf.tredeem", "fee":"100.00 DKRW"}}' -p yosemite
30+
infra-cli push action yx.txfee settxfee '{"operation":"tf.ttransfer", "fee":"10.00 DKRW"}}' -p yosemite
31+
infra-cli push action yx.txfee settxfee '{"operation":"tf.tsetkyc", "fee":"5.00 DKRW"}}' -p yosemite
32+
infra-cli push action yx.txfee settxfee '{"operation":"tf.tsetopts", "fee":"5.00 DKRW"}}' -p yosemite
33+
infra-cli push action yx.txfee settxfee '{"operation":"tf.tfreezeac", "fee":"5.00 DKRW"}}' -p yosemite
34+
infra-cli push action yx.txfee settxfee '{"operation":"tf.tsetuilim", "fee":"10.00 DKRW"}}' -p yosemite
35+
infra-cli push action yx.txfee settxfee '{"operation":"tf.tissuebyu", "fee":"10.00 DKRW"}}' -p yosemite
36+
infra-cli push action yx.txfee settxfee '{"operation":"tf.ttrustui", "fee":"10.00 DKRW"}}' -p yosemite
37+
infra-cli push action yx.txfee settxfee '{"operation":"tf.tchangeis", "fee":"10.00 DKRW"}}' -p yosemite
3838
```
3939

4040
# Actions
@@ -45,7 +45,7 @@ Create a (non-native) token with its symbol and precision
4545
* The token creator naturally becomes the token depository.
4646
* Enabling the setting of options cannot be done any more after creation, because the owners of the token should know about what options can be set and it must not be changed after they own.
4747
```
48-
clyos push action yx.token create '{"ysymbol":{"tsymbol":"4,BTC","issuer":"d2"},"can_set_options":0}' -p d2
48+
infra-cli push action yx.token create '{"ysymbol":{"tsymbol":"4,BTC","issuer":"d2"},"can_set_options":0}' -p d2
4949
```
5050

5151
### parameters of create
@@ -68,7 +68,7 @@ clyos push action yx.token create '{"ysymbol":{"tsymbol":"4,BTC","issuer":"d2"},
6868
Issue the token to an account by the token depository
6969

7070
```
71-
clyos push action yx.token issue '{"to":"user2","token":{"amount":"100000.0000 BTC","issuer":"d2"},"memo":"my memo"}' -p d2
71+
infra-cli push action yx.token issue '{"to":"user2","token":{"amount":"100000.0000 BTC","issuer":"d2"},"memo":"my memo"}' -p d2
7272
```
7373

7474
### parameters of issue
@@ -103,11 +103,11 @@ Redeem(burn) token from an account by the token depository
103103

104104
* At first, the account transfers the token to the depository.
105105
```
106-
clyos push action yx.token transfer '{"from":"user2","to":"d2","token":{"amount":"10000.0000 BTC","issuer":"d2"},"memo":"redeem by user2"}' -p user2
106+
infra-cli push action yx.token transfer '{"from":"user2","to":"d2","token":{"amount":"10000.0000 BTC","issuer":"d2"},"memo":"redeem by user2"}' -p user2
107107
```
108108
* Then the token depository checks the transfer action is irreversible and calls redeem action.
109109
```
110-
clyos push action yx.token redeem '{"token":{"amount":"10000.0000 BTC","issuer":"d2"},"memo":"redeem for user2"}' -p d2
110+
infra-cli push action yx.token redeem '{"token":{"amount":"10000.0000 BTC","issuer":"d2"},"memo":"redeem for user2"}' -p d2
111111
```
112112

113113
### parameters of redeem
@@ -121,7 +121,7 @@ clyos push action yx.token redeem '{"token":{"amount":"10000.0000 BTC","issuer":
121121
Transfer token
122122

123123
```
124-
clyos push action yx.token transfer '{"from":"user2","to":"user3","token":{"amount":"10000.0000 BTC","issuer":"d2"},"memo":"my memo"}' -p user2
124+
infra-cli push action yx.token transfer '{"from":"user2","to":"user3","token":{"amount":"10000.0000 BTC","issuer":"d2"},"memo":"my memo"}' -p user2
125125
```
126126

127127
### parameters of transfer
@@ -138,8 +138,8 @@ Set the KYC vector for send or receive
138138

139139
* SET_KYC_RULE flag of can_set_options must be set at token creation time.
140140
```
141-
clyos push action yx.token setkycrule '{"ysymbol":{"tsymbol":"4,BTC","issuer":"d2"}, "type":0, "kyc":4}' -p d2
142-
clyos push action yx.token setkycrule '{"ysymbol":{"tsymbol":"4,BTC","issuer":"d2"}, "type":1, "kyc":4}' -p d2
141+
infra-cli push action yx.token setkycrule '{"ysymbol":{"tsymbol":"4,BTC","issuer":"d2"}, "type":0, "kyc":4}' -p d2
142+
infra-cli push action yx.token setkycrule '{"ysymbol":{"tsymbol":"4,BTC","issuer":"d2"}, "type":1, "kyc":4}' -p d2
143143
```
144144

145145
### parameters of setkycrule
@@ -156,7 +156,7 @@ set or add token options
156156
* FREEZE_TOKEN_TRANSFER flag of can_set_options must be set at token creation time.
157157

158158
```
159-
clyos push action yx.token setoptions '{"ysymbol":{"tsymbol":"4,BTC","issuer":"d2"}, "options":1, "reset":1}' -p d2
159+
infra-cli push action yx.token setoptions '{"ysymbol":{"tsymbol":"4,BTC","issuer":"d2"}, "options":1, "reset":1}' -p d2
160160
```
161161

162162
### parameters of setoptions
@@ -173,8 +173,8 @@ Freeze an account which has the token by its issuer
173173

174174
* FREEZE_ACCOUNT flag of can_set_options must be set at token creation time.
175175
```
176-
clyos push action yx.token freezeacc '{"ysymbol":{"tsymbol":"4,BTC","issuer":"d2"}, "accs":["user1","user2"], "freeze":1}' -p d2
177-
clyos push action yx.token freezeacc '{"ysymbol":{"tsymbol":"4,BTC","issuer":"d2"}, "accs":["user2"], "freeze":0}' -p d2
176+
infra-cli push action yx.token freezeacc '{"ysymbol":{"tsymbol":"4,BTC","issuer":"d2"}, "accs":["user1","user2"], "freeze":1}' -p d2
177+
infra-cli push action yx.token freezeacc '{"ysymbol":{"tsymbol":"4,BTC","issuer":"d2"}, "accs":["user2"], "freeze":0}' -p d2
178178
```
179179

180180
### parameters of freezeacc
@@ -186,7 +186,7 @@ clyos push action yx.token freezeacc '{"ysymbol":{"tsymbol":"4,BTC","issuer":"d2
186186
## setuilimit
187187
Set the limit of user issue amount by the token depository.
188188
```
189-
clyos push action yx.token setuilimit '{"to":"user1", "limit":{"amount":"1000000.0000 BTC","issuer":"d2"}}' -p d2
189+
infra-cli push action yx.token setuilimit '{"to":"user1", "limit":{"amount":"1000000.0000 BTC","issuer":"d2"}}' -p d2
190190
```
191191

192192
### parameters of setuilimit
@@ -201,7 +201,7 @@ Issue the token by the user with the user issue authority and the limit
201201
* The total 'issued' amount of the user is incresed by the amount of token.
202202
* The total 'issued' amount of the user cannot exceed the issue limit granted by the token issuer.
203203
```
204-
clyos push action yx.token issuebyuser '{"user":"user1","to":"user1","token":{"amount":"100000.0000 BTC","issuer":"d2"}, "memo":"my memo"}' -p user1
204+
infra-cli push action yx.token issuebyuser '{"user":"user1","to":"user1","token":{"amount":"100000.0000 BTC","issuer":"d2"}, "memo":"my memo"}' -p user1
205205
```
206206

207207
### parameters of issuebyuser
@@ -218,7 +218,7 @@ Entrust the user issue authority to another account
218218

219219
* Agreed by the user under the terms and conditions, the delegated account can issue the amount of the token by the issue limit.
220220
```
221-
clyos push action yx.token entrustui '{"user":"user1","to":"d2","ysymbol":{"tsymbol":"4,BTC","issuer":"d2"}}' -p user1
221+
infra-cli push action yx.token entrustui '{"user":"user1","to":"d2","ysymbol":{"tsymbol":"4,BTC","issuer":"d2"}}' -p user1
222222
```
223223

224224
### parameters of issuebyuser
@@ -231,7 +231,7 @@ clyos push action yx.token entrustui '{"user":"user1","to":"d2","ysymbol":{"tsym
231231
## changeissued
232232
Decrease or increase the total user-issued amount of token of the user
233233
```
234-
clyos push action yx.token changeissued '{"user":"user1", "delta":{"amount":"1000000.0000 BTC","issuer":"d2"}, "decrease":1}' -p d2
234+
infra-cli push action yx.token changeissued '{"user":"user1", "delta":{"amount":"1000000.0000 BTC","issuer":"d2"}, "decrease":1}' -p d2
235235
```
236236

237237
### parameters of changeissued
@@ -247,7 +247,7 @@ clyos push action yx.token changeissued '{"user":"user1", "delta":{"amount":"100
247247
## tstats
248248
Get the token statistics
249249
```
250-
clyos get table yx.token 4,BTC tstats
250+
infra-cli get table yx.token 4,BTC tstats
251251
```
252252

253253
### results of tstats
@@ -270,7 +270,7 @@ clyos get table yx.token 4,BTC tstats
270270
## taccounts
271271
Get all the token balances of the user
272272
```
273-
clyos get table yx.token user2 taccounts
273+
infra-cli get table yx.token user2 taccounts
274274
```
275275

276276
### results of taccounts
@@ -297,5 +297,5 @@ clyos get table yx.token user2 taccounts
297297
* | the symbol(64-bit integer) | issuer (64-bit integer) |
298298
* Web Assembly VM follows little endian.
299299
```
300-
clyos get table yx.token user2 taccounts --index 2 --key-type i128 -L 0x00000000000080480654455354000000 -l 1
300+
infra-cli get table yx.token user2 taccounts --index 2 --key-type i128 -L 0x00000000000080480654455354000000 -l 1
301301
```

contracts/yx.tokenabi/yx.tokenabi.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ namespace yosemite { namespace contract {
2020
* Every account on YOSEMITE blockchain can process built-in standard token actions (settokenmeta, issue, transfer, redeem)
2121
* without custom smart contract code deployed to an account.
2222
* This system contract (yx.tokenabi) provide standard application binary interface(abi) for standard token actions.
23-
* Client tools such as clyos encoding YOSEMITE blockchain transactions could refer 'yx.tokenabi' contract account
23+
* Client tools such as infra-cli encoding YOSEMITE blockchain transactions could refer 'yx.tokenabi' contract account
2424
* to retrieve abi information for standard token actions.
2525
*/
2626
class tokenabi : public eosio::contract {

contracts/yx.txfee/README.md

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ Environment Var.
99
---
1010

1111
```bash
12-
YOSEMITE_CLYOS=$YOSEMITE_HOME/build/programs/clyos/clyos
12+
INFRA_CLI=$YOSEMITE_HOME/build/programs/infra-cli/infra-cli
1313
YOSEMITE_CONTRACTS_DIR=$YOSEMITE_HOME/build/contracts
1414
```
1515

1616
Install Transaction Fee System Contract
1717
---
1818
```bash
19-
$YOSEMITE_CLYOS set contract yx.txfee $YOSEMITE_CONTRACTS_DIR/yx.txfee/ -p yx.txfee@active
19+
$INFRA_CLI set contract yx.txfee $YOSEMITE_CONTRACTS_DIR/yx.txfee/ -p yx.txfee@active
2020
```
2121

2222
YOSEMITE Transaction Fee Operation Names
@@ -30,31 +30,31 @@ Transaction fees can be updated by the active block producers
3030

3131
```bash
3232
# yx.system
33-
$YOSEMITE_CLYOS push action yx.txfee settxfee '[ "tf.newacc", "1000.00 DKRW" ]' -p yosemite@active
34-
$YOSEMITE_CLYOS push action yx.txfee settxfee '[ "tf.regprod", "3000000.00 DKRW" ]' -p yosemite@active
35-
$YOSEMITE_CLYOS push action yx.txfee settxfee '[ "tf.regsysdep", "2000000.00 DKRW" ]' -p yosemite@active
36-
$YOSEMITE_CLYOS push action yx.txfee settxfee '[ "tf.regidauth", "2000000.00 DKRW" ]' -p yosemite@active
33+
$INFRA_CLI push action yx.txfee settxfee '[ "tf.newacc", "1000.00 DKRW" ]' -p yosemite@active
34+
$INFRA_CLI push action yx.txfee settxfee '[ "tf.regprod", "3000000.00 DKRW" ]' -p yosemite@active
35+
$INFRA_CLI push action yx.txfee settxfee '[ "tf.regsysdep", "2000000.00 DKRW" ]' -p yosemite@active
36+
$INFRA_CLI push action yx.txfee settxfee '[ "tf.regidauth", "2000000.00 DKRW" ]' -p yosemite@active
3737

3838
# yx.ntoken
39-
$YOSEMITE_CLYOS push action yx.txfee settxfee '[ "tf.nissue", "0.00 DKRW" ]' -p yosemite@active
40-
$YOSEMITE_CLYOS push action yx.txfee settxfee '[ "tf.nredeem", "1000.00 DKRW" ]' -p yosemite@active
41-
$YOSEMITE_CLYOS push action yx.txfee settxfee '[ "tf.transfer", "100.00 DKRW" ]' -p yosemite@active
42-
$YOSEMITE_CLYOS push action yx.txfee settxfee '[ "tf.ntransfer", "200.00 DKRW" ]' -p yosemite@active
39+
$INFRA_CLI push action yx.txfee settxfee '[ "tf.nissue", "0.00 DKRW" ]' -p yosemite@active
40+
$INFRA_CLI push action yx.txfee settxfee '[ "tf.nredeem", "1000.00 DKRW" ]' -p yosemite@active
41+
$INFRA_CLI push action yx.txfee settxfee '[ "tf.transfer", "100.00 DKRW" ]' -p yosemite@active
42+
$INFRA_CLI push action yx.txfee settxfee '[ "tf.ntransfer", "200.00 DKRW" ]' -p yosemite@active
4343

4444
# yx.token, yx.nft
45-
$YOSEMITE_CLYOS push action yx.txfee settxfee '[ "tf.tcreate", "10000.00 DKRW" ]' -p yosemite@active
46-
$YOSEMITE_CLYOS push action yx.txfee settxfee '[ "tf.tissue", "500.00 DKRW" ]' -p yosemite@active
47-
$YOSEMITE_CLYOS push action yx.txfee settxfee '[ "tf.tredeem", "500.00 DKRW" ]' -p yosemite@active
48-
$YOSEMITE_CLYOS push action yx.txfee settxfee '[ "tf.ttransfer", "100.00 DKRW" ]' -p yosemite@active
45+
$INFRA_CLI push action yx.txfee settxfee '[ "tf.tcreate", "10000.00 DKRW" ]' -p yosemite@active
46+
$INFRA_CLI push action yx.txfee settxfee '[ "tf.tissue", "500.00 DKRW" ]' -p yosemite@active
47+
$INFRA_CLI push action yx.txfee settxfee '[ "tf.tredeem", "500.00 DKRW" ]' -p yosemite@active
48+
$INFRA_CLI push action yx.txfee settxfee '[ "tf.ttransfer", "100.00 DKRW" ]' -p yosemite@active
4949

5050
// yx.dcontract
51-
$YOSEMITE_CLYOS push action yx.txfee settxfee '[ "tf.dccreate", "500.00 DKRW" ]' -p yosemite@active
52-
$YOSEMITE_CLYOS push action yx.txfee settxfee '[ "tf.dcaddsign", "100.00 DKRW" ]' -p yosemite@active
53-
$YOSEMITE_CLYOS push action yx.txfee settxfee '[ "tf.dcsign", "300.00 DKRW" ]' -p yosemite@active
54-
$YOSEMITE_CLYOS push action yx.txfee settxfee '[ "tf.dcupadd", "50.00 DKRW" ]' -p yosemite@active
55-
$YOSEMITE_CLYOS push action yx.txfee settxfee '[ "tf.dcremove", "0.00 DKRW" ]' -p yosemite@active
51+
$INFRA_CLI push action yx.txfee settxfee '[ "tf.dccreate", "500.00 DKRW" ]' -p yosemite@active
52+
$INFRA_CLI push action yx.txfee settxfee '[ "tf.dcaddsign", "100.00 DKRW" ]' -p yosemite@active
53+
$INFRA_CLI push action yx.txfee settxfee '[ "tf.dcsign", "300.00 DKRW" ]' -p yosemite@active
54+
$INFRA_CLI push action yx.txfee settxfee '[ "tf.dcupadd", "50.00 DKRW" ]' -p yosemite@active
55+
$INFRA_CLI push action yx.txfee settxfee '[ "tf.dcremove", "0.00 DKRW" ]' -p yosemite@active
5656

57-
$YOSEMITE_CLYOS get table -l 100 yx.txfee yx.txfee txfees
57+
$INFRA_CLI get table -l 100 yx.txfee yx.txfee txfees
5858
{
5959
"rows": [{
6060
"operation": "tf.dcaddsign",
@@ -83,7 +83,7 @@ Querying the accumulated native token amount in the Transaction Fee Profit Pool
8383
---
8484
8585
```bash
86-
$YOSEMITE_CLYOS get table yx.ntoken yx.txfee ntaccounts
86+
$INFRA_CLI get table yx.ntoken yx.txfee ntaccounts
8787
{
8888
"rows": [{
8989
"depository": "sysdepo1",

testnet.template

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ sleep 1
4444

4545
ecmd () {
4646
echo ===== Start: $step ============ >> $logfile
47-
echo executing: clyos --wallet-url $wdurl --url http://$bioshost:$biosport "$@" | tee -a $logfile
47+
echo executing: infra-cli --wallet-url $wdurl --url http://$bioshost:$biosport "$@" | tee -a $logfile
4848
echo ----------------------- >> $logfile
49-
programs/clyos/clyos --wallet-url $wdurl --url http://$bioshost:$biosport "$@" >> $logfile 2>&1
49+
programs/infra-cli/infra-cli --wallet-url $wdurl --url http://$bioshost:$biosport "$@" >> $logfile 2>&1
5050
echo ==== End: $step ============== >> $logfile
5151
step=$(($step + 1))
5252
}
@@ -56,7 +56,7 @@ wcmd () {
5656
}
5757

5858
cacmd () {
59-
programs/clyos/clyos --wallet-url $wdurl --url http://$bioshost:$biosport system newaccount yosemite "$@" >> $logfile 2>&1
59+
programs/infra-cli/infra-cli --wallet-url $wdurl --url http://$bioshost:$biosport system newaccount yosemite "$@" >> $logfile 2>&1
6060
ecmd system regproducer $1 $2
6161
ecmd push action yosemite authproducer "[\"$1\"]" -p yosemite
6262
ecmd push action yx.ntoken nissue "{\"to\":\"$1\", \"token\":{\"amount\":\"1000000.00 DKRW\",\"issuer\":\"sysdepo1\"}, \"memo\":\"my memo\"}" -p sysdepo1

tests/nodeos_run_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
dontBootstrap=sanityTest # intent is to limit the scope of the sanity test to just verifying that nodes can be started
5151

5252
WalletdName=Utils.EosWalletName
53-
ClientName="clyos"
53+
ClientName="infra-cli"
5454
timeout = .5 * 12 * 2 + 60 # time for finalization with 1 producer + 60 seconds padding
5555
Utils.setIrreversibleTimeout(timeout)
5656

tests/p2p_tests/dawn_515/test.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -280,9 +280,9 @@ if [ $res -ne 0 ]; then
280280
ret=1
281281
fi
282282

283-
b5idbios=`./programs/clyos/clyos -u http://localhost:8888 get block 5 | grep "^ *\"id\""`
284-
b5id00=`./programs/clyos/clyos -u http://localhost:8889 get block 5 | grep "^ *\"id\""`
285-
b5id01=`./programs/clyos/clyos -u http://localhost:8890 get block 5 | grep "^ *\"id\""`
283+
b5idbios=`./programs/infra-cli/infra-cli -u http://localhost:8888 get block 5 | grep "^ *\"id\""`
284+
b5id00=`./programs/infra-cli/infra-cli -u http://localhost:8889 get block 5 | grep "^ *\"id\""`
285+
b5id01=`./programs/infra-cli/infra-cli -u http://localhost:8890 get block 5 | grep "^ *\"id\""`
286286

287287
if [ "$b5idbios" != "$b5id00" ]; then
288288
echo FAILURE: nodes are not in sync

0 commit comments

Comments
 (0)