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
Change Seat.Number data type to uint8 or uint16 (I'd lean towards using ushort, since byte could be too restrictive)
Accept ordered array of prices instead of tickets on BeginSale
Accept array index, instead of seat, on Reserve and ReleaseTicket
These changes could potentially roughly double the number of seats a contract could handle (and may be able to remove the arbitrary MAX_SEATS cap if constructor cost becomes greater than BeginSale cost).
The text was updated successfully, but these errors were encountered:
Lots of good ideas for gas consumption improvements were suggested on stratisproject/CirrusSmartContracts#8. Key improvements:
BeginSale
Reserve
andReleaseTicket
These changes could potentially roughly double the number of seats a contract could handle (and may be able to remove the arbitrary
MAX_SEATS
cap if constructor cost becomes greater thanBeginSale
cost).The text was updated successfully, but these errors were encountered: