Commit Graph

1238 Commits

Author SHA1 Message Date
NicoSerranoP
3f25ebefcd feat: bump to 1.2.5 2024-09-23 22:58:02 -05:00
NicoSerranoP
a8f36492f4 Merge branch 'staging' into dev 2024-09-23 22:56:17 -05:00
Geoff Lamperd
4d91ce68fd chore: debug messages in setup Ceremony 2024-09-23 17:24:58 +10:00
Geoff Lamperd
06c8692566 chore: adds debug messages in createBucket 2024-09-23 13:12:08 +10:00
Geoff Lamperd
1ef3054da3 chore: adds debug messages in createBucket 2024-09-23 13:05:11 +10:00
Geoff Lamperd
1e87ae2ad0 clean up log function 2024-09-10 10:39:02 +10:00
Geoff Lamperd
894e9af30e log transcript in verify 2024-09-09 20:20:37 +10:00
Geoff Lamperd
70457625c5 Merge pull request #324 from privacy-scaling-explorations/fix-currentContributor-bug
fix: adjusts conditions to rigger coordinate function
2024-09-02 17:20:47 +10:00
Geoff Lamperd
45438fabbe fix: adjusts conditions to rigger coordinate 2024-09-02 15:56:53 +10:00
Geoff Lamperd
f688bf4a39 chore: better log levels for timeout function 2024-08-27 14:22:16 +10:00
Geoff Lamperd
49f08413a3 Merge branch 'dev' into staging 2024-08-23 12:13:53 +10:00
Geoff Lamperd
e312890f99 Merge pull request #319 from privacy-scaling-explorations/fix/timeout
fix: do not timeout when completed
2024-08-23 11:35:43 +10:00
ctrlc03
7679fe77c8 fix: do not timeout when completed 2024-08-22 21:34:00 +01:00
NicoSerranoP
ec0a079741 Merge branch 'dev' of https://github.com/privacy-scaling-explorations/p0tion into dev 2024-08-22 10:04:33 -03:00
NicoSerranoP
efb9e3a83b fix: hardcode aws tag to test new policy 2024-08-22 09:53:05 -03:00
Geoff Lamperd
f1b446dbeb Merge pull request #314 from 0xturboblitz/dev
fix tweet url when ceremony name includes spaces
2024-08-19 14:25:46 +10:00
Geoff Lamperd
6905bc69cb Merge branch 'dev' into dev 2024-08-19 14:19:48 +10:00
Nico Serrano
21824a7c73 Merge pull request #316 from privacy-scaling-explorations/dev
fix: set tag to AWS instance volume
2024-08-18 13:41:36 -03:00
NicoSerranoP
e22d20d0b6 fix: set tag to AWS instance volume 2024-08-18 13:24:05 -03:00
Nico Serrano
547aa03abc Merge pull request #315 from privacy-scaling-explorations/dev
use AWS tag
2024-08-16 16:58:26 -03:00
NicoSerranoP
9239207daa feat: use AWS tag to comply to PSE policies 2024-08-16 16:32:39 -03:00
0xturboblitz
f3a7b62b59 fix tweet url when ceremony name includes spaces 2024-08-13 13:41:02 -07:00
Nico Serrano
e50214591f Merge pull request #312 from privacy-scaling-explorations/staging
Staging v1.2.5 release
2024-07-24 11:25:59 -05:00
Nico Serrano
7b7f1afb3d Merge pull request #310 from privacy-scaling-explorations/better-error-in-func
Throw HttpsError in verify function
2024-07-24 11:23:31 -05:00
Nico Serrano
6178e881c1 Merge branch 'dev' into better-error-in-func 2024-07-24 11:23:19 -05:00
Geoff Lamperd
64b6517ec8 Merge branch 'main' into staging 2024-07-15 15:42:51 +10:00
Geoff Lamperd
2bb375f475 Merge branch 'dev' into staging 2024-07-15 14:17:25 +10:00
Geoff Lamperd
a7b749e021 update backend version 2024-07-15 13:39:26 +10:00
Geoff Lamperd
c233069a0f chore: bump version 2024-07-15 11:40:45 +10:00
Geoff Lamperd
bbc217a98c chore: update lock file 2024-07-15 11:30:44 +10:00
Geoff Lamperd
824ac5fed5 Merge branch 'dev' into staging 2024-07-12 15:51:57 +10:00
Geoff Lamperd
5fad82d7a0 bump version 2024-07-12 15:19:25 +10:00
Geoff Lamperd
46e4606c34 fix: handle username with hyphens 2024-07-12 14:43:12 +10:00
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
6f686a5473 Merge remote-tracking branch 'origin/dev' into better-error-in-func 2024-07-05 16:56:41 +10:00
Geoff Lamperd
e7dac8583e chore: update actions version 2024-07-05 16:54:28 +10:00
Geoff Lamperd
ac0f5566bb Merge tag 'v1.2.4' into better-error-in-func 2024-07-05 14:13:05 +10:00
Geoff Lamperd
21740b6aab fix: adds try/catch for verify 2024-07-05 12:30:07 +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
Geoff Lamperd
04f657dafe Merge pull request #308 from privacy-scaling-explorations/staging
increase memory limit for finalization ceremony function
2024-06-13 10:06:48 +10:00
Nico Serrano
b23818df73 Merge branch 'main' into staging 2024-06-12 15:32:01 -04:00
Nico Serrano
5865cd0e6a Merge pull request #307 from privacy-scaling-explorations/dev
increase ceremony finalization memory limit
2024-06-12 15:30:22 -04: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