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
The process is very manual, tedious and not clean. We should find a way to implement this cleanly under a feature flag testing for example in the database implementation in order to reduce to a single line of code the insertion of block headers in the database.
As it is only for testing purposes, we should take care and only implement this under testing feature flag or in appropriate testing file so that it is not in the production binary.
Describe the enhancement request
Currently in the codebase, for our tests, there are a few places where we have to manually add a block header in the database:
kakarot-rpc/src/test_utils/katana/mod.rs
Lines 300 to 328 in c5a2667
or as described here #1485 (comment)
The process is very manual, tedious and not clean. We should find a way to implement this cleanly under a feature flag
testing
for example in the database implementation in order to reduce to a single line of code the insertion of block headers in the database.As it is only for testing purposes, we should take care and only implement this under testing feature flag or in appropriate testing file so that it is not in the production binary.
Ref #1485 (comment)
The text was updated successfully, but these errors were encountered: