Closed bshevchenko closed 6 years ago
Probably we can just catch OOG errors and increase gas limit until it'll be okay (with maximum 2 or 3 iterations of recursion) See possible errors messages in #6
Contract._tx now has gasLimit param, which accepts gas limit multiplier or exact amount of gas. So we have selectively adjusted estimation for necessary cases.
for SecurityTokenRegistry.generateSecurityToken works only with 5% increase for whitelist remove entry works only with 100% increase (see #6)