You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The event reaction code (as written) doesn't have access to the contract's state (to fetch the newly set autoreleaseTime). This is stopping us from implementing autorelease warning notifications.
One solution is to add in direct contract monitoring to the code. This could be part of mainLoop or its own thread.
Another option is to edit the event in the contract to include the newly set autoreleaseTime. Oddly, that might be both easier and better in the long run... Maybe the event "should" contain that information.
The text was updated successfully, but these errors were encountered:
coinop-logan
changed the title
Contracts should be monitored directly, not just updated in response to events
AutoreleaseTime is never set to non-zero (server does not reflect contract's AutoreleaseTime)
Nov 16, 2018
The event reaction code (as written) doesn't have access to the contract's state (to fetch the newly set autoreleaseTime). This is stopping us from implementing autorelease warning notifications.
One solution is to add in direct contract monitoring to the code. This could be part of mainLoop or its own thread.
Another option is to edit the event in the contract to include the newly set autoreleaseTime. Oddly, that might be both easier and better in the long run... Maybe the event "should" contain that information.
The text was updated successfully, but these errors were encountered: