change hook max to 10

This commit is contained in:
Richard Holland
2023-03-20 15:07:42 +00:00
parent 190c18a7c2
commit d4b54c20ed
2 changed files with 8 additions and 2 deletions

View File

@@ -776,7 +776,7 @@ int64_t hook::computeCreationFee(uint64_t byteCount)
uint32_t hook::maxHookChainLength(void)
{
return 4;
return 10;
}
// many datatypes can be encoded into an int64_t

View File

@@ -132,12 +132,18 @@ public:
env(ripple::test::jtx::hook(
alice,
{{hso(accept_wasm),
hso(accept_wasm),
hso(accept_wasm),
hso(accept_wasm),
hso(accept_wasm),
hso(accept_wasm),
hso(accept_wasm),
hso(accept_wasm),
hso(accept_wasm),
hso(accept_wasm),
hso(accept_wasm)}},
0),
M("Must have fewer than 5 entries"),
M("Must have fewer than 11 entries"),
HSFEE,
ter(temMALFORMED));