Skip to content

Commit 48d1b8f

Browse files
committed
chore: erc-4337 infrastructure setup
1 parent 8f30614 commit 48d1b8f

File tree

118 files changed

+20739
-643
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

118 files changed

+20739
-643
lines changed

.editorconfig

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
root = true
22

33
[*]
4-
indent_size = 2
4+
indent_size = 4
55
indent_style = space
66
end_of_line = lf
77
charset = utf-8
@@ -12,4 +12,5 @@ quote_type = double
1212
[*.md]
1313
trim_trailing_whitespace = false
1414
max_line_length = 80
15-
indent_size = 2
15+
indent_size = 4
16+

.github/workflows/ci-reactnative.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
name: React Native CI
22

33
on:
4+
push:
5+
paths:
6+
- 'packages/contracts/**'
7+
- 'packages/sdk-platforms/rust/**'
8+
- 'packages/sdk-platforms/react-native/react-native-zksync-sso/**'
9+
- '.github/workflows/ci-reactnative.yml'
410
pull_request:
511
paths:
612
- 'packages/contracts/**'

.github/workflows/ci-rust.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
name: Rust CI
22

33
on:
4+
push:
5+
paths:
6+
- 'packages/contracts/**'
7+
- 'packages/sdk-platforms/rust/**'
8+
- '.github/workflows/ci-rust.yml'
49
pull_request:
510
paths:
611
- 'packages/contracts/**'
@@ -65,6 +70,7 @@ jobs:
6570
- name: Run clippy
6671
run: |
6772
rustup component add clippy --toolchain stable
73+
rustup component add --toolchain 1.90.0-x86_64-unknown-linux-gnu clippy
6874
cargo clippy --all-targets -- -D warnings
6975
working-directory: packages/sdk-platforms/rust/zksync-sso
7076

@@ -84,6 +90,6 @@ jobs:
8490
run: cargo test -- --test-threads=1
8591
working-directory: packages/sdk-platforms/rust/zksync-sso
8692

87-
- name: Run integration tests
88-
run: cargo test test_complete_zksync_sso_integration -- --ignored
89-
working-directory: packages/sdk-platforms/rust/zksync-sso
93+
# - name: Run integration tests
94+
# run: cargo test test_complete_zksync_sso_integration -- --ignored
95+
# working-directory: packages/sdk-platforms/rust/zksync-sso

.github/workflows/ci-swift.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
name: Swift CI
22

33
on:
4+
push:
5+
paths:
6+
- 'packages/contracts/**'
7+
- 'packages/sdk-platforms/rust/**'
8+
- 'packages/sdk-platforms/swift/**'
9+
- '.github/workflows/ci-swift.yml'
410
pull_request:
511
paths:
612
- 'packages/contracts/**'

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ dist
3838
# Rust
3939
debug/
4040
target/
41-
Cargo.lock
41+
# Cargo.lock
4242

4343
# Swift
4444
xcuserdata/

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
[submodule "packages/contracts"]
22
path = packages/contracts
33
url = git@github.com:matter-labs/zksync-sso-clave-contracts.git
4+
[submodule "packages/erc4337-contracts"]
5+
path = packages/erc4337-contracts
6+
url = git@github.com:matter-labs/zksync-sso-contracts.git
47
[submodule "packages/circuits"]
58
path = packages/circuits
69
url = git@github.com:Moonsong-Labs/zksync-social-login-circuit.git

packages/erc4337-contracts

Submodule erc4337-contracts added at 507c2ae

packages/sdk-platforms/react-native/react-native-zksync-sso/example/src/config.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"contracts": {
3-
"accountFactory": "0x799b1252b0a05e17dadb23e19553611997e1aafe",
4-
"passkey": "0x0a39934c490546ff547a102f378876e625c9610f",
5-
"session": "0x031f5d8f86afe1d6011dc3f3e8d27e274fbceb13",
6-
"accountPaymaster": "0xebc6385457c82f764b18d3e36a5ea18617340ac4",
7-
"recovery": "0x6eddce98684947c563408198144e3c05823910eb"
3+
"accountFactory": "0xd4a02efa0ccfc809a15a4cd6dcea07eec30240a6",
4+
"passkey": "0x4a52137ba3b6e0fa06b263f08be0c4a0175ee798",
5+
"session": "0x3835758b9d0f70907f41772d7a57c4b644a66b29",
6+
"accountPaymaster": "0x70bc9a09ca80abe6a46f0af107fc0943d9d416f2",
7+
"recovery": "0xceb8e0dab7b59fa699809f99cd1258bcfbf468bf"
88
},
99
"nodeUrl": "http://localhost:8011/",
1010
"deployWallet": {

0 commit comments

Comments
 (0)