eos
eos copied to clipboard
Protect against contracts importing injected functions
Injected functions are not intended to be public API -- they are an implementation detail that may change at any time. For example, checktime()'s arguments may change, softfloat may be replaced with hardfloat, etc. Contracts must be forbidden to link against these functions otherwise behavior between producers with different nodeos versions could diverge, or when prior contracts are played back on newer versions of nodeos behavior may be different, etc
Related PR is #1834
confirmed by running the unit tests