argotorg / argotorg/solidity-website
"Simple Action" example broken in Playground section
- Dominant language
- JavaScript
- Stars
- 30
- Forks
- 29
- Avg merge
- 8h 15m
- Merged PRs (30d)
- 7
Description
The "Simple Action" example in the Playground section returns an error instead of displaying the right bytecode
```
Compiler result
Compiler version: 0.8.31+commit.fd3a2265.Emscripten.clang
Errors
Warning: 'send' is deprecated and scheduled for removal. Use 'call{value: }("")' instead. --> :91:18: | 91 | if (!payable(msg.sender).send(amount)) { | ^^^^^^^^^^^^^^^^^^^^^^^^ ,Warning: 'transfer' is deprecated and scheduled for removal. Use 'call{value: }("")' instead. --> :125:9: | 125 | beneficiary.transfer(highestBid); | ^^^^^^^^^^^^^^^^^^^^
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the "Simple Action" example in the Playground section and reproduce the compiler result shown in the issue. Trace how the example handles the Solidity compiler's deprecation warnings, then verify that it displays the expected bytecode without an error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- solidity
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100