dapphub / dapphub/ds-note

Compilation fails with solc 0.5.8

Open
#4 1 comment 0 reactions 0 assignees View on GitHub
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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.