Skip to content
This repository was archived by the owner on Jul 30, 2025. It is now read-only.

Conversation

Marcin-Radecki
Copy link
Contributor

PR 1/N of required changes for CI Shielder Prover Server

Next PRs:

  • add docker file for shielder-prover-server and workflow which builds it and pushes to ECR
  • add workflow which builds enclave files when new GH release is created and attach to the release

Copy link

github-actions bot commented Jul 16, 2025

Transaction NameMainCurrentDifference (%)
Deposit (size)20255202550.00000%
DepositERC20 (gas)17660151765967-0.00272%
DepositERC20Fees (gas)17747151774691-0.00135%
DepositERC20FeesMemo (gas)17755291775445-0.00473%
DepositERC20Memo (gas)17668171766829+0.00068%
DepositNative (gas)17483651748281-0.00480%
DepositNativeFees (gas)17577451757673-0.00410%
DepositNativeFeesMemo (gas)17585831758571-0.00068%
DepositNativeMemo (gas)17661231766243+0.00679%
NewAccount (size)22867228670.00000%
NewAccountERC20 (gas)179969117996910.00000%
NewAccountERC20Fees (gas)18084631808307-0.00863%
NewAccountERC20FeesMemo (gas)17920681792140+0.00402%
NewAccountERC20Memo (gas)17833801783356-0.00135%
NewAccountNative (gas)17643471764431+0.00476%
NewAccountNativeFees (gas)18158991815875-0.00132%
NewAccountNativeFeesMemo (gas)17745401774444-0.00541%
NewAccountNativeMemo (gas)17652081765112-0.00544%
Withdraw (size)21573215730.00000%
WithdrawERC20 (gas)18673051867245-0.00321%
WithdrawERC20Fees (gas)18418531841877+0.00130%
WithdrawERC20FeesMemo (gas)18425591842619+0.00326%
WithdrawERC20Memo (gas)18339311833811-0.00654%
WithdrawNative (gas)18674571867277-0.00964%
WithdrawNativeFees (gas)18267771826801+0.00131%
WithdrawNativeFeesMemo (gas)18447281844716-0.00065%
WithdrawNativeMemo (gas)18182241818152-0.00396%

Copy link

github-actions bot commented Jul 16, 2025

📊 Coverage Report

📈 Total Coverage Summary

Type Covered Total Coverage
📝 Lines 1718 2431 🟠 70.67%
📄 Statements 1718 2431 🟠 70.67%
⚡ Functions 115 132 🟡 87.12%
🔀 Branches 277 292 🟡 94.86%

Coverage Legend

  • ✅ 100% Coverage
  • 🟡 80-99% Coverage
  • 🟠 50-79% Coverage
  • ❌ 0-49% Coverage

📁 File Coverage

📋 Detailed Coverage Report
File Lines Statements Functions Branches
🟡 zkOS-monorepo/ts/shielder-sdk/src/actions/deposit.ts 89.74% 89.74% 100% 85.71%
🟡 zkOS-monorepo/ts/shielder-sdk/src/actions/newAccount.ts 86.27% 86.27% 100% 80%
zkOS-monorepo/ts/shielder-sdk/src/actions/types.ts 100% 100% 100% 100%
🟡 zkOS-monorepo/ts/shielder-sdk/src/actions/utils.ts 97.33% 97.33% 100% 90.9%
🟠 zkOS-monorepo/ts/shielder-sdk/src/actions/withdraw.ts 78.14% 78.14% 87.5% 100%
zkOS-monorepo/ts/shielder-sdk/src/chain/contract.ts 1.8% 1.8% 0% 0%
zkOS-monorepo/ts/shielder-sdk/src/chain/relayer.ts 31.32% 31.32% 33.33% 50%
zkOS-monorepo/ts/shielder-sdk/src/client/actions.ts 100% 100% 100% 100%
🟡 zkOS-monorepo/ts/shielder-sdk/src/client/client.ts 88.13% 88.13% 71.42% 85.71%
zkOS-monorepo/ts/shielder-sdk/src/client/factories.ts 100% 100% 100% 100%
zkOS-monorepo/ts/shielder-sdk/src/client/types.ts 100% 100% 100% 100%
zkOS-monorepo/ts/shielder-sdk/src/constants.ts 100% 100% 100% 100%
zkOS-monorepo/ts/shielder-sdk/src/errors.ts 100% 100% 100% 100%
zkOS-monorepo/ts/shielder-sdk/src/index.ts 0% 0% 100% 100%
zkOS-monorepo/ts/shielder-sdk/src/protocolFees.ts 18.51% 18.51% 14.28% 100%
zkOS-monorepo/ts/shielder-sdk/src/state/accountFactory.ts 100% 100% 100% 100%
🟡 zkOS-monorepo/ts/shielder-sdk/src/state/accountOnchain.ts 94.44% 94.44% 100% 77.77%
zkOS-monorepo/ts/shielder-sdk/src/state/accountRegistry.ts 100% 100% 100% 100%
zkOS-monorepo/ts/shielder-sdk/src/state/accountStateSerde.ts 100% 100% 100% 100%
zkOS-monorepo/ts/shielder-sdk/src/state/idManager.ts 100% 100% 100% 100%
zkOS-monorepo/ts/shielder-sdk/src/state/localStateTransition.ts 100% 100% 100% 100%
zkOS-monorepo/ts/shielder-sdk/src/state/sync/chainStateTransition.ts 100% 100% 100% 100%
zkOS-monorepo/ts/shielder-sdk/src/state/sync/historyFetcher.ts 100% 100% 100% 100%
zkOS-monorepo/ts/shielder-sdk/src/state/sync/synchronizer.ts 100% 100% 100% 100%
zkOS-monorepo/ts/shielder-sdk/src/state/sync/tokenAccountFinder.ts 100% 100% 100% 100%
zkOS-monorepo/ts/shielder-sdk/src/state/types.ts 100% 100% 100% 100%
zkOS-monorepo/ts/shielder-sdk/src/storage/storageManager.ts 100% 100% 100% 100%
zkOS-monorepo/ts/shielder-sdk/src/storage/storageSchema.ts 100% 100% 100% 100%
zkOS-monorepo/ts/shielder-sdk/src/types.ts 100% 100% 100% 100%
zkOS-monorepo/ts/shielder-sdk/src/utils.ts 100% 100% 100% 100%
🟡 zkOS-monorepo/ts/shielder-sdk/src/utils/errorHandler.ts 93.33% 93.33% 100% 75%

@bartoszjedrzejewski bartoszjedrzejewski self-requested a review July 17, 2025 10:18
@Marcin-Radecki Marcin-Radecki merged commit 35986b7 into main Jul 17, 2025
13 checks passed
@Marcin-Radecki Marcin-Radecki deleted the BAC-185-refactor-enclave-workflow branch July 17, 2025 12:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants