diff --git a/src/test/app/TestHostFunctions.h b/src/test/app/TestHostFunctions.h index 68cf42b362..205c9cc1a0 100644 --- a/src/test/app/TestHostFunctions.h +++ b/src/test/app/TestHostFunctions.h @@ -1,13 +1,13 @@ #include #include -#include -#include #include #include +#include #include #include +#include namespace xrpl { diff --git a/src/xrpld/app/wasm/HostFuncImpl.h b/src/xrpld/app/wasm/HostFuncImpl.h index d8e080a8ef..1760be7c02 100644 --- a/src/xrpld/app/wasm/HostFuncImpl.h +++ b/src/xrpld/app/wasm/HostFuncImpl.h @@ -1,8 +1,9 @@ #pragma once -#include #include +#include + namespace xrpl { class WasmHostFunctionsImpl : public HostFunctions { diff --git a/src/xrpld/app/wasm/detail/HostFuncImplLedgerHeader.cpp b/src/xrpld/app/wasm/detail/HostFuncImplLedgerHeader.cpp index 57ef79e11a..37e2796bf6 100644 --- a/src/xrpld/app/wasm/detail/HostFuncImplLedgerHeader.cpp +++ b/src/xrpld/app/wasm/detail/HostFuncImplLedgerHeader.cpp @@ -1,6 +1,6 @@ -#include #include +#include #include namespace xrpl { @@ -42,7 +42,7 @@ WasmHostFunctionsImpl::isAmendmentEnabled(uint256 const& amendmentId) Expected WasmHostFunctionsImpl::isAmendmentEnabled(std::string_view const& amendmentName) { - auto const& table = ctx.app.getAmendmentTable(); + auto const& table = ctx.registry.getAmendmentTable(); auto const amendment = table.find(std::string(amendmentName)); return ctx.view().rules().enabled(amendment); } diff --git a/src/xrpld/app/wasm/detail/HostFuncImplNFT.cpp b/src/xrpld/app/wasm/detail/HostFuncImplNFT.cpp index 7c4ee00406..298cd1f941 100644 --- a/src/xrpld/app/wasm/detail/HostFuncImplNFT.cpp +++ b/src/xrpld/app/wasm/detail/HostFuncImplNFT.cpp @@ -1,8 +1,8 @@ -#include #include #include #include +#include namespace xrpl { diff --git a/src/xrpld/app/wasm/detail/HostFuncWrapper.cpp b/src/xrpld/app/wasm/detail/HostFuncWrapper.cpp index 0d245c526c..bbe6003d63 100644 --- a/src/xrpld/app/wasm/detail/HostFuncWrapper.cpp +++ b/src/xrpld/app/wasm/detail/HostFuncWrapper.cpp @@ -1,9 +1,13 @@ -#include #include #include #include +#include +#include +#include #include +#include +#include #include namespace xrpl {