v1.27.0-a #10
@ -41,8 +41,6 @@ create table sectors_sdr_pipeline (
|
|||||||
-- precommit message wait
|
-- precommit message wait
|
||||||
seed_epoch bigint,
|
seed_epoch bigint,
|
||||||
precommit_msg_tsk bytea,
|
precommit_msg_tsk bytea,
|
||||||
|
|
||||||
task_id_precommit_msg_wait bigint,
|
|
||||||
after_precommit_msg_success bool not null default false,
|
after_precommit_msg_success bool not null default false,
|
||||||
|
|
||||||
-- seed
|
-- seed
|
||||||
|
@ -120,6 +120,11 @@ func (s *SubmitPrecommitTask) Do(taskID harmonytask.TaskID, stillOwned func() bo
|
|||||||
return false, xerrors.Errorf("updating precommit_msg_cid: %w", err)
|
return false, xerrors.Errorf("updating precommit_msg_cid: %w", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
_, err = s.db.Exec(ctx, `INSERT INTO message_waits (signed_message_cid) VALUES ($1)`, mcid)
|
||||||
|
if err != nil {
|
||||||
|
return false, xerrors.Errorf("inserting into message_waits: %w", err)
|
||||||
|
}
|
||||||
|
|
||||||
return true, nil
|
return true, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user