From 3490f970931eaf2eb546568a4c153df03cb6fd47 Mon Sep 17 00:00:00 2001
From: JQQQ <jiqiang90@hotmail.com>
Date: Thu, 12 Oct 2023 14:10:42 +1300
Subject: [PATCH 1/4] [release] 20231012

---
 .yarn/versions/3971241a.yml           | 2 --
 .yarn/versions/80349bb8.yml           | 0
 packages/common-ethereum/CHANGELOG.md | 5 ++++-
 packages/common-ethereum/package.json | 5 ++---
 packages/node/CHANGELOG.md            | 4 +++-
 packages/node/package.json            | 5 ++---
 6 files changed, 11 insertions(+), 10 deletions(-)
 delete mode 100644 .yarn/versions/3971241a.yml
 delete mode 100644 .yarn/versions/80349bb8.yml

diff --git a/.yarn/versions/3971241a.yml b/.yarn/versions/3971241a.yml
deleted file mode 100644
index fe7476258f..0000000000
--- a/.yarn/versions/3971241a.yml
+++ /dev/null
@@ -1,2 +0,0 @@
-undecided:
-  - "@subql/common-ethereum"
diff --git a/.yarn/versions/80349bb8.yml b/.yarn/versions/80349bb8.yml
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/packages/common-ethereum/CHANGELOG.md b/packages/common-ethereum/CHANGELOG.md
index 60896e9877..9c6755d0c5 100644
--- a/packages/common-ethereum/CHANGELOG.md
+++ b/packages/common-ethereum/CHANGELOG.md
@@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
 and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
 
 ## [Unreleased]
+
+## [3.0.3] - 2023-10-12
 ### Changed
 - Version bump with `@subql/common` 3.1.2
 
@@ -91,7 +93,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
 - Sync with main sdk (#14)
 
 ## [0.1.0] - 2022-10-31
-[Unreleased]: https://github.com/subquery/subql-ethereum/compare/common-ethereum/3.0.2...HEAD
+[Unreleased]: https://github.com/subquery/subql-ethereum/compare/v3.0.3...HEAD
+[3.0.3]: https://github.com/subquery/subql-ethereum/compare/v3.0.2...v3.0.3
 [3.0.2]: https://github.com/subquery/subql-ethereum/compare/common-ethereum/3.0.1...common-ethereum/3.0.2
 [3.0.1]: https://github.com/subquery/subql-ethereum/compare/common-ethereum/3.0.0...common-ethereum/3.0.1
 [3.0.0]: https://github.com/subquery/subql-ethereum/compare/common-ethereum/2.3.0...common-ethereum/3.0.0
diff --git a/packages/common-ethereum/package.json b/packages/common-ethereum/package.json
index 0664d6afcd..ab84388411 100644
--- a/packages/common-ethereum/package.json
+++ b/packages/common-ethereum/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@subql/common-ethereum",
-  "version": "3.0.3-0",
+  "version": "3.0.3",
   "description": "",
   "scripts": {
     "build": "rm -rf dist && tsc -b",
@@ -33,6 +33,5 @@
     "@types/rimraf": "3.0.2",
     "ejs": "3.1.7",
     "lodash": "4.17.21"
-  },
-  "stableVersion": "3.0.2"
+  }
 }
diff --git a/packages/node/CHANGELOG.md b/packages/node/CHANGELOG.md
index d9b3857b41..ea52a53755 100644
--- a/packages/node/CHANGELOG.md
+++ b/packages/node/CHANGELOG.md
@@ -6,6 +6,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
 
 ## [Unreleased]
 
+## [3.0.4] - 2023-10-12
 ### Changed
 - debug has changed from a boolean to a string to allow scoping debug log level (#2077)
 
@@ -273,7 +274,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
 ### Added
 - Init release
 
-[Unreleased]: https://github.com/subquery/subql-ethereum/compare/node-ethereum/3.0.3...HEAD
+[Unreleased]: https://github.com/subquery/subql-ethereum/compare/node-ethereum/3.0.4...HEAD
+[3.0.4]: https://github.com/subquery/subql-ethereum/compare/node-ethereum/3.0.3...node-ethereum/3.0.4
 [3.0.3]: https://github.com/subquery/subql-ethereum/compare/node-ethereum/3.0.2...node-ethereum/3.0.3
 [3.0.2]: https://github.com/subquery/subql-ethereum/compare/node-ethereum/3.0.1...node-ethereum/3.0.2
 [3.0.1]: https://github.com/subquery/subql-ethereum/compare/node-ethereum/3.0.0...node-ethereum/3.0.1
diff --git a/packages/node/package.json b/packages/node/package.json
index 66a07f5fa7..4444ad1740 100644
--- a/packages/node/package.json
+++ b/packages/node/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@subql/node-ethereum",
-  "version": "3.0.4-1",
+  "version": "3.0.4",
   "description": "",
   "author": "Ian He",
   "license": "GPL-3.0",
@@ -64,6 +64,5 @@
   "files": [
     "/dist",
     "/bin"
-  ],
-  "stableVersion": "3.0.4-0"
+  ]
 }

From b2eee6ac6eb522e56c59c0dedc9b6783bab3ca3a Mon Sep 17 00:00:00 2001
From: JQQQ <jiqiang90@hotmail.com>
Date: Thu, 12 Oct 2023 14:12:30 +1300
Subject: [PATCH 2/4] changelog

