hashgraph / hedera-mirror-node

Hedera Mirror Node archives data from consensus nodes and serves it via an API
Apache License 2.0
128 stars 108 forks source link

Fix web3 docker build #9348

Closed bilyana-gospodinova closed 2 weeks ago

bilyana-gospodinova commented 2 weeks ago

Description: Recently we added some gradle tasks for compiling historical contracts with older version of solidity - 0.8.7. After assemble task the build/libs directory is polluted with a couple of new 0.8.7-web3j*.jar jars and then running dockerBuild command fails encountering these jars.

This PR adds a new gradle task that deletes the problematic jars.

Fixes https://github.com/hashgraph/hedera-mirror-node/issues/9344

Checklist

codecov[bot] commented 2 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 92.52%. Comparing base (2eb3c1f) to head (3869123). Report is 5 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #9348 +/- ## ============================================ + Coverage 92.50% 92.52% +0.01% Complexity 7012 7012 ============================================ Files 903 904 +1 Lines 29646 29669 +23 Branches 3739 3751 +12 ============================================ + Hits 27425 27451 +26 + Misses 1450 1447 -3 Partials 771 771 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

sonarcloud[bot] commented 2 weeks ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud