mirror of
https://github.com/XRPLF/rippled.git
synced 2026-07-29 18:10:34 +00:00
Merge remote-tracking branch 'mywork/ximinez/lending-number' into ximinez/lending-XLS-66
* mywork/ximinez/lending-number: Add a distinction between a "valid" and a "representable" Number chore: Point xrpld symlink to rippled (6012) Catch up the consequences of Number changes Fix build error - avoid copy Add integer enforcement when converting to XRP/MPTAmount to Number Make all STNumber fields "soeDEFAULT" Add optional enforcement of valid integer range to Number
This commit is contained in:
@@ -3646,7 +3646,7 @@ class Vault_test : public beast::unit_test::suite
|
||||
}
|
||||
});
|
||||
|
||||
testCase(14, [&, this](Env& env, Data d) {
|
||||
testCase(13, [&, this](Env& env, Data d) {
|
||||
testcase("MPT scale deposit overflow on first deposit");
|
||||
auto tx = d.vault.deposit(
|
||||
{.depositor = d.depositor,
|
||||
@@ -3656,7 +3656,7 @@ class Vault_test : public beast::unit_test::suite
|
||||
env.close();
|
||||
});
|
||||
|
||||
testCase(14, [&, this](Env& env, Data d) {
|
||||
testCase(13, [&, this](Env& env, Data d) {
|
||||
testcase("MPT scale deposit overflow on second deposit");
|
||||
|
||||
{
|
||||
@@ -3678,7 +3678,7 @@ class Vault_test : public beast::unit_test::suite
|
||||
}
|
||||
});
|
||||
|
||||
testCase(14, [&, this](Env& env, Data d) {
|
||||
testCase(13, [&, this](Env& env, Data d) {
|
||||
testcase("No MPT scale deposit overflow on total shares");
|
||||
|
||||
{
|
||||
@@ -3998,7 +3998,7 @@ class Vault_test : public beast::unit_test::suite
|
||||
}
|
||||
});
|
||||
|
||||
testCase(14, [&, this](Env& env, Data d) {
|
||||
testCase(13, [&, this](Env& env, Data d) {
|
||||
testcase("MPT scale withdraw overflow");
|
||||
|
||||
{
|
||||
@@ -4239,7 +4239,7 @@ class Vault_test : public beast::unit_test::suite
|
||||
}
|
||||
});
|
||||
|
||||
testCase(14, [&, this](Env& env, Data d) {
|
||||
testCase(13, [&, this](Env& env, Data d) {
|
||||
testcase("MPT Scale clawback overflow");
|
||||
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user