mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-29 23:45:51 +00:00
Merge branch 'ximinez/lending-refactoring-3' into ximinez/lending-refactoring-4
This commit is contained in:
2
.github/workflows/notify-clio.yml
vendored
2
.github/workflows/notify-clio.yml
vendored
@@ -53,7 +53,7 @@ jobs:
|
|||||||
- name: Calculate conan reference
|
- name: Calculate conan reference
|
||||||
id: conan_ref
|
id: conan_ref
|
||||||
run: |
|
run: |
|
||||||
echo "conan_ref=${{ steps.generate.outputs.version }}@${{ steps.generate.outputs.user }}/@${{ steps.generate.outputs.channel }}" >> "${GITHUB_OUTPUT}"
|
echo "conan_ref=${{ steps.generate.outputs.version }}@${{ steps.generate.outputs.user }}/${{ steps.generate.outputs.channel }}" >> "${GITHUB_OUTPUT}"
|
||||||
- name: Add Conan remote
|
- name: Add Conan remote
|
||||||
run: |
|
run: |
|
||||||
echo "Adding Conan remote '${{ inputs.conan_remote_name }}' at ${{ inputs.conan_remote_url }}."
|
echo "Adding Conan remote '${{ inputs.conan_remote_name }}' at ${{ inputs.conan_remote_url }}."
|
||||||
|
|||||||
@@ -636,7 +636,12 @@ template <std::size_t Bits, class Tag>
|
|||||||
inline std::string
|
inline std::string
|
||||||
to_short_string(base_uint<Bits, Tag> const& a)
|
to_short_string(base_uint<Bits, Tag> const& a)
|
||||||
{
|
{
|
||||||
return to_string(a).substr(0, 8) + "...";
|
// LCOV_EXCL_START
|
||||||
|
if constexpr (a.bytes <= 4)
|
||||||
|
return to_string(a);
|
||||||
|
else
|
||||||
|
// LCOV_EXCL_STOP
|
||||||
|
return strHex(a.cbegin(), a.cbegin() + 4) + "...";
|
||||||
}
|
}
|
||||||
|
|
||||||
template <std::size_t Bits, class Tag>
|
template <std::size_t Bits, class Tag>
|
||||||
|
|||||||
@@ -361,7 +361,7 @@ ownerCount(test::jtx::Env const& env, test::jtx::Account const& account);
|
|||||||
|
|
||||||
[[nodiscard]]
|
[[nodiscard]]
|
||||||
inline bool
|
inline bool
|
||||||
checkVL(Slice const& result, std::string expected)
|
checkVL(Slice const& result, std::string const& expected)
|
||||||
{
|
{
|
||||||
Serializer s;
|
Serializer s;
|
||||||
s.addRaw(result);
|
s.addRaw(result);
|
||||||
|
|||||||
@@ -181,7 +181,7 @@ struct PrettyAsset
|
|||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
Asset asset_;
|
Asset asset_;
|
||||||
std::uint64_t scale_;
|
std::uint32_t scale_;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
template <typename A>
|
template <typename A>
|
||||||
|
|||||||
@@ -29,7 +29,6 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|||||||
#include <fstream>
|
#include <fstream>
|
||||||
|
|
||||||
namespace ripple {
|
namespace ripple {
|
||||||
|
|
||||||
namespace detail {
|
namespace detail {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user