multihash key gen func #36

Merged
telackey merged 19 commits from feature/ssz_multihash_func into develop 2022-05-13 14:46:13 +00:00

19 Commits

Author SHA1 Message Date
Abdul Rabbani
4e3f33f8d3 Update config parameter 2022-05-13 10:39:56 -04:00
Abdul Rabbani
8bcf8d7dfe Update entrypoint script 2022-05-13 10:26:40 -04:00
Abdul Rabbani
74d80e648a Use sszRoot instead of sszObj for MhKey 2022-05-13 10:20:23 -04:00
Abdul Rabbani
e5fa95d851 Stop tests from running forever on failure. 2022-05-13 10:06:08 -04:00
Abdul Rabbani
39eeae83a6 Utilize the MHkey 2022-05-13 09:51:51 -04:00
Abdul Rabbani
61249275ef Update go.mod and go.sum 2022-05-13 09:25:48 -04:00
Abdul Rabbani
48cf4c288c Merge branch 'develop' into feature/ssz_multihash_func 2022-05-13 09:13:59 -04:00
Abdul Rabbani
27b3eeb268 Integrate MHKey into existing code base. 2022-05-13 09:04:54 -04:00
i-norden
ba400ad763 go mod updates 2022-05-13 08:56:04 -04:00
Abdul Rabbani
b6e7e503f2 Handle Skipped Slots (#34)
* Ensure that the node is synced at boot time

* Update test + add logic for checking skipped slots

* Update boot check

* Add skip_sync to config.

* Update a test so it fails
2022-05-13 08:55:18 -04:00
Abdul Rabbani
8cab81f12e Add KnownGaps Errors (#33) 2022-05-13 08:55:18 -04:00
Abdul Rabbani
e9f86e82ec Remove Test file 2022-05-13 08:55:18 -04:00
Abdul Rabbani
bea9ce2920 Feature/22 test handling incoming events (#30)
* Checkpoint before the weekend

* Update location for SetupPostgresDB

* Include first functioning tests for processing head

* Fix gitignore

* Test CaptureHead | Add Metrics | Handle Test Race Conditions

This Commit allows us to:

* Test the `CaptureHead` function.
* Test parsing a single Head message.
* Test a Reorg condition.
* Add Metrics. This is primarily used for testing but can have future use cases.
* Rearrange the test due to race conditions introduced by reusing a variable. `BeforeEach` can't be used to update `BC`.

* Update and finalize testing at this stage

* Update code and CI/CD

* Fix lint errors

* Update CICD and fail when file not found.

* Update test to have failed as expected.
2022-05-13 08:55:18 -04:00
Abdul Rabbani
bf38c83a4c Feature/22 test handling incoming events - Intermediary Commit (#28)
* Checkpoint before the weekend

* Update location for SetupPostgresDB
2022-05-13 08:55:18 -04:00
Abdul Rabbani
4994f1fa94 Capture the head block in the DB entirely. (#27)
* -- Intermediary Commit --

Just want to commit my code over the weekend, in case I spill coffee on my workstation.

* Create DB models ready for write.

* Handle SSE events

* Update ref for stack-orchestrator

* Use env in one place only.

* Boot Application on PR

* Update syntax

* Update syntax

* Correct command

* Use bash instead of sh

* Use until instead of while

* Make linter happy and check sse subscription err

* Handle Reorgs - Untested
2022-05-13 08:55:00 -04:00
Abdul Rabbani
a974a455bf Disregard race condition since its with the test not the application itself 2022-05-13 08:52:53 -04:00
Abdul Rabbani
ec24895dca Added test to ensure the application shuts down gracefully or within a timeframe. 2022-05-13 08:52:53 -04:00
i-norden
1c919c5051 go mod updates 2022-05-12 21:22:11 -05:00
i-norden
f5f253aa81 multihash key gen func 2022-05-12 21:10:31 -05:00