Skip to content

Rolling back the desired status process until the health oracle is operational#2929

Merged
juan-malbeclabs merged 8 commits intomainfrom
jo/fix-link-update-2
Feb 17, 2026
Merged

Rolling back the desired status process until the health oracle is operational#2929
juan-malbeclabs merged 8 commits intomainfrom
jo/fix-link-update-2

Conversation

@juan-malbeclabs
Copy link
Contributor

This pull request makes several changes to the CLI and smart contract logic to hide certain fields from the CLI interface and temporarily disable status transition logic for devices and links. The most significant updates are the hiding of the desired_status argument in CLI commands and the addition of placeholder logic in status transition methods, pending further implementation.

CLI Interface Changes

  • The desired_status argument is now hidden in the CreateDeviceCliCommand, UpdateDeviceCliCommand, and UpdateLinkCliCommand structs, making it unavailable to users from the CLI until further notice. [1] [2] [3]

Smart Contract Logic Changes

  • The check_status_transition methods for both Device and Link structs have been updated to immediately return, effectively disabling their logic for now. This is marked as a temporary measure while waiting for health oracle implementation. [1] [2]
  • The restriction that only foundation allowlist members can update link status directly has been removed from the process_update_link function, allowing any payer to update the status.

Testing Verification

  • Show evidence of testing the change

@juan-malbeclabs juan-malbeclabs enabled auto-merge (squash) February 11, 2026 16:12
@juan-malbeclabs juan-malbeclabs force-pushed the jo/fix-link-update-2 branch 2 times, most recently from 0a39903 to 7be1086 Compare February 14, 2026 12:22
@juan-malbeclabs juan-malbeclabs merged commit e68fc76 into main Feb 17, 2026
30 checks passed
@juan-malbeclabs juan-malbeclabs deleted the jo/fix-link-update-2 branch February 17, 2026 12:39
nikw9944 pushed a commit that referenced this pull request Feb 17, 2026
…erational (#2929)

This pull request makes several changes to the CLI and smart contract
logic to hide certain fields from the CLI interface and temporarily
disable status transition logic for devices and links. The most
significant updates are the hiding of the `desired_status` argument in
CLI commands and the addition of placeholder logic in status transition
methods, pending further implementation.

### CLI Interface Changes

* The `desired_status` argument is now hidden in the
`CreateDeviceCliCommand`, `UpdateDeviceCliCommand`, and
`UpdateLinkCliCommand` structs, making it unavailable to users from the
CLI until further notice.
[[1]](diffhunk://#diff-28204afbc0daa4568757cbf5a6f1073eabc5092155099845b859903fce876ac0L53-R53)
[[2]](diffhunk://#diff-5887bb80e16a3f2882fd495476d15b6ce2324edea81569dc1d169f76921e5531L58-R58)
[[3]](diffhunk://#diff-d54a23f19fc3bd80a6e150e51854b5b7c259f844899a3b829676e4e89f714befL53-R53)

### Smart Contract Logic Changes

* The `check_status_transition` methods for both `Device` and `Link`
structs have been updated to immediately return, effectively disabling
their logic for now. This is marked as a temporary measure while waiting
for health oracle implementation.
[[1]](diffhunk://#diff-d04d83cb0106274b6f52a9dcf75ee6704a3ae64e93a215ffae64eacbf117a860R342-R347)
[[2]](diffhunk://#diff-255c929d6c1f6d060a7c2a3dad9fb6f2911da3f5923ac99297d9e163a67eb619R484-R489)
* The restriction that only foundation allowlist members can update link
status directly has been removed from the `process_update_link`
function, allowing any payer to update the status.

## Testing Verification
* Show evidence of testing the change
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments