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
Gas costs are getting out of control. Specifically, vote now takes in excess of 500k as per the vyper estimate, and I don't think this includes the max 200k call to the validator's validation contract.
At the mainchain's current 8M gas_limit, at 500k a vote less only 16 votes can make it in per block. An update to the EIP is only going to allow votes after block 12 of an epoch so only 37 blocks per epoch will include votes. That is only support for 592 validators. If vote takes closer to 700k, only 400 validators will be supported.
Proposed Implementation
Profile gas costs. Decide which functions are problems
Consider and implement gas saving techniques
Create a new set of tests that set a maximum amount of gas allowed for each of the main functions. These will serve as warnings when we create changes that significantly increase gas costs
Question
is vyper going to implement any compile time gas optimizations?
The text was updated successfully, but these errors were encountered:
Issue
Gas costs are getting out of control. Specifically,
vote
now takes in excess of 500k as per the vyper estimate, and I don't think this includes themax 200k
call to the validator's validation contract.At the mainchain's current 8M gas_limit, at 500k a vote less only 16 votes can make it in per block. An update to the EIP is only going to allow votes after block 12 of an epoch so only 37 blocks per epoch will include votes. That is only support for 592 validators. If
vote
takes closer to 700k, only 400 validators will be supported.Proposed Implementation
Question
is vyper going to implement any compile time gas optimizations?
The text was updated successfully, but these errors were encountered: