-
Notifications
You must be signed in to change notification settings - Fork 2
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
SI-2213-amd-addr-reset-event #237
Conversation
Co-authored-by: Dylan Moreland <[email protected]>
SET ethereum_address = decode('%s', 'hex') | ||
WHERE token_id = %d;`, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we use ?
or $1
or something for these? Is that allowed? I think it's less alarming that way.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I always have to check that decode
is being used correctly. I think it is.
@@ -689,6 +693,30 @@ func (c *ContractsEventsConsumer) dcnNewExpiration(e *ContractEventData) error { | |||
return nil | |||
} | |||
|
|||
// $1 is the updated aftermarket device address, $2 is the token id | |||
const aftermarketDeviceAddressResetQuery = ` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm kinda happier to have this inline. Is that picky?
When an AftermarketDeviceAddressReset event is received, update the 0x address of the device to reflect the change
Notes: