From 3bd09f9a0aa3827fe75dbf2849e80a85b8d046b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wiktor=20Tkaczy=C5=84ski?= Date: Thu, 28 Nov 2024 18:34:39 +0100 Subject: [PATCH 1/3] chore: update oz votes strategy address (#1004) Co-authored-by: Less --- apps/api/package.json | 2 +- packages/sx.js/src/starknetNetworks.ts | 2 +- yarn.lock | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/apps/api/package.json b/apps/api/package.json index f99b0411e..62e78ef42 100644 --- a/apps/api/package.json +++ b/apps/api/package.json @@ -23,7 +23,7 @@ "@ethersproject/providers": "^5.7.2", "@ethersproject/units": "^5.6.1", "@faker-js/faker": "^7.4.0", - "@snapshot-labs/checkpoint": "^0.1.0-beta.43", + "@snapshot-labs/checkpoint": "^0.1.0-beta.44", "@snapshot-labs/sx": "^0.1.0", "@types/bn.js": "^5.1.0", "@types/mysql": "^2.15.21", diff --git a/packages/sx.js/src/starknetNetworks.ts b/packages/sx.js/src/starknetNetworks.ts index ff3ae20fe..187f2d1db 100644 --- a/packages/sx.js/src/starknetNetworks.ts +++ b/packages/sx.js/src/starknetNetworks.ts @@ -119,7 +119,7 @@ export const starknetNetworks = { OZVotesStorageProof: '0x7ee3cf64f1072fe21570356eb57d4e9f78169ea9235ba610f60a8b33c36cc6e', OZVotesTrace208StorageProof: - '0x6e7bf6fc2ac80d216076b3340625d3d054d2f4a1d7dc4a22853c06e015907b3' + '0x50bceb018e677f281b30587406b8210a0d8fbf37e58299bb7c6ec0e8dd212a3' }, ProposalValidations: { VotingPower: diff --git a/yarn.lock b/yarn.lock index 7bb30486d..6501aab6b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2445,10 +2445,10 @@ resolved "https://registry.yarnpkg.com/@sindresorhus/is/-/is-4.6.0.tgz#3c7c9c46e678feefe7a2e5bb609d3dbd665ffb3f" integrity sha512-t09vSN3MdfsyCHoFcTRCH/iUtG7OJ0CsjzB8cjAmKc/va/kIgeDI/TxsigdncE/4be734m0cvIYwNaV4i2XqAw== -"@snapshot-labs/checkpoint@^0.1.0-beta.43": - version "0.1.0-beta.43" - resolved "https://registry.yarnpkg.com/@snapshot-labs/checkpoint/-/checkpoint-0.1.0-beta.43.tgz#56118320a17ff7cda46364ad70b399fd3b8ec869" - integrity sha512-GIGEx6OQlDyfxfLapyXsWMVhEvzRJ51V9cIAvjG1htrVBhnuFmo321SxAdioMcsk98K0yU4qQWxcv4IFPmYB0w== +"@snapshot-labs/checkpoint@^0.1.0-beta.44": + version "0.1.0-beta.44" + resolved "https://registry.yarnpkg.com/@snapshot-labs/checkpoint/-/checkpoint-0.1.0-beta.44.tgz#61bac9957fcaf1fcdbd819a99deba02bdc7705f8" + integrity sha512-SE4p0TLAwb28phlfKp02obBUm4wlAwpf+gxuv40t1ei3vuYGeBHeGhoOsvCIKaUDXqyUbicdwQ2BE2WDEU2HIQ== dependencies: "@ethersproject/abi" "^5.7.0" "@ethersproject/address" "^5.7.0" From 46caf0ae2d387e47a2f211c73720f9355c7797d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wiktor=20Tkaczy=C5=84ski?= Date: Thu, 28 Nov 2024 23:15:56 +0100 Subject: [PATCH 2/3] chore: bring back API reset (#1005) Newer version adds reorg support so also a new database schema so reset is needed to call createStore. --- apps/api/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/api/src/index.ts b/apps/api/src/index.ts index d1bbf2655..170f04eac 100644 --- a/apps/api/src/index.ts +++ b/apps/api/src/index.ts @@ -65,7 +65,7 @@ async function run() { await sleep(PRODUCTION_INDEXER_DELAY); } - // await checkpoint.reset(); + await checkpoint.reset(); checkpoint.start(); } From ff5bf07bba44c47794cffbd165aaeb8fdf4e4ba9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 29 Nov 2024 13:41:27 +0530 Subject: [PATCH 3/3] chore(deps): bump @snapshot-labs/snapshot.js in the snapshot group (#1006) Bumps the snapshot group with 1 update: [@snapshot-labs/snapshot.js](https://github.com/snapshot-labs/snapshot.js). Updates `@snapshot-labs/snapshot.js` from 0.12.32 to 0.12.33 - [Release notes](https://github.com/snapshot-labs/snapshot.js/releases) - [Commits](https://github.com/snapshot-labs/snapshot.js/compare/v0.12.32...v0.12.33) --- updated-dependencies: - dependency-name: "@snapshot-labs/snapshot.js" dependency-type: direct:production update-type: version-update:semver-patch dependency-group: snapshot ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- apps/ui/package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/apps/ui/package.json b/apps/ui/package.json index a4ad16376..0e51753c4 100644 --- a/apps/ui/package.json +++ b/apps/ui/package.json @@ -50,7 +50,7 @@ "@snapshot-labs/lock": "^0.2.8", "@snapshot-labs/pineapple": "^1.1.0", "@snapshot-labs/prettier-config": "^0.1.0-beta.18", - "@snapshot-labs/snapshot.js": "^0.12.32", + "@snapshot-labs/snapshot.js": "^0.12.33", "@snapshot-labs/sx": "^0.1.0", "@vueuse/core": "^10.4.1", "@walletconnect/core": "^2.11.0", diff --git a/yarn.lock b/yarn.lock index 6501aab6b..41849dc3f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2543,10 +2543,10 @@ resolved "https://registry.yarnpkg.com/@snapshot-labs/prettier-config/-/prettier-config-0.1.0-beta.18.tgz#fcbd86d4557821bff774d60e5c636ad47ed85d77" integrity sha512-v6tj7l19KJUWjBbsWpwxaYO2mlIDBFyAG0OMSPhUgrhltO7b6R4Ejxn2k4Qgi/NtlnOrj+3Gt3eQRry8Jfgjrg== -"@snapshot-labs/snapshot.js@^0.12.32": - version "0.12.32" - resolved "https://registry.yarnpkg.com/@snapshot-labs/snapshot.js/-/snapshot.js-0.12.32.tgz#a92522c8563cf9849706ba6ea5592672aba8adde" - integrity sha512-GRmGMjcR8qdRE94QydVQVPf93lKjJp+J/ISoSTVp3oxKrkBEzY0DZx9gFlysBqF/h69PEeykJWUOH1YfQocYHw== +"@snapshot-labs/snapshot.js@^0.12.33": + version "0.12.33" + resolved "https://registry.yarnpkg.com/@snapshot-labs/snapshot.js/-/snapshot.js-0.12.33.tgz#3ce3166419931ef31f1070449318b98b9c482078" + integrity sha512-N5diNuGsglbcQ/t63EdnpUvl2bQO6TerpJE4bA+QHCEoqy/XQdqUjksosn/MWKt1gQfBjTYiN3aPGV4uj1mspA== dependencies: "@ensdomains/eth-ens-namehash" "^2.0.15" "@ethersproject/abi" "^5.6.4"