fix(oracle-service): confirm DeliverTx + State before liveness (C-3 / #23) #35
No reviewers
Labels
No labels
enhancement
governance
QA
testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
code/ust1-window!35
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/issue-23-oracle-liveness-confirmtx"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Closes #23 / audit C-3: oracle-service no longer records liveness success on
BROADCAST_MODE_SYNCCheckTx alone.GET /cosmos/tx/v1beta1/txs/{hash}until DeliverTxcode == 0or timeout (fail-closed).State; requirelast_update_secadvanced andrate== proposed beforerecord_successful_broadcast().ORACLE_TX_CONFIRM_TIMEOUT_SECS/ORACLE_TX_CONFIRM_POLL_INTERVAL_MS.skills/oracle-liveness-confirm/.Test plan
cargo test -p ust1-oracle-service(29 tests) — happy confirm, DeliverTx fail, timeout, state mismatch, sequence retry, hash mismatch, URL redactioncargo clippy -p ust1-oracle-service --all-targets -- -D warningsLIVENESS_ORACLE_NO_BROADCASTstill means confirmed-update silencementioned in issue #23
mentioned in merge request !38
mentioned in issue #24
mentioned in issue #25
added 4 commits
maindee9d0e6- fix(oracle-service): confirm DeliverTx + State before liveness (C-3 / #23)Compare with previous version
mentioned in commit
47e20e78b8mentioned in merge request !44
mentioned in issue #21
mentioned in issue #28