All Questions
2 questions
2
votes
1
answer
127
views
Is it possible to estimate used gas based on algorithm's Big O?
[Example Algorithm 1]: I have an array of structs(PaymentReceipt[] paymentReceiptList;) and imagine there are around 1000 pushed items and array's size keep increases. Each item has a time_start and ...
5
votes
1
answer
2k
views
How to minimize gas consumption during contract creation
I have trouble deploying a contract to the main network and I believe this is due to high gas consumption.
An earlier version of the contract worked on the main network. The current version works in ...