@acala-network/chopsticks-core 0.9.11-1 → 0.9.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -212,8 +212,9 @@ class TxPool {
|
|
|
212
212
|
unsafeBlockHeight
|
|
213
213
|
});
|
|
214
214
|
// with the latest message queue, messages are processed in the upcoming block
|
|
215
|
-
if (!_class_private_field_get(this, _chain).processQueuedMessages
|
|
216
|
-
if
|
|
215
|
+
if (!_class_private_field_get(this, _chain).processQueuedMessages) return;
|
|
216
|
+
// if block was built without horizontal or downward messages then skip
|
|
217
|
+
if (_lodash.default.isEmpty(horizontalMessages) && _lodash.default.isEmpty(downwardMessages)) return;
|
|
217
218
|
// messageQueue.bookStateFor
|
|
218
219
|
const prefix = '0xb8753e9383841da95f7b8871e5de326954e062a2cf8df68178ee2e5dbdf00bff';
|
|
219
220
|
const meta = await _class_private_field_get(this, _chain).head.meta;
|
|
@@ -157,8 +157,9 @@ export class TxPool {
|
|
|
157
157
|
unsafeBlockHeight
|
|
158
158
|
});
|
|
159
159
|
// with the latest message queue, messages are processed in the upcoming block
|
|
160
|
-
if (!this.#chain.processQueuedMessages
|
|
161
|
-
if
|
|
160
|
+
if (!this.#chain.processQueuedMessages) return;
|
|
161
|
+
// if block was built without horizontal or downward messages then skip
|
|
162
|
+
if (_.isEmpty(horizontalMessages) && _.isEmpty(downwardMessages)) return;
|
|
162
163
|
// messageQueue.bookStateFor
|
|
163
164
|
const prefix = '0xb8753e9383841da95f7b8871e5de326954e062a2cf8df68178ee2e5dbdf00bff';
|
|
164
165
|
const meta = await this.#chain.head.meta;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@acala-network/chopsticks-core",
|
|
3
|
-
"version": "0.9.11
|
|
3
|
+
"version": "0.9.11",
|
|
4
4
|
"author": "Acala Developers <hello@acala.network>",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"docs:prep": "typedoc"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@acala-network/chopsticks-executor": "0.9.11
|
|
15
|
+
"@acala-network/chopsticks-executor": "0.9.11",
|
|
16
16
|
"@polkadot/rpc-provider": "^10.11.2",
|
|
17
17
|
"@polkadot/types": "^10.11.2",
|
|
18
18
|
"@polkadot/types-codec": "^10.11.2",
|