File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 11## Cairo-VM Changelog
22
33#### Upcoming Changes
4+ * fix: [ #1855 ] ( https://github.com/lambdaclass/cairo-vm/pull/1855 ) :
5+ * Adds logic to skip pedersen additional data comparison when checking pie compatibility.
46
57#### [ 2.0.0-rc0] - 2024-10-22
68
Original file line number Diff line number Diff line change @@ -289,6 +289,10 @@ impl CairoPie {
289289 return Err ( CairoPieValidationError :: DiffAdditionalData ) ;
290290 }
291291 for ( name, data) in self . additional_data . 0 . iter ( ) {
292+ // As documented above, we skip the pedersen field when comparing.
293+ if * name == BuiltinName :: pedersen {
294+ continue ;
295+ }
292296 if !pie. additional_data . 0 . get ( name) . is_some_and ( |d| d == data) {
293297 return Err ( CairoPieValidationError :: DiffAdditionalDataForBuiltin ( * name) ) ;
294298 }
You can’t perform that action at this time.
0 commit comments