Skip to content

Validate HE Full Sync on IVM code#116

Draft
forkyishere wants to merge 5 commits intohive-engine:qafrom
forkyishere:qa
Draft

Validate HE Full Sync on IVM code#116
forkyishere wants to merge 5 commits intohive-engine:qafrom
forkyishere:qa

Conversation

@forkyishere
Copy link
Contributor

@forkyishere forkyishere commented Jun 20, 2025

Aiming to do a full sync of the Hive Engine chain to prove that we can replay from scratch.

Issues solved so far (this will get updated until the sync finishes):

Blocks 1351741, 13552906 and 1354493 had market contract events for the orderClosed that were processing orders with txId = null, causing a divergence from what old vm2 would process.

By interpreting the API calls the right way (treating undefined as undefined instead of null), this fixes the issue as those 3 (actually 4, as there is another sell one too) orders not showing the "txId" field on those 4 transactions.
Fix undefined buy book market entries as null on ivm
@forkyishere
Copy link
Contributor Author

forkyishere commented Jun 20, 2025

Implemented (76828f1) as per suggestion from @eonwarped (thanks for the help and dedication on this). Will continue the sync and make updates here as I go.

Currently at HE block 1383444.

@forkyishere
Copy link
Contributor Author

The next blocks being worked out are after (including) HE block 2618450, which I need to still confirm and replay/sync until a change was made around the block 5790000 (not yet confirmed). After I reach that block, I will be able to add the commits to this MR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant