LimeChain / Fruzhin

Java implementation of the Polkadot Host
Apache License 2.0
29 stars 1 forks source link

refactor: Dynamic memory import. #463

Closed Zurcusa closed 3 months ago

Zurcusa commented 3 months ago

Description

Switch to dynamically loading the memory import from the provided wasm files. Also removes the manual parsing logic for the custom sections.

Fixes #445

Checklist:

David-Petrov commented 3 months ago

I see the WasmCustomSection record previously used as a DTO for the API of WasmSectionUtils is no longer used. If you deem that the newly imported dependency chicory renders the old API obsolete, then I'd also remove WasmCustomSection. Seems to me that this is the case.

sonarcloud[bot] commented 3 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud