This PR adds (another) module to our Python client which implements updated versions of wait_operations and inject which better suit our deployment / DevOps use cases (i.e. they are more stable). It also switches the project back over to pytezos on PyPI from my fork.
I would prefer to avoid adding more code to our client library, but after all of the issues we've been running into with the default inject() method I think this is the best solution for the time being.
A nice benefit of these changes is that they allow for faster baking times with time_between_blocks now set to 1s. This enables e2e tests to run quite a bit faster. While the numbers will vary, in my case the before/after times were pretty dramatic:
This PR adds (another) module to our Python client which implements updated versions of
wait_operations
andinject
which better suit our deployment / DevOps use cases (i.e. they are more stable). It also switches the project back over to pytezos on PyPI from my fork.I would prefer to avoid adding more code to our client library, but after all of the issues we've been running into with the default inject() method I think this is the best solution for the time being.
A nice benefit of these changes is that they allow for faster baking times with
time_between_blocks
now set to 1s. This enables e2e tests to run quite a bit faster. While the numbers will vary, in my case the before/after times were pretty dramatic:Before: 687.729s After: 181.772s