Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update fee denom, url, use dydx testnet network config in posting txns #65

Merged
merged 9 commits into from
Oct 20, 2023
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
address cmt
dydxwill committed Oct 19, 2023
commit d0586febc79cbdb844cba26fc7663658241bba49
5 changes: 3 additions & 2 deletions v4-client-py/v4_client_py/chain/aerial/client/utils.py
Original file line number Diff line number Diff line change
@@ -18,7 +18,7 @@ def prepare_and_broadcast_basic_transaction(
gas_limit: Optional[int] = None,
memo: Optional[str] = None,
broadcast_mode: BroadcastMode = None,
fee: int = 5000,
fee: Optional[int] = None,
) -> SubmittedTx:
"""Prepare and broadcast basic transaction.

@@ -36,7 +36,8 @@ def prepare_and_broadcast_basic_transaction(
# query the account information for the sender
if account is None:
account = client.query_account(sender.address())

if fee is None:
fee = client.network_config.fee_minimum_gas_price
if gas_limit is None:

# we need to build up a representative transaction so that we can accurately simulate it