The finalizer_policy struct in contracts does not have a generation member.
In this PR, when the set_finalizers host function is executed, we increment the generation number of the finalizer_policy to the the active policy generation number plus one.
Resolves #2345
The
finalizer_policy
struct in contracts does not have ageneration
member. In this PR, when theset_finalizers
host function is executed, we increment the generation number of thefinalizer_policy
to the the active policy generation number plus one.