Closed Itshyphen closed 1 month ago
Attention: Patch coverage is 78.10651%
with 37 lines
in your changes missing coverage. Please review.
Project coverage is 73.06%. Comparing base (
5dc3c8a
) to head (35ac43b
). Report is 4 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Generally i think this looks correct. We should add this logic as well for now. So we can do bridging from any chain to any chain.
@Override public BigInteger getHopFee(String net) { if (!canWithdraw(net)) { return BigInteger.ONE.negate(); } return Context.call(BigInteger.class, getDaofund(), "claimXCallFee", net, false); } private boolean canWithdraw(String net) { return Context.call(Boolean.class, getDaofund(), "getXCallFeePermission", Context.getAddress(), net); }
yeahh, done
Description:
Commit Message
see the guidelines for commit messages.
Changelog Entry
Checklist: