Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EX-3119-cio-disconn-event #441

Open
wants to merge 13 commits into
base: main
Choose a base branch
from
Open

Conversation

Allyson-English
Copy link
Member

Proposed Changes

Impacted Routes

Caveats

Copy link

linear bot commented Jan 30, 2025

@Allyson-English Allyson-English marked this pull request as ready for review January 30, 2025 21:05
internal/services/cio/cio.go Outdated Show resolved Hide resolved
internal/services/cio/cio.go Outdated Show resolved Hide resolved
internal/services/task_status_listener.go Show resolved Hide resolved
internal/config/settings.go Show resolved Hide resolved
internal/services/task_status_listener.go Outdated Show resolved Hide resolved
charts/devices-api/templates/secret.yaml Show resolved Hide resolved
cmd/devices-api/main.go Outdated Show resolved Hide resolved
cmd/devices-api/main.go Outdated Show resolved Hide resolved
internal/services/task_status_listener.go Show resolved Hide resolved
internal/services/cio/cio.go Outdated Show resolved Hide resolved
internal/services/cio/cio.go Outdated Show resolved Hide resolved
internal/services/cio/cio.go Outdated Show resolved Hide resolved
internal/services/cio/cio.go Outdated Show resolved Hide resolved
internal/services/cio/cio.go Outdated Show resolved Hide resolved
Comment on lines 49 to 51
if !common.IsHexAddress(userAddr.Hex()) {
return fmt.Errorf("invalid ethereum_address %s", userAddr.Hex())
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think there's no danger of this happening. If you wanted to be really, really careful you could check that udai.R.UserDevice.OwnerAddress.Bytes really has length 20, but I think the database will enforce that if it's populated so I think it's not too scary.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

okay cool, removed it in that case

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.

3 participants