In the YUL compiler I use undefined byte array of 1mb in contracts. However after linking it with PolkaVM to resulting blob contains this array zero initialized. To me it wasn't obvious what changes to the linker would be required to fix this.
Example SO before linking with polkavm, it's not a zip file I just had to renimed it otherwise github doesn't allow to upload it: out.zip
In the YUL compiler I use undefined byte array of 1mb in contracts. However after linking it with PolkaVM to resulting blob contains this array zero initialized. To me it wasn't obvious what changes to the linker would be required to fix this.
Example SO before linking with polkavm, it's not a zip file I just had to renimed it otherwise github doesn't allow to upload it: out.zip