Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ZK-1337: Create http server which serves bindings functions #96

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

kroist
Copy link
Collaborator

@kroist kroist commented Jan 19, 2025

No description provided.

Copy link

github-actions bot commented Jan 19, 2025

Transaction NameMainCurrentDifference (%)
NewAccountNative20003352000359+0.00120%
DepositNative18278941827990+0.00525%
WithdrawNative18981261898198+0.00379%

Copy link

github-actions bot commented Jan 19, 2025

📊 Coverage Report

📈 Total Coverage Summary

Type Covered Total Coverage
📝 Lines 142 403 ❌ 35.23%
📄 Statements 143 406 ❌ 35.22%
⚡ Functions 38 105 ❌ 36.19%
🔀 Branches 14 66 ❌ 21.21%

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 100% 100% 100% 100%
zkOS-monorepo/ts/shielder-sdk/src/actions/newAccount.ts 100% 100% 100% 100%
zkOS-monorepo/ts/shielder-sdk/src/actions/utils.ts 100% 100% 100% 100%
zkOS-monorepo/ts/shielder-sdk/src/actions/withdraw.ts 100% 100% 100% 100%
zkOS-monorepo/ts/shielder-sdk/src/chain/contract.ts 4.76% 4.76% 7.14% 0%
zkOS-monorepo/ts/shielder-sdk/src/chain/relayer.ts 8.57% 8.57% 14.28% 0%
zkOS-monorepo/ts/shielder-sdk/src/client.ts 0% 0% 0% 0%
zkOS-monorepo/ts/shielder-sdk/src/constants.ts 100% 100% 100% 100%
zkOS-monorepo/ts/shielder-sdk/src/state/events.ts 0% 0% 0% 0%
zkOS-monorepo/ts/shielder-sdk/src/state/manager.ts 0% 0% 0% 0%
zkOS-monorepo/ts/shielder-sdk/src/state/storageSchema.ts 0% 0% 0% 0%
zkOS-monorepo/ts/shielder-sdk/src/state/sync.ts 0% 0% 0% 0%
zkOS-monorepo/ts/shielder-sdk/src/utils.ts 100% 100% 100% 100%

@kroist kroist requested a review from pmikolajczyk41 January 19, 2025 03:42
Comment on lines +74 to +82
macros-core = { path = "crates/macros-core" }
macros = { path = "crates/macros" }
powers-of-tau = { path = "crates/powers-of-tau" }
shielder-account = { path = "crates/shielder-account" }
shielder-contract = { path = "crates/shielder-contract" }
shielder-relayer = { path = "crates/shielder-relayer" }
shielder-setup = { path = "crates/shielder-setup" }
type-conversions = { path = "crates/type-conversions" }
shielder_bindings = { path = "crates/shielder_bindings" }
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's keep them sorted (I will look for some lint to check this automatically)

Comment on lines +1 to +2
[package]
name = "macros-core"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we really need yet another crate? why can't its content belong to macros?

[package]
name = "macros"
version = "0.1.0"
edition = "2021"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we can inherit many attributes from the workspace

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