Skip to content

Commit

Permalink
Rename modifier in accordance with RealityETH/reality-eth-monorepo#148
Browse files Browse the repository at this point in the history
  • Loading branch information
edmundedgar committed Mar 7, 2024
1 parent c8a9e32 commit 248357f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
2 changes: 1 addition & 1 deletion contracts/ForkableRealityETH_ERC20.sol
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ contract ForkableRealityETH_ERC20 is
// Asking questions is locked down the the forkmanager.
// This isn't strictly necessary but it reduces the attack surface.
// TODO: We might want to replace this with a governance contract owned by the forkmanager.
modifier permittedQuestionerOnly() override {
modifier onlyPermittedQuestioner() override {
if (msg.sender != forkmanager) revert PermittedQuestionerOnly();
_;
}
Expand Down
16 changes: 9 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"@openzeppelin/contracts": "^4.9.5",
"@openzeppelin/contracts-upgradeable": "^4.9.5",
"@openzeppelin/hardhat-upgrades": "1.22.1",
"@reality.eth/contracts": "4.0.0-rc.7",
"@reality.eth/contracts": "4.0.0-rc.8",
"@RealityETH/zkevm-contracts": "github:RealityETH/zkevm-contracts#a090458140cdfce23763af887ff0767469368923",
"@types/sinon-chai": "^3.2.3",
"circomlibjs": "0.1.1",
Expand Down

0 comments on commit 248357f

Please sign in to comment.