-
Notifications
You must be signed in to change notification settings - Fork 6
Detect contract size regressions #4
Comments
It's defintely important to track the size of our example contracts over time. However, I think we can do this in the ink! CI already. We already build all the example contracts On a more philosophical note, I view |
So the idea with including it into
Wdyt?
This is usually done via GitLab Job Artifacts. Our CI's typically have an anchor reference |
A thing that might be tricky is to not post the GitHub comment with the contract sizes again for each CI run, but rather edit the existing comment. Once a comment is posted the first time you likely have to put the comment id into the artifacts as well. |
I think adding a script to ink!'s Also, question about this:
Why is keeping track of the bundle size important? Only the Wasm binary is what actually ends up on chain. |
So
Yes, just limit it to the Wasm, I've adapted the issue. |
Ah yes, good point. Okay, let me think about this a bit more then |
For each CI run we already build each ink! example contract. We should utilize this information to provide insights on how the contract file sizes would change for a particular PR.
ToDo
master
in the artifacts.The text was updated successfully, but these errors were encountered: