Closed cymqqqq closed 3 months ago
Attention: Patch coverage is 50.00000%
with 8 lines
in your changes missing coverage. Please review.
Project coverage is 18.1%. Comparing base (
7f637c6
) to head (e599ba1
). Report is 1 commits behind head on master.
Files | Patch % | Lines |
---|---|---|
src/interface/builder.rs | 50.0% | 8 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Why are you merging master? Just do rebases
Sorry....I always use the update branch
button, next time I'll try to git rebase main
.
I agree with you, the first idea is to collect supplements from the stash, but the question is: do we have a stash when we issue a contract? (In the consign
method, yes, there is already a stash so we can collect supplements from the stash.) I just found ContractBuilder
, and after we finish the contract issue, then initialize a stock(MemStash
, MemState
, and MemIndex
), and then we can import the kit and contract to the stash.
When you issue contract you need to collect just supplements for interfaces, schema and implementation. There is no "genesis supplement" which can be found in the stash.
You also need to keep in mind that right now there is no supplements which exist - this functionality is there only as a way to add new things in the future.
Description:
add collect supplements feature for the
issue_contract
, includes the following Supplement instance:genesis supplement iface supplement iimpl supplement schema supplement