okTurtles / group-income

A decentralized and private (end-to-end encrypted) financial safety net for you and your friends.
https://groupincome.org
GNU Affero General Public License v3.0
331 stars 44 forks source link

Failure to join group (localhost) #2372

Closed taoeffect closed 1 week ago

taoeffect commented 3 weeks ago

Problem

Sometimes, in FF Dev edition, when creating a new user and then trying to join groups, it will fail. It will fail and get stuck. It will get stuck not just for the first group created, but all subsequent attempts to create groups, you can see 3 of them here, all stuck:

Screenshot 2024-10-04 at 12 07 02 PM

Please see this comment for details: https://github.com/okTurtles/group-income/issues/2368#issuecomment-2394314244

📎 join-group-failure.txt.zip

Solution

Unlike #2368, this is not an issue with the server returning bad data due to a tunnel messing with this. This is all happening locally.

It usually happens after the sendMsg service worker error is triggered, but not always.

taoeffect commented 3 weeks ago

So I wasn't able to reproduce exactly this. What I was able to reproduce was a situation where there was a short pause and a short period of being stuck after the group was created. However, finally things started moving and the group was created eventually. I don't know if this is the same issue or different.

State shortly after creating group while waiting (for about 10 to 15 seconds) before group was finally created:

Output of console.log(JSON.stringify(sbp('state/vuex/state'), null, 2)):

``` { "currentGroupId": "z9brRu3VRVX5YGo9a9okoH9ETkWaFQvyDr7sApZ1kArXWGJd8gFu", "contracts": { "z9brRu3VQJ3m9Hxm7tkdLs5HTCLzyuHZEz8EVMfugvmkfhnszSfn": { "references": 1, "type": "gi.contracts/identity", "HEAD": "z9brRu3VXa7Naz1YVvF9qoVrZvSiASWSpoPwGYnvUp8bcdcNVLmf", "height": 1 }, "z9brRu3VRVX5YGo9a9okoH9ETkWaFQvyDr7sApZ1kArXWGJd8gFu": { "type": "gi.contracts/group", "HEAD": "z9brRu3VRVX5YGo9a9okoH9ETkWaFQvyDr7sApZ1kArXWGJd8gFu", "height": 0 } }, "loggedIn": { "identityContractID": "z9brRu3VQJ3m9Hxm7tkdLs5HTCLzyuHZEz8EVMfugvmkfhnszSfn", "encryptionParams": { "stateEncryptionKeyId": "z2DrjgbBntHrn1ZKCTqGEGrwDHHx8gWotjwHRRox3wgT6beRAm2", "salt": "cbPgKMIlx/LQD0640Au9k3DO", "encryptedStateEncryptionKey": "UuSnof1fZlUzkFdNtty5Q7TpedhkX3TzysvLpRXAggaXbayPYh8Hj3f4ehdDS/AvCaY0YZRzQWQMTgNNDG6pznS+aPgxDpNHC2wcMgsYZAmbz45IAnWsaYC6/AZJhSyOZiaLyWjhhHaPz5Am84vuvMiigvoXyWTs2RoG1/TAXCweMUadjSI5kwWLq7CHzqgJxn0vh/s8OKXtaA==" } }, "namespaceLookups": { "u1": "z9brRu3VQJ3m9Hxm7tkdLs5HTCLzyuHZEz8EVMfugvmkfhnszSfn" }, "reverseNamespaceLookups": { "z9brRu3VQJ3m9Hxm7tkdLs5HTCLzyuHZEz8EVMfugvmkfhnszSfn": "u1" }, "periodicNotificationAlreadyFiredMap": {}, "contractSigningKeys": {}, "lastLoggedIn": {}, "preferences": {}, "notifications": { "items": [], "status": {} }, "settings": { "appLogsFilter": [ "error", "warn", "info", "debug", "log" ], "fontSize": 16, "increasedContrast": false, "notificationEnabled": true, "reducedMotion": false, "theme": "system", "themeColor": "dark" }, "chatroom": { "currentChatRoomIDs": {}, "pendingChatRoomIDs": {}, "chatRoomScrollPosition": {}, "unreadMessages": {}, "chatNotificationSettings": {} }, "z9brRu3VQJ3m9Hxm7tkdLs5HTCLzyuHZEz8EVMfugvmkfhnszSfn": { "_vm": { "type": "gi.contracts/identity", "authorizedKeys": { "z2DrjgbM4VhDbxYXcR1mtZh9SvP8m6vNJPTBfjpZfiCxmvc9Ceu": { "id": "z2DrjgbM4VhDbxYXcR1mtZh9SvP8m6vNJPTBfjpZfiCxmvc9Ceu", "name": "ipk", "purpose": [ "sig" ], "ringLevel": 0, "permissions": "*", "allowedActions": "*", "meta": { "private": { "transient": true } }, "data": "[\"edwards25519sha512batch\",\"8qkGnj2xWAUa6lgQzTnK9MPLK+yO1Pv/4SKaalU6aSM=\",null]", "_notBeforeHeight": 0 }, "z2Drjgb9jdDYAxeaKfoEU1vLrvkN312Ei3kGcgdSd1LuYQk4uiw": { "id": "z2Drjgb9jdDYAxeaKfoEU1vLrvkN312Ei3kGcgdSd1LuYQk4uiw", "name": "iek", "purpose": [ "enc" ], "ringLevel": 0, "permissions": [ "gi.contracts/identity/keymeta" ], "meta": { "private": { "transient": true } }, "data": "[\"curve25519xsalsa20poly1305\",\"tvlgFZXWXevXNUY8ZW0WSFJD8zKzF3dJzaqlFSjDH00=\",null]", "_notBeforeHeight": 0 }, "z2Drjgb7nH46zo6KUuB3wXA5DDaRkNrFiubMpqM4s7aQqAk9DLP": { "id": "z2Drjgb7nH46zo6KUuB3wXA5DDaRkNrFiubMpqM4s7aQqAk9DLP", "name": "csk", "purpose": [ "sig" ], "ringLevel": 1, "permissions": [ "ka", "kd", "au", "ae", "a", "ca", "cd", "ks", "ku", "ae#inner" ], "allowedActions": "*", "meta": { "private": { "content": [ "z2Drjgb9jdDYAxeaKfoEU1vLrvkN312Ei3kGcgdSd1LuYQk4uiw", "LZqzU5ZH9eH+YGztScMZfE6SuvolIyLRezAUKAqFm32ApFz2OyHC0629NFEfZcFMCo1fPfrrgnDs4flXpBsXatQV40+KKd4LZjne+0/84n7kFnbat8KEriADosWya/liTl/qAsYU8Emog6tCPI+lGFqTr3XRCf711ee/LLL5R8pjr1mqb9dVW4EXeZ1sRJ58st5CuW2+yUM0WcCU4gFeHpSh2IwsABROj2lSFtbB3qL1XOJY5tufVL9a+eIs4X0JDu7twv+AY4hj" ] } }, "data": "[\"edwards25519sha512batch\",\"PkWPMVVigTyynmjYeyvB6zs2EBpQKdrWlIxWMyv0+Tc=\",null]", "_notBeforeHeight": 0 }, "z2DrjgbEHPLhR1UqAGBPskdhU6QWrqa95unDtsNjcoWYy2qGGKK": { "id": "z2DrjgbEHPLhR1UqAGBPskdhU6QWrqa95unDtsNjcoWYy2qGGKK", "name": "cek", "purpose": [ "enc" ], "ringLevel": 1, "permissions": [ "ae", "ka", "kd", "kr", "krs", "ks", "ku" ], "allowedActions": "*", "meta": { "private": { "content": [ "z2Drjgb9jdDYAxeaKfoEU1vLrvkN312Ei3kGcgdSd1LuYQk4uiw", "TGkKjl+I53Noxn/Ip3ZfFsP803h0qr0BytaPPFlDbhsxjCBSdoOhJENefGUQPojjYt+AXr2a5fLIel52/6pYY3J9EcSwhgZHh8I6C/AtgCa5kh/QdsHU0wltg6NnDbgGr0EilLaFlkWKLqUhfcQiUHrdjIta0PWAtZoCKvUXqp44MwTJW6aMnlQk5z+knDDzvONd54DZH3jxPw7Chg7/eQ==" ] } }, "data": "[\"curve25519xsalsa20poly1305\",\"RM+B+dkvZp5HwJCThipudNqorVIeAFMak56lPIfJQUg=\",null]", "_notBeforeHeight": 0 }, "z2DrjgbBbu4kPUimbjGw5mkxcBBqXowXvKj3Z5ScBrwCDKDpYEb": { "id": "z2DrjgbBbu4kPUimbjGw5mkxcBBqXowXvKj3Z5ScBrwCDKDpYEb", "name": "pek", "purpose": [ "enc" ], "ringLevel": 2, "permissions": [ "ae" ], "allowedActions": [ "gi.actions/identity/setAttributes" ], "meta": { "private": { "content": [ "z2DrjgbEHPLhR1UqAGBPskdhU6QWrqa95unDtsNjcoWYy2qGGKK", "QCpNN9IucB200vuVARzfGgQmhrciZoZ9bD2naFtNjHOPvvdkv42vgX8lIgnfQc3z6ac0G7MB0RBtl8amkP47KBw+0qAo6x1to7Rbc3QekIpdWmv4NnappitCFcChsSSBhnY7SS+vEEu87/3Em8nKicuMVtL+zUoivN2UfnfJaSkKzO9tzaxJjoZbBnXs9CykST1qhdcpFXrAc6aMRr1IVg==" ] } }, "data": "[\"curve25519xsalsa20poly1305\",\"zs4QJGPQTSfdChz99BT0VBJR9XAuU/eEyjfsBrMfjGI=\",null]", "_notBeforeHeight": 0 }, "z2Drjgb7yA6R3p91w7b4xxZv6935aZH8EFwKebcwufHyGTEdbSX": { "id": "z2Drjgb7yA6R3p91w7b4xxZv6935aZH8EFwKebcwufHyGTEdbSX", "name": "#sak", "purpose": [ "sak" ], "ringLevel": 0, "permissions": [], "allowedActions": [], "meta": { "private": { "content": [ "z2Drjgb9jdDYAxeaKfoEU1vLrvkN312Ei3kGcgdSd1LuYQk4uiw", "JWPk9ESFJxUuLxhU1vzAmXcVGgInV2cgtNg9kuZoIRW2FD7OOvNlvvqGyQGUj7V8EEyZBkVN7GxGaYdbS9DXIZ+jKMjdj2uXSvfGCTyvV3Vw9FobEOvkgYU8xleDNZnRAJzDBgX3ISoS6eWMVniIexaGWb+ei+P3Mpq0xOCc2DvLsad/FJkSKKhJwhfZKTGUtIluCU91bQUq/hkfgbrs7DI2hC2Zeie49Ne5i1qUhgIzRyUDKVrtnsIYaretdDzOuXOtvmiIukgB" ] } }, "data": "[\"edwards25519sha512batch\",\"inh8n6NEolSN7/Bg78STfDIdhAeSrx/iS7DfxAaQUas=\",null]", "_notBeforeHeight": 0 } } }, "settings": {}, "attributes": { "username": "u1", "picture": { "manifestCid": "z9brRu3VKmxzFtgRUA6g4uG9MtxcS8nJXAF54ktxrCWnDLotCa3n", "downloadParams": { "IKM": "I25MQL922wmgiwVEAr8jboGxAW0i5CxrQr+GewLtq8+R", "rs": 65536 } } }, "chatRooms": {}, "groups": {}, "fileDeleteTokens": {} }, "idleVue": { "isIdle": false }, "z9brRu3VRVX5YGo9a9okoH9ETkWaFQvyDr7sApZ1kArXWGJd8gFu": { "_vm": { "type": "gi.contracts/group", "authorizedKeys": { "z2Drjgb4u65dwXhHKXnyHiZouFyXhKZuKf4XWLxVcetd9MwvELr": { "id": "z2Drjgb4u65dwXhHKXnyHiZouFyXhKZuKf4XWLxVcetd9MwvELr", "name": "csk", "purpose": [ "sig" ], "ringLevel": 1, "permissions": "*", "allowedActions": "*", "meta": { "private": { "content": [ "z2DrjgbGetiCJB4nEJaQLMeAJ9h5YgQaowWaxzat1zE68Qr3xiV", "ERq3MwrhexaCam07nbwfxruEYcxc6Fjd68tYc5t5WUu3IBgTAdS3P4mMjAMa5HdLMthi6SNVMB5Bdw0dZGRuX4D/mQvJqtHKXuoIcXO4/c44CokcU99LEEA8gyGYtezj/UiftT+yqlhMG4Ijb1BLVsGuHGblZXnhAV2ervjnxWkxcDQv3Hrpm6QTiqI06p3DPB3VF6+KkT+2eEnruPxx2xiwHlCleKIJfQ1IoCGKegC/8pOfZrV33TbnFf5qYNlXbZkTwttMTXJE" ], "shareable": true } }, "data": "[\"edwards25519sha512batch\",\"/gXH6mkLMHC3jQT1m/jiKtyE1xRxU0qp1/MCBABsEZA=\",null]", "_notBeforeHeight": 0 }, "z2DrjgbGetiCJB4nEJaQLMeAJ9h5YgQaowWaxzat1zE68Qr3xiV": { "id": "z2DrjgbGetiCJB4nEJaQLMeAJ9h5YgQaowWaxzat1zE68Qr3xiV", "name": "cek", "purpose": [ "enc" ], "ringLevel": 1, "permissions": "*", "allowedActions": "*", "meta": { "private": { "content": [ "z2DrjgbGetiCJB4nEJaQLMeAJ9h5YgQaowWaxzat1zE68Qr3xiV", "kXOYqfun89OSWRS8UIi9dQG3lBbz7GlTYiFQ40WNtxrLWZwdCiVKXQEsmhv6wO8BZnOA/trtNaTmj7rbG0IYn+pwSMbrvA3kQrQBdDKdwjZcDVDPtTyZrHyTWCRGPBj1EAdyUp6h4o9RoGn20TvrgXx9DbZeJnQzR/p05AFbCNT6StZDEMZjq7PcGV2zI8+rA+7klMQq0y3T2Ex5D683QA==" ], "shareable": true } }, "data": "[\"curve25519xsalsa20poly1305\",\"TnnyihGf/t3H+b3t/rckOGsZ/cBlLL4EOiy326Jjqwo=\",null]", "_notBeforeHeight": 0 }, "z2DrjgbJL9MrcAc3wRNJdPgWppFqYZhZ2WotLnvkSmRVYYYcexs": { "id": "z2DrjgbJL9MrcAc3wRNJdPgWppFqYZhZ2WotLnvkSmRVYYYcexs", "name": "#inviteKey-z2DrjgbJL9MrcAc3wRNJdPgWppFqYZhZ2WotLnvkSmRVYYYcexs", "purpose": [ "sig" ], "ringLevel": 9007199254740991, "permissions": [ "kr" ], "meta": { "quantity": 60, "expires": 1730662829013, "private": { "content": [ "z2DrjgbGetiCJB4nEJaQLMeAJ9h5YgQaowWaxzat1zE68Qr3xiV", "zUnZ4s+uTSmV2QhyJSYZuWrKz6BV8rlYCo0pkyXIAQywCz90fSzmOoRQtWku0LTfKCfwanKH0htHaZVsUQ3NN77hDwSYAGOXwHMz/YxPSWClr8hQh34sh1D+vmM/J7XaQy0U11tnRHREspesSjsR6UIa3VEa3w6+8nB8gCaPUMhbbh3UEoZ691O7d+71KvnsbdxuF3dIA0FdVeMShO7+lX1ANeBQex4kKx1DMM9cx0CR7DTFgGLulffQBg1zoSFjPM1iqrJw1iUz" ] } }, "data": "[\"edwards25519sha512batch\",\"APrR1CXIvomEDUFK3qyDJCTYwtewcRGUc6fuPK5hb4I=\",null]", "_notBeforeHeight": 0 }, "z2DrjgbFLJokV9JpMnFns5DAz8ZMUXYPCMH7DRj41cQQrCttj3x": { "id": "z2DrjgbFLJokV9JpMnFns5DAz8ZMUXYPCMH7DRj41cQQrCttj3x", "name": "#sak", "purpose": [ "sak" ], "ringLevel": 0, "permissions": [], "allowedActions": [], "meta": { "private": { "content": [ "z2DrjgbGetiCJB4nEJaQLMeAJ9h5YgQaowWaxzat1zE68Qr3xiV", "jCcXKYQrY4XI2NHwB8mSV96B0MomtABY6D8Z40DWfXGW8cg3z8PQ9BEvuQjiV5uOsewKiXDz3enwn6o0FODmBlR6kLXvs4KMQJ7T00scn9J7iC6/SpCM84NxTjqIRdRVTWNhoUE9HJ8d7rGHaat4SN6KBHzuSUmELLN49qxve7SyWyuQFJOp2ui5BRTMosCC8nZIMbUzIiR5cymP+KPXu1wf/5TsuryTSmjso4yK5KAtQjNB1f89DQ1M/Cgm6KlbGegA02eZHBwy" ] } }, "data": "[\"edwards25519sha512batch\",\"PzNbJ9Q5szcyONDZ/ke7v6tSSr6SWTgpJq47PTSAinI=\",null]", "_notBeforeHeight": 0 } }, "invites": { "z2DrjgbJL9MrcAc3wRNJdPgWppFqYZhZ2WotLnvkSmRVYYYcexs": { "status": "valid", "initialQuantity": 60, "quantity": 60, "expires": 1730662829013, "inviteSecret": "[\"edwards25519sha512batch\",null,\"0rd6ElxzeQpMzVZ7bBotoMaiLvL+0tb1izLCTTpSejUA+tHUJci+iYQNQUrerIMkJNjC17BxEZRzp+48rmFvgg==\"]", "responses": [] } } } } } captureLogs.js:37:30 ```

State after group was created:

