Open daniel-savu opened 3 years ago
2021-11-11 13:52:25 Instant Seal encountered an error: Transaction pool is empty, set create_empty to true,if you want to create empty blocks
It prints this error.
It prints this error.
But we have create_empty
set to true already. Also, if we're creating a new block only when a transaction arries, how can the transaction pool be empty at all? If the transaction fails with a dispatch error, would that count as an empty transaction pool?
I don't know the logic for sure, but maybe there is a bug :D
I've been experimenting with the
sc-consensus-manual-seal
pallet and since instant-seal doesn't finalize blocks, I wrote a wrapper around manual-seal. I used therun_instant_seal
function (https://github.com/paritytech/substrate/blob/master/client/consensus/manual-seal/src/lib.rs#L201) to guide my implementation and I basically only changed these two fields: https://github.com/interlay/interbtc/pull/363/files#diff-9bbfbf9397681b04f9be425b4ddc02a359bccfc55ad97c9427c8ff93ff47e016R177-R178The binary successfully creates and finalizes blocks automatically on each extrinsic when run outside Docker. When run as part of docker-compose, however, block creation works but finalization doesn't.
Outside Docker:
Inside Docker: