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
In fact, we can get rid of pretty much all slices in StateDiff
IMO it should look something like;
typeStateDiffstruct {
StorageDiffsmap[felt.Felt]map[felt.Felt]*felt.FeltNoncesmap[felt.Felt]*felt.FeltDeployedContractsmap[felt.Felt]*felt.Felt// addr -> class hashDeclaredV0Classesmap[felt.Felt]boolDeclaredV1Classesmap[felt.Felt]*felt.Felt// class hash -> compiled class hashReplacedClassesmap[felt.Felt]*felt.Felt// addr -> class hash
}
Update core.StateDiffs.StorageDiffs type to map[felt]map[key]value. This should help with merging stateDiffs
The text was updated successfully, but these errors were encountered: