I see, the issue is this: The contracts used where compiled for 4.x node version.
you need to use the option ‘backend=aevm’ if you want to use contracts compiled with for the node v4.x version; it would be better if you can recompile the contracts, but you may have to make some adjustment (as you have discovered for yourself).
please check here for clarifications