From e0fc1bcd317476e0961ec2f821526e5519f269c6 Mon Sep 17 00:00:00 2001 From: vignesha22 <82584664+vignesha22@users.noreply.github.com> Date: Fri, 13 Oct 2023 15:25:21 +0530 Subject: [PATCH] PRO-1851-ZeroDev_Bug_Fix (#42) --- CHANGELOG.md | 4 ++++ package-lock.json | 4 ++-- package.json | 2 +- src/sdk/network/constants.ts | 30 +++++++++++++++--------------- 4 files changed, 22 insertions(+), 18 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f5211889..3d3ed6e6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,8 @@ # Changelog +## [1.3.1] - 2023-10-13 +### Fixes +- Updated all chains to the latest zeroDev factory contract as previously only goerli chain has the latest factory(0x5de4839a76cf55d0c90e2061ef4386d962E15ae3) and others was on previous factory contract which doesn't work on the latest changes made by zeroDev + ## [1.3.0] - 2023-10-12 ### New - Added latest zeroDev wallet Factory(0x5de4839a76cf55d0c90e2061ef4386d962E15ae3) and simpleAccount wallet factory(0x9406Cc6185a346906296840746125a0E44976454) diff --git a/package-lock.json b/package-lock.json index 4b8c444b..43128a05 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@etherspot/prime-sdk", - "version": "1.3.0", + "version": "1.3.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@etherspot/prime-sdk", - "version": "1.3.0", + "version": "1.3.1", "license": "MIT", "dependencies": { "@apollo/client": "3.4.0", diff --git a/package.json b/package.json index af174dd3..ab0da81f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@etherspot/prime-sdk", - "version": "1.3.0", + "version": "1.3.1", "description": "Etherspot Prime (Account Abstraction) SDK", "keywords": [ "ether", diff --git a/src/sdk/network/constants.ts b/src/sdk/network/constants.ts index f801b946..b9d6069d 100644 --- a/src/sdk/network/constants.ts +++ b/src/sdk/network/constants.ts @@ -88,7 +88,7 @@ export const Networks: { entryPoint: '0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789', walletFactory: { etherspot: '0x7f6d8F107fE8551160BD5351d5F1514A6aD5d40E', - zeroDev: '0xD49a72cb78C44c6bfbf0d471581B7635cF62E81e', + zeroDev: '0x5de4839a76cf55d0c90e2061ef4386d962E15ae3', simpleAccount: '0x9406Cc6185a346906296840746125a0E44976454', } }, @@ -101,7 +101,7 @@ export const Networks: { entryPoint: '0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789', walletFactory: { etherspot: '0x7f6d8F107fE8551160BD5351d5F1514A6aD5d40E', - zeroDev: '0xD49a72cb78C44c6bfbf0d471581B7635cF62E81e', + zeroDev: '0x5de4839a76cf55d0c90e2061ef4386d962E15ae3', simpleAccount: '0x9406Cc6185a346906296840746125a0E44976454', } }, @@ -114,7 +114,7 @@ export const Networks: { entryPoint: '0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789', walletFactory: { etherspot: '0x7f6d8F107fE8551160BD5351d5F1514A6aD5d40E', - zeroDev: '0xD49a72cb78C44c6bfbf0d471581B7635cF62E81e', + zeroDev: '0x5de4839a76cf55d0c90e2061ef4386d962E15ae3', simpleAccount: '0x9406Cc6185a346906296840746125a0E44976454', } }, @@ -127,7 +127,7 @@ export const Networks: { entryPoint: '0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789', walletFactory: { etherspot: '0x7f6d8F107fE8551160BD5351d5F1514A6aD5d40E', - zeroDev: '0xD49a72cb78C44c6bfbf0d471581B7635cF62E81e', + zeroDev: '0x5de4839a76cf55d0c90e2061ef4386d962E15ae3', simpleAccount: '0x9406Cc6185a346906296840746125a0E44976454', } }, @@ -140,7 +140,7 @@ export const Networks: { entryPoint: '0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789', walletFactory: { etherspot: '0x7f6d8F107fE8551160BD5351d5F1514A6aD5d40E', - zeroDev: '0xD49a72cb78C44c6bfbf0d471581B7635cF62E81e', + zeroDev: '0x5de4839a76cf55d0c90e2061ef4386d962E15ae3', simpleAccount: '0x9406Cc6185a346906296840746125a0E44976454', } }, @@ -153,7 +153,7 @@ export const Networks: { entryPoint: '0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789', walletFactory: { etherspot: '0x7f6d8F107fE8551160BD5351d5F1514A6aD5d40E', - zeroDev: '0xD49a72cb78C44c6bfbf0d471581B7635cF62E81e', + zeroDev: '0x5de4839a76cf55d0c90e2061ef4386d962E15ae3', simpleAccount: '0x9406Cc6185a346906296840746125a0E44976454', } }, @@ -166,7 +166,7 @@ export const Networks: { entryPoint: '0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789', walletFactory: { etherspot: '0x7f6d8F107fE8551160BD5351d5F1514A6aD5d40E', - zeroDev: '0xD49a72cb78C44c6bfbf0d471581B7635cF62E81e', + zeroDev: '0x5de4839a76cf55d0c90e2061ef4386d962E15ae3', simpleAccount: '0x9406Cc6185a346906296840746125a0E44976454', } }, @@ -179,7 +179,7 @@ export const Networks: { entryPoint: '0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789', walletFactory: { etherspot: '0x7f6d8F107fE8551160BD5351d5F1514A6aD5d40E', - zeroDev: '0xD49a72cb78C44c6bfbf0d471581B7635cF62E81e', + zeroDev: '0x5de4839a76cf55d0c90e2061ef4386d962E15ae3', simpleAccount: '0x9406Cc6185a346906296840746125a0E44976454', } }, @@ -192,7 +192,7 @@ export const Networks: { entryPoint: '0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789', walletFactory: { etherspot: '0x7f6d8F107fE8551160BD5351d5F1514A6aD5d40E', - zeroDev: '0xD49a72cb78C44c6bfbf0d471581B7635cF62E81e', + zeroDev: '0x5de4839a76cf55d0c90e2061ef4386d962E15ae3', simpleAccount: '0x9406Cc6185a346906296840746125a0E44976454', } }, @@ -231,7 +231,7 @@ export const Networks: { entryPoint: '0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789', walletFactory: { etherspot: '0x7f6d8F107fE8551160BD5351d5F1514A6aD5d40E', - zeroDev: '0xD49a72cb78C44c6bfbf0d471581B7635cF62E81e', + zeroDev: '0x5de4839a76cf55d0c90e2061ef4386d962E15ae3', simpleAccount: '0x9406Cc6185a346906296840746125a0E44976454', } }, @@ -257,7 +257,7 @@ export const Networks: { entryPoint: '0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789', walletFactory: { etherspot: '0x7f6d8F107fE8551160BD5351d5F1514A6aD5d40E', - zeroDev: '0xD49a72cb78C44c6bfbf0d471581B7635cF62E81e', + zeroDev: '0x5de4839a76cf55d0c90e2061ef4386d962E15ae3', simpleAccount: '0x9406Cc6185a346906296840746125a0E44976454', } }, @@ -322,7 +322,7 @@ export const Networks: { entryPoint: '0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789', walletFactory: { etherspot: '0x7f6d8F107fE8551160BD5351d5F1514A6aD5d40E', - zeroDev: '0xD49a72cb78C44c6bfbf0d471581B7635cF62E81e', + zeroDev: '0x5de4839a76cf55d0c90e2061ef4386d962E15ae3', simpleAccount: '0x9406Cc6185a346906296840746125a0E44976454', } }, @@ -335,7 +335,7 @@ export const Networks: { entryPoint: '0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789', walletFactory: { etherspot: '0x7f6d8F107fE8551160BD5351d5F1514A6aD5d40E', - zeroDev: '0xD49a72cb78C44c6bfbf0d471581B7635cF62E81e', + zeroDev: '0x5de4839a76cf55d0c90e2061ef4386d962E15ae3', simpleAccount: '0x9406Cc6185a346906296840746125a0E44976454', } }, @@ -348,7 +348,7 @@ export const Networks: { entryPoint: '0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789', walletFactory: { etherspot: '0x7f6d8F107fE8551160BD5351d5F1514A6aD5d40E', - zeroDev: '0xD49a72cb78C44c6bfbf0d471581B7635cF62E81e', + zeroDev: '0x5de4839a76cf55d0c90e2061ef4386d962E15ae3', simpleAccount: '0x9406Cc6185a346906296840746125a0E44976454', } }, @@ -374,7 +374,7 @@ export const Networks: { entryPoint: '0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789', walletFactory: { etherspot: '0x7f6d8F107fE8551160BD5351d5F1514A6aD5d40E', - zeroDev: '0xD49a72cb78C44c6bfbf0d471581B7635cF62E81e', + zeroDev: '0x5de4839a76cf55d0c90e2061ef4386d962E15ae3', simpleAccount: '0x9406Cc6185a346906296840746125a0E44976454', } },