-
Notifications
You must be signed in to change notification settings - Fork 52
Conversation
Codecov Report
@@ Coverage Diff @@
## main #810 +/- ##
==========================================
- Coverage 91.91% 91.82% -0.09%
==========================================
Files 52 52
Lines 12275 12373 +98
==========================================
+ Hits 11282 11361 +79
- Misses 993 1012 +19
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wen tests?
src/definitions/constants.rs
Outdated
@@ -14,6 +14,11 @@ pub(crate) const N_DEFAULT_TOPICS: usize = 1; // Events have one default topic. | |||
pub(crate) const CONSUMED_MSG_TO_L2_ENCODED_DATA_SIZE: usize = | |||
(L1_TO_L2_MSG_HEADER_SIZE + 1) - CONSUMED_MSG_TO_L2_N_TOPICS; | |||
|
|||
lazy_static! { | |||
pub(crate) static ref VERSION_QUERY: Felt252 = |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the name in cairo-lang is VERSION_QUERY_BASE I think we should have the same name because VERSION_QUERY has an specific meaning in this context:
QUERY_VERSION = QUERY_VERSION_BASE + TRANSACTION_VERSION
Where TRANSACTION_VERSION = 1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could compare references instead of cloning.
TITLE
Description
solves issue #799