Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
- [#121](https://github.com/crypto-com/pystarport/pull/121), [#122](https://github.com/crypto-com/pystarport/pull/122), [#125](https://github.com/crypto-com/pystarport/pull/125) Support sdk 0.50.
- [#127](https://github.com/crypto-com/pystarport/pull/127) Support adding new key when patching config
- [#128](https://github.com/crypto-com/pystarport/pull/128) fix wrong description on empty flag when create validator and align flags for edit validator.
- [#134](https://github.com/crypto-com/pystarport/pull/134) add batch related config for relayer

*Feb 7, 2023*

Expand Down
5 changes: 4 additions & 1 deletion pystarport/cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -1120,6 +1120,8 @@ def relayer_chain_config_rly(data_dir, chain, relayer_chains_config):
denom = gas_price.get("denom", "basecro")
prices = f"{price}{denom}"
precompiled = chain_config.get("precompiled_contract_address", "")
broadcast_mode = chain_config.get("broadcast-mode", "batch")
max_msg_num = chain_config.get("max_msg_num", 0)
return {
"type": "cosmos",
"value": {
Expand All @@ -1145,7 +1147,8 @@ def relayer_chain_config_rly(data_dir, chain, relayer_chains_config):
"coin-type": chain.get("coin-type", 118),
"precompiled-contract-address": precompiled,
"signing-algorithm": "",
"broadcast-mode": "batch",
"broadcast-mode": broadcast_mode,
"max-msg-num": max_msg_num,
"min-loop-duration": "0s",
},
}
Expand Down