Skip to content

Review Tasks #35

@RobinNagpal

Description

@RobinNagpal

Structure of Contracts

  • Check order of structs, events, errors, variables, modifiers and functions follows the convention for MarketUpdateProposer.sol
  • Check order of structs, events, errors, variables, modifiers and functions follows the convention for MarketUpdateTimelock.sol
  • Check order of structs, events, errors, variables, modifiers and functions follows the convention for Configurator.sol
  • Check order of structs, events, errors, variables, modifiers and functions follows the convention for ConfiguratorStorage.sol
  • Check order of structs, events, errors, variables, modifiers and functions follows the convention for CometProxyAdmin.sol

Check Variable and function names

  • Check variable names follows the convention for MarketUpdateProposer.sol
  • Check variable names follows the convention for MarketUpdateTimelock.sol
  • Check variable names follows the convention for Configurator.sol
  • Check variable names follows the convention for ConfiguratorStorage.sol
  • Check variable names follows the convention for CometProxyAdmin.sol

Check for events, errors and requires

Things to check

  • events are emitted where needed
  • All validations are in place with proper require or revert
  • Check there are 1-2 tests for each validation
  • Check the message for require statement

Checklist

  • Check events, errors and requires follows the convention for MarketUpdateProposer.sol
  • Check events, errors and requires follows the convention for MarketUpdateTimelock.sol
  • Check events, errors and requires follows the convention for Configurator.sol
  • Check events, errors and requires follows the convention for ConfiguratorStorage.sol
  • Check events, errors and requires follows the convention for CometProxyAdmin.sol

Check order of Arguments (what is the best order)

  • MarketUpdateProposer.sol - constructor(address governor_, address marketAdmin_, address proposalGuardian_, ITimelock timelock_)
  • [ ]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions