massalabs / massa

The Decentralized and Scaled Blockchain
https://massa.net
5.57k stars 711 forks source link

Asc message execution - requery message bytecode after each message execution #4710

Closed Leo-Besancon closed 3 months ago

Leo-Besancon commented 3 months ago

Sandbox testing has shown this fixes the issue of two async message in the same slot, where the 1st updates the bytecode of the target contract.

Before this fix, if the 1st async message updates the bytecode, then the second async message will take into account an out of date bytecode for the target address.