Skip to content

Update offer_id to type NUMERIC in log_item_update table#160

Merged
elizabethengelman merged 1 commit intostagingfrom
update-log-item-update
Apr 14, 2020
Merged

Update offer_id to type NUMERIC in log_item_update table#160
elizabethengelman merged 1 commit intostagingfrom
update-log-item-update

Conversation

@elizabethengelman
Copy link
Copy Markdown
Contributor

@elizabethengelman elizabethengelman commented Apr 13, 2020

After looking more at LogItemUpdate the offer id is a uint which is an alias to uint256: https://solidity.readthedocs.io/en/v0.5.3/types.html#integers in solidity. So this field should be bumped up to a NUMERIC to make sure it's big enough to fit a number that is potentially 32bytes.

Copy link
Copy Markdown
Contributor

@gslaughl gslaughl left a comment

Choose a reason for hiding this comment

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

:shipit: nice catch

Copy link
Copy Markdown
Contributor

@rmulhol rmulhol left a comment

Choose a reason for hiding this comment

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

Nice catch!

@elizabethengelman elizabethengelman merged commit 0801dcf into staging Apr 14, 2020
@elizabethengelman elizabethengelman deleted the update-log-item-update branch April 14, 2020 13:37
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