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

feat: introduce parameter validation for structs #10

Merged
merged 3 commits into from
Nov 24, 2023

Conversation

0xmoebius
Copy link
Contributor

🤖 Linear

Closes OPO-609

@0xmoebius 0xmoebius requested a review from gas1cent November 22, 2023 11:49
Copy link

linear bot commented Nov 22, 2023

OPO-609

@0xmoebius 0xmoebius marked this pull request as ready for review November 22, 2023 16:31
*/
function _getId(IOracle.Dispute calldata _dispute) internal pure returns (bytes32 _id) {
Copy link
Member

Choose a reason for hiding this comment

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

I believe we will still need the _getId function for disputes because some modules rely on the id for their functionality or to emit events. For instance: https://github.com/defi-wonderland/prophet-modules/blob/dev/solidity/contracts/modules/dispute/BondedDisputeModule.sol#L41

@gas1cent gas1cent merged commit c8bd873 into dev Nov 24, 2023
3 checks passed
@gas1cent gas1cent deleted the feat/opo-609-parameters-validation branch November 24, 2023 07: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.

2 participants