We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I inputted a invalid mnemonic
The SDK threw an error saying: KeyError: 'address'
KeyError: 'address'
To run a successful create_and_sign_tx function
mk = MnemonicKey( mnemonic="INVALID_WORD there flame scrub bulb utility inside jealous decide advice dance fitness shaft odor cloud release leg van away syrup romance february depend dance" ) secret = AsyncLCDClient("http://localhost:1337/", "enigma-pub-testnet-3") wallet = secret.wallet(mk) send_msg = MsgSend( wallet.key.acc_address, wallet.key.acc_address, "1000000uscrt", # send 1 scrt ) tx = await wallet.create_and_sign_tx( msgs=[send_msg], memo="My first transaction!", fee=StdFee(200000, "120000uscrt"), )
This is the line that throws the error
secret-sdk-python/secret_sdk/core/auth/data/account.py
Line 46 in 294e0d6
secret-sdk-python/secret_sdk/client/lcd/api/auth.py
Line 19 in 294e0d6
The text was updated successfully, but these errors were encountered:
Merge pull request #2 from scrtlabs/add-events-to-txinfo
cde8b4c
add events to txinfo, change logic of appending to array_log, json_log
No branches or pull requests
Description
Tell us what happened:
I inputted a invalid mnemonic
What went wrong:
The SDK threw an error saying:
KeyError: 'address'
What you expected to happen:
To run a successful create_and_sign_tx function
What I Did
This is the line that throws the error
secret-sdk-python/secret_sdk/core/auth/data/account.py
Line 46 in 294e0d6
There's no properties in the "value" property when an invalid address is submitted to
secret-sdk-python/secret_sdk/client/lcd/api/auth.py
Line 19 in 294e0d6
The text was updated successfully, but these errors were encountered: