This repository was archived by the owner on Jan 13, 2023. It is now read-only.
This repository was archived by the owner on Jan 13, 2023. It is now read-only.
Errors in tutorial 02_send_data.py #344
Open
Description
Bug description
Tutorial 02_send_data.py not working as expected:
- Creating Iota object generates error because of unexpected argument 'devnet'
- Address.random() misses required argument length
- Sending message throws error because of wrong min. weight magnitude (req: 14 and exp:9)
- Link to check transaction is not working
Version
Which version of the library are you running?
- PyOTA Version: 2.1.0
- Python Version: 3.8.8
IOTA network
Which node are you connected to and which IOTA network is it in?
- Node URL: https://nodes.devnet.iota.org:443
- Network:
Environment
What operating system are you using?
- Operating system: Win 10
Errors
api = Iota('https://nodes.devnet.iota.org:443', devnet=True)
TypeError: init() got an unexpected keyword argument 'devnet'
2.
my_address = Address.random()
TypeError: random() missing 1 required positional argument: 'length'
3.
raise with_context(
iota.adapter.BadApiResponse: 400 response from node: Wrong MinWeightMagnitude. requested: 14, expected: 9
4. https://utils.iota.org/transaction/.../devnet