Closed salaheldinsoliman closed 3 months ago
Attention: Patch coverage is 92.87671%
with 26 lines
in your changes missing coverage. Please review.
Project coverage is 88.58%. Comparing base (
08dbe49
) to head (1a8cb27
).
Files | Patch % | Lines |
---|---|---|
src/linker/soroban_wasm.rs | 80.00% | 9 Missing :warning: |
src/emit/soroban/mod.rs | 93.00% | 7 Missing :warning: |
src/emit/instructions.rs | 89.13% | 5 Missing :warning: |
src/emit/soroban/target.rs | 93.02% | 3 Missing :warning: |
src/codegen/dispatch/soroban.rs | 98.23% | 2 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
This PR aims to make Solang support a simple counter.sol example on Soroban, where a storage variable is instatiated, modified and retrieved. The counter contract is only limited to
uint64
data types, and only supportsinstance
soroban storage.This can be considered a "skeleton" for supporting more data and storage types, as well as more host function invokations.
put_contract_data
,get_contract_data
andhas_contract_data
init
forstorage_initializer