Skip to content

Commit 8085992

Browse files
Merge pull request #113 from ElrondNetwork/cleanup
Bit of cleanup (remove deprecated files / functionality)
2 parents 7539d16 + 8114f87 commit 8085992

23 files changed

Lines changed: 6 additions & 979 deletions

File tree

erdpy/CLI.md

Lines changed: 1 addition & 106 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ https://docs.elrond.com/sdk-and-tools/erdpy/erdpy.
2020
2121
2222
COMMAND GROUPS:
23-
{contract,tx,validator,account,ledger,wallet,network,dispatcher,blockatlas,deps,config,hyperblock,testnet,data,staking-provider,dns}
23+
{contract,tx,validator,account,ledger,wallet,network,blockatlas,deps,config,hyperblock,testnet,data,staking-provider,dns}
2424
2525
TOP-LEVEL OPTIONS:
2626
-h, --help show this help message and exit
@@ -37,7 +37,6 @@ account Get Account data (nonce, balance) from the Networ
3737
ledger Get Ledger App addresses and version
3838
wallet Create wallet, derive secret key from mnemonic, bech32 address helpers etc.
3939
network Get Network parameters, such as number of shards, chain identifier etc.
40-
dispatcher Enqueue transactions, then bulk dispatch them
4140
blockatlas Interact with an Block Atlas instance
4241
deps Manage dependencies or elrond-sdk modules
4342
config Configure elrond-sdk (default values etc.)
@@ -1119,110 +1118,6 @@ optional arguments:
11191118
-h, --help show this help message and exit
11201119
--proxy PROXY 🔗 the URL of the proxy (default: https://testnet-gateway.elrond.com)
11211120
1122-
```
1123-
## Group **Dispatcher**
1124-
1125-
1126-
```
1127-
$ erdpy dispatcher --help
1128-
usage: erdpy dispatcher COMMAND [-h] ...
1129-
1130-
Enqueue transactions, then bulk dispatch them
1131-
1132-
COMMANDS:
1133-
{enqueue,dispatch,dispatch-continuously,clean}
1134-
1135-
OPTIONS:
1136-
-h, --help show this help message and exit
1137-
1138-
----------------
1139-
COMMANDS summary
1140-
----------------
1141-
enqueue Enqueue a transaction
1142-
dispatch Dispatch queued transactions
1143-
dispatch-continuously Continuously dispatch queued transactions
1144-
clean Clear queue of transactions
1145-
1146-
```
1147-
### Dispatcher.Enqueue
1148-
1149-
1150-
```
1151-
$ erdpy dispatcher enqueue --help
1152-
usage: erdpy dispatcher enqueue [-h] ...
1153-
1154-
Enqueue a transaction
1155-
1156-
optional arguments:
1157-
-h, --help show this help message and exit
1158-
--receiver RECEIVER 🖄 the address of the receiver
1159-
--receiver-username RECEIVER_USERNAME 🖄 the username of the receiver
1160-
--gas-price GAS_PRICE ⛽ the gas price (default: 1000000000)
1161-
--gas-limit GAS_LIMIT ⛽ the gas limit
1162-
--value VALUE the value to transfer (default: 0)
1163-
--data DATA the payload, or 'memo' of the transaction (default: )
1164-
--chain CHAIN the chain identifier (default: T)
1165-
--version VERSION the transaction version (default: 1)
1166-
--options OPTIONS the transaction options (default: 0)
1167-
1168-
```
1169-
### Dispatcher.Dispatch
1170-
1171-
1172-
```
1173-
$ erdpy dispatcher dispatch --help
1174-
usage: erdpy dispatcher dispatch [-h] ...
1175-
1176-
Dispatch queued transactions
1177-
1178-
optional arguments:
1179-
-h, --help show this help message and exit
1180-
--proxy PROXY 🔗 the URL of the proxy (default: https://testnet-gateway.elrond.com)
1181-
--pem PEM 🔑 the PEM file, if keyfile not provided
1182-
--pem-index PEM_INDEX 🔑 the index in the PEM file (default: 0)
1183-
--keyfile KEYFILE 🔑 a JSON keyfile, if PEM not provided
1184-
--passfile PASSFILE 🔑 a file containing keyfile's password, if keyfile provided
1185-
--ledger 🔐 bool flag for signing transaction using ledger
1186-
--ledger-account-index LEDGER_ACCOUNT_INDEX 🔐 the index of the account when using Ledger
1187-
--ledger-address-index LEDGER_ADDRESS_INDEX 🔐 the index of the address when using Ledger
1188-
--sender-username SENDER_USERNAME 🖄 the username of the sender
1189-
1190-
```
1191-
### Dispatcher.DispatchContinuously
1192-
1193-
1194-
```
1195-
$ erdpy dispatcher dispatch-continuously --help
1196-
usage: erdpy dispatcher dispatch-continuously [-h] ...
1197-
1198-
Continuously dispatch queued transactions
1199-
1200-
optional arguments:
1201-
-h, --help show this help message and exit
1202-
--proxy PROXY 🔗 the URL of the proxy (default: https://testnet-gateway.elrond.com)
1203-
--pem PEM 🔑 the PEM file, if keyfile not provided
1204-
--pem-index PEM_INDEX 🔑 the index in the PEM file (default: 0)
1205-
--keyfile KEYFILE 🔑 a JSON keyfile, if PEM not provided
1206-
--passfile PASSFILE 🔑 a file containing keyfile's password, if keyfile provided
1207-
--ledger 🔐 bool flag for signing transaction using ledger
1208-
--ledger-account-index LEDGER_ACCOUNT_INDEX 🔐 the index of the account when using Ledger
1209-
--ledger-address-index LEDGER_ADDRESS_INDEX 🔐 the index of the address when using Ledger
1210-
--sender-username SENDER_USERNAME 🖄 the username of the sender
1211-
--interval INTERVAL the interval to retrieve transactions from the queue, in seconds
1212-
1213-
```
1214-
### Dispatcher.Clean
1215-
1216-
1217-
```
1218-
$ erdpy dispatcher clean --help
1219-
usage: erdpy dispatcher clean [-h] ...
1220-
1221-
Clear queue of transactions
1222-
1223-
optional arguments:
1224-
-h, --help show this help message and exit
1225-
12261121
```
12271122
## Group **BlockAtlas**
12281123

erdpy/CLI.md.sh

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -84,12 +84,6 @@ generate() {
8484
command "Network.BlockNonce" "network block-nonce"
8585
command "Network.Chain" "network chain"
8686

87-
group "Dispatcher" "dispatcher"
88-
command "Dispatcher.Enqueue" "dispatcher enqueue"
89-
command "Dispatcher.Dispatch" "dispatcher dispatch"
90-
command "Dispatcher.DispatchContinuously" "dispatcher dispatch-continuously"
91-
command "Dispatcher.Clean" "dispatcher clean"
92-
9387
group "BlockAtlas" "blockatlas"
9488
command "BlockAtlas.CurrentBlockNumber" "blockatlas current-block-number"
9589
command "BlockAtlas.BlockByNumber" "blockatlas block-by-number"

erdpy/cli.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
import erdpy.cli_contracts
1212
import erdpy.cli_data
1313
import erdpy.cli_deps
14-
import erdpy.cli_dispatcher
1514
import erdpy.cli_ledger
1615
import erdpy.cli_network
1716
import erdpy.cli_testnet
@@ -90,7 +89,6 @@ def setup_parser(args: List[str] = sys.argv[1:]):
9089
commands.append(erdpy.cli_ledger.setup_parser(subparsers))
9190
commands.append(erdpy.cli_wallet.setup_parser(args, subparsers))
9291
commands.append(erdpy.cli_network.setup_parser(subparsers))
93-
commands.append(erdpy.cli_dispatcher.setup_parser(args, subparsers))
9492
commands.append(erdpy.cli_blockatlas.setup_parser(subparsers))
9593
commands.append(erdpy.cli_deps.setup_parser(subparsers))
9694
commands.append(erdpy.cli_config.setup_parser(subparsers))

erdpy/cli_dispatcher.py

Lines changed: 0 additions & 53 deletions
This file was deleted.

erdpy/dispatcher/__init__.py

Whitespace-only changes.

erdpy/dispatcher/scenario.py

Whitespace-only changes.

erdpy/dispatcher/scenarios/example.py

Lines changed: 0 additions & 39 deletions
This file was deleted.

erdpy/dispatcher/scenarios/mint.py

Lines changed: 0 additions & 53 deletions
This file was deleted.

erdpy/dispatcher/scenarios/sweepable.py

Lines changed: 0 additions & 50 deletions
This file was deleted.

erdpy/dispatcher/transactions/README.md

Lines changed: 0 additions & 36 deletions
This file was deleted.

0 commit comments

Comments
 (0)