---
 packages/common-ethereum/CHANGELOG.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/packages/common-ethereum/CHANGELOG.md b/packages/common-ethereum/CHANGELOG.md
index 9c6755d0c5..a60f660816 100644
--- a/packages/common-ethereum/CHANGELOG.md
+++ b/packages/common-ethereum/CHANGELOG.md
@@ -93,8 +93,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
 - Sync with main sdk (#14)
 
 ## [0.1.0] - 2022-10-31
-[Unreleased]: https://github.com/subquery/subql-ethereum/compare/v3.0.3...HEAD
-[3.0.3]: https://github.com/subquery/subql-ethereum/compare/v3.0.2...v3.0.3
+[Unreleased]: https://github.com/subquery/subql-ethereum/compare/common-ethereum/3.0.3...HEAD
+[3.0.3]: https://github.com/subquery/subql-ethereum/compare/common-ethereum/3.0.2...common-ethereum/3.0.3
 [3.0.2]: https://github.com/subquery/subql-ethereum/compare/common-ethereum/3.0.1...common-ethereum/3.0.2
 [3.0.1]: https://github.com/subquery/subql-ethereum/compare/common-ethereum/3.0.0...common-ethereum/3.0.1
 [3.0.0]: https://github.com/subquery/subql-ethereum/compare/common-ethereum/2.3.0...common-ethereum/3.0.0

From 98c51cd952fbe64cf44b9eedf1f94e41cf52a54b Mon Sep 17 00:00:00 2001
From: JQQQ <jiqiang90@hotmail.com>
Date: Thu, 12 Oct 2023 14:49:27 +1300
Subject: [PATCH 3/4] fix debug as string

---
 packages/node/src/yargs.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/packages/node/src/yargs.ts b/packages/node/src/yargs.ts
index 6802955ec8..8cb0c3bf14 100644
--- a/packages/node/src/yargs.ts
+++ b/packages/node/src/yargs.ts
@@ -54,7 +54,7 @@ export const yargsOptions = yargs(hideBin(process.argv))
       }),
     handler: (argv) => {
       initLogger(
-        argv.debug as boolean,
+        argv.debug as string,
         argv.outputFmt as 'json' | 'colored',
         argv.logLevel as string | undefined,
       );

From f15ec4ba42034cf5a4a0739f7e82e5ea8c5641be Mon Sep 17 00:00:00 2001
From: JQQQ <jiqiang90@hotmail.com>
Date: Mon, 16 Oct 2023 10:59:19 +1300
Subject: [PATCH 4/4] prerelease node 20231016

---
 packages/node/CHANGELOG.md |  3 +++
 packages/node/package.json |  2 +-
 yarn.lock                  | 10 +++++-----
 3 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/packages/node/CHANGELOG.md b/packages/node/CHANGELOG.md
index ea52a53755..82489b7abf 100644
--- a/packages/node/CHANGELOG.md
+++ b/packages/node/CHANGELOG.md
@@ -6,6 +6,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
 
 ## [Unreleased]
 
+### Fixed
+- Update `@subql/node-core` to fix issues with using object destructing for store interface and workers
+
 ## [3.0.4] - 2023-10-12
 ### Changed
 - debug has changed from a boolean to a string to allow scoping debug log level (#2077)
diff --git a/packages/node/package.json b/packages/node/package.json
index 4444ad1740..884f43abd9 100644
--- a/packages/node/package.json
+++ b/packages/node/package.json
@@ -26,7 +26,7 @@
     "@nestjs/schedule": "^3.0.1",
     "@subql/common": "3.1.2",
     "@subql/common-ethereum": "workspace:*",
-    "@subql/node-core": "^6.0.1",
+    "@subql/node-core": "^6.0.2",
     "@subql/testing": "^2.0.2",
     "@subql/types-ethereum": "workspace:*",
     "cacheable-lookup": "6",
diff --git a/yarn.lock b/yarn.lock
index 0d47199f32..d7fb7cb9c7 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -3055,9 +3055,9 @@ __metadata:
   languageName: node
   linkType: hard
 
-"@subql/node-core@npm:^6.0.1":
-  version: 6.0.1
-  resolution: "@subql/node-core@npm:6.0.1"
+"@subql/node-core@npm:^6.0.2":
+  version: 6.0.2
+  resolution: "@subql/node-core@npm:6.0.2"
   dependencies:
     "@apollo/client": ^3.7.16
     "@nestjs/common": ^9.4.0
@@ -3082,7 +3082,7 @@ __metadata:
     tar: ^6.1.11
     vm2: ^3.9.19
     yargs: ^16.2.0
-  checksum: 8c118db94ce2756643092ff71b15eb30ec46256cd6bbbd2beefc8f2cae53d7800f9f4d97d2a045d68a7621040c6399da9902717ed25dddd5fea3334d2f2cdbd0
+  checksum: ff07ba7e9abadcf0ddc9be3672fd4059341a28e1385291cb6bdfb92a3a517796245ee92d421b3d11f533465a3674fab1d32e7c3763ae97144fe034e7d5ecd5a3
   languageName: node
   linkType: hard
 
@@ -3100,7 +3100,7 @@ __metadata:
     "@nestjs/testing": ^9.4.0
     "@subql/common": 3.1.2
     "@subql/common-ethereum": "workspace:*"
-    "@subql/node-core": ^6.0.1
+    "@subql/node-core": ^6.0.2
     "@subql/testing": ^2.0.2
     "@subql/types-ethereum": "workspace:*"
     "@types/express": ^4.17.13