Geoff Lamperd
3fb52f843f
updates actions version
2024-07-12 14:15:41 +10:00
Geoff Lamperd
309266765a
adds unit test for regex
2024-07-12 13:59:03 +10:00
Geoff Lamperd
dc0f0f6277
fix: adds unit test for regex pattern
2024-07-08 17:42:00 +10:00
Geoff Lamperd
4fd6ccee71
fix: hash regex include \r
2024-07-08 15:06:47 +10:00
Geoff Lamperd
d61f85c586
Merge pull request #309 from jayden-sudo/dev
...
Fix the issue that 'Firebase Function' might can't deploy
2024-07-02 16:29:34 +10:00
Jayden
7197129a42
Fix the issue that 'Firebase Function' might can't deploy
...
Might encounter an error when running the following commands:
```shell
cd packages/backend
yarn firebase:deploy
```
Error message:
```
⚠ functions: Upload Error: HTTP Error: 400, <?xml version='1.0' encoding='UTF-8'?><Error><Code>EntityTooLarge</Code><Message>Your proposed upload is larger than the maximum object size specified in your Policy Document.</Message><Details>Content-length exceeds upper bound on range</Details></Error>
```
Error Details: The uploaded Firebase function source code package is too large (exceeds 100MB).
Cause: After running `terraform` in the `backend/aws` folder, temporary files larger than 500MB are generated in `backend/aws`. The `backend/aws` folder is not needed for deploying Firebase functions.
**Solution**:
Modify the `firebase.json` file to exclude the `backend/aws` folder:
Before:
```json
"functions": {
"predeploy": "yarn --cwd \"$RESOURCE_DIR\" build",
"source": "."
}
```
After modification:
```json
"functions": {
"predeploy": "yarn --cwd \"$RESOURCE_DIR\" build",
"source": ".",
"ignore": [
"node_modules",
"aws"
]
}
```
- Note:
- Why add `node_modules`?
In the [firebase-tools source code](https://github.com/firebase/firebase-tools/blob/v13.12.0/src/deploy/functions/prepareFunctionsUpload.ts#L75 ):
```typescript
const ignore = config.ignore || ["node_modules", ".git"];
```
When the `ignore` node is not configured, `node_modules` is automatically ignored. However, when `ignore` is manually added, you must also manually add `node_modules` to the `ignore` list.
2024-07-02 12:49:03 +08:00
Nico Serrano
6c2fe5af3f
Merge pull request #294 from privacy-scaling-explorations/fix/finalize-ceremony-memory
...
fix: increase memory limit of finalizeCeremony CF
2024-06-12 15:13:33 -04:00
Nico Serrano
531b682c26
Merge branch 'dev' into fix/finalize-ceremony-memory
2024-06-12 15:13:23 -04:00
Nico Serrano
c0f6a3d12a
feat: reexecute deployment
2024-06-12 15:12:46 -04:00
Geoff Lamperd
25b4ab4a22
Merge branch 'dev' of github.com:privacy-scaling-explorations/p0tion into dev
2024-06-11 14:45:59 +10:00
Geoff Lamperd
c688853c91
chore: correct references to Hermez
2024-06-11 14:44:19 +10:00
Geoff Lamperd
4392258ef0
Merge pull request #304 from privacy-scaling-explorations/v1.2.4-publish
...
Bump version to 1.2.4
2024-06-10 13:55:09 +10:00
Geoff Lamperd
69d6549216
Merge branch 'staging'
2024-06-10 13:47:05 +10:00
Geoff Lamperd
9ab438a2fa
Merge branch 'dev' into staging
2024-06-10 12:11:51 +10:00
Geoff Lamperd
5cb3cf9209
chore: bump package versions
2024-06-10 12:01:27 +10:00
Geoff Lamperd
d87bfebad6
Merge branch 'dev' into staging
2024-06-07 16:15:38 +10:00
Geoff Lamperd
004e6ade94
chore: increment version
2024-06-07 16:04:12 +10:00
Geoff Lamperd
b346db5f3d
adds version note
2024-06-07 15:18:22 +10:00
Geoff Lamperd
e94ba8a28f
Merge branch 'main' of github.com:privacy-scaling-explorations/p0tion
2024-06-07 15:12:18 +10:00
Geoff Lamperd
88c74cb846
Merge branch 'dev' into staging
2024-06-06 14:28:29 +10:00
Geoff Lamperd
7827c85f70
switch to docker in staging and prod
2024-06-06 14:03:16 +10:00
Geoff Lamperd
d7602c6cc2
switch action to docker
2024-06-06 12:18:47 +10:00
Geoff Lamperd
0aa6a31b0e
Merge pull request #301 from privacy-scaling-explorations/staging
...
Update Phase1 file links
2024-06-06 11:21:04 +10:00
Geoff Lamperd
4db42e4ae6
Merge branch 'staging'
2024-06-05 16:57:33 +10:00
Geoff Lamperd
9843891ddf
fixes syntax
2024-06-04 14:11:13 +10:00
Geoff Lamperd
2090f2cb11
fixes syntax
2024-06-04 14:04:26 +10:00
Geoff Lamperd
8aff95d08f
Merge branch 'dev' into staging
2024-06-04 13:52:35 +10:00
Geoff Lamperd
c373f12b77
Merge pull request #300 from privacy-scaling-explorations/staging
...
Update timeout function
2024-06-04 11:52:28 +10:00
Geoff Lamperd
9f7def97d0
Merge pull request #296 from privacy-scaling-explorations/update-phase1-links
...
Update phase1 links
2024-06-04 11:50:56 +10:00
Geoff Lamperd
804239067c
Merge branch 'dev' into update-phase1-links
2024-06-03 16:06:29 +10:00
Geoff Lamperd
39b37a689b
Merge branch 'main' into staging
2024-06-03 15:04:19 +10:00
Geoff Lamperd
8185b527a8
Merge remote-tracking branch 'origin/dev' into staging
2024-05-31 15:27:00 +10:00
Geoff Lamperd
ba9f49f283
Merge pull request #298 from privacy-scaling-explorations/297-timeouts
...
timeout - include COMPLETED
2024-05-31 15:24:57 +10:00
Geoff Lamperd
b724c44187
timeout - include COMPLETED
2024-05-31 14:36:02 +10:00
Geoff Lamperd
85645ebd21
Merge branch 'update-phase1-links' of github.com:privacy-scaling-explorations/p0tion into update-phase1-links
2024-05-24 17:05:40 +10:00
Geoff Lamperd
d12e01ef80
updates Phase 1 file links
2024-05-24 17:04:55 +10:00
Geoff Lamperd
dcab810700
updates Phase 1 file links
2024-05-24 16:48:47 +10:00
ctrlc03
afd27f038e
fix: increase memory limit of finalizeCeremony CF
2024-05-13 09:25:51 +01:00
Nico Serrano
1f933229b7
Merge pull request #293 from privacy-scaling-explorations/staging
...
chore: staging to main
2024-04-17 19:09:29 -05:00
ctrlc03
f3d47ffac2
Merge branch 'main' into staging
2024-04-17 16:47:00 +01:00
ctrlc03
8cbd16201b
Merge pull request #292 from privacy-scaling-explorations/dev
...
chore: merge staging to dev
2024-04-17 16:46:19 +01:00
Geoff Lamperd
f88bcee5d4
Merge pull request #291 from privacy-scaling-explorations/chore/increase-memory
2024-04-17 20:49:06 +10:00
ctrlc03
64158905b1
chore: increase memory for cloud functions
2024-04-17 10:06:01 +01:00
ctrlc03
0942768aac
Merge pull request #290 from privacy-scaling-explorations/staging
...
Increasing memory limit to 2gb in upload functions
2024-04-16 16:43:11 +01:00
Nico Serrano
96f25f0e33
Merge pull request #289 from privacy-scaling-explorations/dev
...
Increasing memory limit to 2gb in upload functions
2024-04-16 10:33:34 -05:00
NicoSerranoP
49bcf3966e
fix: increase memory limits to 2gb for uploading functions
2024-04-16 10:19:47 -05:00
NicoSerranoP
db969d9b85
feat: backend completeMultiPartUpload increase memory to 1gb
2024-04-16 10:17:20 -05:00
Geoff Lamperd
dd75421ab3
Merge pull request #288 from privacy-scaling-explorations/staging
2024-04-13 09:46:01 +10:00
Nico Serrano
a5b05a7cec
Merge pull request #287 from privacy-scaling-explorations/dev
...
fix: increase memory in startMultiPartUpload cloud function
2024-04-12 18:34:44 -05:00
NicoSerranoP
d52b62df2f
fix: increase memory in startMultiPartUpload cloud function
2024-04-11 01:34:02 -05:00