``` { "currentGroupId": "z9brRu3VRVX5YGo9a9okoH9ETkWaFQvyDr7sApZ1kArXWGJd8gFu", "contracts": { "z9brRu3VQJ3m9Hxm7tkdLs5HTCLzyuHZEz8EVMfugvmkfhnszSfn": { "references": 2, "type": "gi.contracts/identity", "HEAD": "z9brRu3VTp1ip92Q4UbhnMBzcyEKKuqeVYhucovd3KenKxFPDGiM", "height": 5 }, "z9brRu3VRVX5YGo9a9okoH9ETkWaFQvyDr7sApZ1kArXWGJd8gFu": { "type": "gi.contracts/group", "HEAD": "z9brRu3VJ2Jzv1BvSuyFMEDAUXThctj7QFK9c6DxaRCHtTx85RRo", "height": 8, "references": 1 }, "z9brRu3VFSq4YEfDseuxYCbVCPYrfb3Swec1S5yiuqUXeRqezZPt": { "type": "gi.contracts/chatroom", "HEAD": "z9brRu3VGiG6S3NYnE3BDHSTYXCWrWfM9Z94mSyZaMwGMzodF18B", "height": 2, "references": 1 } }, "loggedIn": { "identityContractID": "z9brRu3VQJ3m9Hxm7tkdLs5HTCLzyuHZEz8EVMfugvmkfhnszSfn", "encryptionParams": { "stateEncryptionKeyId": "z2DrjgbBntHrn1ZKCTqGEGrwDHHx8gWotjwHRRox3wgT6beRAm2", "salt": "cbPgKMIlx/LQD0640Au9k3DO", "encryptedStateEncryptionKey": "UuSnof1fZlUzkFdNtty5Q7TpedhkX3TzysvLpRXAggaXbayPYh8Hj3f4ehdDS/AvCaY0YZRzQWQMTgNNDG6pznS+aPgxDpNHC2wcMgsYZAmbz45IAnWsaYC6/AZJhSyOZiaLyWjhhHaPz5Am84vuvMiigvoXyWTs2RoG1/TAXCweMUadjSI5kwWLq7CHzqgJxn0vh/s8OKXtaA==" } }, "namespaceLookups": { "u1": "z9brRu3VQJ3m9Hxm7tkdLs5HTCLzyuHZEz8EVMfugvmkfhnszSfn" }, "reverseNamespaceLookups": { "z9brRu3VQJ3m9Hxm7tkdLs5HTCLzyuHZEz8EVMfugvmkfhnszSfn": "u1" }, "periodicNotificationAlreadyFiredMap": {}, "contractSigningKeys": {}, "lastLoggedIn": {}, "preferences": {}, "notifications": { "items": [], "status": {} }, "settings": { "appLogsFilter": [ "error", "warn", "info", "debug", "log" ], "fontSize": 16, "increasedContrast": false, "notificationEnabled": true, "reducedMotion": false, "theme": "system", "themeColor": "dark" }, "chatroom": { "currentChatRoomIDs": { "z9brRu3VRVX5YGo9a9okoH9ETkWaFQvyDr7sApZ1kArXWGJd8gFu": "z9brRu3VFSq4YEfDseuxYCbVCPYrfb3Swec1S5yiuqUXeRqezZPt" }, "pendingChatRoomIDs": {}, "chatRoomScrollPosition": {}, "unreadMessages": { "z9brRu3VFSq4YEfDseuxYCbVCPYrfb3Swec1S5yiuqUXeRqezZPt": { "readUntil": { "messageHash": "z9brRu3VGiG6S3NYnE3BDHSTYXCWrWfM9Z94mSyZaMwGMzodF18B", "createdHeight": 2 }, "unreadMessages": [] } }, "chatNotificationSettings": {} }, "z9brRu3VQJ3m9Hxm7tkdLs5HTCLzyuHZEz8EVMfugvmkfhnszSfn": { "_vm": { "type": "gi.contracts/identity", "authorizedKeys": { "z2DrjgbM4VhDbxYXcR1mtZh9SvP8m6vNJPTBfjpZfiCxmvc9Ceu": { "id": "z2DrjgbM4VhDbxYXcR1mtZh9SvP8m6vNJPTBfjpZfiCxmvc9Ceu", "name": "ipk", "purpose": [ "sig" ], "ringLevel": 0, "permissions": "*", "allowedActions": "*", "meta": { "private": { "transient": true } }, "data": "[\"edwards25519sha512batch\",\"8qkGnj2xWAUa6lgQzTnK9MPLK+yO1Pv/4SKaalU6aSM=\",null]", "_notBeforeHeight": 0 }, "z2Drjgb9jdDYAxeaKfoEU1vLrvkN312Ei3kGcgdSd1LuYQk4uiw": { "id": "z2Drjgb9jdDYAxeaKfoEU1vLrvkN312Ei3kGcgdSd1LuYQk4uiw", "name": "iek", "purpose": [ "enc" ], "ringLevel": 0, "permissions": [ "gi.contracts/identity/keymeta" ], "meta": { "private": { "transient": true } }, "data": "[\"curve25519xsalsa20poly1305\",\"tvlgFZXWXevXNUY8ZW0WSFJD8zKzF3dJzaqlFSjDH00=\",null]", "_notBeforeHeight": 0 }, "z2Drjgb7nH46zo6KUuB3wXA5DDaRkNrFiubMpqM4s7aQqAk9DLP": { "id": "z2Drjgb7nH46zo6KUuB3wXA5DDaRkNrFiubMpqM4s7aQqAk9DLP", "name": "csk", "purpose": [ "sig" ], "ringLevel": 1, "permissions": [ "ka", "kd", "au", "ae", "a", "ca", "cd", "ks", "ku", "ae#inner" ], "allowedActions": "*", "meta": { "private": { "content": [ "z2Drjgb9jdDYAxeaKfoEU1vLrvkN312Ei3kGcgdSd1LuYQk4uiw", "LZqzU5ZH9eH+YGztScMZfE6SuvolIyLRezAUKAqFm32ApFz2OyHC0629NFEfZcFMCo1fPfrrgnDs4flXpBsXatQV40+KKd4LZjne+0/84n7kFnbat8KEriADosWya/liTl/qAsYU8Emog6tCPI+lGFqTr3XRCf711ee/LLL5R8pjr1mqb9dVW4EXeZ1sRJ58st5CuW2+yUM0WcCU4gFeHpSh2IwsABROj2lSFtbB3qL1XOJY5tufVL9a+eIs4X0JDu7twv+AY4hj" ] } }, "data": "[\"edwards25519sha512batch\",\"PkWPMVVigTyynmjYeyvB6zs2EBpQKdrWlIxWMyv0+Tc=\",null]", "_notBeforeHeight": 0 }, "z2DrjgbEHPLhR1UqAGBPskdhU6QWrqa95unDtsNjcoWYy2qGGKK": { "id": "z2DrjgbEHPLhR1UqAGBPskdhU6QWrqa95unDtsNjcoWYy2qGGKK", "name": "cek", "purpose": [ "enc" ], "ringLevel": 1, "permissions": [ "ae", "ka", "kd", "kr", "krs", "ks", "ku" ], "allowedActions": "*", "meta": { "private": { "content": [ "z2Drjgb9jdDYAxeaKfoEU1vLrvkN312Ei3kGcgdSd1LuYQk4uiw", "TGkKjl+I53Noxn/Ip3ZfFsP803h0qr0BytaPPFlDbhsxjCBSdoOhJENefGUQPojjYt+AXr2a5fLIel52/6pYY3J9EcSwhgZHh8I6C/AtgCa5kh/QdsHU0wltg6NnDbgGr0EilLaFlkWKLqUhfcQiUHrdjIta0PWAtZoCKvUXqp44MwTJW6aMnlQk5z+knDDzvONd54DZH3jxPw7Chg7/eQ==" ] } }, "data": "[\"curve25519xsalsa20poly1305\",\"RM+B+dkvZp5HwJCThipudNqorVIeAFMak56lPIfJQUg=\",null]", "_notBeforeHeight": 0 }, "z2DrjgbBbu4kPUimbjGw5mkxcBBqXowXvKj3Z5ScBrwCDKDpYEb": { "id": "z2DrjgbBbu4kPUimbjGw5mkxcBBqXowXvKj3Z5ScBrwCDKDpYEb", "name": "pek", "purpose": [ "enc" ], "ringLevel": 2, "permissions": [ "ae" ], "allowedActions": [ "gi.actions/identity/setAttributes" ], "meta": { "private": { "content": [ "z2DrjgbEHPLhR1UqAGBPskdhU6QWrqa95unDtsNjcoWYy2qGGKK", "QCpNN9IucB200vuVARzfGgQmhrciZoZ9bD2naFtNjHOPvvdkv42vgX8lIgnfQc3z6ac0G7MB0RBtl8amkP47KBw+0qAo6x1to7Rbc3QekIpdWmv4NnappitCFcChsSSBhnY7SS+vEEu87/3Em8nKicuMVtL+zUoivN2UfnfJaSkKzO9tzaxJjoZbBnXs9CykST1qhdcpFXrAc6aMRr1IVg==" ] } }, "data": "[\"curve25519xsalsa20poly1305\",\"zs4QJGPQTSfdChz99BT0VBJR9XAuU/eEyjfsBrMfjGI=\",null]", "_notBeforeHeight": 0 }, "z2Drjgb7yA6R3p91w7b4xxZv6935aZH8EFwKebcwufHyGTEdbSX": { "id": "z2Drjgb7yA6R3p91w7b4xxZv6935aZH8EFwKebcwufHyGTEdbSX", "name": "#sak", "purpose": [ "sak" ], "ringLevel": 0, "permissions": [], "allowedActions": [], "meta": { "private": { "content": [ "z2Drjgb9jdDYAxeaKfoEU1vLrvkN312Ei3kGcgdSd1LuYQk4uiw", "JWPk9ESFJxUuLxhU1vzAmXcVGgInV2cgtNg9kuZoIRW2FD7OOvNlvvqGyQGUj7V8EEyZBkVN7GxGaYdbS9DXIZ+jKMjdj2uXSvfGCTyvV3Vw9FobEOvkgYU8xleDNZnRAJzDBgX3ISoS6eWMVniIexaGWb+ei+P3Mpq0xOCc2DvLsad/FJkSKKhJwhfZKTGUtIluCU91bQUq/hkfgbrs7DI2hC2Zeie49Ne5i1qUhgIzRyUDKVrtnsIYaretdDzOuXOtvmiIukgB" ] } }, "data": "[\"edwards25519sha512batch\",\"inh8n6NEolSN7/Bg78STfDIdhAeSrx/iS7DfxAaQUas=\",null]", "_notBeforeHeight": 0 }, "z2Drjgb8pwnJBMyXENa9qB193HqQnXCwYHtnFsM2nE9CpjLcfky": { "id": "z2Drjgb8pwnJBMyXENa9qB193HqQnXCwYHtnFsM2nE9CpjLcfky", "name": "#krrk-z2Drjgb8pwnJBMyXENa9qB193HqQnXCwYHtnFsM2nE9CpjLcfky", "purpose": [ "sig" ], "ringLevel": 9007199254740991, "permissions": [ "ae", "ks" ], "allowedActions": [ "gi.contracts/identity/joinDirectMessage" ], "meta": { "private": { "content": [ "z2DrjgbEHPLhR1UqAGBPskdhU6QWrqa95unDtsNjcoWYy2qGGKK", "M9H+tAZOtrhnD7GJUyNbVd5c/7La+o61jdxD+UTuLkSyZFpY20m3I4ypMg3CUSwQ2FDIpDRWX3N4PQaCYIo4008IAJffn2NgM+gWJDhCig0eQhVljqRjvqAmM9wJLADRp07rXdfjf4FGOEJVGNseqwFTFyIXGrknrQ9NAK8yq0cN65/DTM5Z7+v7cF850WjITKMnjuDZC+shdLvq7JmMHkdhRq/3GHDC5gvS67aL1zC43ROSC94pzHOyVfPpjqdXmpjavVHbONqk" ], "shareable": false }, "keyRequest": { "reference": "z9brRu3VG1neU11Ft9iZzMfLaxxCNLrBpNrERoQj5k4DCQELLxE5", "contractID": "z9brRu3VRVX5YGo9a9okoH9ETkWaFQvyDr7sApZ1kArXWGJd8gFu", "responded": "z9brRu3VVYrf3KEUAaF6cBMg7Tnm698E2FL8XXQaB9GRN8GKrdRt" } }, "data": "[\"edwards25519sha512batch\",\"8TetBMQNeBR11pQu1CakN3rVuqNftLJp6ry021TtyYM=\",null]", "_notBeforeHeight": 3 }, "z2Drjgb4u65dwXhHKXnyHiZouFyXhKZuKf4XWLxVcetd9MwvELr": { "foreignKey": "sp:z9brRu3VRVX5YGo9a9okoH9ETkWaFQvyDr7sApZ1kArXWGJd8gFu?keyName=csk", "id": "z2Drjgb4u65dwXhHKXnyHiZouFyXhKZuKf4XWLxVcetd9MwvELr", "data": "[\"edwards25519sha512batch\",\"/gXH6mkLMHC3jQT1m/jiKtyE1xRxU0qp1/MCBABsEZA=\",null]", "permissions": [ "ae#inner" ], "allowedActions": [ "gi.contracts/identity/joinDirectMessage#inner" ], "purpose": [ "sig" ], "ringLevel": 9007199254740991, "name": "z9brRu3VRVX5YGo9a9okoH9ETkWaFQvyDr7sApZ1kArXWGJd8gFu/z2Drjgb4u65dwXhHKXnyHiZouFyXhKZuKf4XWLxVcetd9MwvELr", "_private": "z2DrjgbEHPLhR1UqAGBPskdhU6QWrqa95unDtsNjcoWYy2qGGKK", "_notBeforeHeight": 5 } }, "sharedKeyIds": [ { "id": "z2Drjgb4u65dwXhHKXnyHiZouFyXhKZuKf4XWLxVcetd9MwvELr", "contractID": "z9brRu3VRVX5YGo9a9okoH9ETkWaFQvyDr7sApZ1kArXWGJd8gFu", "height": 4, "keyRequestHash": "z9brRu3VUmbxKdP3gpcnzzcivZNsSCGZdSG7jVn4BVLKpwjg8rxJ", "keyRequestHeight": 2 }, { "id": "z2DrjgbGetiCJB4nEJaQLMeAJ9h5YgQaowWaxzat1zE68Qr3xiV", "contractID": "z9brRu3VRVX5YGo9a9okoH9ETkWaFQvyDr7sApZ1kArXWGJd8gFu", "height": 4, "keyRequestHash": "z9brRu3VUmbxKdP3gpcnzzcivZNsSCGZdSG7jVn4BVLKpwjg8rxJ", "keyRequestHeight": 2 } ], "pendingWatch": { "z9brRu3VRVX5YGo9a9okoH9ETkWaFQvyDr7sApZ1kArXWGJd8gFu": [ [ "csk", "z2Drjgb4u65dwXhHKXnyHiZouFyXhKZuKf4XWLxVcetd9MwvELr" ] ] } }, "settings": {}, "attributes": { "username": "u1", "picture": { "manifestCid": "z9brRu3VKmxzFtgRUA6g4uG9MtxcS8nJXAF54ktxrCWnDLotCa3n", "downloadParams": { "IKM": "I25MQL922wmgiwVEAr8jboGxAW0i5CxrQr+GewLtq8+R", "rs": 65536 } } }, "chatRooms": {}, "groups": { "z9brRu3VRVX5YGo9a9okoH9ETkWaFQvyDr7sApZ1kArXWGJd8gFu": { "hash": "z9brRu3VG1neU11Ft9iZzMfLaxxCNLrBpNrERoQj5k4DCQELLxE5", "inviteSecretId": "z2Drjgb4u65dwXhHKXnyHiZouFyXhKZuKf4XWLxVcetd9MwvELr" } }, "fileDeleteTokens": {}, "_volatile": { "watch": [ [ "csk", "z9brRu3VRVX5YGo9a9okoH9ETkWaFQvyDr7sApZ1kArXWGJd8gFu" ] ] } }, "idleVue": { "isIdle": false }, "z9brRu3VRVX5YGo9a9okoH9ETkWaFQvyDr7sApZ1kArXWGJd8gFu": { "_vm": { "type": "gi.contracts/group", "authorizedKeys": { "z2Drjgb4u65dwXhHKXnyHiZouFyXhKZuKf4XWLxVcetd9MwvELr": { "id": "z2Drjgb4u65dwXhHKXnyHiZouFyXhKZuKf4XWLxVcetd9MwvELr", "name": "csk", "purpose": [ "sig" ], "ringLevel": 1, "permissions": "*", "allowedActions": "*", "meta": { "private": { "content": [ "z2DrjgbGetiCJB4nEJaQLMeAJ9h5YgQaowWaxzat1zE68Qr3xiV", "ERq3MwrhexaCam07nbwfxruEYcxc6Fjd68tYc5t5WUu3IBgTAdS3P4mMjAMa5HdLMthi6SNVMB5Bdw0dZGRuX4D/mQvJqtHKXuoIcXO4/c44CokcU99LEEA8gyGYtezj/UiftT+yqlhMG4Ijb1BLVsGuHGblZXnhAV2ervjnxWkxcDQv3Hrpm6QTiqI06p3DPB3VF6+KkT+2eEnruPxx2xiwHlCleKIJfQ1IoCGKegC/8pOfZrV33TbnFf5qYNlXbZkTwttMTXJE" ], "shareable": true } }, "data": "[\"edwards25519sha512batch\",\"/gXH6mkLMHC3jQT1m/jiKtyE1xRxU0qp1/MCBABsEZA=\",null]", "_notBeforeHeight": 0 }, "z2DrjgbGetiCJB4nEJaQLMeAJ9h5YgQaowWaxzat1zE68Qr3xiV": { "id": "z2DrjgbGetiCJB4nEJaQLMeAJ9h5YgQaowWaxzat1zE68Qr3xiV", "name": "cek", "purpose": [ "enc" ], "ringLevel": 1, "permissions": "*", "allowedActions": "*", "meta": { "private": { "content": [ "z2DrjgbGetiCJB4nEJaQLMeAJ9h5YgQaowWaxzat1zE68Qr3xiV", "kXOYqfun89OSWRS8UIi9dQG3lBbz7GlTYiFQ40WNtxrLWZwdCiVKXQEsmhv6wO8BZnOA/trtNaTmj7rbG0IYn+pwSMbrvA3kQrQBdDKdwjZcDVDPtTyZrHyTWCRGPBj1EAdyUp6h4o9RoGn20TvrgXx9DbZeJnQzR/p05AFbCNT6StZDEMZjq7PcGV2zI8+rA+7klMQq0y3T2Ex5D683QA==" ], "shareable": true } }, "data": "[\"curve25519xsalsa20poly1305\",\"TnnyihGf/t3H+b3t/rckOGsZ/cBlLL4EOiy326Jjqwo=\",null]", "_notBeforeHeight": 0 }, "z2DrjgbJL9MrcAc3wRNJdPgWppFqYZhZ2WotLnvkSmRVYYYcexs": { "id": "z2DrjgbJL9MrcAc3wRNJdPgWppFqYZhZ2WotLnvkSmRVYYYcexs", "name": "#inviteKey-z2DrjgbJL9MrcAc3wRNJdPgWppFqYZhZ2WotLnvkSmRVYYYcexs", "purpose": [ "sig" ], "ringLevel": 9007199254740991, "permissions": [ "kr" ], "meta": { "quantity": 60, "expires": 1730662829013, "private": { "content": [ "z2DrjgbGetiCJB4nEJaQLMeAJ9h5YgQaowWaxzat1zE68Qr3xiV", "zUnZ4s+uTSmV2QhyJSYZuWrKz6BV8rlYCo0pkyXIAQywCz90fSzmOoRQtWku0LTfKCfwanKH0htHaZVsUQ3NN77hDwSYAGOXwHMz/YxPSWClr8hQh34sh1D+vmM/J7XaQy0U11tnRHREspesSjsR6UIa3VEa3w6+8nB8gCaPUMhbbh3UEoZ691O7d+71KvnsbdxuF3dIA0FdVeMShO7+lX1ANeBQex4kKx1DMM9cx0CR7DTFgGLulffQBg1zoSFjPM1iqrJw1iUz" ] } }, "data": "[\"edwards25519sha512batch\",\"APrR1CXIvomEDUFK3qyDJCTYwtewcRGUc6fuPK5hb4I=\",null]", "_notBeforeHeight": 0 }, "z2DrjgbFLJokV9JpMnFns5DAz8ZMUXYPCMH7DRj41cQQrCttj3x": { "id": "z2DrjgbFLJokV9JpMnFns5DAz8ZMUXYPCMH7DRj41cQQrCttj3x", "name": "#sak", "purpose": [ "sak" ], "ringLevel": 0, "permissions": [], "allowedActions": [], "meta": { "private": { "content": [ "z2DrjgbGetiCJB4nEJaQLMeAJ9h5YgQaowWaxzat1zE68Qr3xiV", "jCcXKYQrY4XI2NHwB8mSV96B0MomtABY6D8Z40DWfXGW8cg3z8PQ9BEvuQjiV5uOsewKiXDz3enwn6o0FODmBlR6kLXvs4KMQJ7T00scn9J7iC6/SpCM84NxTjqIRdRVTWNhoUE9HJ8d7rGHaat4SN6KBHzuSUmELLN49qxve7SyWyuQFJOp2ui5BRTMosCC8nZIMbUzIiR5cymP+KPXu1wf/5TsuryTSmjso4yK5KAtQjNB1f89DQ1M/Cgm6KlbGegA02eZHBwy" ] } }, "data": "[\"edwards25519sha512batch\",\"PzNbJ9Q5szcyONDZ/ke7v6tSSr6SWTgpJq47PTSAinI=\",null]", "_notBeforeHeight": 0 }, "z2Drjgb7nH46zo6KUuB3wXA5DDaRkNrFiubMpqM4s7aQqAk9DLP": { "foreignKey": "sp:z9brRu3VQJ3m9Hxm7tkdLs5HTCLzyuHZEz8EVMfugvmkfhnszSfn?keyName=csk", "id": "z2Drjgb7nH46zo6KUuB3wXA5DDaRkNrFiubMpqM4s7aQqAk9DLP", "data": "[\"edwards25519sha512batch\",\"PkWPMVVigTyynmjYeyvB6zs2EBpQKdrWlIxWMyv0+Tc=\",null]", "permissions": [ "ae#inner" ], "allowedActions": "*", "purpose": [ "sig" ], "ringLevel": 9007199254740991, "name": "z9brRu3VQJ3m9Hxm7tkdLs5HTCLzyuHZEz8EVMfugvmkfhnszSfn/z2Drjgb7nH46zo6KUuB3wXA5DDaRkNrFiubMpqM4s7aQqAk9DLP", "_private": "z2DrjgbGetiCJB4nEJaQLMeAJ9h5YgQaowWaxzat1zE68Qr3xiV", "_notBeforeHeight": 6 } }, "invites": { "z2DrjgbJL9MrcAc3wRNJdPgWppFqYZhZ2WotLnvkSmRVYYYcexs": { "status": "valid", "initialQuantity": 60, "quantity": 60, "expires": 1730662829013, "inviteSecret": "[\"edwards25519sha512batch\",null,\"0rd6ElxzeQpMzVZ7bBotoMaiLvL+0tb1izLCTTpSejUA+tHUJci+iYQNQUrerIMkJNjC17BxEZRzp+48rmFvgg==\"]", "responses": [] } }, "pendingKeyshares": {}, "sharedKeyIds": [ { "id": "z2Drjgb8pwnJBMyXENa9qB193HqQnXCwYHtnFsM2nE9CpjLcfky", "contractID": "z9brRu3VQJ3m9Hxm7tkdLs5HTCLzyuHZEz8EVMfugvmkfhnszSfn", "height": 3 }, { "id": "z2DrjgbBbu4kPUimbjGw5mkxcBBqXowXvKj3Z5ScBrwCDKDpYEb", "contractID": "z9brRu3VQJ3m9Hxm7tkdLs5HTCLzyuHZEz8EVMfugvmkfhnszSfn", "height": 4 } ], "pendingWatch": { "z9brRu3VQJ3m9Hxm7tkdLs5HTCLzyuHZEz8EVMfugvmkfhnszSfn": [] } }, "payments": {}, "paymentsByPeriod": { "2024-09-07T00:00:00.000Z": { "start": "2024-09-07T00:00:00.000Z", "end": "2024-10-07T00:00:00.000Z", "initialCurrency": "USD", "mincomeExchangeRate": 1, "paymentsFrom": {}, "lastAdjustedDistribution": null, "haveNeedsSnapshot": null } }, "thankYousFrom": {}, "invites": { "z2DrjgbJL9MrcAc3wRNJdPgWppFqYZhZ2WotLnvkSmRVYYYcexs": { "creatorID": "invite-initial-creator", "inviteKeyId": "z2DrjgbJL9MrcAc3wRNJdPgWppFqYZhZ2WotLnvkSmRVYYYcexs" } }, "proposals": {}, "settings": { "distributionPeriodLength": 2592000000, "inviteExpiryOnboarding": 30, "inviteExpiryProposal": 7, "allowPublicChannels": false, "groupName": "asdf", "groupPicture": { "manifestCid": "z9brRu3VQYy8Y8P4k2gfjDDc5W775pV5DaDSXHL999C7AK8rSRwg", "downloadParams": { "IKM": "YGvIbUrddZaOUbbhcYMftiVWAKkN623UoXZLaAo3ec+5", "rs": 65536 } }, "sharedValues": "", "mincomeAmount": 1000, "mincomeCurrency": "USD", "distributionDate": "2024-10-07T00:00:00.000Z", "minimizeDistribution": true, "proposals": { "group-setting-change": { "rule": "percentage", "expires_ms": 1209600000, "ruleSettings": { "percentage": { "threshold": 0.66 }, "disagreement": { "threshold": 1 } } }, "invite-member": { "rule": "percentage", "expires_ms": 1209600000, "ruleSettings": { "percentage": { "threshold": 0.66 }, "disagreement": { "threshold": 1 } } }, "remove-member": { "rule": "percentage", "expires_ms": 1209600000, "ruleSettings": { "percentage": { "threshold": 0.66 }, "disagreement": { "threshold": 1 } } }, "proposal-setting-change": { "rule": "percentage", "expires_ms": 1209600000, "ruleSettings": { "percentage": { "threshold": 0.66 }, "disagreement": { "threshold": 1 } } }, "generic": { "rule": "percentage", "expires_ms": 1209600000, "ruleSettings": { "percentage": { "threshold": 0.66 }, "disagreement": { "threshold": 1 } } } } }, "streaks": { "lastStreakPeriod": null, "fullMonthlyPledges": 0, "fullMonthlySupport": 0, "onTimePayments": {}, "missedPayments": {}, "noVotes": {} }, "profiles": { "z9brRu3VQJ3m9Hxm7tkdLs5HTCLzyuHZEz8EVMfugvmkfhnszSfn": { "globalUsername": "", "joinedDate": "2024-10-04T19:41:05.841Z", "joinedHeight": 7, "reference": "z9brRu3VG1neU11Ft9iZzMfLaxxCNLrBpNrERoQj5k4DCQELLxE5", "nonMonetaryContributions": [], "status": "active", "departedDate": null, "incomeDetailsLastUpdatedDate": null } }, "chatRooms": { "z9brRu3VFSq4YEfDseuxYCbVCPYrfb3Swec1S5yiuqUXeRqezZPt": { "creatorID": "z9brRu3VRVX5YGo9a9okoH9ETkWaFQvyDr7sApZ1kArXWGJd8gFu", "name": "general", "description": "", "type": "group", "privacyLevel": "group", "deletedDate": null, "members": { "z9brRu3VQJ3m9Hxm7tkdLs5HTCLzyuHZEz8EVMfugvmkfhnszSfn": { "status": "active", "joinedHeight": 8 } } } }, "totalPledgeAmount": 0, "groupOwnerID": "z9brRu3VQJ3m9Hxm7tkdLs5HTCLzyuHZEz8EVMfugvmkfhnszSfn", "waitingPeriod": "2024-09-07T00:00:00.000Z", "_volatile": { "pendingKeyRequests": [], "watch": [ [ "csk", "z9brRu3VFSq4YEfDseuxYCbVCPYrfb3Swec1S5yiuqUXeRqezZPt" ], [ "cek", "z9brRu3VFSq4YEfDseuxYCbVCPYrfb3Swec1S5yiuqUXeRqezZPt" ], [ "csk", "z9brRu3VQJ3m9Hxm7tkdLs5HTCLzyuHZEz8EVMfugvmkfhnszSfn" ] ] }, "generalChatRoomId": "z9brRu3VFSq4YEfDseuxYCbVCPYrfb3Swec1S5yiuqUXeRqezZPt" }, "z9brRu3VFSq4YEfDseuxYCbVCPYrfb3Swec1S5yiuqUXeRqezZPt": { "_vm": { "type": "gi.contracts/chatroom", "authorizedKeys": { "z2Drjgb4u65dwXhHKXnyHiZouFyXhKZuKf4XWLxVcetd9MwvELr": { "id": "z2Drjgb4u65dwXhHKXnyHiZouFyXhKZuKf4XWLxVcetd9MwvELr", "name": "csk", "purpose": [ "sig" ], "ringLevel": 0, "permissions": "*", "allowedActions": "*", "foreignKey": "sp:z9brRu3VRVX5YGo9a9okoH9ETkWaFQvyDr7sApZ1kArXWGJd8gFu?keyName=csk", "data": "[\"edwards25519sha512batch\",\"/gXH6mkLMHC3jQT1m/jiKtyE1xRxU0qp1/MCBABsEZA=\",null]", "_notBeforeHeight": 0 }, "z2DrjgbGetiCJB4nEJaQLMeAJ9h5YgQaowWaxzat1zE68Qr3xiV": { "id": "z2DrjgbGetiCJB4nEJaQLMeAJ9h5YgQaowWaxzat1zE68Qr3xiV", "name": "cek", "purpose": [ "enc" ], "ringLevel": 0, "permissions": [ "ae" ], "allowedActions": "*", "foreignKey": "sp:z9brRu3VRVX5YGo9a9okoH9ETkWaFQvyDr7sApZ1kArXWGJd8gFu?keyName=cek", "data": "[\"curve25519xsalsa20poly1305\",\"TnnyihGf/t3H+b3t/rckOGsZ/cBlLL4EOiy326Jjqwo=\",null]", "_notBeforeHeight": 0 }, "z2DrjgbLEWr75nFMEKNNsJBp5NEToprqgPBLhC3sV5n8ujzAwTK": { "id": "z2DrjgbLEWr75nFMEKNNsJBp5NEToprqgPBLhC3sV5n8ujzAwTK", "name": "#sak", "purpose": [ "sak" ], "ringLevel": 0, "permissions": [], "allowedActions": [], "meta": { "private": { "content": [ "z2DrjgbGetiCJB4nEJaQLMeAJ9h5YgQaowWaxzat1zE68Qr3xiV", "xv0OTfqwasSJT62WF84C2V1c18D+nGqDdTmW8/qQJHMmRGFnOvRX21UDP58oIwa3DnGd0yBkJQmJtkX4frBDIqaOM0xSHvpvx0/nXfffnMKDmadcKJrTf4uNCeMaAUZ5Kod8deNaQqepkacL/kErsebO67fDTMsmuSiahd9C4Wjq4zS3VXC0NcVLwyAh2f3k2Ohvv3ghxlYJWfwctPR0vpICAryBPrjbtfGyjqnCwRA6hy6dqqq1BMX39rDJY9Y/l+z5Ve0OtaT7" ] } }, "data": "[\"edwards25519sha512batch\",\"Mp2lYkwONzDvXH68jTzos7SYy4w6IRca7UXRxzTmD3o=\",null]", "_notBeforeHeight": 0 }, "z2Drjgb7nH46zo6KUuB3wXA5DDaRkNrFiubMpqM4s7aQqAk9DLP": { "foreignKey": "sp:z9brRu3VQJ3m9Hxm7tkdLs5HTCLzyuHZEz8EVMfugvmkfhnszSfn?keyName=csk", "id": "z2Drjgb7nH46zo6KUuB3wXA5DDaRkNrFiubMpqM4s7aQqAk9DLP", "data": "[\"edwards25519sha512batch\",\"PkWPMVVigTyynmjYeyvB6zs2EBpQKdrWlIxWMyv0+Tc=\",null]", "permissions": [ "ae#inner" ], "allowedActions": "*", "purpose": [ "sig" ], "ringLevel": 9007199254740991, "name": "z9brRu3VQJ3m9Hxm7tkdLs5HTCLzyuHZEz8EVMfugvmkfhnszSfn/z2Drjgb7nH46zo6KUuB3wXA5DDaRkNrFiubMpqM4s7aQqAk9DLP", "_private": "z2DrjgbGetiCJB4nEJaQLMeAJ9h5YgQaowWaxzat1zE68Qr3xiV", "_notBeforeHeight": 2 } }, "pendingWatch": { "z9brRu3VRVX5YGo9a9okoH9ETkWaFQvyDr7sApZ1kArXWGJd8gFu": [], "z9brRu3VQJ3m9Hxm7tkdLs5HTCLzyuHZEz8EVMfugvmkfhnszSfn": [ [ "csk", "z2Drjgb7nH46zo6KUuB3wXA5DDaRkNrFiubMpqM4s7aQqAk9DLP" ] ] } }, "settings": { "actionsPerPage": 40, "maxNameLength": 50, "maxDescriptionLength": 280 }, "attributes": { "adminIDs": [], "deletedDate": null, "name": "general", "type": "group", "description": "", "privacyLevel": "group", "creatorID": "z9brRu3VQJ3m9Hxm7tkdLs5HTCLzyuHZEz8EVMfugvmkfhnszSfn" }, "members": { "z9brRu3VQJ3m9Hxm7tkdLs5HTCLzyuHZEz8EVMfugvmkfhnszSfn": { "joinedDate": "2024-10-04T19:41:07.816Z", "joinedHeight": 2 } }, "messages": [ { "type": "notification", "hash": "z9brRu3VGiG6S3NYnE3BDHSTYXCWrWfM9Z94mSyZaMwGMzodF18B", "height": 2, "from": "z9brRu3VQJ3m9Hxm7tkdLs5HTCLzyuHZEz8EVMfugvmkfhnszSfn", "datetime": "2024-10-04T19:41:07.816Z", "notification": { "type": "join-member", "params": { "channelName": "general", "channelDescription": "", "memberID": "z9brRu3VQJ3m9Hxm7tkdLs5HTCLzyuHZEz8EVMfugvmkfhnszSfn" } } } ], "pinnedMessages": [] } } captureLogs.js:37:30 ```

