Skip to content

[Block commit hash] added functionality for securely signing & sending block commit hash.#3

Open
manojkgorle wants to merge 100 commits intoAnomalyFi:mainfrom
manojkgorle:bridge
Open

[Block commit hash] added functionality for securely signing & sending block commit hash.#3
manojkgorle wants to merge 100 commits intoAnomalyFi:mainfrom
manojkgorle:bridge

Conversation

@manojkgorle
Copy link

@manojkgorle manojkgorle commented Jan 30, 2024

Changes & Testing done.

Future optimization consideration:

  • instead of using proposerMonitor.Validator, access validators from snowCtx directly. (this fails when the proposer monitor refreshes). For < 30 seconds, when a validator w stake has been added, we may not consider that validator due to the proposer monitor not getting refreshed.

Todo:

  • test cases for handling uncommitted block state root.
  • reusable functions in innerBlockCommitHash.
  • decide bw fatal error or recoverable error when blockcommithash can not be stored.
  • ability to request validator to sign block, in case of splitview of validator set.
  • Schematic diagram

@manojkgorle manojkgorle self-assigned this Jan 30, 2024
@manojkgorle manojkgorle marked this pull request as ready for review February 5, 2024 18:46
@manojkgorle manojkgorle requested a review from mtgnoah February 5, 2024 18:46
@manojkgorle
Copy link
Author

Error is not with the proposer monitor. P chain stops producing blocks after a few empty blocks. (not a production case)

Found a bug that may cause problems in prod. fixing that.

@manojkgorle manojkgorle added the enhancement New feature or request label Feb 8, 2024
@manojkgorle
Copy link
Author

Been testing with the latest version on hypersdk, as this fork of hypersdk can not be run due to this needing eth API.

Should test this version specifically once aws access is available.

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

Labels

enhancement New feature or request ready to merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants