Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Increased the time and cost for milestones 3(delivered) and 4(in progress).
Added additional deliveries in milestone 4.
Milestone 3 - Delivered
During the third milestone, we: learned how ink's macros work; analyzed the ink's generated code; investigated the wasm code bloat of the contract. It took around: 78 hours.
Based on the results, we've done the next changes:
SimpleHashMap
and updating of several examples to check the size: 20h. (we only provided the report about our results. ink! team implemented that by themselves)Result
in ink! that change was actual and we implemented that fully, finalization took 16h. Later during the analysis of WASM, we found that we can optimize the decoding process during dispatching too. So we implemented an additional part. It took 24h. The change generated huge profit and we decided to implement that change fully. Finalization of the change takes 24h. Total time: 80h (The change on Review, so it will require additional changes in future)delegator
's sub-contracts takes a lot of space, we found the reason and did a change: 4hDecode::decode
forAccountId
: 1h. But in the PR we decided to implement that onparity-scale-codec
level. Total time: 20h#[inline]
,#[inline(always)]
and#[inline(never)]
in ink! created that change: 12hThe total time is: 227h(General) + 40h(OpenBrush)
In the milestone specify 3 weeks for 1.5 developers - 180h - 9,000 USD
But it took more time than expected, so we increased that up to 4 weeks and 12,000 USD.
Milestone 4 - In progress
We got feedbacks from users of the OpenBrush and added 3 new deliveries in milestone 4. Each delivery contains a big refactoring, so we increased the time and cost up to 4.5 weeks and 22,500 USD.