📎 join-half-failure-half-success.txt.zip

taoeffect commented 3 weeks ago

I've figured out how to guarantee brokenness.

Since it seems like sometimes it's only "temporarily" broken when that sendMsg bug hits (see previous comment), I refresh the page while it's broken and then get this:

Screenshot 2024-10-04 at 1 04 57 PM

Here's the logs from this: better-failure.txt.zip

And here's the state:

``` { "currentGroupId": "z9brRu3VVSSJHCr44cF667ZNVzgQzHoGCng9VNpbmEVKV7ksYNJZ", "contracts": { "z9brRu3VGx2vJMjiDC9eeEQxQndKwfj2hikWE3oGifUeq6GFEeq6": { "references": 1, "type": "gi.contracts/identity", "HEAD": "z9brRu3VGZ1r5EoENo2v6MUVgs6zgeDUe3JTdQTXazagYrVvxiwR", "height": 2 }, "z9brRu3VVSSJHCr44cF667ZNVzgQzHoGCng9VNpbmEVKV7ksYNJZ": { "type": "gi.contracts/group", "HEAD": "z9brRu3VU5R22qZB8jd3mMmcigtyhy3QMSP6a2RJu6woPrBQmvRh", "height": 1, "references": 1 } }, "loggedIn": { "identityContractID": "z9brRu3VGx2vJMjiDC9eeEQxQndKwfj2hikWE3oGifUeq6GFEeq6", "encryptionParams": { "stateEncryptionKeyId": "z2Drjgb8AsgfKmoVYNKGMrz5QZUhYVsmFmohAPbT66vXYnti1sH", "salt": "/oMrWKMInvVh8fgkFJ19e2m+", "encryptedStateEncryptionKey": "+MUHn8WYk+T0OA4iZTNURAoHlg0mTay/M5eBw/TiezlrNBsaD+PcRvpDv2F/VVqImoAPpC8Rt1x3yFmcexrCQjKaVLngJiutFvjZp8zA9L8tT2TMX1IeqcIzex92+V+08ID97h5rwfOKMwTnVwnIO9b4Pb7nZuhCmKkaDqUtZcTvCpBsC1cZFqCEH3QsQ9Ht4NUCbdiv3Oc5SQ==" } }, "namespaceLookups": { "u1": "z9brRu3VGx2vJMjiDC9eeEQxQndKwfj2hikWE3oGifUeq6GFEeq6" }, "reverseNamespaceLookups": { "z9brRu3VGx2vJMjiDC9eeEQxQndKwfj2hikWE3oGifUeq6GFEeq6": "u1" }, "periodicNotificationAlreadyFiredMap": {}, "contractSigningKeys": {}, "lastLoggedIn": { "z9brRu3VVSSJHCr44cF667ZNVzgQzHoGCng9VNpbmEVKV7ksYNJZ": {} }, "preferences": {}, "notifications": { "items": [], "status": {} }, "settings": { "appLogsFilter": [ "error", "warn", "info", "debug", "log" ], "fontSize": 16, "increasedContrast": false, "notificationEnabled": true, "reducedMotion": false, "theme": "system", "themeColor": "dark" }, "chatroom": { "currentChatRoomIDs": {}, "pendingChatRoomIDs": {}, "chatRoomScrollPosition": {}, "unreadMessages": {}, "chatNotificationSettings": {} }, "idleVue": { "isIdle": false }, "z9brRu3VGx2vJMjiDC9eeEQxQndKwfj2hikWE3oGifUeq6GFEeq6": { "_vm": { "type": "gi.contracts/identity", "authorizedKeys": { "z2DrjgbDFwKHZ6SfsnXfMW4wSzKBAvaekMFj4ZFKtBjimBQMypF": { "id": "z2DrjgbDFwKHZ6SfsnXfMW4wSzKBAvaekMFj4ZFKtBjimBQMypF", "name": "ipk", "purpose": [ "sig" ], "ringLevel": 0, "permissions": "*", "allowedActions": "*", "meta": { "private": { "transient": true } }, "data": "[\"edwards25519sha512batch\",\"oHBVGXaDX1j9Q4uAQnS3RKJsKVLHfU5YQAA0vHH0Wp4=\",null]", "_notBeforeHeight": 0 }, "z2Drjgb9gqxdF3cKkaVFz7uZoC7DchaKZdR5r6ck4mUWNDnKLX6": { "id": "z2Drjgb9gqxdF3cKkaVFz7uZoC7DchaKZdR5r6ck4mUWNDnKLX6", "name": "iek", "purpose": [ "enc" ], "ringLevel": 0, "permissions": [ "gi.contracts/identity/keymeta" ], "meta": { "private": { "transient": true } }, "data": "[\"curve25519xsalsa20poly1305\",\"++SAQJGxDhZJflXWZzEYC/+r3YjSUMh7GONl83KZHlY=\",null]", "_notBeforeHeight": 0 }, "z2DrjgbBFaM3zEgqMnCm6R7fCJk3MuzDnWBo8Gpg9z4zeNTipnm": { "id": "z2DrjgbBFaM3zEgqMnCm6R7fCJk3MuzDnWBo8Gpg9z4zeNTipnm", "name": "csk", "purpose": [ "sig" ], "ringLevel": 1, "permissions": [ "ka", "kd", "au", "ae", "a", "ca", "cd", "ks", "ku", "ae#inner" ], "allowedActions": "*", "meta": { "private": { "content": [ "z2Drjgb9gqxdF3cKkaVFz7uZoC7DchaKZdR5r6ck4mUWNDnKLX6", "oIRSaMNqLdqYD/52XDkM+AKWBUSQhsf1YyZGAkv+pgatj5LyZA1mTiyqoLYi+Bgqm2Et7hz8jD/iE29zfbsmOMysNoEya5mQa4c0NTX1qCtUfyo93V4Q62CvJYkZtV82BUivHrvHjpX2xkxKKeM+6e6wM6hhx15Lo8ZcQtkKIsG10NTs1lwvhnwjTUpf9J8nTqAFdLmTqZvGpwfqRWJxZV5nd9x29LsSUpLbyCWpWSR3E9mpiHBVve26XOfUb/eP9oOhL1BWz7iM" ] } }, "data": "[\"edwards25519sha512batch\",\"1cd6NgIKamzxmf7bQzzYDfKlCkOg3gXJCM5iCciRzd4=\",null]", "_notBeforeHeight": 0 }, "z2DrjgbCHpfqnFpWETdkyobKqK4xGxPTuW6UYxqrTN4nL2ySAta": { "id": "z2DrjgbCHpfqnFpWETdkyobKqK4xGxPTuW6UYxqrTN4nL2ySAta", "name": "cek", "purpose": [ "enc" ], "ringLevel": 1, "permissions": [ "ae", "ka", "kd", "kr", "krs", "ks", "ku" ], "allowedActions": "*", "meta": { "private": { "content": [ "z2Drjgb9gqxdF3cKkaVFz7uZoC7DchaKZdR5r6ck4mUWNDnKLX6", "Llu88paqJLoCFJ2H4P3nk0Oe5yEyz2kSDn7hnxzSVnS1FhHhGlDyCROnF9XxRz3RfWf6+io/0ryTtnFMHBPOnM8AxDxLYkr0PNPDtavF/7vEDwhqhuAOwAwipp9pmGRiGppqGy4S2fwZu4YMA6PiLBZFmiy9d0CSuJz5aSwY24h4NF7n08SqZuy54c3Ke9vrq21u/UbEa0UnvfVLymRNng==" ] } }, "data": "[\"curve25519xsalsa20poly1305\",\"ToqrHSV9aFgrVYp9+p4rWb+86YbJX2oBHqbxH0gLC14=\",null]", "_notBeforeHeight": 0 }, "z2Drjgb8f2NtCQcMifyzjnnbdXWsEZQP2BKFpT5wwuSNL1Mf1sx": { "id": "z2Drjgb8f2NtCQcMifyzjnnbdXWsEZQP2BKFpT5wwuSNL1Mf1sx", "name": "pek", "purpose": [ "enc" ], "ringLevel": 2, "permissions": [ "ae" ], "allowedActions": [ "gi.actions/identity/setAttributes" ], "meta": { "private": { "content": [ "z2DrjgbCHpfqnFpWETdkyobKqK4xGxPTuW6UYxqrTN4nL2ySAta", "K+SgOvjg2g88P+14mYYFz1OYu/AkkI7afZqplVu/rUSunys9KxQScG+/g+ThC1B8GD94EvLXWFL42Hp2FxV8lWIC6Iw6clu4tQmIuOohKGP4Abe69khoR4e+MILcFxvEUZYAOEN2hyeY1WFIIo9N8+wCiJqaoAKycC4EZAiuJbJy3wStWnqLXLWY+vcd7J6WoI8CDJlIIh8Q+1jSgn6iIQ==" ] } }, "data": "[\"curve25519xsalsa20poly1305\",\"vd3XG1XsJOhV1dz5WankWN4rvLaFPbeSkqeQkIbz42c=\",null]", "_notBeforeHeight": 0 }, "z2DrjgbCZ1Re86Cwo44z5fdmZtUZz95pvhRMNsckLepQjm5BHQk": { "id": "z2DrjgbCZ1Re86Cwo44z5fdmZtUZz95pvhRMNsckLepQjm5BHQk", "name": "#sak", "purpose": [ "sak" ], "ringLevel": 0, "permissions": [], "allowedActions": [], "meta": { "private": { "content": [ "z2Drjgb9gqxdF3cKkaVFz7uZoC7DchaKZdR5r6ck4mUWNDnKLX6", "2r3i/51kMrgfRo/RuYwjqOC+63m7d2B7ngWNwEmqPlZE7zIrHBNRe2EBc7ujmOsXR5wHB7qSeefeDDrR4W056+PIkImX/TZ6FGWNG7TkF2oWsQfaC4tC6aqX/OCEIVGEjvC1FDAag35ZZBxi9REWzRjqfYBzWFRaBsrhDFDNs98BUtr9NNUO1W6zVgC5XpOvVVXdeSGm7arF5E4ILdlUJyEUdoYJvmd9+mH1Rda4D9fr/Ssb60wtmiJt3psJe2hC6wuiyfVpp38C" ] } }, "data": "[\"edwards25519sha512batch\",\"PAfC35A1J5kuUMcIMq5pfCkYI9Wg+0/mOpgsT+r4hzk=\",null]", "_notBeforeHeight": 0 } } }, "settings": {}, "attributes": { "username": "u1", "picture": { "manifestCid": "z9brRu3VTZmYPRA6kxxnTnRPYiWnSFg6j6fXa6GbnLyQvea2663w", "downloadParams": { "IKM": "VAutuH3mhsJjuM+uPBHgI3h2YbB4Lb3ibex4dW/yzE9B", "rs": 65536 } } }, "chatRooms": {}, "groups": { "z9brRu3VVSSJHCr44cF667ZNVzgQzHoGCng9VNpbmEVKV7ksYNJZ": { "hash": "z9brRu3VGZ1r5EoENo2v6MUVgs6zgeDUe3JTdQTXazagYrVvxiwR", "inviteSecretId": "z2DrjgbHR4N4Hm59NH8iYzF9jaUPdeeXLmSJBdLZk9HS5qbkB8D" } }, "fileDeleteTokens": {} }, "z9brRu3VVSSJHCr44cF667ZNVzgQzHoGCng9VNpbmEVKV7ksYNJZ": { "_vm": { "type": "gi.contracts/group", "authorizedKeys": { "z2DrjgbHR4N4Hm59NH8iYzF9jaUPdeeXLmSJBdLZk9HS5qbkB8D": { "id": "z2DrjgbHR4N4Hm59NH8iYzF9jaUPdeeXLmSJBdLZk9HS5qbkB8D", "name": "csk", "purpose": [ "sig" ], "ringLevel": 1, "permissions": "*", "allowedActions": "*", "meta": { "private": { "content": [ "z2Drjgb7PxR9K9vgeiQuJVV2hcvnz53fwgJvEVm4cXvsFfYfC7a", "Og1SF9hzOfP1rKBGZevpm14j+cqx+48H9lSdZad2H3m3HNA1q54KxJ4cNSljzMiayQB+rljl2i2fssSKWFFILOmC8yo9kYRIxKQORw9kBEaEVKQvvCcISgKYZbGjtvVOEpGznyo63aoJYRMah25xXwfYDgufMsyflsc0Zv5sLM82DIN5SagG6ucEMnhSnIuKBeqIRLYAgr3wmuyUKdlbLJrJz4BuxAK6kqYt01N5aJtM0OcBFghS2Yuo8XFBe10NZiOK8FhxtMW7" ], "shareable": true } }, "data": "[\"edwards25519sha512batch\",\"BHDqhbNH+uzgF/Qqe7Hhxq1oi7Q+QcILNWxcCFdhonA=\",null]", "_notBeforeHeight": 0 }, "z2Drjgb7PxR9K9vgeiQuJVV2hcvnz53fwgJvEVm4cXvsFfYfC7a": { "id": "z2Drjgb7PxR9K9vgeiQuJVV2hcvnz53fwgJvEVm4cXvsFfYfC7a", "name": "cek", "purpose": [ "enc" ], "ringLevel": 1, "permissions": "*", "allowedActions": "*", "meta": { "private": { "content": [ "z2Drjgb7PxR9K9vgeiQuJVV2hcvnz53fwgJvEVm4cXvsFfYfC7a", "WG7m65so2egeJcpbdl+fNxfTrw5zUT3yzuLEKemqRH5j+UyuMnTxRLT+VtVlG0ZWiDvBM6EmefWwd8TvdvysIsqH6rxtagnzzBBddyjcN6Kg9AFsb0OYNu0Q+KsTVgOaf8RTTQwN9OfF7wgNlc912TE0E46QdH5XpUqe+EsUgoAM+PuDEFlIWyBeml4yjV0eWkFvpvawtbHVdFC8zB+zTg==" ], "shareable": true } }, "data": "[\"curve25519xsalsa20poly1305\",\"nTXakXW7IkAtQ6rJ7cSQfVwmdUbX/3jQXEIxuokx1h4=\",null]", "_notBeforeHeight": 0 }, "z2DrjgbF2Z4uYWBLVYziEmMct1ZHDN5MJzkPcnsW9hv6hcHJzU9": { "id": "z2DrjgbF2Z4uYWBLVYziEmMct1ZHDN5MJzkPcnsW9hv6hcHJzU9", "name": "#inviteKey-z2DrjgbF2Z4uYWBLVYziEmMct1ZHDN5MJzkPcnsW9hv6hcHJzU9", "purpose": [ "sig" ], "ringLevel": 9007199254740991, "permissions": [ "kr" ], "meta": { "quantity": 60, "expires": 1730664198368, "private": { "content": [ "z2Drjgb7PxR9K9vgeiQuJVV2hcvnz53fwgJvEVm4cXvsFfYfC7a", "wPnmWrhL/Rhj+Q4PVcSK1wlND0Os9+YeefEIBv3aH3cxUvWwRTWPry29yg+eElPBQqAWb7xFDKUdVaBC2k7JZjqz3N0h0aOCn4JUE+KPwDN+cDtNyNoJqDaeJ8ykZ5SeBEfXKkC3NSKP67Qi/QQKTui/av6CHcYVBOg8z4NqxBZ0DBMqgc8Bmg8KE7FniEZV24UuADUeYk88OTdjzpoq3wnPrsR1S+SkZvW8GdSc7yLvs7CJUfFTEzkvtpidvSmNy8VCVjXL+hgk" ] } }, "data": "[\"edwards25519sha512batch\",\"d7V1k/t0ezhR++NFeg8BHX69qGVCyftdFqSXQDoQDFM=\",null]", "_notBeforeHeight": 0 }, "z2Drjgb4upKWgEzyZ4fgo3NVY4jKNAKJ8YdQcW1dyLysp7By7em": { "id": "z2Drjgb4upKWgEzyZ4fgo3NVY4jKNAKJ8YdQcW1dyLysp7By7em", "name": "#sak", "purpose": [ "sak" ], "ringLevel": 0, "permissions": [], "allowedActions": [], "meta": { "private": { "content": [ "z2Drjgb7PxR9K9vgeiQuJVV2hcvnz53fwgJvEVm4cXvsFfYfC7a", "xcrV1+x1snEFgp9OhMb28voHdBGlMXQBe065F7e0ESqn66ytkon1e8i4YHduLwodyB6GrzWz9f61ObswtXvY/yyjon0j5f+pPaFvXm3TRezd3exga1IfgPZIUVQAasXAW/G89On/6Wd5JegkfeU97/Mnq9nS7e4Wrp8ZfU0Mi9CaOrq1oIo+ydjfxeiEK1JzZYg+NsJMGHO4/w7mls/lsuhDZc78p1OntiHuOJxJSuKntTb9i1RRNiTpIubkV66eRNUyY1enLaJE" ] } }, "data": "[\"edwards25519sha512batch\",\"Z3v21zx1FeMScIsvd0qS6CRrh7A9ss57FRrVMbZS880=\",null]", "_notBeforeHeight": 0 } }, "invites": { "z2DrjgbF2Z4uYWBLVYziEmMct1ZHDN5MJzkPcnsW9hv6hcHJzU9": { "status": "valid", "initialQuantity": 60, "quantity": 60, "expires": 1730664198368, "inviteSecret": "[\"edwards25519sha512batch\",null,\"HNUXC+WBJWlNYj6PV9nTHmu9ws4SxI0y8Ho2aRhgeet3tXWT+3R7OFH740V6DwEdfr2oZULJ+10WpJdAOhAMUw==\"]", "responses": [] } } }, "payments": {}, "paymentsByPeriod": { "2024-09-07T00:00:00.000Z": { "start": "2024-09-07T00:00:00.000Z", "end": "2024-10-07T00:00:00.000Z", "initialCurrency": "USD", "mincomeExchangeRate": 1, "paymentsFrom": {}, "lastAdjustedDistribution": null, "haveNeedsSnapshot": null } }, "thankYousFrom": {}, "invites": { "z2DrjgbF2Z4uYWBLVYziEmMct1ZHDN5MJzkPcnsW9hv6hcHJzU9": { "creatorID": "invite-initial-creator", "inviteKeyId": "z2DrjgbF2Z4uYWBLVYziEmMct1ZHDN5MJzkPcnsW9hv6hcHJzU9" } }, "proposals": {}, "settings": { "distributionPeriodLength": 2592000000, "inviteExpiryOnboarding": 30, "inviteExpiryProposal": 7, "allowPublicChannels": false, "groupName": "Turtles", "groupPicture": { "manifestCid": "z9brRu3VUZQnCyhPMgBm7d6PixjqL57489trrEGgF2DDvCvzQDJp", "downloadParams": { "IKM": "Dip7ydA4TyvvUt+osCpnBlZ8CWWedJIiXDX7vHVfEaAQ", "rs": 65536 } }, "sharedValues": "", "mincomeAmount": 1000, "mincomeCurrency": "USD", "distributionDate": "2024-10-07T00:00:00.000Z", "minimizeDistribution": true, "proposals": { "group-setting-change": { "rule": "percentage", "expires_ms": 1209600000, "ruleSettings": { "percentage": { "threshold": 0.66 }, "disagreement": { "threshold": 1 } } }, "invite-member": { "rule": "percentage", "expires_ms": 1209600000, "ruleSettings": { "percentage": { "threshold": 0.66 }, "disagreement": { "threshold": 1 } } }, "remove-member": { "rule": "percentage", "expires_ms": 1209600000, "ruleSettings": { "percentage": { "threshold": 0.66 }, "disagreement": { "threshold": 1 } } }, "proposal-setting-change": { "rule": "percentage", "expires_ms": 1209600000, "ruleSettings": { "percentage": { "threshold": 0.66 }, "disagreement": { "threshold": 1 } } }, "generic": { "rule": "percentage", "expires_ms": 1209600000, "ruleSettings": { "percentage": { "threshold": 0.66 }, "disagreement": { "threshold": 1 } } } } }, "streaks": { "lastStreakPeriod": null, "fullMonthlyPledges": 0, "fullMonthlySupport": 0, "onTimePayments": {}, "missedPayments": {}, "noVotes": {} }, "profiles": {}, "chatRooms": {}, "totalPledgeAmount": 0, "groupOwnerID": "z9brRu3VGx2vJMjiDC9eeEQxQndKwfj2hikWE3oGifUeq6GFEeq6", "waitingPeriod": "2024-09-07T00:00:00.000Z" } } captureLogs.js:37:30 ```

Once it gets in this broken state (after refresh), that's it, no more group creation works at all:

Screenshot 2024-10-04 at 1 06 45 PM

Another important note: I've noticed that in order to reproduce this I need to actually restart the server grunt dev. If I restart the server and don't get the sendMsg error after signup, it seems like I can't get it to happen at all. So I keep re-running grunt dev until I see sendMsg error after signup, and then it's likely to do all this.

EDIT: running sbp('chelonia/contract/sync', sbp('state/vuex/state').currentGroupId) did nothing:

Screenshot 2024-10-04 at 1 14 22 PM

taoeffect commented 1 week ago

Hopefully closed in #2382