You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The CI runs on a machine with one core which sets the TxProvingCapability to LockScript, which is not implemented in create_transaction from_data_worker in GlobalState:
let proof = match proving_power {TxProvingCapability::LockScript => todo!(),TxProvingCapability::ProofCollection => {TransactionProof::ProofCollection(ProofCollection::produce(&primitive_witness))}TxProvingCapability::SingleProof => {TransactionProof::SingleProof(SingleProof::produce(&primitive_witness))}};
The solution is probably just to implement LockScript proving capabilities by adding a new TransactionProof enum of Incomplete that maybe only produces a proof for the lock script and relies on peers to create the other proofs.
The text was updated successfully, but these errors were encountered:
I expect only the last failure remains after a62ecd1.
This last test, send_to_many_test is tricky because it doesn't call create_transaction directly, and therefore there is no easy replacement with create_transaction_with_prover_capability.
An alternative to the solution you suggest might be (I'm not sure if it can work) to override the network configuration parameter in the test. Then the entire proving capability estimation would be bypassed.
CI fails for these tests:
The code to estimate proving capabilities is defined in
networking_state.rs
asThe CI runs on a machine with one core which sets the
TxProvingCapability
toLockScript
, which is not implemented increate_transaction from_data_worker
inGlobalState
:The solution is probably just to implement
LockScript
proving capabilities by adding a newTransactionProof
enum ofIncomplete
that maybe only produces a proof for the lock script and relies on peers to create the other proofs.The text was updated successfully, but these errors were encountered: