You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.
Valid blocks with valid transactions should be processed successfully
Actual behavior
When receiving a block from a peer, a call to objectNormalize on the block is performed framework/src/modules/chain/submodules/transport.js:570. This function also used in many places elsewhere expects transactions to be instantiated using their class implementations but the current code doesn't do this and it crashes.
Also, when broadcasting a block transactions are not explicitly converted to JSON by calling .toJSON() transaction's class function. Socketcluster is somewhat stringifying the transaction ES6 class and parsing it at JSON before sending.
Steps to reproduce
Run to nodes, one forging, one now and check the how framework/src/modules/chain/submodules/transport.js:570 throws an error.
Which version(s) does this affect? (Environment, OS, etc...)
release/2.0.0
The text was updated successfully, but these errors were encountered:
Expected behavior
Valid blocks with valid transactions should be processed successfully
Actual behavior
When receiving a block from a peer, a call to
objectNormalize
on the block is performedframework/src/modules/chain/submodules/transport.js:570
. This function also used in many places elsewhere expects transactions to be instantiated using their class implementations but the current code doesn't do this and it crashes.Also, when broadcasting a block transactions are not explicitly converted to JSON by calling
.toJSON()
transaction's class function. Socketcluster is somewhat stringifying the transaction ES6 class and parsing it at JSON before sending.Steps to reproduce
Run to nodes, one forging, one now and check the how
framework/src/modules/chain/submodules/transport.js:570
throws an error.Which version(s) does this affect? (Environment, OS, etc...)
release/2.0.0
The text was updated successfully, but these errors were encountered: