FilOzone / FilOzone/filecoin-pay
Payments contract should compile without `via-ir` being set to true in foundry.toml
- Dominant language
- Solidity
- Stars
- 8
- Forks
- 13
- PR merge metrics
- No merged PRs in 30d
Description
See ` foundry.toml`. The `--via-ir` flag is set to true. This delays compilation times. Ideally, we should refactor the functions with a large call stack so that we do not need to set ``--via-ir` in `foundry.toml`.
Success criteria: `forge build` and `forge test` should work without ``--via-ir` being set to true in `foundry.toml`.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with foundry.toml and run forge build and forge test with via-ir disabled to identify the functions responsible for the large call stack. Refactor the affected payments-contract functions until both commands succeed without via-ir=true in foundry.toml.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- solidity
- Domain
- blockchain, payments
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100