Compilation fails with solc 0.5.8
- Dominant language
- Solidity
- Stars
- 15
- Forks
- 22
- PR merge metrics
- No merged PRs in 30d
Description
Error:
```
/lib/dappsys/stop.sol:33:34: TypeError: This modifier uses "msg.value" or "callvalue()" and thus the function has to be payable or internal.
function start() public auth note {
^--^
/lib/dappsys/note.sol:36:20: "msg.value" or "callvalue()" appear here inside the modifier.
wad := callvalue
^-------^
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the reported compilation error with solc 0.5.8 and read /lib/dappsys/stop.sol around line 33 and /lib/dappsys/note.sol around line 36. Trace how the modifier is used by start(); done means the project compiles successfully with solc 0.5.8 without this error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- solidity
- Domain
- blockchain
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 32/100