-
Notifications
You must be signed in to change notification settings - Fork 290
Conversation
#[clap(long)] | ||
pub da_layer: Option<DaLayer>, | ||
|
||
/// Choose a supported DA Layer | ||
#[clap(long)] | ||
pub da_conf: Option<String>, |
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.
Make them an arg group.
The whole group is optional, but as soon as one is used, all must be
@@ -76,57 +82,82 @@ where | |||
{ | |||
pub async fn prove_current_block(da_mode: DaMode, client: Arc<C>, madara_backend: Arc<mc_db::Backend<B>>) { | |||
let mut storage_event_st = client | |||
.storage_changes_notification_stream(None, None) | |||
.storage_changes_notification_stream(None, Some(&[(SubStorageKey(twox_128(PALLET_STARKNET).into()), None)])) |
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.
I think you can go (None, None)
unti we get some light on paritytech/polkadot-sdk#1989
accessed_addrs.insert(ContractAddress(bytes_to_key(&rest_key))); | ||
} else if child_key == twox_128(STARKNET_STORAGE) { | ||
// collect storage update information in state diff | ||
if rest_key.len() > 32 { |
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.
I don't think this could be false.
holding for work here: #1217 |
There hasn't been any activity on this pull request recently, and in order to prioritize active work, it has been marked as stale. |
ThinStateDiff
structure (potential to add scale encoding to this api type and save this to the kv db)--da-conf
as the dev file overrides don't include the da configPull Request type
What is the current behavior?
Resolves: #NA
What is the new behavior?
Does this introduce a breaking change?
minor - if use or import of exposed util functions