Skip to content

feat(keeper,mm): drop unit rebase for HashpriceUSD 1 PH/s·day - #46

Merged
lsheva merged 2 commits into
devfrom
feat/hashprice-usd-1ph-unit
Jul 28, 2026
Merged

feat(keeper,mm): drop unit rebase for HashpriceUSD 1 PH/s·day#46
lsheva merged 2 commits into
devfrom
feat/hashprice-usd-1ph-unit

Conversation

@lsheva

@lsheva lsheva commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Keeper priceFeed and MM rawOracle only rescale decimals (no CONTRACT_SIZE / ORACLE_UNIT ×10)
  • Integration fixtures seed oracle answer = mark price
  • Switch contracts codegen to hardhat-viem-abi (remove local codegen plugin)

Test plan

  • pnpm test in keeper/
  • pnpm test in market-maker/
  • Redeploy/restart DEV keeper & MM with HASHPRICE_USD_ADDRESS=0x7df0…64F1

Made with Cursor

shev-titan and others added 2 commits July 27, 2026 21:14
Match venue getMarketPrice (decimal scale only) and switch contracts codegen to hardhat-viem-abi.

Co-authored-by: Cursor <cursoragent@cursor.com>
Use a public HTTPS dependency URL so GitHub Actions does not need SSH access to the plugin repo.

Co-authored-by: Cursor <cursoragent@cursor.com>
@lsheva
lsheva merged commit a4c7ee0 into dev Jul 28, 2026
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants