Informational Audit Recommendations
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Refactor
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- solidity
- Domain
- blockchain
Research direction
Start by locating Errors.sol, RateChangeQueue, the rail zeroing logic, the Solidity version configuration, and the NatSpec comment at L1144. Review each recommendation against current FEVM support and state-handling behavior, then verify that unused errors are removed, custom-error usage and zeroing are correct, the version is updated, and the caller documentation identifies the payer.
Written by the indexing model from the issue text.
Description
These are the best practices recommendations coming out of the composable audit
- Remove unused errors
OnlyRailParticipantAllowedandFeeWithdrawalNativeTransferFailedfrom Errors.sol - Use custom errors instead of revert strings. In particular RateChangeQueue is where we are doing this.
- Clear
serviceFeeParticipantfrom rail struct when zeroing out rail -- I believe this one actually has some state usage impact since FVM is smart enough to release KAMT slots that point at zero values and we are not correctly zeroing out rail struct values as we intended - Update solidity version to 0.8.33 -- Im not sure the state of FEVM support but I think we should be mostly current thanks to filb's work
-
Update the NatSpec comment at L1144 to correctly identify the caller as payer.
These are all items we should address whenever we deploy a new version.
- Dominant language
- Solidity
- Stars
- 8
- Forks
- 14
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from FilOzone/filecoin-pay
-
Difficulty 4/5 3-5 days Newbie friendliness 24/100
FilOzone/filecoin-pay#306 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
FilOzone/filecoin-pay#298 · 6 comments ·
-
Filecoin Pay v2 Tracking IssueMay be free again @wjmelements claimed this 57 days ago, and no pull request is open. Open
Difficulty 5/5 Over a week Newbie friendliness 20/100
FilOzone/filecoin-pay#295 · 21 comments · 1 reaction · 1 assignee ·
-
Difficulty 3/5 1-2 days Newbie friendliness 54/100
FilOzone/filecoin-pay#291 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 52/100
FilOzone/filecoin-pay#286 · 2 comments · 1 reaction ·
All issues in FilOzone/filecoin-pay
Similar issues
-
agent-ready good first issue help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Soneso/stellar-agent-wallet#994 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
Trac-Systems/main_settlement_bus#1057 ·
Maintainers usually reply within 1 day
-
utxo_ledger (reference): failed apply_transaction leaks already-created outputs (supply inflation)Open
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
Maintainers usually reply within 10 days
-
test(verify): cover invalid bits, the mainnet and testnet limits, and the strong thresholdPossibly taken @omarelshamy25x claimed this 1 day ago. Opengood first issue
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
devdavidejesus/btc-toolkit#99 · 1 comment ·
Maintainers usually reply within 1 day
-
tezosx: alias materialization sends the EVM public key in the caller's spellingPossibly taken @dvkam claimed this 1 day ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day