Calculate bench client lamports based on signature fee (#4713)

* use fee calculator to compute max fee

* review comments

* shellcheck
This commit is contained in:
Pankaj Garg
2019-06-18 14:44:53 -07:00
committed by GitHub
parent 2da7c7fbd3
commit e43a634944
4 changed files with 44 additions and 2 deletions

View File

@ -108,6 +108,9 @@ while [[ -n $1 ]]; do
if [[ $1 = --hashes-per-tick ]]; then
genesisOptions="$genesisOptions $1 $2"
shift 2
elif [[ $1 = --target-lamports-per-signature ]]; then
genesisOptions="$genesisOptions $1 $2"
shift 2
elif [[ $1 = --deploy-update ]]; then
updatePlatforms="$updatePlatforms $2"
shift 2