openhands
87bb5859e2
fix: revm evaluator — UUPS bypass, deployedBytecode, graceful attack ops
...
- Skip UUPS upgradeTo: etch + vm.store ERC1967 implementation slot directly
(OptimizerV3Push3 is standalone, no UUPS inheritance needed for evolution)
- Use deployedBytecode (runtime) instead of bytecode (creation) for vm.etch
- Inject transpiled body into OptimizerV3.sol (has getLiquidityParams via Optimizer)
instead of using standalone OptimizerV3Push3.sol
- Wrap buy/sell/stake/unstake in try/catch — attack ops should not abort the batch
- Add /tmp read to fs_permissions for batch-eval manifest files
- Bootstrap recenter returns bool instead of reverting (soft-fail per candidate)
2026-03-12 19:54:58 +00:00
openhands
491c8f65b6
fix: resolve stack-too-deep in EthScarcityAbundance test
...
Extract _decodeVwapTick and _logEvent helpers to reduce stack depth
in _recenterAndLog. Also add via_ir=true to maxperf profile.
2026-02-23 17:10:01 +00:00
openhands
a46c30cff6
fix: landing page user test fixes ( #162 )
...
- Add VueQueryPlugin to landing main.ts (wagmi/vue requires it)
- Add Vite proxy for /api/graphql → ponder:42069/graphql
- Replace axios with native fetch in WalletCard.vue
- Add navigateTo() for CTA buttons (uses VITE_APP_URL env)
- Load contract addresses from bootstrap in landing entrypoint
- Add via_ir to foundry.toml (OptimizerV3Push3 stack-too-deep)
- Add VITE_APP_URL env to docker-compose landing service
Fixes: blank landing pages, broken LiveStats, missing CTA links,
missing contract addresses in footer
2026-02-23 14:47:38 +00:00
johba
4277f19b68
feature/ci ( #84 )
...
Co-authored-by: openhands <openhands@all-hands.dev>
Reviewed-on: https://codeberg.org/johba/harb/pulls/84
2026-02-02 19:24:57 +01:00
johba
d7c2184ccf
Add Solidity linting with solhint, Foundry formatter, and pre-commit hooks ( #51 )
...
## Changes
### Configuration
- Added .solhint.json with recommended rules + custom config
- 160 char line length (warn)
- Double quotes enforcement (error)
- Explicit visibility required (error)
- Console statements allowed (scripts/tests need them)
- Gas optimization warnings enabled
- Ignores test/helpers/, lib/, out/, cache/, broadcast/
- Added foundry.toml [fmt] section
- 160 char line length
- 4-space tabs
- Double quotes
- Thousands separators for numbers
- Sort imports enabled
- Added .lintstagedrc.json for pre-commit auto-fix
- Runs solhint --fix on .sol files
- Runs forge fmt on .sol files
- Added husky pre-commit hook via lint-staged
### NPM Scripts
- lint:sol - run solhint
- lint:sol:fix - auto-fix solhint issues
- format:sol - format with forge fmt
- format:sol:check - check formatting
- lint / lint:fix - combined commands
### Code Changes
- Added explicit visibility modifiers (internal) to constants in scripts and tests
- Fixed quote style in DeployLocal.sol
- All Solidity files formatted with forge fmt
## Verification
- ✅ forge fmt --check passes
- ✅ No solhint errors (warnings only)
- ✅ forge build succeeds
- ✅ forge test passes (107/107)
resolves #44
Co-authored-by: johba <johba@harb.eth>
Reviewed-on: https://codeberg.org/johba/harb/pulls/51
2025-10-04 15:17:09 +02:00
johba
7eef96f366
recorded fuzzing
2025-08-18 22:09:03 +02:00
johba
9f0b163303
wip
2025-08-09 18:03:31 +02:00
JulesCrown
5d209e5e19
added csv serializer
2024-05-29 17:26:19 +02:00
JulesCrown
7decc4c32d
subfolder
2024-02-27 17:55:38 +01:00