Problem: when you build an operation group like pytezos.bulk(transaction1, transaction2).autofill(fee=10000) it will place the baker fee in every transaction in the bulk operation group. In most other operation groups on chain, the first transaction is the only one with a baker fee.
It makes more sense to make the baker fee be a single fee instead of multiplied by a possibly dynamic number of batched transactions (expensive)
Solution: Only populate the fee variable to the first transaction in a pytezos.bulk().autofill() operation
Problem: when you build an operation group like
pytezos.bulk(transaction1, transaction2).autofill(fee=10000)
it will place the baker fee in every transaction in the bulk operation group. In most other operation groups on chain, the first transaction is the only one with a baker fee.It makes more sense to make the baker fee be a single fee instead of multiplied by a possibly dynamic number of batched transactions (expensive)
Solution: Only populate the
fee
variable to the first transaction in apytezos.bulk().autofill()
operation